/* ═══════════════════════════════════════════════════════
   ESTRELLAS DEL MILENIO — Design System v2
   styles.css — Componentes compartidos en todas las páginas
   ═══════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --blue:       #00236e;
  --blue-mid:   #1d3a8a;
  --blue-dark:  #0a1628;
  --blue-xdark: #060d1f;
  --gold:       #ffc329;
  --gold-dark:  #e6a800;
  --gold-light: #ffd166;
  --bg:         #f8f9ff;
  --surface:    #ffffff;
  --text:       #0f1629;
  --muted:      #6b7280;
  --border:     #e5e7eb;
  --border-sub: #f0f0f5;

  /* Shadows */
  --sh-xs:   0 1px 4px rgba(0,0,0,0.04);
  --sh-sm:   0 4px 16px rgba(0,35,110,0.06);
  --sh-md:   0 8px 28px -4px rgba(0,35,110,0.1);
  --sh-lg:   0 20px 48px -10px rgba(0,35,110,0.14);
  --sh-xl:   0 36px 72px -16px rgba(0,35,110,0.2);
  --sh-gold: 0 14px 36px -6px rgba(255,195,41,0.48);

  /* Radii */
  --r-sm:   0.5rem;
  --r-md:   0.75rem;
  --r-lg:   1.25rem;
  --r-xl:   1.75rem;
  --r-full: 9999px;

  /* Transitions */
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-xs:  0.15s;
  --t-sm:  0.22s;
  --t-md:  0.38s;
  --t-lg:  0.6s;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, .outfit {
  font-family: 'Outfit', sans-serif;
  line-height: 1.1;
}

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

/* ── Scroll progress bar ── */
#scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── Layout ── */
.page-wrap { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* ── Typography helpers ── */
.section-tag {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.gold-rule {
  display: inline-block;
  width: 2.5rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  vertical-align: middle;
  flex-shrink: 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.gradient-heading {
  background: linear-gradient(135deg, #ffffff 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blue-gradient-heading {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--blue);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: background var(--t-sm) var(--ease),
              transform var(--t-sm) var(--ease),
              box-shadow var(--t-sm) var(--ease);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-gold::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s var(--ease);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--sh-gold); }
.btn-gold:hover::before { left: 160%; }
.btn-gold:active { transform: translateY(0) scale(0.97); box-shadow: none; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid rgba(255,255,255,0.32);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: all var(--t-sm) var(--ease);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-1px);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: all var(--t-sm) var(--ease);
  background: transparent;
}
.btn-outline-dark:hover { background: var(--blue); color: white; transform: translateY(-1px); }

/* ── Navigation ── */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-sub);
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--t-md) var(--ease), background var(--t-md) var(--ease);
}
.main-nav.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 6px 28px rgba(0,35,110,0.09);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-brand-logo { height: 2.5rem; width: auto; }
.nav-brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--blue);
  font-size: 1rem;
}
.nav-links-wrap { display: flex; align-items: center; gap: 0.2rem; }

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  color: #374151;
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: all var(--t-xs) var(--ease);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.15rem; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 55%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--t-xs) var(--ease);
}
.nav-link:hover { color: var(--blue); background: rgba(0,35,110,0.05); }
.nav-link:hover::after,
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.nav-link.active { color: var(--blue); font-weight: 700; background: rgba(0,35,110,0.04); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

/* ── Nav toggle (hamburger) ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 0.5rem;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { background: rgba(0,35,110,0.06); }
.nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.nav-toggle .toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .toggle-close { display: flex; }

/* ── Nav dropdown (mobile menu) ── */
@keyframes dropSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
#nav-dropdown {
  display: none;
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  z-index: 150;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 2px solid rgba(0,35,110,0.07);
  box-shadow: 0 20px 48px -8px rgba(0,35,110,0.14);
  padding: 0.5rem 1.25rem 1.25rem;
}
#nav-dropdown.open {
  display: block;
  animation: dropSlide 0.28s cubic-bezier(0.16,1,0.3,1) both;
}
.nav-drop-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #374151;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  transition: color 0.18s ease, padding-left 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.nav-drop-link:last-of-type { border-bottom: none; }
.nav-drop-link:hover        { color: var(--blue); padding-left: 0.6rem; }
.nav-drop-link.active       { color: var(--blue); font-weight: 700; }
.nav-drop-link::after {
  content: '';
  display: block;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.35;
  flex-shrink: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav-drop-link:hover::after { opacity: 0.7; transform: rotate(45deg) translateX(2px); }
.nav-drop-link.active::after { opacity: 0; }
.nav-drop-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,35,110,0.1), transparent);
  margin: 0.4rem 0 0.75rem;
}
.nav-drop-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--blue);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  touch-action: manipulation;
}
.nav-drop-cta:hover  { background: var(--gold-dark); transform: translateY(-1px); }
.nav-drop-cta:active { transform: scale(0.97); }

