/* ============================================
   Grupo COFI Consultores — Estilos Corporativos
   Modo Claro Único · Premium · Minimalista
   ============================================ */

/* --- Custom Properties — Modo Claro Único (Paleta del Logo Oficial) --- */
:root {
  /* ═══ AZUL MARINO (fondo del logo) ═══ */
  --navy-deep:         #0F1B2E;
  --navy-dark:         #1A2744;
  --navy-mid:          #1E3155;
  --navy-light:        #243B68;
  --navy-muted:        #354A72;

  /* ═══ DORADO (escudo izquierdo, letra G) ═══ */
  --gold-shadow:       #8B6914;
  --gold-base:         #B8922A;
  --gold-primary:      #C9A227;
  --gold-bright:       #E4B82D;
  --gold-light:        #F0D060;

  /* ═══ PLATEADO (escudo derecho, letra C) ═══ */
  --silver-shadow:     #7A8494;
  --silver-mid:        #A0AABB;
  --silver-primary:    #B0BBCC;
  --silver-light:      #C8D0DC;
  --silver-bright:     #D6DCE8;
  --silver-white:      #E8ECF2;

  /* ═══ Variables Semánticas (Modo Claro) ═══ */

  /* Fondos */
  --bg-primary:       #F4F6FA;
  --bg-secondary:     #FAFBFD;
  --bg-dark:          #E8EDF5;
  --bg-dark-rgb:      232, 237, 245;

  /* Texto */
  --text-white:       var(--navy-dark);       /* #1A2744 — Títulos sobre fondo claro */
  --text-body:        #2E3A50;                /* Texto principal */
  --text-secondary:   #5C6E91;                /* Texto de apoyo */
  --text-subtitle:    #5A6B8D;                /* Subtítulos */

  /* Acento / Azul Marino (principal) */
  --accent:           var(--navy-dark);       /* #1A2744 */
  --accent-hover:     var(--navy-mid);        /* #1E3155 */
  --accent-shadow:    var(--navy-deep);       /* #0F1B2E */

  /* Dorado — solo acentos estratégicos */
  --gold-accent:      var(--gold-primary);    /* #C9A227 */

  /* Plateado */
  --silver:           var(--silver-primary);  /* #B0BBCC */

  /* Botones */
  --btn-primary-bg:    var(--navy-dark);       /* #1A2744 */
  --btn-primary-hover: var(--navy-mid);        /* #1E3155 */
  --btn-primary-text:  #FFFFFF;
  --btn-secondary-bg:  transparent;
  --btn-secondary-hover: rgba(26, 39, 68, 0.06);
  --btn-secondary-text:  var(--navy-dark);

  /* Bordes */
  --border-card:       #D0D7E5;
  --border-divider:    #D0D7E5;
  --border-accent:     var(--navy-light);      /* #243B68 */

  /* Estados */
  --color-success:     #2ECC71;
  --color-error:       #E74C3C;
  --color-warning:     #F39C12;
  --color-info:        #3498DB;

  /* Layout */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --max-width: 1200px;
  --border-radius: 10px;
  --border-radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


/* --- Scrollbar & Selection --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--silver-light);
  border: 2px solid var(--bg-primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
::selection {
  background-color: var(--gold-accent);
  color: var(--navy-dark);
}


/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-primary);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23F4F6FA'/%3E%3Crect width='1' height='1' fill='%23DDE3EF' opacity='0.6'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 15% 30%, rgba(26, 39, 68, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(176, 187, 204, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 85%, rgba(26, 39, 68, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(201, 162, 39, 0.03) 0%, transparent 40%);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.section-title--center {
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

.section-subtitle--center {
  text-align: center;
  margin: 0 auto;
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-label {
  justify-content: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-bg);
}

.btn-primary:hover {
  background-color: var(--btn-primary-hover);
  border-color: var(--btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 39, 68, 0.2);
}

.btn-secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border-color: var(--navy-dark);
}

.btn-secondary:hover {
  background-color: var(--btn-secondary-hover);
  border-color: var(--btn-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 39, 68, 0.25);
}

.btn-outline {
  border-color: var(--border-accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--btn-primary-text);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 39, 68, 0.15);
}

.btn-outline-white {
  border-color: var(--border-card);
  color: var(--text-white);
  background: transparent;
}

.btn-outline-white:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: #20bd5a;
  border-color: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-shadow), var(--gold-primary), var(--gold-bright));
  color: #FFFFFF;
  border-color: var(--gold-primary);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-bright), var(--gold-light));
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.3);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- Divider --- */
.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-shadow), var(--gold-primary), var(--gold-bright));
  border: none;
  border-radius: 2px;
  margin: var(--space-lg) 0;
}

