/* Tipografías locales (web-src/fuentes.py) */
@font-face{font-family:'Oswald';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/oswald.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Oswald';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/oswald.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Oswald';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/oswald.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Oswald';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/oswald.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Sora';font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/sora.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Sora';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/sora.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Sora';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/sora.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Sora';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/sora.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* =============================================
   CENTRAL FLORIDA UNITED FC — MAIN STYLESHEET
   ============================================= */

/* Fonts are loaded via <link> in each page's <head> (non-render-blocking). */

/* ---- DESIGN TOKENS ---- */
:root {
  --navy:        #08101e;
  --navy-2:      #0d1828;
  --navy-3:      #111f33;
  --navy-card:   #0f1a2e;
  --gold:        #f5a623;
  --gold-dark:   #d4891a;
  --gold-light:  #ffc55a;
  --white:       #ffffff;
  --gray:        #94a3b8;
  --gray-light:  #cbd5e1;
  --border:      rgba(255,255,255,0.07);
  --border-gold: rgba(245,166,35,0.3);
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 0 30px rgba(245,166,35,0.2);

  /* Custom easing curves — never use CSS defaults for UI */
  --ease-out:     cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:  cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer:  cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-head:   'Oswald', sans-serif;
  --font-body:   'Sora', sans-serif;
  --transition:  200ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.text-gold { color: var(--gold); }
.text-gray { color: var(--gray); }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- TYPOGRAPHY ---- */
.heading-xl {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.heading-lg {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.heading-md {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}
.heading-sm {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
}
.body-lg { font-size: 1.1rem; line-height: 1.7; color: var(--gray-light); }
.body-md { font-size: 1rem; line-height: 1.65; color: var(--gray); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out),
              background 160ms var(--ease-out), border-color 160ms var(--ease-out),
              color 160ms var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,166,35,0.35);
  }
  .btn-primary:active { transform: scale(0.97); box-shadow: none; }
  .btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
  }
  .btn-outline-gold:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
  }
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ---- SKIP LINK (Accessibility) ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0 0 8px 8px;
  transition: top 200ms var(--ease-out);
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* ---- FOCUS RINGS (Accessibility) ---- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
/* Remove default outline only when focus-visible is supported */
:focus:not(:focus-visible) {
  outline: none;
}