/* ── Mobile: show toggle, hide desktop nav ── */
@media (max-width: 767px) {
  .nav-toggle      { display: flex; min-width: 2.75rem; min-height: 2.75rem; }
  .nav-links-wrap  { display: none !important; }
  .nav-actions .btn-gold { display: none !important; }
}


/* ── Hero backgrounds ── */
.hero-bg {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 42%, var(--blue-mid) 100%);
}
.hero-bg-alt {
  background: linear-gradient(160deg, var(--blue-xdark) 0%, var(--blue-dark) 30%, var(--blue) 65%, var(--blue-mid) 100%);
}
.hero-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,195,41,0.09) 1px, transparent 0);
  background-size: 36px 36px;
  pointer-events: none;
}
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}
.hero-radial {
  position: absolute;
  right: -8%;
  top: -15%;
  width: 52%;
  height: 130%;
  background: radial-gradient(ellipse at 60% 45%, rgba(29,58,138,0.55) 0%, transparent 68%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  left: 15%;
  bottom: -5%;
  width: 35%;
  height: 50%;
  background: radial-gradient(ellipse, rgba(255,195,41,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Glass Card ── */
.glass-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--t-md) var(--ease);
}
.glass-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* ── Surface Card ── */
.surface-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: all var(--t-md) var(--ease);
}
.surface-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-xl);
  border-color: rgba(0,35,110,0.1);
}

/* ── Program Row ── */
.program-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  box-shadow: var(--sh-xs);
  transition: transform var(--t-lg) var(--ease),
              box-shadow var(--t-lg) var(--ease),
              border-color var(--t-lg) var(--ease);
}
.program-row:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-xl);
  border-color: rgba(0,35,110,0.12);
}
@media (max-width: 768px) { .program-row { grid-template-columns: 1fr; } }

.program-num-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.program-num {
  font-family: 'Outfit', sans-serif;
  font-size: 9rem;
  font-weight: 900;
  color: rgba(255,195,41,0.13);
  line-height: 1;
  user-select: none;
  transition: color var(--t-md) var(--ease), transform var(--t-lg) var(--ease);
}
.program-row:hover .program-num {
  color: rgba(255,195,41,0.2);
  transform: scale(1.06);
}

/* ── Feature Item ── */
.feature-item {
  padding: 1.75rem 0 1.75rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-left: -0.75rem;
  border-left: 2px solid transparent;
  transition: all var(--t-sm) var(--ease);
}
.feature-item:last-child { border-bottom: none; }
.feature-item:hover {
  border-left-color: var(--gold);
  padding-left: 1.5rem;
  background: rgba(255,255,255,0.03);
}

/* ── Pillar Card ── */
.pillar-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: transform var(--t-md) var(--ease),
              box-shadow var(--t-md) var(--ease);
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-md) var(--ease);
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--sh-xl); }

.pillar-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform var(--t-sm) var(--ease-spring);
}
.pillar-card:hover .pillar-icon { transform: scale(1.1) rotate(-4deg); }

/* ── Stat Box ── */
.stat-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: transform var(--t-md) var(--ease),
              box-shadow var(--t-md) var(--ease);
}
.stat-box::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-md) var(--ease);
}
.stat-box:hover::after { transform: scaleX(1); }
.stat-box:hover { transform: translateY(-5px); box-shadow: var(--sh-xl); }

/* ── Category Card ── */
.cat-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: white;
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: transform 0.42s var(--ease),
              box-shadow 0.42s var(--ease),
              border-color 0.42s var(--ease);
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-xl);
  border-color: rgba(0,35,110,0.14);
}
.acc-bar { transition: box-shadow 0.42s var(--ease); }
.cat-card:hover .acc-bar-gold { box-shadow: 5px 0 32px rgba(255,195,41,0.65); }
.cat-card:hover .acc-bar-blue { box-shadow: 5px 0 32px rgba(0,35,110,0.52); }
.cat-card:hover .acc-bar-dark { box-shadow: 5px 0 32px rgba(10,22,40,0.55); }
.cat-card:hover .acc-bar-teal { box-shadow: 5px 0 32px rgba(20,184,166,0.55); }