.gold-divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Scroll Animations --- */



/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(244, 246, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  padding: 0.75rem 0;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(244, 246, 250, 0.97);
  border-bottom-color: var(--border-divider);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  padding: 0.5rem 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  border-radius: 4px;
}

.header.scrolled .logo-img {
  height: 36px;
}

.logo-icon {
  height: 42px;
  width: auto;
  transition: var(--transition);
}

.header.scrolled .logo-icon {
  height: 36px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 1px;
}

.logo-name span {
  color: var(--gold-accent);
}

.logo-tagline {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo:hover {
  opacity: 0.85;
}

/* Navigation */
.nav-list {
  display: flex;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.nav-link:hover {
  color: var(--text-white);
  background-color: rgba(var(--bg-dark-rgb), 0.6);
}

.nav-link.active {
  color: var(--accent);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background-color: var(--accent);
  border-radius: 1px;
}

.nav-cta {
  margin-left: 0.75rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 101;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after  { top:  7px; }

.no-scroll { overflow: hidden; }

/* ============================================
   APP & VIEWS
   ============================================ */
#app {
  flex: 1;
  padding-top: 4rem;
}

.view {}

/* Loading & Error */
.view-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 4rem - 100px);
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.view-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 4rem - 100px);
  color: var(--color-error);
  font-size: 1rem;
  text-align: center;
  padding: var(--space-lg);
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
}

/* Background image layer */
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/img/hero-bg.png') center center / cover no-repeat;
  filter: blur(1px) saturate(0.8);
  transform: scale(1.03);
  opacity: 0.35;
  z-index: 0;
}

/* Gradient overlay for readability */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(244,246,250,0.78) 0%, rgba(244,246,250,0.5) 50%, rgba(244,246,250,0.72) 100%);
  z-index: 0;
}

/* Subtle grid pattern */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 1px 1px, var(--border-divider) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}

/* Subtle glow accents */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 39, 68, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.hero-title .accent {
  color: var(--gold-accent);
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-divider);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-number .accent {
  color: var(--gold-accent);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  width: 100%;
  max-width: 460px;
  position: relative;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(26, 39, 68, 0.06);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
  animation: cardFloat 6s ease-in-out infinite;
}

.hero-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.12),
    0 15px 40px rgba(26, 39, 68, 0.1);
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-shadow), var(--gold-primary), var(--gold-bright), var(--gold-primary), var(--gold-shadow));
  border-radius: 0 0 4px 4px;
}

.hero-card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(26, 39, 68, 0.07), rgba(26, 39, 68, 0.03));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(26, 39, 68, 0.1);
}

.hero-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.hero-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-sm);
}

.hero-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.hero-card-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-card-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-body);
}

.hero-card-feature svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Floating decorative elements around the card */
.hero-float {
  position: absolute;
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}

.hero-float--1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.hero-float--2 {
  bottom: 15%;
  left: -30px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-float-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.hero-float-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.hero-float-value .accent {
  color: var(--gold-accent);
}


/* ============================================
   PILLARS SECTION (Home)
   ============================================ */
.pillars {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-divider);
  border-bottom: 1px solid var(--border-divider);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.pillar-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border-card);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-card:hover {
  border-color: var(--border-accent);
  box-shadow:
    0 20px 50px rgba(26, 39, 68, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-8px) rotateX(3deg) scale(1.02);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(26, 39, 68, 0.07), rgba(26, 39, 68, 0.02));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(26, 39, 68, 0.08);
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-sm);
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ============================================
   TRUST BANNER (Home)
   ============================================ */
.trust-banner {
  padding: var(--space-xl) 0;
  background: var(--bg-primary);
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}


/* ============================================
   PROCESS / METHODOLOGY (Home)
   ============================================ */
