/* =====================================================================
   Let's 2027 · Estilos
   Paleta y tipografías: cambiar acá cambia toda la web.
   ===================================================================== */
:root {
  --azul: #1557D6;
  --azul-oscuro: #0E3F9E;
  --azul-claro: #DCE7FB;
  --tinta: #10203F;
  --gris: #4A5878;
  --gris-borde: #E2E8F4;
  --celeste: #EEF3FC;
  --fondo-gris: #F5F8FD;
  --amarillo: #F6B92B;
  --amarillo-claro: #FFF7E3;
  --rojo: #D7263D;
  --rojo-texto: #B01C30;
  --blanco: #FFFFFF;

  --f-titulos: 'Outfit', system-ui, sans-serif;
  --f-texto: 'Source Sans 3', system-ui, sans-serif;

  --r-chico: 12px;
  --r-medio: 18px;
  --r-grande: 24px;
  --r-portada: 32px;
  --ancho: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 18px;
  line-height: 1.55;
  color: var(--tinta);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--f-titulos); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; }
p { margin: 0; }
a { color: var(--azul); }
a:hover { color: var(--azul-oscuro); }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--ancho); margin: 0 auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

.kicker { font-family: var(--f-titulos); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--azul); margin-bottom: 10px; }
.kicker--amarillo { color: var(--amarillo); }
.lead { font-size: 19px; color: var(--gris); margin-top: 12px; max-width: 40em; }
.seccion { padding-block: 72px; }
.seccion--gris { background: var(--fondo-gris); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 14px; border: 1px solid transparent; text-align: center;
  font-family: var(--f-titulos); font-weight: 600; font-size: 17px; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: 10px 18px; border-radius: 12px; }