.cat-num {
  display: block;
  transition: transform 0.55s var(--ease), color 0.55s var(--ease);
}
.cat-card:hover .cat-num { transform: scale(1.08); color: rgba(0,35,110,0.11) !important; }

.skill-pill {
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-full);
  background: #f1f5f9;
  color: #475569;
  transition: all var(--t-xs) var(--ease);
  cursor: default;
}
.skill-pill:hover { background: #e2e8f0; transform: translateY(-1px); }

/* ── Step Row ── */
.step-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid #f1f5f9;
  align-items: start;
  transition: padding-left var(--t-sm) var(--ease);
}
.step-row:last-child { border-bottom: none; }
.step-row:hover { padding-left: 0.6rem; }

.step-num {
  width: 3rem;
  height: 3rem;
  background: var(--blue);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  color: white;
  flex-shrink: 0;
  transition: all var(--t-sm) var(--ease-spring);
}
.step-row:hover .step-num {
  background: var(--gold);
  color: var(--blue);
  transform: scale(1.08);
}

/* ── Value Item ── */
.value-item {
  padding: 2rem 0;
  border-bottom: 1px solid #f1f5f9;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  transition: padding-left var(--t-sm) var(--ease);
}
.value-item:last-child { border-bottom: none; }
.value-item:hover { padding-left: 0.75rem; }

.value-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-sm) var(--ease-spring);
}
.value-item:hover .value-icon { transform: scale(1.1) rotate(-4deg); }

/* ── Contact Item ── */
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: padding-left var(--t-xs) var(--ease);
}
.contact-item:last-child { border-bottom: none; }
.contact-item:hover { padding-left: 0.6rem; }

.contact-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(255,195,41,0.15);
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-sm) var(--ease-spring);
}
.contact-item:hover .contact-icon {
  background: rgba(255,195,41,0.28);
  transform: scale(1.1) rotate(-3deg);
}

/* ── Form ── */
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }

.form-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: #374151;
  letter-spacing: 0.01em;
}

.form-input {
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.78rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
  background: white;
  outline: none;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  transition: border-color var(--t-xs) var(--ease),
              box-shadow var(--t-xs) var(--ease);
}
.form-input:hover:not(:focus) { border-color: rgba(0,35,110,0.28); }
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,35,110,0.09); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* ── Pill / Badge ── */
.pill {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.9rem;
  border-radius: var(--r-full);
  display: inline-block;
  width: fit-content;
}

/* ── Icon Box ── */
.icon-box {
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── CTA ── */
.cta-section {
  background: var(--blue);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,195,41,0.07) 1px, transparent 0);
  background-size: 36px 36px;
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 45%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(29,58,138,0.7) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

/* ── Footer ── */
.site-footer {
  background: var(--blue-dark);
  color: white;
  padding: 5rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,195,41,0.4), transparent);
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-link {
  color: rgba(255,255,255,0.48);
  font-size: 0.88rem;
  text-decoration: none;
  transition: all var(--t-xs) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-link:hover { color: white; transform: translateX(4px); }
.footer-copy {
  padding-top: 1.75rem;
  text-align: center;
  color: rgba(255,255,255,0.22);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ── Mission / Vision cards ── */
.mv-card {
  padding: 2rem;
  background: white;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  transition: transform var(--t-md) var(--ease), box-shadow var(--t-md) var(--ease);
}
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--sh-xl); }
.mv-card.gold-border  { border-left: 4px solid var(--gold); }
.mv-card.blue-border  { border-left: 4px solid var(--blue); }

/* ── Badge / Hero decoration ── */
.hero-badge-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 1.1rem 1.5rem;
  box-shadow: 0 20px 44px -10px rgba(0,35,110,0.2);
}

/* ── Stat num (for hero counters) ── */
.stat-num-hero {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

/* ── Page Hero Banner ── */
.page-hero {
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

/* ── Divider decorative ── */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg { display: block; }

/* ── Timeline (metodologia steps) ── */
.timeline-steps {
  position: relative;
  padding-left: 0.5rem;
}
.timeline-steps::before {
  content: '';
  position: absolute;
  left: 1.45rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--gold), var(--blue-mid));
  border-radius: 2px;
  opacity: 0.25;
}

/* ── Responsive footer ── */
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px)  { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ── Responsive cta ── */
@media (max-width: 767px) {
  .cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-inner a { justify-content: center !important; }
}

/* ── Focus visible ── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Selection ── */
::selection {
  background: rgba(255,195,41,0.3);
  color: var(--blue-dark);
}