/* ---- BADGE ---- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
}
.badge-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

/* ---- DIVIDER ---- */
.divider {
  width: 60px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 20px 0;
}
.divider-center { margin: 20px auto; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 400ms var(--ease-out),
              backdrop-filter 400ms var(--ease-out),
              height 300ms var(--ease-out),
              box-shadow 400ms var(--ease-out);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(8,16,30,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 74px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-brand-logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  border-radius: 6px;
  transition: color 180ms var(--ease-out), background 180ms var(--ease-out);
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-social {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--gray);
  font-size: 1rem;
  transition: border-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav-social:hover { border-color: var(--gold); color: var(--gold); }
}
.nav-register { padding: 10px 22px; font-size: 0.82rem; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 250ms var(--ease-out), opacity 200ms var(--ease-out);
  border-radius: 2px;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
  position: fixed;
  top: 84px;
  left: 0;
  right: 0;
  background: rgba(8,16,30,0.99);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 32px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  max-height: calc(100dvh - 84px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.navbar.scrolled + .nav-mobile {
  top: 74px;
  max-height: calc(100dvh - 74px);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  padding: 12px 16px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-mobile-link:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.nav-mobile-link.active { color: var(--gold-light); background: rgba(245,166,35,0.08); }
.nav-mobile-link { min-height: 44px; line-height: 1.45; overflow-wrap: anywhere; }
.nav-hamburger:focus-visible, .nav-link:focus-visible, .nav-mobile-link:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}
.nav-mobile .btn { margin-top: 12px; width: 100%; justify-content: center; }
.nav-mobile .lang-switcher { margin-top: 12px; align-self: flex-start; }
.nav-mobile .lang-btn { padding: 8px 16px; font-size: 0.8rem; }

/* ============================================
   HERO
   ============================================ */
/* La portada ocupa al menos la pantalla, pero crece si el texto no cabe.
   El relleno superior reserva el alto del menú fijo (84px) para que nada quede debajo. */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  padding: 124px 0 110px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero > .container { width: 100%; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Foto de equipo: las personas ocupan la franja 31%-87% de la imagen.
     Un valor alto baja el encuadre para que no se corten las cabezas ni los pies. */
  object-position: center 65%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,16,30,0.85) 0%,
    rgba(8,16,30,0.5) 50%,
    rgba(8,16,30,0.3) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: rgba(245,166,35,0.08);
  border: 1px solid rgba(245,166,35,0.22);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-head);
  /* También depende del alto: en pantallas bajas (laptops de 13") el título se achica. */
  font-size: clamp(2.6rem, min(8vw, 11vh), 7.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title span {
  color: var(--gold);
  display: block;
}
.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero-stats {
  position: absolute;
  right: 0;
  /* Por encima del botón flotante de WhatsApp, medido desde el borde visible de la pantalla
     aunque la portada sea más alta que ella. */
  bottom: 120px;
  bottom: max(120px, calc(100% - 100svh + 120px));
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 48px;
}
.hero-stat {
  background: rgba(8,16,30,0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 14px 20px;
  text-align: right;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .divider { margin: 16px auto 20px; }

/* ============================================
   PROGRAMS
   ============================================ */
.programs-section { background: var(--navy-2); }
.program-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  cursor: pointer;
}
.program-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .program-card:hover img { transform: scale(1.06); }
}
.program-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,16,30,0.95) 0%, rgba(8,16,30,0.3) 60%, transparent 100%);
}
.program-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 28px;
}
.program-card-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.program-card h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.program-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.program-card-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1;
  width: 36px;
  height: 36px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
  opacity: 0;
  transform: translateY(-4px);
}
@media (hover: hover) and (pointer: fine) {
  .program-card:hover .program-card-arrow {
    opacity: 1;
    transform: translateY(0);
  }
}
.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.program-card.featured {
  grid-column: 1 / -1;
  height: 360px;
}
.program-card.featured img {
  object-position: 50% 12%;
}
/* Foto de Baby Soccer Recreativo: es vertical y el niño ocupa la franja alta,
   así que el recorte se sube para que no se le corte la cabeza en las cajas
   horizontales (tarjeta de la home y banner de la página Programs). */
.program-card img[src*="baby-soccer"],
.program-detail-img img[src*="baby-soccer"] {
  object-position: 50% 25%;
}
.program-card.featured .program-card-content {
  max-width: 500px;
}

/* ============================================
   PHILOSOPHY / ABOUT
   ============================================ */
.philosophy-section { background: var(--navy); }
.philosophy-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 64px;
  align-items: center;
}
.philosophy-img-wrap {
  position: relative;
}
.philosophy-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 550px;
}
.philosophy-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-team-photo {
  transform: scale(1.18);
  transform-origin: 50% 68%;
}
.philosophy-img-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  height: 160px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid var(--navy);
  box-shadow: var(--shadow);
}
.philosophy-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
/* Variante del recuadro acento cuando lleva el escudo del club en vez de una
   foto: fondo oscuro y el logo completo (contain), sin recortar. */
.philosophy-img-accent-logo {
  background: var(--navy-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.philosophy-img-accent-logo img {
  object-fit: contain;
  object-position: center;
}
.philosophy-badge-float {
  position: absolute;
  top: 24px;
  right: -16px;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.philosophy-badge-float strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.philosophy-badge-float span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.philosophy-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}
.philosophy-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .philosophy-feature:hover {
    border-color: var(--border-gold);
    transform: translateX(4px);
  }
}
.philosophy-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.philosophy-feature p {
  font-weight: 500;
  color: var(--gray-light);
  font-size: 0.95rem;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--gold);
  padding: 40px 0;
}
.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-bar-item {
  text-align: center;
  padding: 0 24px;
  position: relative;
}
.stats-bar-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(8,16,30,0.2);
}
.stats-bar-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stats-bar-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  /* 0.65 daba 4.47:1 sobre el dorado y WCAG AA pide 4.5:1; con 0.75 queda en 5.8:1 */
  color: rgba(8,16,30,0.75);
}
.stats-bar-item { min-width: 0; }
@media (max-width: 480px) {
  .stats-bar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .stats-bar-item { padding: 0 10px; }
  .stats-bar-label { font-size: 0.75rem; letter-spacing: 0.04em; overflow-wrap: anywhere; }
}