.btn--primary { background: var(--azul); color: #fff; }
.btn--primary:hover { background: var(--azul-oscuro); color: #fff; }
.btn--amarillo { background: var(--amarillo); color: #2B1D00; font-weight: 700; font-size: 18px; }
.btn--amarillo:hover { color: #2B1D00; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.btn--ghost-claro { color: #fff; border-color: #8EB2F0; background: transparent; font-size: 18px; }
.btn--ghost-claro:hover { color: #fff; background: rgba(255,255,255,.08); }
.btn--oscuro { background: var(--tinta); color: #fff; }
.btn--oscuro:hover { color: #fff; background: #1C3260; }
.btn--blanco { background: #fff; color: var(--tinta); border-color: #C9D5EC; }
.btn--blanco:hover { color: var(--tinta); border-color: var(--azul); }

/* ---------- Encabezado ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--gris-borde); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 6px; }
.header__logo img { height: 58px; width: auto; }
.nav { display: flex; gap: 28px; font-weight: 600; font-size: 17px; }
.nav a { color: var(--tinta); text-decoration: none; padding: 8px 0; }
.nav a:hover { color: var(--azul); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; background: var(--celeste); border-radius: 10px; padding: 3px; }
.lang button { border: 0; background: transparent; color: var(--gris); font: 700 14px var(--f-texto); padding: 8px 11px; min-height: 38px; min-width: 40px; border-radius: 8px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--azul); box-shadow: 0 1px 3px rgba(16,32,63,.12); }
.menu-btn { display: none; border: 1px solid var(--gris-borde); background: #fff; color: var(--tinta); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 899px) {
  .header__logo img { height: 46px; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--gris-borde);
    padding: 8px 20px 16px; display: none;
  }
  .nav.abierto { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--celeste); }
}
@media (max-width: 420px) {
  .header__actions .btn--sm { padding-inline: 12px; font-size: 15px; }
  .lang button { padding: 8px 8px; min-width: 36px; }
}

/* ---------- Portada ---------- */
.hero-wrap { padding-top: 20px; }
.hero { display: flex; flex-wrap: wrap; background: var(--azul); border-radius: var(--r-portada); overflow: hidden; }
.hero__text { flex: 1 1 520px; min-width: 0; padding: clamp(28px, 5vw, 72px); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(40px, 6.2vw, 84px); letter-spacing: -0.025em; }
.hero__lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--azul-claro); margin-top: 20px; max-width: 30em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__foto { flex: 1 1 380px; min-width: 0; min-height: 380px; position: relative; }
.hero__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__text > * { animation: subir .7s cubic-bezier(.2,.7,.2,1) both; }
.hero__text > *:nth-child(2) { animation-delay: .08s; }
.hero__text > *:nth-child(3) { animation-delay: .16s; }
.hero__text > *:nth-child(4) { animation-delay: .24s; }
.hero__foto img { animation: aparecer 1s ease both; }
@media (max-width: 600px) {
  .hero { border-radius: var(--r-grande); }
  .hero__foto { min-height: 300px; }
  .hero__ctas .btn { width: 100%; }
}

/* ---------- Datos ---------- */
.datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; padding-top: 16px; }
.dato { background: var(--celeste); border-radius: var(--r-medio); padding: 18px 20px; }
.dato__t { font-family: var(--f-titulos); font-weight: 700; font-size: 22px; }
.dato__s { color: var(--gris); font-size: 16px; }

/* ---------- Precio congelado ---------- */
#congelado { padding-top: 16px; }
.congelado { border: 2px solid var(--rojo); border-radius: var(--r-grande); padding: 22px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.congelado__text { flex: 1 1 320px; }
.congelado__t { font-family: var(--f-titulos); font-weight: 700; font-size: 26px; }
.congelado__s { color: var(--gris); font-size: 17px; margin-top: 4px; }
.congelado__right { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.congelado__cta { font-family: var(--f-titulos); font-weight: 700; font-size: 18px; color: var(--rojo-texto); }
.timer { display: flex; gap: 8px; }
.timer__box { background: var(--rojo); color: #fff; border-radius: 14px; width: 68px; padding: 10px 0 8px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.timer__box--alt { background: #fff; color: var(--rojo-texto); border: 2px solid var(--rojo); padding-block: 8px 6px; }
.timer__n { font-family: var(--f-titulos); font-weight: 700; font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.timer__l { font-size: 13px; font-weight: 600; margin-top: 4px; }
.congelado.terminado .timer, .congelado.terminado .congelado__s { display: none; }

/* ---------- Nosotros ---------- */
.nosotros { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.pilares { display: grid; gap: 14px; }
.pilar { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 18px 20px; border: 1px solid var(--gris-borde); border-radius: var(--r-medio); }
.pilar svg { grid-row: span 2; color: var(--azul); background: var(--celeste); border-radius: 12px; padding: 8px; width: 44px; height: 44px; }
.pilar p { color: var(--gris); font-size: 17px; margin-top: 2px; }

/* Reseñas de Google */
.resenas { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 24px; padding: 14px 20px; border: 1px solid var(--gris-borde); border-radius: 18px; background: #fff; color: var(--tinta); text-decoration: none; box-shadow: 0 6px 18px rgba(16,32,63,.06); transition: transform .15s ease, box-shadow .15s ease; }
.resenas:hover { color: var(--tinta); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,32,63,.10); }
.resenas__nota { font-family: var(--f-titulos); font-weight: 700; font-size: 34px; line-height: 1; }
.resenas__estrellas { display: inline-flex; gap: 2px; }
.resenas__estrellas svg { width: 24px; height: 24px; fill: #F5B400; }
.resenas__txt { display: flex; flex-direction: column; font-size: 15px; line-height: 1.3; }
.resenas__txt strong { font-family: var(--f-titulos); font-size: 17px; }
.resenas__txt span { color: var(--azul); font-weight: 600; }

/* ---------- Cursos ---------- */
.grupos { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 32px; }
.grupo { background: #fff; border: 1px solid var(--gris-borde); border-radius: var(--r-grande); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.grupo:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(16,32,63,.10); }
.grupo img { width: 100%; height: 190px; object-fit: cover; }
.grupo__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.grupo__t { font-family: var(--f-titulos); font-weight: 700; font-size: 26px; }
.grupo__d { color: var(--gris); font-size: 16px; }
.grupo__precios { margin-top: auto; padding-top: 14px; display: grid; gap: 2px; font-size: 16px; }
.grupo__precios div { display: flex; justify-content: space-between; gap: 8px; }
.grupo__precios strong { font-family: var(--f-titulos); }
.grupo__nota { font-size: 13px; color: var(--rojo-texto); font-weight: 600; }
.grupo .btn { margin-top: 10px; width: 100%; }

.beneficios { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; margin-top: 24px; }
.beneficio { display: flex; gap: 16px; align-items: flex-start; background: var(--azul); color: #fff; border-radius: var(--r-grande); padding: 20px 22px; }
.beneficio svg { flex-shrink: 0; width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--amarillo); color: #2B1D00; }
.beneficio h3 { font-size: 21px; }
.beneficio p { color: var(--azul-claro); font-size: 17px; margin-top: 4px; }
.horarios { margin-top: 24px; background: var(--amarillo-claro); border-radius: var(--r-medio); padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 17px; }
.horarios__nota { color: #6B5A2E; flex-basis: 100%; }

/* ---------- Selector ---------- */
.selector { margin-top: 40px; background: #fff; border: 1px solid var(--gris-borde); border-radius: var(--r-portada); padding: clamp(22px, 4vw, 44px); }
.selector:focus { outline: none; }
.selector__head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.selector__head p { color: var(--gris); margin-top: 6px; }
.selector__body { margin-top: 24px; }
.sel__pregunta { font-family: var(--f-titulos); font-weight: 600; font-size: 21px; margin-bottom: 14px; }
.sel__aviso { background: var(--amarillo-claro); border-radius: 10px; padding: 10px 14px; font-size: 16px; margin-bottom: 14px; color: #5A4A1E; }
.sel__opciones { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.sel__op {
  text-align: left; background: #fff; border: 1.5px solid var(--gris-borde); border-radius: 16px;
  padding: 14px 16px; min-height: 64px; cursor: pointer; font: inherit; color: var(--tinta);
  display: flex; flex-direction: column; gap: 2px; transition: border-color .15s, background-color .15s, transform .15s;
}
.sel__op:hover { border-color: var(--azul); background: var(--celeste); transform: translateY(-2px); }
.sel__op strong { font-family: var(--f-titulos); font-size: 18px; }
.sel__op span { color: var(--gris); font-size: 15px; }
.sel__op .mcer { display: inline-block; font-size: 12px; font-weight: 700; color: var(--azul); background: var(--celeste); border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.sel__op--nose { border-style: dashed; border-color: #8EB2F0; background: var(--celeste); }
.sel__op--nose:hover { background: var(--azul-claro); }
.sel__nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sel__link { background: none; border: 0; color: var(--azul); font: 600 16px var(--f-texto); cursor: pointer; padding: 10px 4px; min-height: 44px; }
.sel__res { border-radius: 20px; background: var(--azul); color: #fff; padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; animation: subir .45s ease both; }
.sel__res .kicker { color: var(--amarillo); margin: 0; }
.sel__res h3 { font-size: clamp(30px, 4vw, 44px); }
.sel__res p { color: var(--azul-claro); }
.sel__res-precios { display: flex; flex-wrap: wrap; gap: 10px; }
.sel__res-precios div { background: rgba(255,255,255,.12); border-radius: 12px; padding: 10px 16px; }
.sel__res-precios small { display: block; color: var(--azul-claro); font-size: 14px; }
.sel__res-precios strong { font-family: var(--f-titulos); font-size: 24px; }
.sel__res ul { margin: 0; padding-left: 20px; color: #fff; }
.sel__res .btn { justify-self: start; }

/* ---------- Sede ---------- */
.sede { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; }
.sede__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.sede__fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sede__fotos img { width: 100%; height: auto; object-fit: cover; border-radius: 20px; }
.sede__f1 { grid-column: span 2; aspect-ratio: 16 / 9; }
.sede__f2, .sede__f3 { aspect-ratio: 1 / 1; }

/* ---------- Clases online ---------- */
.nav a.nav__online { color: var(--rojo); }
.nav a.nav__online:hover { color: var(--rojo-texto); }
.kicker--rojo { color: var(--rojo); }
.online { background: #FDF3F4; }
.online__inner { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: center; }
.online__lista { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.online__lista li { display: flex; align-items: center; gap: 10px; font-family: var(--f-titulos); font-weight: 600; font-size: 19px; }
.online__lista svg { color: #fff; background: var(--rojo); border-radius: 50%; padding: 4px; width: 28px; height: 28px; flex-shrink: 0; }
.online__lista strong { color: var(--rojo); }
.online__cierre { margin: 22px 0 0; font-size: 18px; color: var(--tinta); }
.btn--wa-online { margin-top: 16px; background: #25D366; color: #06331A; font-weight: 700; font-size: 18px; }
.btn--wa-online:hover { color: #06331A; background: #1FBF5B; }
.online__ilus img { width: 100%; max-width: 460px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; display: block; margin: 0 auto; border-radius: 24px; box-shadow: 0 18px 40px rgba(16,32,63,.18); border: 6px solid #fff; }

/* ---------- Contacto y pie ---------- */
.contacto { background: var(--azul); color: #fff; padding-block: 56px; }
.contacto__inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.contacto__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); flex: 1 1 640px; }
.contacto__label { display: block; font-size: 14px; color: var(--azul-claro); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contacto__lista a { color: #fff; font-family: var(--f-titulos); font-size: 20px; font-weight: 600; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 4px; }
.footer { background: var(--tinta); color: #C9D5EC; font-size: 15px; padding-block: 24px 96px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; }
.footer a { color: var(--amarillo); }

/* ---------- Botones flotantes ---------- */
.flotantes { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 12px; z-index: 60; }
.flot { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(16,32,63,.28); transition: transform .15s ease; }
.flot:hover { transform: scale(1.07); }
.flot--wa { background: #25D366; }
.flot--ig { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }

/* ---------- Video ---------- */
.video-modal { border: 0; border-radius: 20px; padding: 0; width: min(960px, 94vw); max-height: 92vh; background: #000; color: #fff; }
.video-modal.vertical { width: min(420px, 94vw); }
.video-modal::backdrop { background: rgba(10,18,40,.75); }
.video-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 18px; background: var(--tinta); }
.video-modal__head h2 { font-size: 18px; letter-spacing: 0; }
.video-modal__close { background: transparent; border: 0; color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.video-modal video { width: 100%; max-height: calc(92vh - 64px); background: #000; }

/* ---------- Animaciones ---------- */
@keyframes subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes aparecer { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Páginas simples (inscripción / privacidad) ---------- */
.simple { max-width: 720px; margin: 0 auto; padding: 64px 20px 120px; }
.simple h1 { font-size: clamp(32px, 5vw, 48px); }
.simple p { color: var(--gris); margin-top: 16px; font-size: 19px; }
.simple .chip { display: inline-block; margin-top: 20px; background: var(--celeste); color: var(--azul); font-weight: 700; padding: 8px 14px; border-radius: 10px; }
.simple .acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