.process {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg) 0;
}

.process-line {
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--border-divider), var(--navy-light), var(--border-divider));
}

.process-step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  margin-bottom: var(--space-xl);
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step-number {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--navy-dark);
  box-shadow: 0 4px 16px rgba(26, 39, 68, 0.2);
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.process-step:hover .process-step-number {
  background: var(--navy-mid);
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(26, 39, 68, 0.25);
}

.process-step-content {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: var(--space-lg) var(--space-xl);
  border: 1px solid var(--border-card);
  flex: 1;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.process-step:hover .process-step-content {
  border-color: var(--navy-light);
  box-shadow:
    0 16px 40px rgba(26, 39, 68, 0.08),
    0 6px 16px rgba(0, 0, 0, 0.04);
  transform: translateX(6px) translateY(-4px) rotateY(-1deg);
}

.process-step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-sm);
}

.process-step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .process-line {
    left: 24px;
  }
  .process-step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 0.9rem;
  }
  .process-step-content {
    padding: var(--space-md);
  }
}


/* ============================================
   SERVICES SECTION
   ============================================ */

/* Services Hero Banner */
.services-hero {
  padding: var(--space-3xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.services-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(800px circle at 20% 30%, rgba(26, 39, 68, 0.12) 0%, transparent 70%),
    radial-gradient(600px circle at 75% 80%, rgba(201, 162, 39, 0.08) 0%, transparent 60%),
    radial-gradient(500px circle at 90% 20%, rgba(176, 187, 204, 0.14) 0%, transparent 50%),
    radial-gradient(400px circle at 40% 90%, rgba(45, 154, 130, 0.06) 0%, transparent 50%);
  z-index: 0;
}

.services-hero .container {
  position: relative;
  z-index: 1;
}

/* Services Grid */
.services {
  padding: 0 0 var(--space-3xl);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-lg);
}

/* Base Service Card */
.service-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--border-card);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Colored accent bar at top */
.service-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: height 0.4s ease;
}

.service-card:hover .service-card-accent {
  height: 5px;
}

/* Bottom line on hover */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow:
    0 20px 50px rgba(26, 39, 68, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-8px) rotateX(2deg) scale(1.01);
}

/* ── Navy variant ── */
.service-card--navy .service-card-accent {
  background: linear-gradient(90deg, var(--navy-deep), var(--navy-dark), var(--navy-light));
}
.service-card--navy::after {
  background: linear-gradient(90deg, var(--navy-deep), var(--navy-dark), var(--navy-light));
}
.service-card--navy .service-icon {
  background: linear-gradient(135deg, rgba(26, 39, 68, 0.1), rgba(26, 39, 68, 0.03));
  border-color: rgba(26, 39, 68, 0.12);
}
.service-card--navy .service-icon svg {
  color: var(--navy-dark);
}
.service-card--navy .service-number {
  color: var(--navy-dark);
}
.service-card--navy:hover {
  border-color: rgba(26, 39, 68, 0.2);
}

/* ── Gold variant ── */
.service-card--gold .service-card-accent {
  background: linear-gradient(90deg, var(--gold-shadow), var(--gold-primary), var(--gold-bright));
}
.service-card--gold::after {
  background: linear-gradient(90deg, var(--gold-shadow), var(--gold-primary), var(--gold-bright));
}
.service-card--gold .service-icon {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), rgba(201, 162, 39, 0.03));
  border-color: rgba(201, 162, 39, 0.15);
}
.service-card--gold .service-icon svg {
  color: var(--gold-primary);
}
.service-card--gold .service-number {
  color: var(--gold-primary);
}
.service-card--gold .service-feature svg {
  color: var(--gold-primary);
}
.service-card--gold:hover {
  border-color: rgba(201, 162, 39, 0.2);
}

/* ── Silver variant ── */
.service-card--silver .service-card-accent {
  background: linear-gradient(90deg, var(--silver-shadow), var(--silver-primary), var(--silver-bright));
}
.service-card--silver::after {
  background: linear-gradient(90deg, var(--silver-shadow), var(--silver-primary), var(--silver-bright));
}
.service-card--silver .service-icon {
  background: linear-gradient(135deg, rgba(160, 170, 187, 0.12), rgba(160, 170, 187, 0.04));
  border-color: rgba(160, 170, 187, 0.18);
}
.service-card--silver .service-icon svg {
  color: var(--silver-shadow);
}
.service-card--silver .service-number {
  color: var(--silver-mid);
}
.service-card--silver:hover {
  border-color: rgba(160, 170, 187, 0.3);
}