/* ============================================
   ACHIEVEMENTS
   ============================================ */
@media (hover: hover) and (pointer: fine) {
  }

/* ============================================
   COACHES
   ============================================ */
.coaches-section { background: var(--navy); }
.coach-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 250ms var(--ease-out),
              transform 250ms var(--ease-out),
              box-shadow 250ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .coach-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
  }
  .coach-card:hover .coach-card-img img { transform: scale(1.04); }
}
.coach-card-img {
  height: 280px;
  overflow: hidden;
}
.coach-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.coach-card-body {
  padding: 24px;
}
.coach-card-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.coach-card-role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.coach-card-bio {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}
.staff-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}
.coach-licenses {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.coach-license {
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  border-radius: 4px;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-section { background: var(--navy-2); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 500ms var(--ease-out);
}
/* Goalkeeper save (image15): action is centered, top is empty net — center it */
.gallery-item img[src*="image15"] {
  object-position: 50% 50%;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,16,30,0);
  transition: background 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover img { transform: scale(1.06); }
  .gallery-item:hover::after { background: rgba(245,166,35,0.1); }
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover .gallery-overlay { opacity: 1; }
}
/* On touch devices always show overlay subtly */
@media (hover: none) {
  .gallery-overlay { opacity: 0.7; }
}
.gallery-zoom-icon {
  width: 48px;
  height: 48px;
  background: rgba(245,166,35,0.9);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(245,166,35,0.3);
  border-color: var(--gold);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
}
.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.cta-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,16,30,0.82);
}
.cta-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-banner-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin: 16px 0 36px;
}
.cta-banner-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   PARTNERS / SPONSORS
   ============================================ */
.partners-section {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 60px 0;
}
.partners-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: center;
  margin-bottom: 36px;
}
.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  padding: 18px 40px;
  background: #fff;
  border-radius: 14px;
  opacity: 0.9;
  transition: opacity 200ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .partner-logo:hover { opacity: 1; box-shadow: 0 6px 28px rgba(0,0,0,0.25); transform: translateY(-3px); }
}
.partner-logo img {
  max-height: 75px;
  max-width: 198px;
  object-fit: contain;
}
.partner-logo-soccer-essentials img { max-width: 245px; }
.partner-logo-text {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 16px;
}
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
  max-width: 280px;
}
.footer-motto {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .footer-link:hover { color: var(--gold); }
}
.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--gray);
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.9rem;
  transition: background 180ms var(--ease-out),
              border-color 180ms var(--ease-out),
              color 180ms var(--ease-out),
              transform 160ms var(--ease-out);
}
.footer-social:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) {
  .footer-social:hover {
    background: rgba(245,166,35,0.12);
    border-color: var(--border-gold);
    color: var(--gold);
  }
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding: 160px 0 80px;
  background: var(--navy-2);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 16px;
}
.page-header-breadcrumb a { transition: color var(--transition); }
.page-header-breadcrumb a:hover { color: var(--gold); }
.page-header-breadcrumb span { color: var(--gold); }

/* ============================================
   REGISTRATION PAGE
   ============================================ */
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.reg-form-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  background: rgba(245,166,35,0.04);
}
.form-input::placeholder { color: var(--gray); }
.form-select option { background: var(--navy-2); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* Sin esto, el contenido de un formulario ensancha su columna y la página se desplaza de lado en el teléfono. */
.reg-grid > *, .contact-grid > *, .form-row > * { min-width: 0; }
@media (max-width: 480px) {
  .reg-steps .reg-step { min-width: 0; padding: 0 4px; }
  .reg-steps .reg-step-label { font-size: 0.62rem; letter-spacing: 0.02em; overflow-wrap: anywhere; }
}
.form-submit { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }

/* ============================================
   SCHEDULE PAGE
   ============================================ */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.schedule-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  border-bottom: 2px solid var(--border);
}
.schedule-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: rgba(255,255,255,0.8);
}
.schedule-table tr:hover td { background: rgba(255,255,255,0.02); }
.schedule-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status-open { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.status-full { background: rgba(239,68,68,0.12); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.status-upcoming { background: rgba(245,166,35,0.12); color: var(--gold); border: 1px solid rgba(245,166,35,0.3); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
.contact-info-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-info-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:first-child { padding-top: 0; }
.contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}
.contact-info-value {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.5;
}
.contact-info-value a { transition: color var(--transition); }
/* El correo es una sola palabra larga: que pueda partirse en teléfonos chicos. */
.contact-info-item > * { min-width: 0; }
.contact-info-value, .contact-info-value a,
a[href^="mailto:"], a[href^="mailto:"] * { overflow-wrap: anywhere; min-width: 0; }
.contact-info-value a:hover { color: var(--gold); }

/* ============================================
   ANIMATIONS
   ============================================ */

/* Fade-up: start from scale(0.98) + translateY — elements don't appear from nothing */
.fade-up {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays — 40ms increments feel natural without slowing things down */
.fade-up-delay-1 { transition-delay: 80ms; }
.fade-up-delay-2 { transition-delay: 160ms; }
.fade-up-delay-3 { transition-delay: 240ms; }
.fade-up-delay-4 { transition-delay: 320ms; }

/* ---- REDUCED MOTION — respect user preferences ---- */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 0;
    transform: none;
    transition: opacity 300ms var(--ease-out);
  }
  .fade-up.visible {
    opacity: 1;
    transform: none;
  }
  .fade-up-delay-1, .fade-up-delay-2,
  .fade-up-delay-3, .fade-up-delay-4 {
    transition-delay: 0ms;
  }
  .hero-scroll-line { animation: none; }
  .program-card img,
    .navbar {
    transition: background 0ms, height 0ms;
  }
  .btn {
    transition: background 0ms, color 0ms, border-color 0ms;
  }
  .btn:active { transform: none; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* Pantallas bajas: menos aire y sin el indicador "Scroll", que pisaría los botones. */
@media (max-height: 820px) {
  .hero { padding: 108px 0 56px; }
  .hero-badge { margin-bottom: 18px; }
  .hero-title { margin-bottom: 18px; }
  .hero-subtitle { margin-bottom: 28px; }
  .hero-scroll { display: none; }
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { display: none; }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .programs-grid { grid-template-columns: 1fr; }
  .program-card.featured { grid-column: auto; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: auto; }
  .gallery-item.tall { grid-row: auto; }
  .about-team-photo { transform: scale(1.12); transform-origin: 50% 62%; }
  .philosophy-img-accent { display: none; }
  .philosophy-badge-float { right: 0; top: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .reg-grid, .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .partners-grid { gap: 32px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .cta-banner-buttons { flex-direction: column; align-items: center; }
  .staff-team-grid { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-bar-grid { grid-template-columns: 1fr 1fr; }
  .reg-form-card { padding: 24px 20px; }
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.lang-btn {
  padding: 5px 10px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
  line-height: 1;
}
.lang-btn.active {
  background: var(--gold);
  color: var(--navy);
}
@media (hover: hover) and (pointer: fine) {
  .lang-btn:not(.active):hover { color: var(--white); background: rgba(255,255,255,0.08); }
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
  text-decoration: none;
}
.whatsapp-float i {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
}
@media (hover: hover) and (pointer: fine) {
  .whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
  }
}
.whatsapp-float:active { transform: scale(0.95); }
@media (max-width: 768px) {
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

@media (min-width: 1400px) and (max-width: 1699px) {
  .navbar { gap: 16px; }
  .nav-links { gap: 0; }
  .nav-link { font-size: 0.75rem; padding: 8px; letter-spacing: 0.02em; }
  .nav-register, .nav-social { display: none; }
}
@media (max-width: 1399px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
}
@media (min-width: 1400px) {
  .nav-mobile.open { display: none; }
}
/* University connections page. */
.university-header { border-bottom: 1px solid var(--border-gold); }
.university-hero-content { display: grid; grid-template-columns: minmax(0, 1fr) 176px; gap: 56px; align-items: center; }
.university-title { font-size: clamp(3rem, 6vw, 5.5rem); }
.university-hero-content .body-lg { max-width: 660px; margin-top: 24px; }
.university-hero-mark { width: 176px; aspect-ratio: 1; border: 1px solid var(--border-gold); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--gold); background: radial-gradient(circle at 50% 40%, rgba(245,166,35,0.16), transparent 65%); }
.university-hero-logo { width: auto; height: 76%; max-width: 72%; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.24)); }
.university-hero-mark i { font-size: 3.25rem; }
.university-hero-mark span { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.16em; font-size: 0.82rem; }
.university-case-section { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); }
.university-case-grid { display: grid; grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.university-case-image { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border-gold); box-shadow: var(--shadow-gold); background: var(--navy-card); }
.university-case-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.professional-page .university-case-image img { aspect-ratio: 4 / 3; object-position: 50% 100%; }
.university-case-content .body-lg { margin-top: 22px; }
.university-case-content .body-md { margin-top: 16px; max-width: 650px; }
.university-destination { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.university-destination div { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; color: var(--gray-light); font-size: 0.82rem; }
.university-destination i { color: var(--gold); }
.university-purpose-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--navy-card); }
.university-purpose { display: grid; grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding: 20px 0; }
.university-purpose .body-lg { max-width: 650px; }
@media (max-width: 768px) {
  .university-hero-content { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .university-hero-mark { width: 104px; }
  .university-hero-mark i { font-size: 2rem; }
  .university-hero-mark span { font-size: 0.68rem; }
  .university-case-grid, .university-purpose { grid-template-columns: 1fr; gap: 32px; }
  .university-case-content .body-lg { margin-top: 18px; }
  .university-destination { margin-top: 24px; }
}

/* ---- generado por web-src/build.py ---- */
.ico{display:inline-block;font-style:normal;line-height:1}
.ico svg{display:inline-block;height:1em;fill:currentColor;vertical-align:-.125em;overflow:visible}
.fa-spin svg{animation:fa-spin 1s linear infinite}
@keyframes fa-spin{to{transform:rotate(360deg)}}
.campo-trampa{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.center-404{text-align:center;max-width:720px}
.acciones-404{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;margin-top:32px}
.s-a80092e{max-width:480px!important}
.s-fcf4028{margin-top:40px!important}
.s-88c526b{border-top:1px solid var(--border)!important;border-bottom:1px solid var(--border)!important}
.s-ca1cd27{margin-bottom:28px!important}
.s-7936599{color:var(--gold)!important}
.s-d431697{margin-top:8px!important}
.s-5ab1184{max-width:500px!important}
.s-70e6e63{gap:24px!important}
.s-34fa9eb{object-position: 50% 25%!important}
.s-da9f4e5{object-position: 50% 0%!important}
.s-3e4a7be{object-position: 50% 15%!important}
.s-9b54a37{justify-content:center!important}
.s-19216bb{display:flex!important;gap:20px!important;align-items:center!important;flex-wrap:wrap!important;justify-content:flex-end!important}
.s-978ebc3{font-size:0.78rem!important}
.s-fcffda5{color:var(--gray)!important;font-size:0.78rem!important}
.s-38ca027{color:var(--gold)!important;text-decoration:none!important;font-weight:600!important}
.s-0e055a5{color:var(--gold)!important;font-family:var(--font-head)!important;font-weight:600!important;letter-spacing:0.1em!important;font-size:0.78rem!important}
.s-0411778{font-size:0.6rem!important}
.s-4a96ab3{gap:80px!important;align-items:center!important}
.s-3019698{margin-bottom:20px!important}
.s-7aadeb0{background:var(--navy-2)!important}
.s-eb631fe{flex-direction:column!important;text-align:center!important;padding:32px 24px!important}
.s-461f3ca{margin:0 auto 16px!important;width:56px!important;height:56px!important;font-size:1.3rem!important}
.s-a7409f7{margin-bottom:10px!important}
.s-503022c{height:auto!important}
.s-796016e{height:auto!important;display:block!important}
.s-4d06b89{margin-bottom:32px!important}
.s-1b2e329{max-width:580px!important;margin-top:16px!important}
.s-ee0c286{background:var(--navy)!important}
.s-ba88118{gap:28px!important}
.s-8455777{max-width:800px!important;margin-top:16px!important}
.s-5f35b78{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:24px!important;max-width:680px!important;margin:0 auto!important}
.s-b7c28a7{margin-top:72px!important}
.s-20995a9{object-position: 50% 35%!important}
.s-2bf5027{max-width:540px!important;margin-top:16px!important}
.s-89c548e{display:grid!important;grid-template-columns:1fr 1fr!important;gap:32px!important}
.s-28f47b9{max-width:560px!important;margin-top:16px!important}
.s-4b8ce9f{text-align:center!important;margin-top:60px!important}
.s-8e86974{margin-bottom:16px!important}
.s-d51702b{margin-bottom:8px!important}
.s-ebef4b6{font-family:var(--font-head)!important;font-size:0.78rem!important;font-weight:700!important;letter-spacing:0.12em!important;text-transform:uppercase!important;color:var(--gold)!important;margin-bottom:16px!important;padding-bottom:8px!important;border-bottom:1px solid var(--border)!important}
.s-d109945{margin-right:8px!important}
.s-37d30b7{margin-bottom:24px!important}
.s-487b71a{margin-right:6px!important}
.s-88490b6{display:none!important;text-align:center!important;padding:40px 20px!important}
.s-7c8f531{width:72px!important;height:72px!important;background:rgba(245,166,35,0.15)!important;border:2px solid var(--gold)!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0 auto 20px!important;font-size:2rem!important;color:var(--gold)!important}
.s-fa3e1c7{margin-bottom:12px!important}
.s-3ae1f62{margin-top:20px!important}
.s-b19874a{background:var(--navy-card)!important;border:1px solid var(--border)!important;border-radius:var(--radius-lg)!important;padding:20px!important;margin-bottom:20px!important}
.s-00a8fcb{font-family:var(--font-head)!important;font-size:0.75rem!important;font-weight:700!important;letter-spacing:0.1em!important;text-transform:uppercase!important;color:var(--gold)!important;margin-bottom:14px!important;display:flex!important;align-items:center!important;gap:8px!important}
.s-c5ab91b{display:grid!important;grid-template-columns:40px 1fr!important;row-gap:0!important}
.s-f4bdd68{font-family:var(--font-head)!important;font-size:0.82rem!important;font-weight:700!important;color:var(--gold)!important;padding:7px 0!important;border-bottom:1px solid var(--border)!important}
.s-3172f77{font-size:0.82rem!important;color:var(--gray-light)!important;padding:7px 0 7px 10px!important;border-bottom:1px solid var(--border)!important}
.s-d3811f0{font-family:var(--font-head)!important;font-size:0.82rem!important;font-weight:700!important;color:var(--gold)!important;padding:7px 0!important}
.s-d908a64{font-size:0.82rem!important;color:var(--gray-light)!important;padding:7px 0 7px 10px!important}
.s-db46d1d{background:var(--navy-card)!important;border:1px solid var(--border)!important;border-radius:var(--radius-lg)!important;overflow:hidden!important;margin-bottom:20px!important}
.s-2b1d29c{width:100%!important;height:180px!important;object-fit:cover!important;object-position:50% 18%!important}
.s-7fa5638{padding:20px!important}
.s-3fe2e10{font-family:var(--font-head)!important;font-size:1rem!important;font-weight:700!important;text-transform:uppercase!important;margin-bottom:8px!important}
.s-685cf01{display:flex!important;flex-direction:column!important;gap:8px!important}
.s-83dc987{display:flex!important;align-items:center!important;gap:8px!important;font-size:0.85rem!important;color:var(--gray-light)!important}
.s-3dc6d9c{color:var(--gold)!important;font-size:0.7rem!important}
.s-c627806{background:var(--navy-card)!important;border:1px solid var(--border)!important;border-radius:var(--radius-lg)!important;padding:24px!important}
.s-d94b8ef{font-family:var(--font-head)!important;font-size:1rem!important;font-weight:700!important;text-transform:uppercase!important;margin-bottom:16px!important}
.s-bbc0178{display:flex!important;flex-direction:column!important;gap:12px!important}
.s-332a5bd{display:flex!important;align-items:center!important;gap:12px!important;color:var(--gray-light)!important;font-size:0.88rem!important;text-decoration:none!important;transition:color 0.3s!important}
.s-7850f96{width:36px!important;height:36px!important;background:rgba(245,166,35,0.1)!important;border-radius:8px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:var(--gold)!important;flex-shrink:0!important}
.s-27d5086{min-height:160px!important}
.s-2a0556e{background:var(--navy-card)!important;border:1px solid var(--border)!important;border-radius:var(--radius-lg)!important;padding:28px!important}
.s-d9aaacd{display:flex!important;align-items:center!important;gap:16px!important;padding:14px 16px!important;background:rgba(255,255,255,0.03)!important;border:1px solid var(--border)!important;border-radius:10px!important;color:var(--white)!important;text-decoration:none!important;transition:all 0.3s!important}
.s-e7eb122{width:40px!important;height:40px!important;background:linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888)!important;border-radius:10px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:white!important;font-size:1.1rem!important;flex-shrink:0!important}
.s-3d31422{font-family:var(--font-head)!important;font-size:0.85rem!important;font-weight:600!important;text-transform:uppercase!important;margin-bottom:2px!important}
.s-d981a1d{font-size:0.78rem!important;color:var(--gray)!important}
.s-16a0658{margin-left:auto!important;color:var(--gray)!important;font-size:0.8rem!important}
.s-c7a6466{width:40px!important;height:40px!important;background:#1877f2!important;border-radius:10px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:white!important;font-size:1.1rem!important;flex-shrink:0!important}
.s-9cea950{width:40px!important;height:40px!important;background:#010101!important;border-radius:10px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:white!important;font-size:1.1rem!important;flex-shrink:0!important}
.s-cfdbf6e{width:40px!important;height:40px!important;background:#25d366!important;border-radius:10px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:white!important;font-size:1.1rem!important;flex-shrink:0!important}
.s-741a96e{background:var(--navy-card)!important;border:1px solid var(--border)!important;border-radius:var(--radius-lg)!important;padding:28px!important;margin-top:20px!important}
.s-eba032b{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
.s-644aa9e{background:var(--navy-2)!important;padding:60px 0!important;border-top:1px solid var(--border)!important}
.s-95554f0{background:var(--navy-card)!important;border:1px solid var(--border)!important;border-radius:var(--radius-lg)!important;height:320px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:16px!important}
.s-a6ec991{font-size:3rem!important;color:var(--gold)!important}
.s-13076d9{text-align:center!important}
.s-6db3358{font-family:var(--font-head)!important;font-size:1.1rem!important;font-weight:600!important;text-transform:uppercase!important;margin-bottom:6px!important}
.s-3c30f77{font-size:0.9rem!important;color:var(--gray)!important}
.h-7936599:hover{color:var(--gold)!important}
.h-e7ae654:hover{border-color:var(--border-gold)!important;background:rgba(245,166,35,0.06)!important}