/* ── Teal variant ── */
.service-card--teal .service-card-accent {
  background: linear-gradient(90deg, #1a6b5a, #2d9a82, #40c4a8);
}
.service-card--teal::after {
  background: linear-gradient(90deg, #1a6b5a, #2d9a82, #40c4a8);
}
.service-card--teal .service-icon {
  background: linear-gradient(135deg, rgba(45, 154, 130, 0.1), rgba(45, 154, 130, 0.03));
  border-color: rgba(45, 154, 130, 0.15);
}
.service-card--teal .service-icon svg {
  color: #2d9a82;
}
.service-card--teal .service-number {
  color: #2d9a82;
}
.service-card--teal .service-feature svg {
  color: #2d9a82;
}
.service-card--teal:hover {
  border-color: rgba(45, 154, 130, 0.2);
}

/* ── Deep variant ── */
.service-card--deep .service-card-accent {
  background: linear-gradient(90deg, #2c1654, #4a2c8a, #6b44b8);
}
.service-card--deep::after {
  background: linear-gradient(90deg, #2c1654, #4a2c8a, #6b44b8);
}
.service-card--deep .service-icon {
  background: linear-gradient(135deg, rgba(74, 44, 138, 0.1), rgba(74, 44, 138, 0.03));
  border-color: rgba(74, 44, 138, 0.15);
}
.service-card--deep .service-icon svg {
  color: #4a2c8a;
}
.service-card--deep .service-number {
  color: #4a2c8a;
}
.service-card--deep .service-feature svg {
  color: #4a2c8a;
}
.service-card--deep:hover {
  border-color: rgba(74, 44, 138, 0.2);
}

/* Service Card Content */
.service-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
  opacity: 0.7;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(26, 39, 68, 0.07), rgba(26, 39, 68, 0.02));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(26, 39, 68, 0.08);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-3deg);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-sm);
}

.service-card > p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.5;
}

.service-feature svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Services CTA */
.services-cta {
  text-align: center;
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-card);
  position: relative;
  overflow: hidden;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-dark), var(--gold-primary), var(--navy-dark));
}

.services-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-sm);
}

.services-cta p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.services-cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}


/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(700px circle at 10% 20%, rgba(26, 39, 68, 0.08) 0%, transparent 65%),
    radial-gradient(500px circle at 85% 70%, rgba(176, 187, 204, 0.1) 0%, transparent 55%),
    radial-gradient(400px circle at 50% 10%, rgba(201, 162, 39, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.about > .container {
  position: relative;
  z-index: 1;
}

/* Mission / Vision */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

.mv-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border-card);
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-primary), var(--gold-shadow));
}

.mv-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
}

.mv-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: var(--space-md);
}

/* Authority Stats */
.authority-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
  padding: var(--space-xl);
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-card);
}

.authority-number {
  font-size: 7rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
  position: relative;
}

.authority-number .plus {
  color: var(--gold-accent);
}

.authority-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-sm);
}

.authority-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 500px;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.team-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border-card);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--btn-primary-text);
  position: relative;
}

.team-avatar--gold {
  background: linear-gradient(135deg, var(--gold-shadow), var(--gold-primary), var(--gold-bright));
}

.team-avatar--silver {
  background: linear-gradient(135deg, var(--silver-shadow), var(--silver-primary), var(--silver-bright));
}

.team-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--border-card);
}

.team-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.team-card > p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Values */
.values-section {
  margin-top: var(--space-3xl);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.value-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-card);
  transition: var(--transition);
}

.value-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.value-item svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.value-item span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
}


/* ============================================
   INSIGHTS SECTION
   ============================================ */
.insights {
  padding: var(--space-3xl) 0;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.insight-card {
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-card);
  transition: var(--transition);
}

.insight-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.insight-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insight-card:hover .insight-image img {
  transform: scale(1.05);
}

.insight-category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: rgba(244, 246, 250, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.insight-body {
  padding: var(--space-lg);
}

.insight-date {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.insight-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.insight-card > .insight-body > p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.insight-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: var(--space-md);
  transition: var(--transition);
}

.insight-read-more:hover {
  color: var(--accent-hover);
  gap: 0.6rem;
}

.insight-read-more svg {
  width: 16px;
  height: 16px;
}

/* Insights CTA */
.insights-cta {
  text-align: center;
  margin-top: var(--space-xl);
}


/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(600px circle at 80% 20%, rgba(26, 39, 68, 0.08) 0%, transparent 60%),
    radial-gradient(500px circle at 15% 80%, rgba(176, 187, 204, 0.1) 0%, transparent 55%),
    radial-gradient(300px circle at 60% 50%, rgba(201, 162, 39, 0.04) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.contact > .container {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

/* Contact Info */
.contact-info {
  padding-right: var(--space-lg);
}

.contact-info > p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-detail-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(26, 39, 68, 0.07), rgba(26, 39, 68, 0.03));
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(26, 39, 68, 0.1);
  color: var(--accent);
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-detail-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.15rem;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.contact-detail-text a:hover {
  color: var(--accent);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border-divider);
  border-radius: var(--border-radius);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-body);
  background-color: var(--bg-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 39, 68, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--silver-mid);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
}

/* Alert */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--border-radius);
  font-weight: 500;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
   gap: var(--space-sm);
  animation: fadeSlideIn 0.35s ease;
  font-size: 0.9rem;

(Showing lines 1915-1924 of 2470. Use offset=1925 to continue.)
}

.alert-success {
  background-color: rgba(46, 204, 113, 0.1);
  color: #1a8a4a;
  border-color: rgba(46, 204, 113, 0.25);
}

.alert-error {
  background-color: rgba(231, 76, 60, 0.1);
  color: var(--color-error);
  border-color: rgba(231, 76, 60, 0.25);
}


/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: wp-pulse 2s infinite;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: wp-ring 2s infinite;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy-dark);
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 16px rgba(26, 39, 68, 0.2);
}

.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--navy-dark);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.5);
  animation: none;
}

.whatsapp-float:hover::before {
  animation: none;
}

.whatsapp-float:hover svg {
  transform: scale(1.1);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

@keyframes wp-pulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.6); }
}

@keyframes wp-ring {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.25); }
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

#app > .view {
  animation: fadeSlideIn 0.4s ease forwards;
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .whatsapp-float-tooltip {
    display: none;
  }
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-deep);
  color: #FFFFFF;
  padding: var(--space-3xl) 0 var(--space-lg);
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--gold-shadow),
    var(--gold-primary),
    var(--gold-bright),
    var(--gold-primary),
    var(--gold-shadow)
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--silver-mid);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: var(--space-lg);
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  filter: brightness(1.1);
}

.footer-logo-icon {
  height: 36px;
  width: auto;
  filter: brightness(1.2);
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.footer-logo-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 1px;
}

.footer-logo-name span {
  color: var(--gold-primary);
}

.footer-logo-tagline {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--silver-mid);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--silver-mid);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.footer-links a:hover {
  color: var(--gold-primary);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--silver-mid);
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--silver-mid);
  transition: var(--transition);
}

.footer-contact-item a:hover {
  color: var(--gold-primary);
}

/* Footer Bottom */
.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--silver-shadow);
}

.footer-legal {
  font-size: 0.75rem;
  color: var(--silver-shadow);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  color: var(--silver-mid);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-secondary);
    padding: 5rem var(--space-lg) var(--space-lg);
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.1);
    transition: right var(--transition);
    border-left: 1px solid var(--border-divider);
    z-index: 100;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: left;
    border-radius: var(--border-radius);
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link.active {
    background: rgba(26, 39, 68, 0.05);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--space-md);
  }

  .nav-cta .btn {
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.active .hamburger {
    background-color: transparent;
  }

  .nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /* Mobile overlay */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  /* Hero */
  .hero {
    padding: var(--space-xl) 0;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    gap: var(--space-lg);
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

  /* Sections */
  .section-title {
    font-size: 2rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .authority-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .authority-number {
    font-size: 5rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding-right: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .value-item {
    padding: var(--space-md);
  }
}
