/* ============================================================
   Lycée Français International de Málaga — site styles
   Direction: Riviera (variant A) · Mood: Sunset
   Reimplemented from the Claude Design handoff (Colegio LFIM.dc.html)
   ============================================================ */

/* ---------- Design tokens (sunset palette, variant A accent) ---------- */
:root{
  --ink:#16304a; --ink-2:#41566b;
  --sea:#1f5fa6; --sea-d:#16457a; --sea-l:#e7eff8;
  --terr:#c0552f; --terr-d:#9c3f1e;
  --ochre:#cf9a3f; --gold:#bf8a2e;
  --bougain:#b6326f;
  --garden:#4f7a52; --garden-d:#3a5d3e;
  --cream:#f7efdc; --cream-2:#efe3c8; --white:#fffdf7;
  --line:#e2d4b4;
  --ink-deep:#0b213b;
  --r-card:20px;
  --laceria:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%2316304a' stroke-opacity='.055' stroke-width='1'%3E%3Crect x='24' y='24' width='48' height='48'/%3E%3Crect x='24' y='24' width='48' height='48' transform='rotate%2845 48 48%29'/%3E%3Ccircle cx='48' cy='48' r='6'/%3E%3Crect x='-24' y='-24' width='48' height='48' transform='rotate%2845 0 0%29'/%3E%3Crect x='72' y='-24' width='48' height='48' transform='rotate%2845 96 0%29'/%3E%3Crect x='-24' y='72' width='48' height='48' transform='rotate%2845 0 96%29'/%3E%3Crect x='72' y='72' width='48' height='48' transform='rotate%2845 96 96%29'/%3E%3C/g%3E%3C/svg%3E"); /* lacería mudéjar de fondo, casi invisible (5%) */
  --estrella:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24'%3E%3Cg fill='%23cf9a3f'%3E%3Crect x='6' y='6' width='12' height='12'/%3E%3Crect x='6' y='6' width='12' height='12' transform='rotate%2845 12 12%29'/%3E%3C/g%3E%3C/svg%3E"); /* estrella de 8 puntas albero, 10px, para eyebrows */
  /* Cenefa de azulejo andaluz (estrella mudéjar de 8 puntas + rombo, filetes terracota, puntos albero); repetir en X a 48×24 */
  --cenefa:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Crect width='48' height='24' fill='%23f7efdc'/%3E%3Crect y='0' width='48' height='1.2' fill='%23c0552f'/%3E%3Crect y='22.8' width='48' height='1.2' fill='%23c0552f'/%3E%3Cg fill='%231f5fa6'%3E%3Crect x='6' y='6' width='12' height='12'/%3E%3Crect x='6' y='6' width='12' height='12' transform='rotate%2845 12 12%29'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='3.2' fill='%23f7efdc'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%23cf9a3f'/%3E%3Crect x='31.5' y='7.5' width='9' height='9' transform='rotate%2845 36 12%29' fill='%231f5fa6'/%3E%3Crect x='34' y='10' width='4' height='4' transform='rotate%2845 36 12%29' fill='%23f7efdc'/%3E%3Ccircle cx='36' cy='12' r='1.1' fill='%23c0552f'/%3E%3Ccircle cx='24' cy='4' r='1' fill='%23cf9a3f'/%3E%3Ccircle cx='24' cy='20' r='1' fill='%23cf9a3f'/%3E%3Ccircle cx='0' cy='12' r='1' fill='%23cf9a3f'/%3E%3Ccircle cx='48' cy='12' r='1' fill='%23cf9a3f'/%3E%3C/svg%3E"); /* radio unificado de tarjetas (Actualidad, testimonios, galería, familias, pasos) */ /* marino profundo de las ilustraciones 3D (Razones / Cifras) */
  --accent:#1f5fa6; --accent-d:#16457a; --accent-soft:#e7eff8;

  --wrap:1280px;
  --gutter:32px;
}

/* ---------- Reset / base ---------- */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Hanken Grotesk',system-ui,-apple-system,sans-serif;
  min-height:100vh;
  overflow-x:hidden;
}
img{ display:block; }
button{ font-family:inherit; }
::selection{ background:var(--sea); color:#fff; }

/* ---------- Focus visibility (keyboard nav) ---------- */
:where(a, button, input, textarea, select, [tabindex]):focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}
/* dark / ink surfaces → gold ring for contrast */
.util :focus-visible,
.hero :focus-visible,
.stats :focus-visible,
.footer :focus-visible,
.page-hero--ink :focus-visible{ outline-color:var(--ochre); }
/* saturated surfaces (terracotta CTA, blue page hero) → white ring */
.cta :focus-visible,
.page-hero--accent :focus-visible{ outline-color:#fff; }

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 var(--gutter); }

/* ---------- Keyframes ---------- */
@keyframes blink{ 0%,100%{ opacity:1; } 50%{ opacity:.25; } }
@keyframes kenburns{ from{ transform:scale(1.02); } to{ transform:scale(1.12); } }
@keyframes floaty{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(7px); } }
@keyframes revealIn{ from{ opacity:0; transform:translateY(32px); } to{ opacity:1; transform:none; } }
@keyframes mediaPar{ to{ transform:translateY(96px); } }
@keyframes copyPar{ to{ transform:translateY(-44px); opacity:.2; } }
@keyframes owlWake{ 0%{ transform:scale(.55) translateY(-8px); opacity:0; } 55%{ transform:scale(1.1); } 100%{ transform:scale(1); opacity:1; } }

.owl-wink{ transition:transform .35s cubic-bezier(.2,.8,.2,1); transform-origin:50% 72%; }
.owl-wink:hover{ transform:rotate(-9deg) scale(1.07); }
.owl-wake{ animation:owlWake 1s cubic-bezier(.2,.8,.2,1) both; }

@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline: view()){
    .reveal{ animation:revealIn linear both; animation-timeline:view(); animation-range:entry 0% entry 55%; }
    .hero-media-wrap{ animation:mediaPar linear both; animation-timeline:scroll(root); animation-range:0 82vh; }
    .hero-copy{ animation:copyPar linear both; animation-timeline:scroll(root); animation-range:0 72vh; }
  }
}
/* JS fallback (added by app.js only when CSS scroll-timelines are unsupported, e.g. Safari/Firefox) */
.lfim-jsfx .reveal{ opacity:0; transform:translateY(32px); transition:opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.lfim-jsfx .reveal.is-revealed{ opacity:1; transform:none; }

/* Reduced motion: silence the looping / decorative animations.
   (Scroll reveals + hero parallax are already disabled in app.js via fxMode='off'.) */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .hero-sky{ animation:none; transform:none; }
  .hero-seal{ animation:none; }
  .hero-scroll{ animation:none; }
  .util__dot{ animation:none; }
  .owl-wake{ animation:none; }
  .owl-wink{ transition:none; }
  .owl-wink:hover{ transform:none; }
  .hero-video{ transition:none; }
}

/* ---------- Azulejo tile band ---------- */
.azulejo{ height:24px; background:var(--cream) var(--cenefa) repeat-x center / 48px 24px; }

/* ---------- Utility bar ---------- */
.util{ background:var(--ink); color:#cdd8e4; font-size:12.5px; letter-spacing:.02em; }
.util__inner{ height:40px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.util__status{ display:inline-flex; align-items:center; gap:8px; font-weight:600; color:#fff; }
.util__dot{ width:7px; height:7px; border-radius:50%; background:#6ad19a; animation:blink 1.6s infinite; }
.util__right{ display:flex; align-items:center; gap:8px; position:relative; }
.util__portal-btn{
  cursor:pointer; background:none; border:1px solid #36475e; color:#cdd8e4; font:inherit;
  font-weight:600; padding:6px 12px; border-radius:2px; display:inline-flex; align-items:center; gap:8px;
  transition:border-color .15s, color .15s;
}
.util__portal-btn:hover{ border-color:#6a7d96; color:#fff; }
.util__caret{ font-size:9px; }

.lang{ display:flex; border:1px solid #36475e; border-radius:2px; overflow:hidden; }
.lang__btn{
  cursor:pointer; background:none; border:none; font:inherit; font-weight:700; font-size:11.5px;
  letter-spacing:.06em; padding:6px 11px; color:#9fb0c2; transition:background .15s, color .15s;
  display:inline-flex; align-items:center; gap:6px;
}
.lang__btn.is-active{ background:#fff; color:var(--ink); }
.lang__flag{ display:block; width:16px; height:auto; border-radius:1px; box-shadow:0 0 0 .5px rgba(0,0,0,.18); flex:none; }

.portal-menu{
  position:absolute; top:46px; right:0; width:304px; background:var(--white); border:1px solid var(--line);
  border-radius:3px; box-shadow:0 18px 44px rgba(22,48,74,.26); padding:8px; z-index:90;
}
.portal-menu[hidden]{ display:none; }
.portal-menu__title{ padding:8px 12px 6px; font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-2); font-weight:700; }
.portal-link{ display:flex; align-items:center; gap:12px; padding:11px 12px; border-radius:3px; text-decoration:none; color:var(--ink); transition:background .15s; }
.portal-link:hover{ background:var(--accent-soft); }
.portal-link__ab{ width:34px; height:34px; border-radius:3px; background:var(--accent-soft); color:var(--accent); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px; flex:none; }
.portal-link__name{ font-weight:700; font-size:13.5px; }
.portal-link__desc{ font-size:11.5px; color:var(--ink-2); }

/* ---------- Header / Nav ---------- */
.header{
  position:sticky; top:0; z-index:80;
  background:rgba(247,239,220,.93);
  -webkit-backdrop-filter:saturate(1.4) blur(8px);
  backdrop-filter:saturate(1.4) blur(8px);
  border-bottom:1px solid var(--line);
}
.header__inner{ height:80px; display:flex; align-items:center; justify-content:space-between; gap:24px; }

.brand{ display:flex; align-items:center; gap:13px; text-decoration:none; color:var(--ink); flex:none; }
.brand__owl{ display:flex; flex:none; }
.brand__owl img{ height:50px; width:auto; }
.brand__lines{ display:flex; flex-direction:column; line-height:1; }
.brand__sub{ font-size:9.5px; letter-spacing:.17em; text-transform:uppercase; color:var(--ink-2); }
.brand__name{ font-family:'Cinzel',serif; font-weight:800; font-size:21px; letter-spacing:.08em; margin-top:4px; color:var(--sea); }
.brand__flag{ display:flex; height:4px; width:96px; margin-top:6px; border:1px solid var(--line); border-radius:1px; overflow:hidden; }
.brand__flag span{ flex:1; }
.brand__flag span:nth-child(1){ background:#1f3a93; }
.brand__flag span:nth-child(2){ background:#fff; }
.brand__flag span:nth-child(3){ background:#e1000f; }
.brand__flag span:nth-child(4){ background:#c60b1e; }
.brand__flag span:nth-child(5){ background:#ffc400; }
.brand__flag span:nth-child(6){ background:#c60b1e; }

.nav{ display:flex; align-items:center; gap:2px; }
.nav__btn{
  cursor:pointer; background:none; border:none; font:inherit; font-weight:600; font-size:14.5px;
  color:var(--ink); padding:10px 14px; border-radius:2px; transition:color .15s, background .15s;
}
.nav__btn:hover{ color:var(--accent); }
/* sección actual: subrayado terracota + color de acento (aria-current="page") */
.nav__btn.is-current{ color:var(--accent-d); box-shadow:inset 0 -2.5px 0 var(--terr); border-radius:2px 2px 0 0; }

.header__cta{
  cursor:pointer; border:none; background:var(--accent); color:#fff; font:inherit; font-weight:700;
  font-size:13.5px; letter-spacing:.01em; padding:12px 20px; border-radius:2px; flex:none;
  transition:transform .12s, background .15s;
}
.header__cta:hover{ background:var(--accent-d); }
.header__cta:active{ transform:scale(.97); }

.nav-toggle{ display:none; }
.nav--mobile{ display:none; }

/* ---------- Mega menus ---------- */
.mega{ border-top:1px solid var(--line); background:var(--white); box-shadow:0 22px 40px rgba(22,48,74,.12); }
.mega[hidden]{ display:none; }
.mega__inner{ padding:26px 32px; display:grid; gap:28px; }
.mega--about .mega__inner,
.mega--adm .mega__inner{ grid-template-columns:1.1fr 1fr 1fr; }
.mega--peda .mega__inner{ grid-template-columns:repeat(4,1fr); gap:18px; }
.mega--diplomes .mega__inner{ grid-template-columns:repeat(3,1fr); gap:18px; }

.mega__title{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:24px; }
.mega__lead{ margin:8px 0 0; font-size:13.5px; line-height:1.6; color:var(--ink-2); }
.mega__more{ display:inline-block; margin-top:14px; font-weight:700; font-size:13px; color:var(--accent); text-decoration:none; }
.mega__col{ display:flex; flex-direction:column; gap:2px; }
.mega__link{ font-size:13.5px; padding:8px 10px; border-radius:3px; text-decoration:none; color:var(--ink); transition:background .15s, color .15s; }
.mega__link:hover{ background:var(--accent-soft); color:var(--accent); }

.mega-level{
  text-decoration:none; color:var(--ink); border:1px solid var(--line); border-radius:4px; padding:16px;
  display:flex; flex-direction:column; gap:6px; background:var(--white); transition:border-color .15s, transform .15s;
}
.mega-level:hover{ border-color:var(--accent); transform:translateY(-2px); }
.mega-level__name{ font-family:'Cinzel',serif; font-weight:700; font-size:15px; color:var(--accent); letter-spacing:.02em; }
.mega-level__age{ font-size:12px; color:var(--ink-2); }
.mega-level__blurb{ font-size:12.5px; line-height:1.5; color:var(--ink-2); margin-top:4px; }

.mega-adm-cta{ background:var(--accent); color:#fff; border-radius:4px; padding:20px; }
.mega-adm-cta__title{ font-family:'Cinzel',serif; font-weight:700; font-size:18px; }
.mega-adm-cta p{ margin:8px 0 14px; font-size:13px; line-height:1.6; opacity:.92; }
.mega-adm-cta__btn{ display:inline-block; background:#fff; color:var(--accent); font-weight:700; font-size:12.5px; padding:9px 14px; border-radius:2px; text-decoration:none; }
.mega-visit{ border:1px solid var(--line); border-radius:4px; padding:16px; }
.mega-visit__eyebrow{ font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-2); font-weight:700; }
.mega-visit p{ margin:8px 0 12px; font-size:13px; line-height:1.6; color:var(--ink-2); }
.mega-visit__link{ font-weight:700; font-size:13px; color:var(--accent); text-decoration:none; }

/* ---------- Hero (Riviera) ---------- */
.hero{ position:relative; width:100%; height:calc(100vh - 120px); min-height:600px; max-height:920px; overflow:hidden; background:var(--ink); }
.hero-media-wrap{ position:absolute; left:0; right:0; top:-90px; bottom:-20px; will-change:transform; }
.hero-sky{
  position:absolute; inset:0;
  /* Póster real (fotograma del vídeo del campus) mientras carga el vídeo y para
     quien no lo recibe (ahorro de datos / movimiento reducido); el degradado
     azul queda debajo como último recurso. */
  background:url('../assets/hero-poster.webp') center 30% / cover no-repeat,
    radial-gradient(130% 90% at 72% 12%, #cfe6f2 0%, #8fc6dd 26%, #3f9ec0 50%, #2470ac 74%, #16457a 100%);
  animation:kenburns 22s ease-in-out infinite alternate;
}
.hero-sky__sun, .hero-sky__scan{ display:none; } /* eran adornos del cielo CSS; con foto real sobran */
.hero-sky__sun{ position:absolute; top:8%; left:14%; width:200px; height:200px; border-radius:50%; background:radial-gradient(circle, rgba(255,247,222,.85), rgba(255,247,222,0) 68%); }
.hero-sky__scan{ position:absolute; inset:0; opacity:.16; background-image:repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(255,255,255,.5) 38px, rgba(255,255,255,.5) 39px); }
.hero-sunset{ display:none; } /* day mood — the blue .hero-sky gradient is shown */
/* Background video sits over the CSS sky (which acts as a fallback / loading
   backdrop) and fades in once it can play. */
.hero-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .9s ease; }
.hero-video.is-ready{ opacity:1; }
.hero-overlay{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(22,48,74,.34) 0%, rgba(22,48,74,.05) 32%, rgba(22,48,74,.12) 60%, rgba(11,28,46,.74) 100%); }

.hero-frame{ position:absolute; inset:26px; border:1.5px solid rgba(247,239,220,.55); pointer-events:none; }
.hero-corner{ position:absolute; width:24px; height:24px; pointer-events:none; }
.hero-corner--tl{ left:22px; top:22px; border-left:2px solid var(--ochre); border-top:2px solid var(--ochre); }
.hero-corner--tr{ right:22px; top:22px; border-right:2px solid var(--ochre); border-top:2px solid var(--ochre); }
.hero-corner--bl{ left:22px; bottom:22px; border-left:2px solid var(--ochre); border-bottom:2px solid var(--ochre); }
.hero-corner--br{ right:22px; bottom:22px; border-right:2px solid var(--ochre); border-bottom:2px solid var(--ochre); }

.hero-copy{ position:absolute; inset:0; display:flex; align-items:flex-end; }
.hero-copy__inner{ max-width:var(--wrap); width:100%; margin:0 auto; padding:0 64px 72px; }
.hero-eyebrow{ display:inline-flex; align-items:center; gap:11px; color:#f7efdc; font-size:12.5px; font-weight:700; letter-spacing:.22em; text-transform:uppercase; text-shadow:0 1px 10px rgba(11,28,46,.5); }
.hero-eyebrow span{ width:30px; height:1.5px; background:var(--ochre); }
.hero-h1{ margin:18px 0 0; color:var(--white); text-shadow:0 2px 24px rgba(11,28,46,.45); }
.hero-h1__top{ display:block; font-family:'Cinzel',serif; font-weight:800; font-size:clamp(40px,5.6vw,80px); line-height:.98; letter-spacing:.01em; }
.hero-h1__italic{ display:block; font-family:'Cormorant Garamond',serif; font-style:italic; font-weight:600; font-size:clamp(26px,3.6vw,50px); line-height:1.04; color:var(--white); text-shadow:0 2px 18px rgba(11,28,46,.65), 0 1px 3px rgba(11,28,46,.55); margin-top:6px; }
.hero-sub{ font-size:18px; line-height:1.6; color:#eef3f8; margin:24px 0 0; max-width:34em; text-shadow:0 1px 12px rgba(11,28,46,.6); }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:13px; margin-top:30px; }
.hero-vtour{ display:inline-flex; align-items:center; gap:9px; margin-top:20px; padding:0; background:none; border:none; cursor:pointer; color:#f7efdc; text-decoration:none; font-family:inherit; font-weight:700; font-size:13.5px; letter-spacing:.02em; text-shadow:0 1px 10px rgba(11,28,46,.6); transition:color .15s; }
.hero-vtour span{ display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:50%; border:1.5px solid rgba(247,239,220,.7); font-size:9px; padding-left:2px; transition:background .15s, border-color .15s; }
.hero-vtour:hover{ color:#fff; }
.hero-vtour:hover span{ background:rgba(247,239,220,.18); border-color:#fff; }
.hero-vtour:focus-visible{ outline:2px solid var(--ochre); outline-offset:4px; border-radius:2px; }

/* Sello Forbes — credencial discreta arriba a la derecha, sobre el vídeo.
   Pequeño y con sombra para legibilidad; el medallón oficial se mantiene
   (la versión grande vive en el trust strip bajo el hero). */
.hero-seal{ position:absolute; top:60px; right:60px; z-index:5; display:flex; align-items:center; gap:13px; pointer-events:none; animation:sealIn .7s ease both .25s; }
.hero-seal__cap{ display:flex; flex-direction:column; text-align:right; line-height:1.2; text-shadow:0 1px 10px rgba(11,28,46,.7); }
.hero-seal__cap strong{ font-family:'Cinzel',serif; font-weight:700; font-size:14px; letter-spacing:.01em; color:var(--white); }
.hero-seal__cap span{ font-size:11px; font-weight:600; letter-spacing:.04em; color:var(--cream); opacity:.92; margin-top:2px; }
.hero-seal__badge{ width:76px; height:76px; flex:none; filter:drop-shadow(0 4px 14px rgba(11,28,46,.55)); }
@keyframes sealIn{ from{ opacity:0; transform:scale(.86); } to{ opacity:1; transform:scale(1); } }

/* Lightbox del vídeo destacado — patrón del overlay de reserva (booking.css). */
/* visibility: instantánea al abrir, retardada al cerrar (deja verse el fade-out)
   — y saca del orden de tabulación los controles del modal cerrado */
.hero-modal{ position:fixed; inset:0; z-index:320; display:flex; align-items:center; justify-content:center; padding:24px; opacity:0; pointer-events:none; visibility:hidden; transition:opacity .22s ease, visibility 0s linear .22s; }
.hero-modal.is-open{ opacity:1; pointer-events:auto; visibility:visible; transition:opacity .22s ease, visibility 0s; }
.hero-modal__backdrop{ position:absolute; inset:0; background:rgba(11,28,46,.78); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); }
.hero-modal__dialog{ position:relative; width:min(1120px,100%); aspect-ratio:16/9; max-height:calc(100vh - 48px); background:#000; border-radius:12px; overflow:hidden; box-shadow:0 30px 80px rgba(11,28,46,.55); transform:translateY(14px) scale(.985); transition:transform .22s ease; }
.hero-modal.is-open .hero-modal__dialog{ transform:none; }
.hero-modal__video{ width:100%; height:100%; display:block; background:#000; }
.hero-modal__video iframe{ width:100%; height:100%; border:0; display:block; }
.hero-modal__close{ position:absolute; top:12px; right:12px; z-index:2; width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:rgba(11,28,46,.55); border:1.5px solid rgba(247,239,220,.55); color:#f7efdc; font-size:18px; line-height:1; cursor:pointer; -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); transition:background .2s ease, transform .2s ease; }
.hero-modal__close:hover{ background:rgba(11,28,46,.85); transform:scale(1.06); }
.hero-modal__close:focus-visible{ outline:2px solid var(--ochre); outline-offset:3px; }

.btn-solid{
  cursor:pointer; border:none; background:var(--terr); color:#fff; font:inherit; font-weight:700; font-size:15px;
  padding:16px 28px; border-radius:2px; transition:transform .12s, background .15s; box-shadow:0 10px 28px rgba(11,28,46,.3);
}
.btn-solid:hover{ background:var(--terr-d); }
.btn-solid:active{ transform:scale(.97); }
.btn-ghost{
  cursor:pointer; background:rgba(247,239,220,.12); border:1.5px solid rgba(247,239,220,.7); color:#fff;
  font:inherit; font-weight:700; font-size:15px; padding:16px 28px; border-radius:2px;
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); transition:background .15s;
}
.btn-ghost:hover{ background:rgba(247,239,220,.24); }

.hero-scroll{ position:absolute; left:50%; bottom:34px; transform:translateX(-50%); color:#f7efdc; display:flex; flex-direction:column; align-items:center; gap:6px; animation:floaty 2.4s ease-in-out infinite; }
.hero-scroll__label{ font-size:10px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; opacity:.85; }

/* ---------- Trust strip — placa de credenciales grabadas (sellos) ----------
   Sin "ghost card" (borde + sombra): los sellos se posan sobre una hoja de
   papel enmarcada por dos filetes finos. Cada sello-casa lleva el aro de
   azulejo (âme andalouse); la flor de lis y el Bac, lo francés. Forbes
   conserva su medallón oficial como "invitado de honor". */
.trust{ background:var(--cream); padding:48px var(--gutter); }
.trust__band{
  position:relative; max-width:1040px; margin:0 auto; background:var(--white);
  border-top:1.5px solid var(--ink); border-bottom:1.5px solid var(--ink);
  padding:36px clamp(16px,3vw,40px);
  display:flex; align-items:flex-start;
}
/* doble filete — sabor editorial */
.trust__band::before, .trust__band::after{ content:""; position:absolute; left:0; right:0; height:1px; background:var(--line); }
.trust__band::before{ top:3px; }
.trust__band::after{ bottom:3px; }

.trust__item{ position:relative; flex:1 1 0; display:flex; flex-direction:column; align-items:center; text-align:center; padding:4px clamp(10px,1.6vw,24px); text-decoration:none; color:var(--ink); }
/* divisor inset (hairline corto), no bordes de caja */
.trust__item + .trust__item::before{ content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:1px; height:90px; background:var(--line); }

.trust__seal{ width:104px; height:104px; flex:none; transition:transform .3s cubic-bezier(.2,.8,.2,1); }
.trust__seal--badge{ object-fit:contain; }

.trust__title{ display:block; font-family:'Cormorant Garamond',serif; font-weight:700; font-size:19px; line-height:1.14; color:var(--ink); margin:15px 0 5px; max-width:17ch; text-wrap:balance; }
.trust__detail{ display:block; font-size:11.5px; line-height:1.45; color:var(--ink-2); max-width:23ch; }

/* link Forbes → Actualidad: realce sobrio */
.trust__item--link{ cursor:pointer; transition:color .25s ease; }
.trust__item--link:hover .trust__title{ color:var(--sea); }
.trust__item--link:hover .trust__seal{ transform:translateY(-3px); }
.trust__item--link:focus-visible{ outline:2px solid var(--sea); outline-offset:5px; border-radius:8px; }

/* Entrada escalonada de los sellos (no como bloque). css scroll-timeline + fallback js */
.trust.reveal{ animation:none; }
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline: view()){
    .trust__item{ animation:trustRise linear both; animation-timeline:view(); animation-range:entry 2% cover 26%; }
    .trust__item:nth-child(2){ animation-range:entry 9% cover 33%; }
    .trust__item:nth-child(3){ animation-range:entry 16% cover 40%; }
  }
}
@keyframes trustRise{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }
.lfim-jsfx .trust.reveal{ opacity:1; transform:none; }
.lfim-jsfx .trust__item{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.lfim-jsfx .trust.is-revealed .trust__item{ opacity:1; transform:none; }
.lfim-jsfx .trust.is-revealed .trust__item:nth-child(2){ transition-delay:.1s; }
.lfim-jsfx .trust.is-revealed .trust__item:nth-child(3){ transition-delay:.2s; }
@media (prefers-reduced-motion:reduce){
  .trust__seal{ transition:none; }
  .trust__item--link:hover .trust__seal{ transform:none; }
}

@media (max-width:780px){
  .trust{ padding:32px 16px; }
  .trust__band{ flex-direction:column; gap:28px; padding:30px 18px; }
  .trust__item{ padding:0; }
  .trust__item + .trust__item::before{ left:50%; top:-14px; transform:translateX(-50%); width:130px; height:1px; }
}

/* Section eyebrow with an ochre tick (shared by the new home sections) */
.why__head .eyebrow, .admsteps__head .eyebrow, .familias__head .eyebrow{ display:inline-flex; align-items:center; }
.why__head .eyebrow::before, .admsteps__head .eyebrow::before, .familias__head .eyebrow::before{ content:""; width:26px; height:2px; background:var(--ochre); margin-right:12px; }
.why__head .eyebrow::after, .admsteps__head .eyebrow::after, .familias__head .eyebrow::after, .campus-band__eyebrow::after, .cta__eyebrow::after, .prov-edit__eyebrow::after{ content:""; width:10px; height:10px; margin-left:10px; background:var(--estrella) center / contain no-repeat; opacity:.9; }

/* ---------- Por qué LFIM — bento 3D ---------- */
/* Marino profundo (el de las ilustraciones cerámicas) + cenefa de azulejo.
   Seis piezas de cristal con render 3D; las anchas (1 y 6) en esquinas opuestas. */
.why{ position:relative; background:var(--ink-deep); color:#fff; overflow:hidden; }
.why::before, .why::after{ content:""; position:absolute; left:0; right:0; height:24px; z-index:2; background:var(--cream) var(--cenefa) repeat-x center / 48px 24px; }
.why::before{ top:0; }
.why::after{ bottom:0; }
.why__glow{ position:absolute; left:50%; bottom:-30%; width:120%; height:70%; transform:translateX(-50%); pointer-events:none;
  background:radial-gradient(50% 55% at 50% 100%, rgba(31,95,166,.42), transparent 70%); }
.why__inner{ position:relative; z-index:1; padding:88px var(--gutter) 96px; }
.why__head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px 40px; flex-wrap:wrap; margin-bottom:42px; }
.why .section-h2{ color:#fff; }
.why__head .eyebrow{ color:var(--ochre); }
.why__lead{ margin:0 0 6px; max-width:34ch; font-size:16px; line-height:1.6; color:rgba(255,255,255,.72); }

.why__bento{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:18px; perspective:1400px; }
.why-tile{ --tile:var(--terr); position:relative; display:flex; flex-direction:column; min-height:440px; border-radius:24px; overflow:hidden; isolation:isolate;
  background:linear-gradient(165deg, rgba(255,255,255,.075), rgba(255,255,255,.02) 42%, rgba(0,0,0,.14));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 36px 70px -34px rgba(0,0,0,.75);
  transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transform-style:preserve-3d; will-change:transform;
  transition:transform .45s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease; }
.why-tile--wide{ grid-column:span 2; flex-direction:row; }
.why-tile--flip{ flex-direction:row-reverse; }
/* foco de luz del color de la pieza que sigue al puntero */
.why-tile::before{ content:""; position:absolute; inset:0; z-index:0; pointer-events:none; opacity:0; transition:opacity .4s ease;
  background:radial-gradient(460px circle at var(--mx,50%) var(--my,40%), color-mix(in srgb, var(--tile) 34%, transparent), transparent 62%); }
/* borde luminoso superior (cristal) */
.why-tile::after{ content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; z-index:3;
  background:linear-gradient(180deg, rgba(255,255,255,.10), transparent 22%); mix-blend-mode:screen; opacity:.8; }
@media (hover:hover){
  .why-tile:hover{ border-color:color-mix(in srgb, var(--tile) 55%, rgba(255,255,255,.18)); box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 46px 90px -34px color-mix(in srgb, var(--tile) 55%, rgba(0,0,0,.8)); }
  .why-tile:hover::before{ opacity:1; }
}

.why-tile__art{ position:relative; z-index:1; flex:1 1 auto; min-height:250px; overflow:hidden; }
.why-tile__art img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;
  -webkit-mask-image:linear-gradient(180deg, #000 58%, transparent 100%); mask-image:linear-gradient(180deg, #000 58%, transparent 100%);
  transform:scale(1.02); transition:transform .8s cubic-bezier(.2,.8,.2,1); animation:whyFloat 7s ease-in-out infinite; }
.why-tile:nth-child(2n) .why-tile__art img{ animation-delay:-2.3s; }
.why-tile:nth-child(3n) .why-tile__art img{ animation-delay:-4.1s; }
@media (hover:hover){ .why-tile:hover .why-tile__art img{ transform:scale(1.07); } }
@keyframes whyFloat{ 0%,100%{ translate:0 0; } 50%{ translate:0 -4px; } }

.why-tile__body{ position:relative; z-index:2; padding:0 26px 28px; margin-top:-34px; }
.why-tile__k{ display:inline-flex; align-items:center; gap:8px; font-family:'Cinzel',serif; font-weight:700; font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:#fff;
  padding:7px 12px 6px; border-radius:999px; background:color-mix(in srgb, var(--tile) 58%, var(--ink-deep)); border:1px solid color-mix(in srgb, var(--tile) 70%, rgba(255,255,255,.25));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22), 0 6px 16px -8px color-mix(in srgb, var(--tile) 80%, transparent); }
.why-tile__k::before{ content:""; width:6px; height:6px; border-radius:50%; background:color-mix(in srgb, var(--tile) 55%, #fff); box-shadow:0 0 10px color-mix(in srgb, var(--tile) 70%, #fff); }
.why-tile__t{ margin:14px 0 0; font-family:'Cormorant Garamond',serif; font-weight:700; font-size:clamp(24px,2.05vw,30px); line-height:1.08; letter-spacing:-.01em; color:#fff; }
.why-tile__d{ margin:10px 0 0; font-size:14.5px; line-height:1.6; color:rgba(255,255,255,.74); max-width:36ch; }

/* piezas anchas: ilustración a un lado, texto al otro */
.why-tile--wide .why-tile__art{ flex:0 0 54%; min-height:100%; }
.why-tile--wide .why-tile__art img{ -webkit-mask-image:linear-gradient(90deg, #000 62%, transparent 100%); mask-image:linear-gradient(90deg, #000 62%, transparent 100%); }
.why-tile--flip .why-tile__art img{ -webkit-mask-image:linear-gradient(270deg, #000 62%, transparent 100%); mask-image:linear-gradient(270deg, #000 62%, transparent 100%); }
.why-tile--wide .why-tile__body{ flex:1 1 auto; display:flex; flex-direction:column; justify-content:flex-end; margin:0; padding:30px 30px 32px 6px; }
.why-tile--flip .why-tile__body{ padding:30px 6px 32px 30px; }
.why-tile--wide .why-tile__t{ font-size:clamp(26px,2.3vw,34px); }

@media (max-width:1080px){ .why__bento{ grid-template-columns:repeat(2, minmax(0,1fr)); } .why-tile{ min-height:400px; } }
@media (max-width:720px){
  .why__bento{ grid-template-columns:1fr; gap:14px; }
  .why-tile, .why-tile--wide, .why-tile--flip{ flex-direction:column; min-height:0; }
  .why-tile--wide{ grid-column:auto; }
  .why-tile__art, .why-tile--wide .why-tile__art{ flex:0 0 auto; min-height:0; height:230px; }
  .why-tile--wide .why-tile__art img, .why-tile--flip .why-tile__art img{ -webkit-mask-image:linear-gradient(180deg, #000 58%, transparent 100%); mask-image:linear-gradient(180deg, #000 58%, transparent 100%); }
  .why-tile__body, .why-tile--wide .why-tile__body, .why-tile--flip .why-tile__body{ margin-top:-30px; padding:0 22px 24px; display:block; }
  .why__inner{ padding:64px var(--gutter) 72px; }
}
@media (prefers-reduced-motion:reduce){ .why-tile__art img{ animation:none; } .why-tile{ transition:none; transform:none; } }
@media (hover:hover){ .why__dot:hover{ background:rgba(255,255,255,.78); background-clip:padding-box; } }

@media (max-width:600px){
  .why__flow.is-live{ --cf-x:62%; --cf-rot:24; perspective:1200px; }
  .why__flow.is-live .why-card{ width:min(320px, 88%); }
  .why__flow.is-live .why__nav{ width:42px; height:42px; }
  .why__flow.is-live .why__nav svg{ width:20px; height:20px; }
}

/* ---------- Admisión por pasos ---------- */
.admsteps{ position:relative; overflow:hidden; background:var(--laceria) center top / 96px 96px; }
.admsteps__ring{ position:absolute; right:-130px; top:-100px; width:360px; height:360px; border:1.5px solid rgba(207,154,63,.22); border-radius:50%; pointer-events:none; }
.admsteps__ring::after{ content:""; position:absolute; inset:34px; border:1.5px solid rgba(207,154,63,.16); border-radius:50%; }
.admsteps__head{ margin-bottom:42px; position:relative; display:flex; align-items:flex-end; justify-content:space-between; gap:24px; }
/* dossier cerámico (render 3D) flotando junto al título; fondo crema = el de la sección */
.admsteps__art{ flex:none; width:clamp(150px,17vw,220px); height:auto; margin:-24px 40px -34px 0; pointer-events:none;
  -webkit-mask-image:radial-gradient(closest-side, #000 62%, transparent 100%); mask-image:radial-gradient(closest-side, #000 62%, transparent 100%);
  animation:whyFloat 7s ease-in-out infinite; }
@media (max-width:900px){ .admsteps__art{ display:none; } }
.admsteps__grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; position:relative; perspective:1200px; }
/* paso = ficha de cristal claro con medallón cerámico numerado */
.admstep{ --tile:var(--sea); position:relative; z-index:1; padding:24px 20px 22px; border-radius:var(--r-card);
  background:linear-gradient(170deg, rgba(255,253,247,.92), rgba(255,253,247,.72)); border:1px solid rgba(255,255,255,.9); outline:1px solid color-mix(in srgb, var(--line) 70%, transparent);
  box-shadow:inset 0 1px 0 #fff, 0 22px 40px -26px rgba(22,48,74,.45); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition:transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, outline-color .3s ease; }
.admstep:nth-child(1){ --tile:var(--sea); } .admstep:nth-child(2){ --tile:var(--terr); } .admstep:nth-child(3){ --tile:var(--ochre); } .admstep:nth-child(4){ --tile:var(--sea); } .admstep:nth-child(5){ --tile:var(--terr); }
.admstep::before{ content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; opacity:0; transition:opacity .4s ease;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,30%), color-mix(in srgb, var(--tile) 16%, transparent), transparent 62%); }
@media (hover:hover){ .admstep:hover{ box-shadow:inset 0 1px 0 #fff, 0 30px 50px -26px color-mix(in srgb, var(--tile) 45%, rgba(22,48,74,.5)); outline-color:color-mix(in srgb, var(--tile) 45%, var(--line)); } .admstep:hover::before{ opacity:1; } }
.admstep__n{ position:relative; width:56px; height:56px; border-radius:50%; color:#fff; font-family:'Cinzel',serif; font-weight:800; font-size:18px; display:flex; align-items:center; justify-content:center; margin-bottom:18px;
  background:radial-gradient(120% 100% at 30% 20%, color-mix(in srgb, var(--tile) 70%, #fff) 0%, var(--tile) 45%, color-mix(in srgb, var(--tile) 70%, var(--ink)) 100%);
  box-shadow:inset 0 2px 3px rgba(255,255,255,.5), inset 0 -3px 6px rgba(0,0,0,.18), 0 10px 20px -8px color-mix(in srgb, var(--tile) 75%, transparent), 0 0 0 4px var(--cream), 0 0 0 5px color-mix(in srgb, var(--tile) 50%, var(--line)); }
.admstep:nth-child(3) .admstep__n{ background:radial-gradient(120% 100% at 30% 20%, color-mix(in srgb, var(--ochre) 80%, #fff) 0%, color-mix(in srgb, var(--ochre) 78%, var(--ink)) 50%, color-mix(in srgb, var(--ochre) 55%, var(--ink)) 100%); } /* albero ahondado: blanco ≥4.5:1 */
.admstep__t{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:23px; color:var(--ink); line-height:1.12; }
.admstep__d{ font-size:13px; line-height:1.55; color:var(--ink-2); margin-top:8px; }
/* línea de ruta — punteada ocre, por detrás de los medallones */
@media (min-width:781px){ .admsteps__grid::before{ content:""; position:absolute; top:52px; left:9%; right:9%; border-top:2px dashed var(--ochre); opacity:.5; z-index:0; } }
.admsteps__cta{ margin-top:42px; display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.admsteps__link{ display:inline-block; appearance:none; -webkit-appearance:none; background:none; border:0; border-bottom:1.5px solid transparent; border-radius:0; margin:0; font:inherit; font-weight:700; font-size:14px; line-height:1.3; color:var(--accent); text-decoration:none; cursor:pointer; padding:6px 0; white-space:nowrap; transition:border-color .15s; }
.admsteps__link:hover{ border-color:var(--accent); }
@media (max-width:780px){ .admsteps__grid{ grid-template-columns:1fr 1fr; gap:14px; } }
@media (max-width:460px){ .admsteps__grid{ grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce){ .admsteps__art{ animation:none; } .admstep{ transition:none; transform:none; } }

/* botanical cypress accent (admisiones) — Mediterranean garden whisper */
.admsteps .flora-cypress{ position:absolute; right:24px; bottom:0; width:158px; height:auto; color:var(--garden); opacity:.22; pointer-events:none; z-index:0; }
@media (max-width:560px){ .admsteps .flora-cypress{ width:108px; opacity:.18; } }

/* ---------- Banda del campus: foto real inmersiva + panel de cristal + polaroids ----------
   El campus tiene que verse (petición del dueño): la foto del patio ocupa toda la
   banda con un Ken Burns lento; el texto va en un panel de cristal a la izquierda
   y a la derecha tres fotos reales del centro en marcos inclinados (tilt 3D). */
.campus-band{ position:relative; overflow:hidden; color:#fff; min-height:clamp(440px,64vh,640px); display:flex; align-items:center; background:var(--ink-deep); }
.campus-band__photo{ position:absolute; inset:0; z-index:0; }
.campus-band__photo img{ width:100%; height:100%; object-fit:cover; object-position:center 42%; display:block; transform:scale(1.04); animation:campusZoom 28s ease-in-out infinite alternate; }
@keyframes campusZoom{ from{ transform:scale(1.04) translateY(0); } to{ transform:scale(1.12) translateY(-1.5%); } }
.campus-band__veil{ position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(90deg, rgba(11,33,59,.62) 0%, rgba(11,33,59,.34) 40%, rgba(11,33,59,.08) 65%, rgba(11,33,59,.22) 100%),
             linear-gradient(180deg, rgba(11,33,59,.18), rgba(11,33,59,0) 35%, rgba(11,33,59,.42) 100%); }
.campus-band::after{ content:""; position:absolute; inset:20px; border:1px solid rgba(247,239,220,.4); pointer-events:none; z-index:2; }
.campus-band__inner{ position:relative; z-index:3; width:100%; padding:64px 32px; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:32px 48px; align-items:center; }
.campus-band__copy{ width:100%; max-width:600px; min-width:0; box-sizing:border-box; padding:32px 34px 30px; border-radius:var(--r-card);
  background:linear-gradient(170deg, rgba(11,33,59,.6), rgba(11,33,59,.44)); border:1px solid rgba(255,255,255,.18); box-shadow:inset 0 1px 0 rgba(255,255,255,.16), 0 30px 60px -30px rgba(0,0,0,.6);
  -webkit-backdrop-filter:blur(16px) saturate(1.15); backdrop-filter:blur(16px) saturate(1.15); }
.campus-band__eyebrow{ display:inline-flex; align-items:center; font-size:12px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--ochre); }
.campus-band__eyebrow::before{ content:""; width:26px; height:2px; background:var(--ochre); margin-right:12px; }
.campus-band__title{ font-family:'Cormorant Garamond',serif; font-weight:600; font-style:italic; font-size:clamp(28px,3.4vw,46px); line-height:1.12; margin:12px 0 0; max-width:17em; }
.campus-band__lead{ margin:14px 0 0; max-width:42ch; font-size:16px; line-height:1.6; color:rgba(255,255,255,.8); }
.campus-band__btns{ display:flex; gap:12px; flex-wrap:wrap; margin-top:24px; }
.campus-band__btns .btn-ghost-white{ padding:13px 20px; font-size:14px; }
/* polaroids: tres fotos reales, inclinadas, con tilt */
.campus-band__polas{ position:relative; display:flex; justify-content:center; align-items:center; gap:0; padding:20px 0; perspective:1200px; }
.pola{ --rot:-6deg; position:relative; width:min(34%,190px); margin:0 -12px; padding:10px 10px 30px; border-radius:6px; background:#fffdf7; color:var(--ink);
  box-shadow:0 24px 44px -20px rgba(0,0,0,.65), inset 0 1px 0 #fff; transform:rotate(var(--rot)) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition:transform .45s cubic-bezier(.2,.8,.2,1); }
.pola:nth-child(1){ --rot:-7deg; z-index:1; translate:0 14px; } .pola:nth-child(2){ --rot:2deg; z-index:2; translate:0 -12px; } .pola:nth-child(3){ --rot:8deg; z-index:1; translate:0 16px; }
.pola img{ display:block; width:100%; aspect-ratio:1; object-fit:cover; border-radius:3px; }
.pola figcaption{ position:absolute; left:10px; right:10px; bottom:9px; font-family:'Cormorant Garamond',serif; font-weight:700; font-style:italic; font-size:14px; text-align:center; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media (hover:hover){ .pola:hover{ z-index:3; transform:rotate(0deg) scale(1.06); } }
@media (max-width:900px){
  .campus-band{ min-height:0; }
  .campus-band__inner{ grid-template-columns:1fr; padding:52px 22px 40px; gap:22px; }
  .campus-band__copy{ padding:24px 22px 22px; }
  .campus-band__btns{ width:100%; } .campus-band__btns > *{ flex:1 1 100%; text-align:center; }
  .pola{ width:31%; padding:7px 7px 24px; } .pola figcaption{ font-size:12px; bottom:6px; }
}
@media (prefers-reduced-motion:reduce){ .campus-band__photo img{ animation:none; } .pola{ transition:none; } }

/* ---------- Hub Familias del centro ---------- */
/* faint white-cortijo texture behind the cream so the family hub nods to the campus */
.familias{ position:relative; background:var(--cream-2); overflow:hidden; }
.familias::before, .familias::after{ content:""; position:absolute; left:0; right:0; height:24px; z-index:2; background:var(--cream) var(--cenefa) repeat-x center / 48px 24px; }
.familias::before{ top:0; }
.familias::after{ bottom:0; }
.familias__glow{ position:absolute; left:-10%; top:-30%; width:60%; height:120%; pointer-events:none; background:radial-gradient(45% 45% at 40% 50%, rgba(207,154,63,.22), transparent 70%); }
.familias__inner{ position:relative; z-index:1; padding:72px var(--gutter) 80px; }
.familias__head{ margin-bottom:34px; }
.familias__lead{ font-size:15px; color:var(--ink-2); margin:8px 0 0; }
.familias__grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:16px; perspective:1200px; }
/* tarjeta crema (mismo tono que el fondo de los iconos 3D, que así se funden) */
.famcard{ --tile:var(--sea); position:relative; display:flex; flex-direction:column; gap:6px; background:linear-gradient(170deg, #fbf6e9, var(--cream)); border:1px solid rgba(255,255,255,.9); outline:1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius:var(--r-card); padding:18px 18px 18px; text-decoration:none; color:var(--ink); overflow:hidden;
  box-shadow:inset 0 1px 0 #fff, 0 20px 36px -26px rgba(22,48,74,.45);
  transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition:transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, outline-color .3s ease; }
.famcard:nth-child(1){ --tile:var(--sea); } .famcard:nth-child(2){ --tile:var(--terr); } .famcard:nth-child(3){ --tile:var(--ochre); } .famcard:nth-child(4){ --tile:var(--sea); } .famcard:nth-child(5){ --tile:var(--terr); } .famcard:nth-child(6){ --tile:var(--ochre); }
.famcard::before{ content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; opacity:0; transition:opacity .4s ease;
  background:radial-gradient(220px circle at var(--mx,50%) var(--my,30%), color-mix(in srgb, var(--tile) 18%, transparent), transparent 62%); }
@media (hover:hover){
  .famcard:hover{ box-shadow:inset 0 1px 0 #fff, 0 30px 50px -26px color-mix(in srgb, var(--tile) 45%, rgba(22,48,74,.5)); outline-color:color-mix(in srgb, var(--tile) 45%, var(--line)); }
  .famcard:hover::before{ opacity:1; }
  .famcard:hover .famcard__ico{ transform:translateY(-3px); color:var(--tile); border-color:color-mix(in srgb, var(--tile) 60%, var(--line)); }
  .famcard:hover .famcard__arrow{ transform:translateX(4px); }
}
.famcard__tile{ display:none; }
.famcard__ico{ width:54px; height:54px; border-radius:50%; margin:0 0 8px; display:inline-flex; align-items:center; justify-content:center; color:var(--ink); background:rgba(255,255,255,.7); border:1px solid color-mix(in srgb, var(--tile) 35%, var(--line)); box-shadow:inset 0 1px 0 #fff, 0 6px 14px -8px color-mix(in srgb, var(--tile) 60%, transparent); transition:transform .4s cubic-bezier(.2,.8,.2,1), color .3s, border-color .3s; }
.famcard__ico svg{ width:24px; height:24px; }
.famcard__t{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:20px; line-height:1.1; }
.famcard__d{ font-size:12.5px; color:var(--ink-2); line-height:1.5; }
.famcard__arrow{ color:var(--accent); font-weight:800; margin-top:auto; padding-top:10px; display:inline-block; transition:transform .2s; }
@media (max-width:900px){ .familias__grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .familias__grid{ grid-template-columns:1fr 1fr; gap:12px; } .famcard{ padding:16px 14px; } }
@media (prefers-reduced-motion:reduce){ .famcard{ transition:none; transform:none; } }

/* ---------- Niveles — cards full-bleed con foto real del campus ---------- */
.levels{ background:var(--cream) var(--laceria) center top / 96px 96px; padding:72px 0 96px; }
.levels__head{ text-align:center; max-width:760px; margin:0 auto 44px; }
.levels__head .eyebrow{ color:var(--terr-d); } /* terr-d: 5.8:1 sobre crema (terr daba 4.0:1) */
.levels__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; perspective:1400px; }

/* ---------- Tarjeta de etapa: escenario 3D para los búhos mascota ----------
   El botón es la tarjeta (overflow visible para que los búhos asomen por arriba);
   .lvl-card__bg es el lienzo recortado con el color del nivel; los búhos, a todo
   color y recortados, posan sobre un suelo elíptico; el texto va en un panel de
   cristal abajo. Tilt + foco de luz con [data-tilt] (mismo motor que Razones). */
.lvl-card{
  --tile:var(--terr); position:relative; display:block; padding:0; border:none; cursor:pointer; font:inherit;
  text-align:left; color:#fff; aspect-ratio:1 / 1.38; border-radius:22px; background:none;
  transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transform-style:preserve-3d; will-change:transform;
  transition:transform .45s cubic-bezier(.2,.8,.2,1);
}
.lvl-card__bg{ position:absolute; inset:0; border-radius:inherit; overflow:hidden; z-index:0;
  background:
    radial-gradient(90% 55% at 50% 30%, color-mix(in srgb, var(--tile) 70%, #fff) 0%, transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--tile) 90%, #fff) 0%, var(--tile) 42%, color-mix(in srgb, var(--tile) 50%, var(--ink)) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45), inset 0 0 0 1px rgba(255,255,255,.12);
  transition:box-shadow .35s ease; }
/* sombra exterior de la pieza (en su propia capa para no recortarse) */
.lvl-card::before{ content:""; position:absolute; inset:6% 4% -2%; border-radius:inherit; z-index:-1;
  background:color-mix(in srgb, var(--tile) 55%, var(--ink)); filter:blur(22px); opacity:.42; transition:opacity .35s ease, transform .35s ease; }
/* foco de luz que sigue al puntero */
.lvl-card__bg::before{ content:""; position:absolute; inset:0; opacity:0; transition:opacity .4s ease; pointer-events:none;
  background:radial-gradient(360px circle at var(--mx,50%) var(--my,35%), rgba(255,255,255,.22), transparent 62%); }
/* suelo elíptico donde posan los búhos */
.lvl-card__bg::after{ content:""; position:absolute; left:14%; right:14%; top:42%; height:10%; border-radius:50%; pointer-events:none;
  background:radial-gradient(closest-side, rgba(9,17,30,.55), rgba(9,17,30,.18) 55%, transparent 100%); }
.lvl-card__img{ position:absolute; left:12%; right:12%; top:4%; height:42%; width:76%; object-fit:contain; object-position:50% 100%; z-index:2;
  /* cerámica crema (bizcocho): un solo tono, como figura de loza — decisión del owner 14-sep-2026 */
  filter:grayscale(1) brightness(1.18) contrast(.92) sepia(.45) saturate(.9) drop-shadow(0 18px 22px rgba(9,17,30,.45)); opacity:.96; transform:translateY(0) scale(1);
  transition:transform .55s cubic-bezier(.2,.8,.2,1), filter .55s ease; animation:owlBob 6s ease-in-out infinite; }
.lvl-card--2 .lvl-card__img{ animation-delay:-1.5s; } .lvl-card--3 .lvl-card__img{ animation-delay:-3s; } .lvl-card--4 .lvl-card__img{ animation-delay:-4.5s; }
@keyframes owlBob{ 0%,100%{ translate:0 0; } 50%{ translate:0 -3px; } }
.lvl-card__scrim{ display:none; }
.lvl-card--1{ --tile:var(--terr); }
.lvl-card--2{ --tile:var(--ochre); }
.lvl-card--3{ --tile:var(--sea); }
.lvl-card--4{ --tile:var(--sea-d); }

/* panel de cristal con el texto */
.lvl-card__body{ position:absolute; left:10px; right:10px; bottom:10px; z-index:3; display:flex; flex-direction:column; align-items:flex-start; padding:18px 18px 18px; border-radius:16px;
  background:linear-gradient(180deg, rgba(9,17,30,.46), rgba(9,17,30,.62)); border:1px solid rgba(255,255,255,.16); box-shadow:inset 0 1px 0 rgba(255,255,255,.14);
  -webkit-backdrop-filter:blur(14px) saturate(1.2); backdrop-filter:blur(14px) saturate(1.2); }
.lvl-card__name{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:28px; line-height:1.03; letter-spacing:-.01em; text-shadow:0 1px 12px rgba(0,0,0,.35); }
.lvl-card__age{ margin-top:10px; font-family:'Hanken Grotesk',sans-serif; font-size:11.5px; font-weight:600; letter-spacing:.04em; color:#fff; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.34); border-radius:999px; padding:5px 12px; }
.lvl-card__blurb{ margin-top:12px; font-size:13px; line-height:1.5; color:rgba(255,255,255,.88); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.lvl-card__cta{ margin-top:15px; display:inline-flex; align-items:center; gap:8px; background:#fff; color:var(--ink); font-family:'Hanken Grotesk',sans-serif; font-weight:700; font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; padding:11px 14px; border-radius:3px; box-shadow:0 8px 18px -6px rgba(0,0,0,.45); transition:transform .2s, background .2s; }
.lvl-card__cta i{ font-style:normal; transition:transform .2s; }
@media (hover:hover){
  .lvl-card:hover .lvl-card__bg::before{ opacity:1; }
  .lvl-card:hover::before{ opacity:.6; transform:translateY(8px); }
  .lvl-card:hover .lvl-card__img{ transform:translateY(-10px) scale(1.05); filter:grayscale(1) brightness(1.2) contrast(.92) sepia(.45) saturate(.9) drop-shadow(0 30px 30px rgba(9,17,30,.5)); }
  .lvl-card:hover .lvl-card__cta i{ transform:translateX(4px); }
  .lvl-card:hover .lvl-card__cta{ background:var(--cream); }
}
@media (prefers-reduced-motion:reduce){
  .lvl-card, .lvl-card__img, .lvl-card__cta i{ transition:none; animation:none; }
  .lvl-card{ transform:none; } .lvl-card:hover .lvl-card__img{ transform:none; }
}
/* ---- Variante fotográfica (alumnos sin rostro): la foto cubre la tarjeta, velo del color de la etapa abajo ---- */
.levels--photo .lvl-card{ overflow:hidden; aspect-ratio:1 / 1.52; }
.levels--photo .lvl-card__blurb{ -webkit-line-clamp:2; }
.levels--photo .lvl-card__body{ left:10px; right:10px; bottom:10px; padding:16px 18px 16px; }
.levels--photo .lvl-card__bg{ background:var(--ink-deep); }
.levels--photo .lvl-card__bg::after{ left:0; right:0; top:0; height:100%; border-radius:0; background:linear-gradient(180deg, rgba(9,17,30,.04) 0%, rgba(9,17,30,0) 30%, color-mix(in srgb, var(--tile) 42%, rgba(9,17,30,.55)) 100%); }
.levels--photo .lvl-card__img{ position:absolute; inset:0; left:0; top:0; width:100%; height:100%; object-fit:cover; object-position:center 62%; z-index:1; border-radius:inherit; filter:saturate(.95) contrast(1.02); opacity:1; animation:none; transform:scale(1.2); transform-origin:center 72%; }
.levels--photo .lvl-card__body{ background:linear-gradient(180deg, rgba(9,17,30,.42), rgba(9,17,30,.62)); }
/* encuadres por etapa: el sujeto debe asomar por encima del panel */
.levels--photo .lvl-card--2 .lvl-card__img{ object-position:center 30%; transform-origin:center 40%; }
.levels--photo .lvl-card--1 .lvl-card__img{ object-position:center 55%; }
.levels--photo .lvl-card--4 .lvl-card__img{ object-position:center 70%; }

@media (hover:hover){ .levels--photo .lvl-card:hover .lvl-card__img{ transform:scale(1.25); filter:saturate(1) contrast(1.03); } }
@media (max-width:600px){ .levels--photo .lvl-card{ aspect-ratio:1 / 1.2; } .levels--photo .lvl-card__img{ left:0; right:0; top:0; width:100%; height:100%; } }
@media (max-width:1000px){ .levels__grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .lvl-card{ aspect-ratio:1 / 1.1; } .lvl-card__img{ top:3%; height:38%; left:18%; right:18%; width:64%; } .lvl-card__bg::after{ top:38%; } .lvl-card__body{ padding:16px 16px 16px; } .lvl-card__name{ font-size:26px; } }

/* ---------- Section eyebrow / heading shared ---------- */
.eyebrow{ font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--accent); }
.eyebrow--muted{ color:var(--ink-2); }
.section-h2{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:clamp(32px,3.8vw,52px); margin:8px 0 0; }

/* ---------- Stats band — cifras + diorama 3D ---------- */
.stats{ background:var(--ink-deep); color:#fff; position:relative; overflow:hidden; }
.stats__glow{ position:absolute; right:-10%; top:-20%; width:60%; height:140%; pointer-events:none;
  background:radial-gradient(45% 45% at 60% 50%, rgba(31,95,166,.38), transparent 70%); }
.stats__inner{ position:relative; padding:84px 32px; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:40px 56px; align-items:center; }
.stats__eyebrow{ font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--ochre); margin-bottom:12px; }
.stats__title{ font-family:'Cormorant Garamond',serif; font-weight:600; font-size:clamp(30px,3.6vw,50px); line-height:1.1; margin:0; max-width:12.5em; }
.stats__note{ display:flex; align-items:center; gap:12px; margin-top:18px; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.66); }
.stats__badge{ width:44px; height:28px; border:1px solid rgba(255,255,255,.28); border-radius:4px; display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; color:#fff; }
.stats__grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:38px; }
.stat{ --tile:var(--ochre); position:relative; padding:24px 22px 20px; border-radius:18px; overflow:hidden;
  background:linear-gradient(165deg, rgba(255,255,255,.075), rgba(255,255,255,.02)); border:1px solid rgba(255,255,255,.10);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08); transition:transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s ease; }
.stat:nth-child(1){ --tile:var(--sea); } .stat:nth-child(2){ --tile:var(--terr); } .stat:nth-child(3){ --tile:var(--ochre); } .stat:nth-child(4){ --tile:var(--sea); }
.stat::before{ content:""; position:absolute; left:22px; top:0; width:46px; height:3px; border-radius:0 0 3px 3px; background:var(--tile); box-shadow:0 0 14px color-mix(in srgb, var(--tile) 70%, transparent); }
.stat::after{ content:""; position:absolute; right:-40px; bottom:-60px; width:160px; height:160px; border-radius:50%; pointer-events:none;
  background:radial-gradient(closest-side, color-mix(in srgb, var(--tile) 28%, transparent), transparent); }
@media (hover:hover){ .stat:hover{ transform:translateY(-3px); border-color:color-mix(in srgb, var(--tile) 55%, rgba(255,255,255,.18)); } }
.stat__num{ font-family:'Cinzel',serif; font-weight:800; font-size:clamp(42px,4.4vw,66px); line-height:1; letter-spacing:-.01em;
  background:linear-gradient(180deg, #ffffff 30%, #cfd8e4); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat__label{ font-size:13.5px; line-height:1.4; color:rgba(255,255,255,.70); margin-top:10px; }

.stats__art{ position:relative; aspect-ratio:1; max-width:560px; margin:0 auto; width:100%; }
.stats__art img{ position:relative; z-index:1; width:100%; height:100%; object-fit:cover; display:block;
  -webkit-mask-image:radial-gradient(closest-side, #000 72%, transparent 100%); mask-image:radial-gradient(closest-side, #000 72%, transparent 100%);
  animation:whyFloat 8s ease-in-out infinite; }
.stats__ring{ position:absolute; border-radius:50%; pointer-events:none; }
.stats__ring--a{ inset:4%; border:1px solid rgba(207,154,63,.26); }
.stats__ring--b{ inset:-6%; border:1px dashed rgba(255,255,255,.10); animation:statsSpin 90s linear infinite; }
@keyframes statsSpin{ to{ transform:rotate(360deg); } }
@media (max-width:900px){
  .stats__inner{ grid-template-columns:1fr; padding:64px 22px; gap:28px; }
  .stats__art{ max-width:420px; }
}
@media (prefers-reduced-motion:reduce){ .stats__art img, .stats__ring--b{ animation:none; } }

/* ---------- News cards ---------- */
.section{ max-width:var(--wrap); margin:0 auto; padding:76px 32px; }
.section--tight-top{ padding-top:20px; }
.news-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:34px; }
.btn-outline-ink{
  cursor:pointer; background:none; border:1.5px solid var(--ink); color:var(--ink); font:inherit;
  font-weight:700; font-size:13.5px; padding:12px 20px; border-radius:2px; transition:background .15s, color .15s;
}
.btn-outline-ink:hover{ background:var(--ink); color:#fff; }

.cards-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.news-card{
  position:relative; text-decoration:none; color:var(--ink); display:flex; flex-direction:column; border:1px solid var(--line);
  border-radius:var(--r-card); background:var(--white); overflow:hidden; box-shadow:inset 0 1px 0 #fff, 0 20px 36px -28px rgba(22,48,74,.35); transition:transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s;
}
/* shadow lives on a pre-painted layer so hover only animates opacity, not box-shadow */
.news-card::after{
  content:""; position:absolute; inset:0; border-radius:var(--r-card); pointer-events:none;
  box-shadow:0 30px 50px -24px rgba(22,48,74,.35); opacity:0; transition:opacity .3s ease;
}
.news-card:hover{ transform:translateY(-5px); border-color:color-mix(in srgb, var(--accent) 45%, var(--line)); }
.news-card:hover::after{ opacity:1; }
.news-card__media{ aspect-ratio:16/10; position:relative; overflow:hidden; background:#16304a; }
.news-card__media img{ transition:transform .7s cubic-bezier(.2,.8,.2,1); }
@media (hover:hover){ .news-card:hover .news-card__media img{ transform:scale(1.05); } }
.news-card__media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.news-card__tint{ display:none; }
.news-card__shade{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(22,48,74,0) 48%, rgba(22,48,74,.5)); }
.news-card__tag{ position:absolute; top:12px; left:12px; background:var(--white); font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; padding:5px 10px; border-radius:999px; color:var(--accent); z-index:2; }
.news-card__body{ padding:22px; }
.news-card__date{ font-size:12px; color:var(--ink-2); letter-spacing:.04em; }
.news-card__title{ font-family:'Cormorant Garamond',serif; font-weight:600; font-size:23px; line-height:1.2; margin:6px 0 0; }
.news-card__title--sm{ font-size:21px; }
.news-card__excerpt{ font-size:13.5px; line-height:1.6; color:var(--ink-2); margin:10px 0 0; }
.news-card__more{ font-size:13px; font-weight:700; color:var(--accent); margin-top:14px; }

/* ---------- Actualidad en portada — formato revista ---------- */
.news-all{ font-weight:700; font-size:14px; color:var(--accent); text-decoration:none; padding:6px 0; border-bottom:1.5px solid transparent; transition:border-color .15s; white-space:nowrap; }
.news-all:hover{ border-color:var(--accent); }
.news-mag{ display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:24px; align-items:stretch; }
.news-feat{ position:relative; display:flex; flex-direction:column; text-decoration:none; color:var(--ink); border-radius:var(--r-card); overflow:hidden; background:var(--white); border:1px solid var(--line);
  box-shadow:inset 0 1px 0 #fff, 0 24px 44px -30px rgba(22,48,74,.4); transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.news-feat__media{ position:relative; display:block; aspect-ratio:16/9; overflow:hidden; background:var(--ink-deep); }
.news-feat__media img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .8s cubic-bezier(.2,.8,.2,1); }
.news-feat__tag{ position:absolute; top:14px; left:14px; background:var(--white); font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; padding:6px 11px; border-radius:999px; color:var(--accent); }
.news-feat__body{ display:flex; flex-direction:column; padding:24px 26px 26px; }
.news-feat__date{ font-size:12px; color:var(--ink-2); letter-spacing:.04em; }
.news-feat__title{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:clamp(24px,2.3vw,32px); line-height:1.12; margin-top:8px; }
.news-feat__excerpt{ font-size:14.5px; line-height:1.6; color:var(--ink-2); margin-top:10px; }
.news-feat__more{ font-size:13px; font-weight:700; color:var(--accent); margin-top:14px; }
.news-mag__side{ display:flex; flex-direction:column; gap:16px; }
.news-side{ flex:1; display:flex; gap:16px; align-items:stretch; text-decoration:none; color:var(--ink); border-radius:var(--r-card); overflow:hidden; background:var(--white); border:1px solid var(--line);
  box-shadow:inset 0 1px 0 #fff, 0 20px 36px -30px rgba(22,48,74,.4); transition:transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.news-side__thumb{ flex:0 0 42%; position:relative; overflow:hidden; background:var(--ink-deep); min-height:150px; }
.news-side__thumb img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .8s cubic-bezier(.2,.8,.2,1); }
.news-side__body{ display:flex; flex-direction:column; justify-content:center; padding:18px 20px 18px 4px; }
.news-side__meta{ display:flex; align-items:center; gap:10px; font-size:12px; color:var(--ink-2); letter-spacing:.04em; }
.news-side__tag{ font-size:10px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); }
.news-side__title{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:21px; line-height:1.15; margin-top:8px; }
@media (hover:hover){
  .news-feat:hover, .news-side:hover{ transform:translateY(-4px); border-color:color-mix(in srgb, var(--accent) 45%, var(--line)); }
  .news-feat:hover .news-feat__media img, .news-side:hover .news-side__thumb img{ transform:scale(1.05); }
}
@media (max-width:900px){ .news-mag{ grid-template-columns:1fr; } .news-side__thumb{ flex-basis:36%; min-height:120px; } }


/* ---------- Mot du proviseur ---------- */
.prov{ background:var(--cream-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.prov__inner{ max-width:var(--wrap); margin:0 auto; padding:76px 32px; display:grid; grid-template-columns:.8fr 1.2fr; gap:56px; align-items:center; }
.prov__media{ position:relative; }
.prov__frame{ border:2px solid var(--ink); border-radius:4px; aspect-ratio:4/5; overflow:hidden; background:#e6e9ec; }
.prov__frame img{ width:100%; height:100%; object-fit:cover; object-position:center 18%; }
.prov__azulejo{ position:absolute; bottom:-14px; right:-14px; width:64px; height:64px; background-color:var(--cream); background-image:conic-gradient(from 45deg, var(--sea) 0 90deg, var(--white) 0 180deg, var(--sea) 0 270deg, var(--white) 0); background-size:16px 16px; border:2px solid var(--sea-d); border-radius:3px; }
.prov__quote{ font-family:'Cormorant Garamond',serif; font-weight:500; font-style:italic; font-size:clamp(24px,2.8vw,36px); line-height:1.38; margin:16px 0 0; color:var(--ink); }
.prov__text{ font-size:15px; line-height:1.65; color:var(--ink-2); margin:22px 0 0; max-width:42em; }
.prov__name{ margin-top:20px; font-weight:700; }
.prov__name span{ color:var(--ink-2); font-weight:500; }

/* Director teaser (compact version used on the homepage) */
.prov-teaser{ background:var(--cream-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.prov-teaser__inner{ display:flex; align-items:center; gap:28px; padding:40px 32px; }
.prov-teaser__avatar{ flex:none; width:104px; height:104px; border-radius:50%; overflow:hidden; border:2px solid var(--ink); background:#e6e9ec; }
.prov-teaser__avatar img{ width:100%; height:100%; object-fit:cover; object-position:center 18%; }
.prov-teaser__body{ max-width:760px; }
.prov-teaser__quote{ font-family:'Cormorant Garamond',serif; font-weight:500; font-style:italic; font-size:clamp(18px,2vw,23px); line-height:1.42; margin:8px 0 0; color:var(--ink); }
.prov-teaser__name{ margin-top:12px; font-weight:700; font-size:14px; }
.prov-teaser__name span{ color:var(--ink-2); font-weight:500; }

/* ---------- La palabra de la directora — bloque editorial ---------- */
.prov-edit{ position:relative; overflow:hidden; background:var(--ink-deep); color:#fff; }
.prov-edit__glow{ position:absolute; left:-10%; top:-30%; width:55%; height:160%; pointer-events:none; background:radial-gradient(45% 45% at 45% 50%, rgba(207,154,63,.20), transparent 70%); }
.prov-edit__inner{ position:relative; z-index:1; padding:84px 32px; display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:40px 64px; align-items:center; }
.prov-edit__media{ position:relative; max-width:400px; margin:0 auto; width:100%; }
/* arco de medio punto (Alcazaba) con doble filete: albero + azulejo */
.prov-edit__arch{ position:relative; aspect-ratio:4/5; overflow:hidden; border-radius:999px 999px 18px 18px; background:#e6e9ec;
  box-shadow:0 0 0 1px rgba(255,255,255,.18), 0 0 0 10px var(--ink-deep), 0 0 0 11px rgba(207,154,63,.55), 0 40px 70px -30px rgba(0,0,0,.8); }
.prov-edit__arch img{ width:100%; height:100%; object-fit:cover; object-position:center 18%; display:block; }
.prov-edit__arch::after{ content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(180deg, rgba(11,33,59,0) 60%, rgba(11,33,59,.35)); }
.prov-edit__tile{ position:absolute; right:-18px; bottom:-14px; width:72px; height:72px; border-radius:6px; background:var(--cream) var(--cenefa) repeat 0 0 / 48px 24px; box-shadow:0 12px 24px -12px rgba(0,0,0,.6); transform:rotate(-6deg); }
.prov-edit__eyebrow{ display:inline-flex; align-items:center; font-size:12px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--ochre); }
.prov-edit__eyebrow::before{ content:""; width:26px; height:2px; background:var(--ochre); margin-right:12px; }
.prov-edit__quote{ margin:18px 0 0; font-family:'Cormorant Garamond',serif; font-weight:500; font-style:italic; font-size:clamp(18px,1.55vw,22px); line-height:1.5; color:rgba(255,255,255,.92); max-width:38em; }
.prov-edit__quote p{ margin:0; }
.prov-edit__quote p + p{ margin-top:14px; }
.prov-edit__quote p:first-child{ font-size:1.18em; color:#fff; }
.prov-edit__sig{ margin-top:26px; display:flex; flex-direction:column; gap:4px; padding-left:18px; border-left:2px solid var(--ochre); }
.prov-edit__name{ font-family:'Cinzel',serif; font-weight:700; font-size:16px; letter-spacing:.06em; }
.prov-edit__role{ font-size:13px; color:rgba(255,255,255,.7); }
.prov-edit .prov-watch{ color:#fff; margin-top:22px; }
.prov-edit .prov-watch:hover{ color:var(--ochre); }
@media (max-width:900px){ .prov-edit__inner{ grid-template-columns:1fr; padding:60px 22px; gap:32px; } .prov-edit__media{ max-width:300px; } }

@media (max-width:680px){ .prov-teaser__inner{ flex-direction:column; align-items:flex-start; gap:16px; padding:32px 24px; } .prov-teaser__avatar{ width:84px; height:84px; } }

/* ---------- Alumni ---------- */
.alum{ margin:0; border:1px solid var(--line); border-radius:var(--r-card); background:var(--white); box-shadow:inset 0 1px 0 #fff, 0 20px 36px -28px rgba(22,48,74,.35); padding:26px; display:flex; flex-direction:column; gap:16px; transition:border-color .18s; }
.alum:hover{ border-color:var(--accent); }
.alum__mark{ font-family:'Cormorant Garamond',serif; font-size:52px; line-height:0; color:var(--accent); height:20px; }
.alum__quote{ margin:0; font-size:15.5px; line-height:1.6; color:var(--ink); }
.alum__cap{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.alum__avatar{ width:48px; height:48px; border-radius:50%; overflow:hidden; background:linear-gradient(135deg,var(--accent-soft),#c9d2db); flex:none; }
.alum__avatar img{ width:100%; height:100%; object-fit:cover; }
.alum__name{ font-weight:700; font-size:14px; }
.alum__meta{ font-size:12px; color:var(--ink-2); }

/* ---------- Antiguos alumnos — una cita grande + selector ---------- */
.alumni__stage{ display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); gap:24px; align-items:stretch; }
.alumni__feat{ position:relative; padding:38px 40px 34px 44px; border-radius:var(--r-card); background:var(--ink-deep); color:#fff; overflow:hidden; min-height:300px; display:flex; align-items:center;
  box-shadow:0 30px 60px -34px rgba(0,0,0,.7); }
.alumni__feat::before{ content:""; position:absolute; right:-20%; top:-40%; width:70%; height:180%; pointer-events:none; background:radial-gradient(45% 45% at 50% 50%, rgba(31,95,166,.35), transparent 70%); }
.alumni__quote{ position:relative; margin:0; animation:alumIn .45s ease; }
@keyframes alumIn{ from{ opacity:0; translate:0 8px; } to{ opacity:1; translate:0 0; } }
.alumni__mark{ position:absolute; left:-26px; top:-30px; font-family:'Cormorant Garamond',serif; font-size:120px; line-height:1; color:var(--ochre); opacity:.55; }
.alumni__quote blockquote{ margin:0; font-family:'Cormorant Garamond',serif; font-weight:500; font-style:italic; font-size:clamp(22px,2.3vw,30px); line-height:1.35; }
.alumni__quote figcaption{ margin-top:22px; display:flex; flex-direction:column; gap:3px; padding-left:16px; border-left:2px solid var(--ochre); }
.alumni__feat .alumni__name{ font-family:'Cinzel',serif; font-weight:700; font-size:14px; letter-spacing:.06em; }
.alumni__feat .alumni__meta{ font-size:13px; color:rgba(255,255,255,.7); }
.alumni__list{ display:flex; flex-direction:column; gap:12px; }
.alumni__pick{ flex:1; display:flex; align-items:center; gap:14px; text-align:left; font:inherit; cursor:pointer; color:var(--ink); padding:14px 18px; border-radius:var(--r-card);
  background:var(--white); border:1px solid var(--line); box-shadow:inset 0 1px 0 #fff, 0 16px 30px -28px rgba(22,48,74,.4); transition:transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s; }
.alumni__pick.is-on{ border-color:var(--ochre); background:linear-gradient(170deg, #fffdf7, var(--cream)); }
@media (hover:hover){ .alumni__pick:hover{ transform:translateX(4px); border-color:color-mix(in srgb, var(--accent) 45%, var(--line)); } }
.alumni__avatar{ flex:none; width:56px; height:56px; border-radius:50%; overflow:hidden; box-shadow:0 0 0 2px var(--cream), 0 0 0 3px var(--line); }
.alumni__pick.is-on .alumni__avatar{ box-shadow:0 0 0 2px var(--cream), 0 0 0 3px var(--ochre); }
.alumni__avatar img{ width:100%; height:100%; object-fit:cover; display:block; }
.alumni__who{ display:flex; flex-direction:column; gap:2px; }
.alumni__who .alumni__name{ font-weight:700; font-size:14.5px; }
.alumni__who .alumni__meta{ font-size:12.5px; color:var(--ink-2); }
@media (max-width:900px){ .alumni__stage{ grid-template-columns:1fr; } .alumni__feat{ padding:30px 26px 28px 34px; min-height:0; } .alumni__mark{ left:-18px; top:-24px; font-size:90px; } .alumni__list{ flex-direction:row; overflow-x:auto; } .alumni__pick{ flex:0 0 auto; } }
@media (prefers-reduced-motion:reduce){ .alumni__quote{ animation:none; } }


/* ---------- Gallery ---------- */
.gallery__head{ display:flex; align-items:flex-end; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-bottom:30px; }
.gallery__lead{ margin:8px 0 0; font-size:15px; color:var(--ink-2); max-width:52ch; }
.gallery__tour{ font-weight:700; font-size:14px; color:var(--accent); text-decoration:none; padding:6px 0; border-bottom:1.5px solid transparent; white-space:nowrap; }
.gallery__tour:hover{ border-color:var(--accent); }
.gallery__grid{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:220px; gap:16px; grid-auto-flow:dense; }
.gtile{ padding:0; border:none; font:inherit; color:#fff; text-align:left; display:block; width:100%; }
.gtile .ph{ display:block; }
.gtile .gcap{ display:block; }
@media (max-width:900px){ .gallery__grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:190px; } .gtile--big{ grid-column:span 2; grid-row:span 1; } }
@media (max-width:560px){
  .gallery__grid{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:12px; padding:4px 4px 12px; margin:0 -22px; padding-left:22px; padding-right:22px; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  .gallery__grid::-webkit-scrollbar{ display:none; }
  .gtile, .gtile--big, .gtile--w2{ flex:0 0 78%; height:240px; min-height:0; scroll-snap-align:start; grid-column:auto; grid-row:auto; }
}
/* visor a pantalla completa */
.gal-modal__dialog{ position:relative; z-index:2; width:min(1100px, 94vw); max-height:92vh; display:flex; align-items:center; gap:12px; }
.gal-modal__fig{ flex:1; margin:0; min-width:0; text-align:center; }
.gal-modal__img{ max-width:100%; max-height:78vh; object-fit:contain; border-radius:12px; box-shadow:0 40px 80px -30px rgba(0,0,0,.8); display:block; margin:0 auto; }
.gal-modal__cap{ margin-top:14px; color:#fff; font-family:'Cormorant Garamond',serif; font-style:italic; font-size:18px; }
.gal-modal__nav{ flex:none; width:48px; height:48px; border-radius:50%; border:1px solid rgba(255,255,255,.35); background:rgba(255,255,255,.08); color:#fff; font-size:28px; line-height:1; cursor:pointer; display:grid; place-items:center; transition:background .2s; }
.gal-modal__nav:hover{ background:rgba(255,255,255,.2); }
.gal-modal__nav:focus-visible{ outline:2px solid var(--ochre); outline-offset:3px; }
@media (max-width:560px){ .gal-modal__nav{ position:absolute; top:50%; transform:translateY(-50%); z-index:3; } .gal-modal__nav--prev{ left:4px; } .gal-modal__nav--next{ right:4px; } }

.gtile{ position:relative; overflow:hidden; border-radius:var(--r-card); min-height:172px; background:#16304a; cursor:pointer; }
.gtile--w2{ grid-column:span 2; }
.gtile--big{ grid-column:span 2; grid-row:span 2; }
.gtile .ph{ position:absolute; inset:0; transition:transform .55s cubic-bezier(.2,.7,.2,1); }
.gtile:hover .ph{ transform:scale(1.07); }
.gtile .ph img{ width:100%; height:100%; object-fit:cover; display:block; }
.gtile__tint{ display:none; }
.gtile__shade{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(22,48,74,0) 38%, rgba(22,48,74,.74)); }
.gtile__kicker{ position:absolute; top:12px; left:12px; font-size:10px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.82); }
.gtile .gcap{ position:absolute; left:0; right:0; bottom:0; padding:16px; color:#fff; transform:translateY(6px); transition:transform .4s; }
.gtile:hover .gcap{ transform:none; }
.gcap__t{ font-family:'Cinzel',serif; font-weight:700; font-size:17px; letter-spacing:.02em; }
.gcap__s{ font-size:12.5px; color:rgba(255,255,255,.85); margin-top:3px; display:grid; grid-template-rows:0fr; opacity:0; transition:grid-template-rows .45s cubic-bezier(.2,.7,.2,1), opacity .4s ease; }
.gcap__s > span{ overflow:hidden; min-height:0; }
.gtile:hover .gcap__s{ grid-template-rows:1fr; opacity:1; }

/* ---------- Admisiones CTA — foto real del campus + panel de cristal ----------
   El dueño quiere que el campus se vea (palmeras, cortijo, farola): la foto
   ocupa toda la banda con un velo marino sólo por la izquierda, donde el texto
   descansa en un panel de cristal. Marco encalado fino como en el hero. */
.cta{ color:#fff; position:relative; overflow:hidden; min-height:clamp(420px,54vh,580px); display:flex; align-items:center;
  background:
    linear-gradient(90deg, rgba(11,33,59,.72) 0%, rgba(11,33,59,.42) 42%, rgba(11,33,59,.06) 70%, rgba(11,33,59,0) 100%),
    linear-gradient(180deg, rgba(11,33,59,.10) 0%, rgba(11,33,59,0) 40%, rgba(11,33,59,.45) 100%),
    var(--ink-deep) url('../assets/g-campus.webp') center 32% / cover no-repeat; }
.cta::before{ content:""; position:absolute; inset:20px; border:1px solid rgba(247,239,220,.45); pointer-events:none; z-index:1; }
.cta__glow{ display:none; }
.cta__ring-a{ position:absolute; right:-60px; top:-60px; width:360px; height:360px; border:1px solid rgba(247,239,220,.28); border-radius:50%; pointer-events:none; }
.cta__ring-b{ position:absolute; left:-40px; bottom:-80px; width:240px; height:240px; border:1px dashed rgba(255,255,255,.14); border-radius:50%; pointer-events:none; animation:statsSpin 90s linear infinite; }
.cta__inner{ position:relative; z-index:2; width:100%; max-width:var(--wrap); margin:0 auto; padding:64px 32px; display:flex; align-items:center; }
.cta__copy{ display:flex; flex-direction:column; align-items:flex-start; width:100%; max-width:620px; min-width:0; box-sizing:border-box; padding:34px 36px 32px; border-radius:var(--r-card);
  background:linear-gradient(170deg, rgba(11,33,59,.62), rgba(11,33,59,.48)); border:1px solid rgba(255,255,255,.18); box-shadow:inset 0 1px 0 rgba(255,255,255,.16), 0 30px 60px -30px rgba(0,0,0,.6);
  -webkit-backdrop-filter:blur(16px) saturate(1.15); backdrop-filter:blur(16px) saturate(1.15); }
.cta__eyebrow{ display:inline-flex; align-items:center; font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--ochre); }
.cta__eyebrow::before{ content:""; width:26px; height:2px; background:var(--ochre); margin-right:12px; }
.cta__title{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:clamp(32px,3.8vw,52px); margin:12px 0 0; line-height:1.06; max-width:14em; }
.cta__lead{ margin:14px 0 0; max-width:40ch; font-size:16px; line-height:1.6; color:rgba(255,255,255,.8); }
.cta__btns{ display:flex; gap:12px; flex-wrap:wrap; margin-top:26px; }
.cta__art{ display:none; }
@media (max-width:900px){ .cta{ min-height:0; } .cta__inner{ padding:56px 22px; } .cta__copy{ padding:26px 22px 24px; } .cta__title{ max-width:none; } }
@media (max-width:560px){ .cta__btns{ width:100%; } .cta__btns > *{ flex:1 1 100%; text-align:center; } .cta__title{ font-size:clamp(28px,8vw,34px); } }
@media (prefers-reduced-motion:reduce){ .cta__ring-b{ animation:none; } }
.btn-cream{ cursor:pointer; border:none; background:#fff; color:var(--terr); font:inherit; font-weight:700; font-size:15px; padding:16px 28px; border-radius:2px; transition:transform .12s, background .15s; }
.btn-cream:hover{ background:var(--cream); }
.btn-cream:active{ transform:scale(.97); }
.btn-ghost-white{ cursor:pointer; background:none; border:1.5px solid rgba(255,255,255,.6); color:#fff; font:inherit; font-weight:700; font-size:15px; padding:16px 28px; border-radius:2px; transition:background .15s; }
.btn-ghost-white:hover{ background:rgba(255,255,255,.14); }

/* ---------- Partners — una sola tira de cristal ---------- */
.partners__title{ font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--ink-2); text-align:center; }
.partners__row{ display:flex; flex-wrap:wrap; align-items:stretch; justify-content:center; gap:0; margin:26px auto 0; width:max-content; max-width:100%;
  border-radius:var(--r-card); background:linear-gradient(170deg, rgba(255,253,247,.9), rgba(255,253,247,.65)); border:1px solid rgba(255,255,255,.9); outline:1px solid color-mix(in srgb, var(--line) 70%, transparent);
  box-shadow:inset 0 1px 0 #fff, 0 22px 40px -28px rgba(22,48,74,.4); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
.partner{ border:none; border-radius:0; padding:18px 26px; background:none; display:flex; align-items:center; gap:11px; position:relative; transition:background .2s ease; }
.partner + .partner::before{ content:""; position:absolute; left:0; top:22%; bottom:22%; width:1px; background:var(--line); }
@media (hover:hover){ .partner:hover{ background:rgba(255,255,255,.55); } }
.partner__flag{ display:flex; width:24px; height:32px; border:1px solid var(--line); border-radius:2px; overflow:hidden; flex:none; }
.partner__flag span{ flex:1; }
.partner__flag .b{ background:#000091; } .partner__flag .w{ background:#fff; } .partner__flag .r{ background:#e1000f; }
.partner__col{ display:flex; flex-direction:column; line-height:1.15; }
.partner__name{ font-weight:800; font-size:12px; letter-spacing:.02em; color:var(--ink); }
.partner__sub{ font-size:10px; color:var(--ink-2); margin-top:3px; }
.partner__aefe{ font-family:'Hanken Grotesk',sans-serif; font-weight:800; font-size:26px; letter-spacing:-.03em; color:#1d3c78; }
.partner__divider{ width:1px; height:30px; background:var(--line); }
.partner__af{ font-family:'Cormorant Garamond',serif; font-weight:700; font-style:italic; font-size:32px; color:#e2173b; line-height:.7; }
.partner__star{ height:38px; width:auto; flex:none; }
/* En móvil las calugas se apilan con dimensiones idénticas (mismo ancho y alto) */
@media (max-width:780px){
  .partners__row{ flex-direction:column; align-items:stretch; width:100%; max-width:360px; }
  .partner{ min-height:64px; justify-content:flex-start; }
  .partner + .partner::before{ left:22%; right:22%; top:0; bottom:auto; width:auto; height:1px; }
}

/* ---------- Footer ---------- */
.footer{ background:var(--ink); color:#cdd8e4; }
.footer__inner{ max-width:var(--wrap); margin:0 auto; padding:64px 32px 28px; display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; }
.footer__brand{ display:flex; align-items:center; gap:13px; color:#fff; }
.footer__brand img{ height:46px; width:auto; }
.footer__brand-sub{ font-size:9.5px; letter-spacing:.17em; text-transform:uppercase; color:#aeb9c8; }
.footer__brand-name{ font-family:'Cinzel',serif; font-weight:800; font-size:21px; letter-spacing:.08em; margin-top:4px; color:#fff; }
.footer__flag{ border-color:rgba(247,239,220,.28); }
.footer__about{ font-size:13.5px; line-height:1.65; margin:18px 0 0; max-width:30em; }
.footer__social{ display:flex; gap:8px; margin-top:18px; }
.footer__social a{ width:38px; height:38px; border:1px solid #36475e; border-radius:3px; display:flex; align-items:center; justify-content:center; color:#cdd8e4; text-decoration:none; font-size:12px; font-weight:700; transition:border-color .15s, color .15s; }
.footer__social a:hover{ border-color:#6a7d96; color:#fff; }
.footer__col-title{ font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:#8b98a9; font-weight:700; }
.footer__links{ display:flex; flex-direction:column; gap:11px; margin-top:16px; font-size:13.5px; }
.footer__links a{ color:#cdd8e4; text-decoration:none; transition:color .15s; }
.footer__links a:hover{ color:#fff; }
.footer__contact{ display:flex; flex-direction:column; gap:8px; margin-top:16px; font-size:13.5px; line-height:1.5; }
.footer__phone{ color:#fff; font-weight:700; font-size:16px; }
.footer__hours{ color:#8b98a9; }
.footer__bottom{ border-top:1px solid #2a3a50; }
.footer__bottom-inner{ max-width:var(--wrap); margin:0 auto; padding:18px 32px; display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; font-size:12px; color:#8b98a9; }
.footer__bottom-inner a{ color:#8b98a9; text-decoration:none; transition:color .15s; }
.footer__bottom-inner a:hover{ color:#fff; }
.footer__legal{ display:flex; gap:18px; }
.footer__copy{ display:flex; align-items:center; gap:18px; }
.footer__credit{ padding-left:18px; border-left:1px solid #2a3a50; }
.footer__credit strong{ color:#cdd8e4; font-weight:600; letter-spacing:.02em; }

/* ---------- Inner page heroes ---------- */
.page-hero{ padding:68px 32px; position:relative; overflow:hidden; color:#fff; }
.page-hero--ink{ background:var(--ink); }
.page-hero--accent{ background:var(--accent); }
.page-hero__ring{ position:absolute; right:-80px; top:-80px; width:340px; height:340px; border:1.5px solid rgba(207,154,63,.22); border-radius:50%; }
/* La pareja de búhos de la tarjeta del nivel, reutilizada en la franja del hero:
   anclada a la derecha (al borde de la columna de contenido), recortada por el
   overflow del hero y fundida en el azul con multiply, como en las tarjetas. */
.page-hero__owl{
  position:absolute; pointer-events:none; user-select:none;  /* sin z-index → queda bajo el texto */
  right:max(8px, calc((100% - var(--wrap))/2 + 8px));
  top:50%; transform:translateY(-47%);
  width:clamp(248px, 27vw, 372px); height:auto;
  mix-blend-mode:multiply;
  filter:grayscale(.14) contrast(1.04) brightness(1.05);
}
/* El lead del hero mide hasta 38em; por debajo de ~1024px llena el ancho y no
   deja sitio limpio al búho, así que lo mostramos solo en desktop. */
@media (max-width:1024px){ .page-hero__owl{ display:none; } }
.page-hero__inner{ position:relative; max-width:var(--wrap); margin:0 auto; }
.back-link{ cursor:pointer; background:none; border:none; color:rgba(255,255,255,.8); font:inherit; font-size:13px; font-weight:600; padding:0; margin-bottom:20px; transition:color .15s; }
.back-link:hover{ color:#fff; }
.back-link--dark{ color:var(--ink-2); }
.back-link--dark:hover{ color:var(--ink); }
.page-hero__eyebrow{ font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; }
.page-hero__eyebrow--ochre{ color:var(--ochre); }
.page-hero__eyebrow--soft{ opacity:.85; }
.page-hero__h1{ font-family:'Cinzel',serif; font-weight:800; font-size:clamp(40px,6vw,84px); line-height:.98; letter-spacing:.01em; margin:14px 0 0; }
.page-hero__h1--lg{ font-size:clamp(44px,7vw,96px); line-height:.95; letter-spacing:.02em; }
.page-hero__lead{ font-size:18px; line-height:1.6; margin:18px 0 0; max-width:38em; }
.page-hero--ink .page-hero__lead{ color:#cfd8e4; }
.page-hero--accent .page-hero__lead{ color:rgba(255,255,255,.9); }

/* ---------- Admisiones page ---------- */
.adm-step{ border:1px solid var(--line); border-radius:4px; padding:28px; background:var(--white); }
.adm-step__n{ font-family:'Cinzel',serif; font-weight:800; font-size:42px; color:var(--accent-soft); line-height:1; -webkit-text-stroke:1.5px var(--accent); }
.adm-step__title{ font-family:'Cormorant Garamond',serif; font-weight:600; font-size:24px; margin:14px 0 0; }
.adm-step__desc{ font-size:14px; line-height:1.6; color:var(--ink-2); margin:10px 0 0; }
.adm-grid{ display:grid; grid-template-columns:1.3fr .7fr; gap:40px; margin-top:56px; align-items:start; }
.adm-fees__title{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:34px; margin:0; }
.adm-fees__lead{ font-size:14.5px; color:var(--ink-2); line-height:1.6; margin:8px 0 22px; }
.fees{ border:1px solid var(--line); border-radius:4px; overflow:hidden; }
.fees__row{ display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:1px solid var(--line); background:var(--white); }
.fees__row:last-child{ border-bottom:none; }
.fees__level{ font-weight:700; font-size:15px; }
.fees__age{ font-size:12.5px; color:var(--ink-2); }
.fees__price{ font-family:'Cinzel',serif; font-weight:700; font-size:22px; color:var(--accent); }
.adm-aside{ border:2px solid var(--ink); border-radius:4px; padding:28px; }
.adm-aside__eyebrow{ font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--accent); }
.adm-aside p{ font-size:14px; line-height:1.6; color:var(--ink-2); margin:12px 0 18px; }
.adm-aside__btn{ cursor:pointer; width:100%; border:none; background:var(--accent); color:#fff; font:inherit; font-weight:700; font-size:14.5px; padding:14px; border-radius:2px; transition:background .15s; }
.adm-aside__btn{ display:block; text-align:center; text-decoration:none; }
.adm-aside__btn:hover{ background:var(--accent-d); }

/* ---------- Admisiones: recorrido, equivalencias, docs, tarifas, formulario ---------- */
.page-hero__cta{ display:flex; flex-wrap:wrap; gap:14px; margin-top:26px; }

/* Toggle alumno nuevo / reinscripción */
.adm2-toggle{ display:inline-flex; background:var(--white); border:1px solid var(--line); border-radius:999px; padding:4px; gap:4px; margin-bottom:30px; }
.adm2-toggle__btn{ cursor:pointer; border:none; background:none; font:inherit; font-weight:700; font-size:14px; color:var(--ink-2); padding:9px 22px; border-radius:999px; transition:background .15s,color .15s; }
.adm2-toggle__btn.is-active{ background:var(--ink); color:#fff; }
.adm2-mode[data-active="new"] .adm2-panel--re{ display:none; }
.adm2-mode[data-active="re"] .adm2-panel--new{ display:none; }

.adm2-h2{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:clamp(28px,3.2vw,40px); color:var(--ink); margin:0 0 8px; }
.adm2-sub{ font-size:14.5px; color:var(--ink-2); line-height:1.6; margin:0 0 22px; max-width:46em; }

.adm2-steps{ display:grid; grid-template-columns:repeat(auto-fill,minmax(232px,1fr)); gap:18px; margin-top:18px; }

.adm2-cols{ display:grid; grid-template-columns:.85fr 1.15fr; gap:44px; align-items:start; }

/* Tablas (equivalencias y tarifas) */
.adm2-table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--line); border-radius:6px; }
.adm2-table{ width:100%; border-collapse:collapse; background:var(--white); font-size:14px; }
.adm2-equiv .adm2-table{ border:1px solid var(--line); border-radius:6px; overflow:hidden; }
.adm2-table thead th{ text-align:left; font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-2); background:var(--cream-2); padding:11px 16px; font-weight:700; border-bottom:1px solid var(--line); }
.adm2-table td{ padding:10px 16px; border-bottom:1px solid var(--line); color:var(--ink); }
.adm2-table tbody tr:last-child td{ border-bottom:none; }
.adm2-equiv .adm2-table td:first-child{ font-weight:600; }

.adm2-fees{ min-width:460px; }
.adm2-fees__lvl{ display:block; font-weight:700; }
.adm2-fees__age{ display:block; font-size:12px; color:var(--ink-2); }
.adm2-fees__p{ font-family:'Cinzel',serif; font-weight:700; color:var(--accent); white-space:nowrap; }
.adm2-fees__dpi{ white-space:nowrap; }
.adm2-note{ font-size:13px; color:var(--ink-2); line-height:1.6; margin:14px 0 0; }

/* Recursos / enlaces PDF */
.adm2-res{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.adm2-res__link{ display:inline-flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; color:var(--ink); text-decoration:none; border:1px solid var(--line); background:var(--white); border-radius:999px; padding:9px 16px; transition:border-color .15s,color .15s; }
.adm2-res__link::before{ content:"↗"; color:var(--accent); font-weight:700; }
.adm2-res__link:hover{ border-color:var(--accent); color:var(--accent); }

/* Checklist de documentos */
.adm2-doc-card{ border:1px solid var(--line); border-radius:6px; padding:22px 24px; background:var(--white); margin-bottom:16px; }
.adm2-doc-card--soft{ background:var(--cream); }
.adm2-doc-card__h{ font-weight:800; font-size:13px; letter-spacing:.04em; text-transform:uppercase; color:var(--accent); margin-bottom:12px; }
.adm2-list{ margin:0; padding:0; list-style:none; }
.adm2-list li{ position:relative; padding:0 0 9px 24px; font-size:14px; line-height:1.55; color:var(--ink); }
.adm2-list li:last-child{ padding-bottom:0; }
.adm2-list li::before{ content:""; position:absolute; left:2px; top:6px; width:8px; height:8px; border:1.5px solid var(--accent); border-radius:2px; }

.adm2-residence{ font-size:12.5px !important; color:var(--ink-2); border-top:1px solid var(--line); padding-top:14px; margin-top:4px !important; }

/* Formulario de captación */
.adm2-form-wrap{ display:grid; grid-template-columns:.8fr 1.2fr; gap:44px; align-items:start; background:var(--white); border:1px solid var(--line); border-radius:8px; padding:38px; }
.adm2-contact{ margin-top:24px; display:flex; flex-direction:column; gap:6px; font-size:14px; }
.adm2-contact__t{ font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--accent); margin-bottom:4px; }
.adm2-contact a{ color:var(--ink); text-decoration:none; font-weight:600; }
.adm2-contact a:hover{ color:var(--accent); }
.adm2-contact__h{ color:var(--ink-2); }
.adm2-form{ display:flex; flex-direction:column; gap:14px; }
.adm2-form__row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.adm2-field{ display:flex; flex-direction:column; gap:6px; }
.adm2-field--full{ grid-column:1/-1; }
.adm2-field__l{ font-size:12.5px; font-weight:600; color:var(--ink-2); }
.adm2-input{ font:inherit; font-size:14.5px; color:var(--ink); background:var(--cream); border:1px solid var(--line); border-radius:4px; padding:11px 13px; transition:border-color .15s,box-shadow .15s; }
.adm2-input:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
.adm2-input.is-invalid{ border-color:var(--terr); box-shadow:0 0 0 3px rgba(192,85,47,.12); }
.adm2-form .btn-solid{ align-self:flex-start; margin-top:4px; }
.adm2-form__note{ font-size:12px; color:var(--ink-2); margin:0; }
.adm2-form__status{ font-size:14px; font-weight:600; }
.adm2-form__status.is-ok{ color:var(--garden); }
.adm2-form__status.is-error{ color:var(--terr); }
.adm2-form__status:empty{ display:none; }

@media (max-width:900px){
  .adm2-cols{ grid-template-columns:1fr; gap:30px; }
  .adm2-form-wrap{ grid-template-columns:1fr; gap:28px; padding:28px; }
}
@media (max-width:560px){
  .adm2-form__row{ grid-template-columns:1fr; }
  .adm2-toggle{ display:flex; width:100%; }
  .adm2-toggle__btn{ flex:1; }
}

/* ---------- Contact page ---------- */
/* Reutiliza adm2-form-wrap (grid .8fr / 1.2fr): aside con datos a la izquierda,
   formulario a la derecha. */
.contact-form__head{ margin-bottom:6px; }
.contact-info .adm2-h2{ margin-bottom:18px; }
.contact-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:18px; }
.contact-list__item{ display:flex; gap:14px; align-items:flex-start; }
.contact-list__ico{ flex:none; width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--accent-soft); color:var(--accent); }
.contact-list__ico svg{ width:20px; height:20px; }
.contact-list__txt{ display:flex; flex-direction:column; gap:2px; }
.contact-list__l{ font-size:11.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-2); }
.contact-list__v{ font-size:15px; color:var(--ink); font-weight:600; }
.contact-list__v a{ color:var(--ink); text-decoration:none; }
.contact-list__v a:hover{ color:var(--accent); }
.contact-links{ display:flex; flex-direction:column; gap:8px; margin-top:24px; padding-top:22px; border-top:1px solid var(--line); }
.contact-links a{ font-size:14px; font-weight:600; color:var(--accent); text-decoration:none; }
.contact-links a:hover{ color:var(--accent-d); }
.contact-social{ margin-top:24px; }
.contact-social__t{ display:block; font-size:11.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-2); margin-bottom:10px; }
.contact-info .footer__social{ display:flex; gap:10px; }
.contact-info .footer__social a{ width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--ink); color:#fff; font-size:13px; font-weight:700; text-decoration:none; text-transform:lowercase; transition:background .15s; }
.contact-info .footer__social a:hover{ background:var(--accent); }
.contact-consent{ display:flex; gap:10px; align-items:flex-start; cursor:pointer; }
.contact-consent input{ flex:none; width:18px; height:18px; margin-top:2px; accent-color:var(--accent); cursor:pointer; }
.contact-consent__txt{ font-size:12.5px; line-height:1.5; color:var(--ink-2); }
.contact-consent.is-invalid .contact-consent__txt{ color:var(--terr); }

/* Teaser del asistente FAQ (el búho) */
.contact-faq{ display:flex; align-items:center; gap:32px; background:var(--cream); border:1px solid var(--line); border-radius:8px; padding:34px 40px; }
.contact-faq__owl{ flex:none; width:108px; height:108px; border-radius:50%; background:var(--white); border:2px solid var(--ochre); overflow:hidden; box-shadow:0 10px 24px -12px rgba(22,48,74,.45); }
.contact-faq__owl img{ width:100%; height:100%; object-fit:cover; object-position:50% 42%; display:block; }
.contact-faq__t{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:clamp(24px,2.6vw,32px); color:var(--ink); margin:6px 0 0; }
.contact-faq__d{ font-size:14.5px; line-height:1.6; color:var(--ink-2); margin:8px 0 18px; max-width:54ch; }

/* Mapa embebido */
.contact-map{ max-width:var(--wrap); margin:0 auto 76px; padding:0 32px; }
.contact-map iframe{ width:100%; height:420px; border:1px solid var(--line); border-radius:8px; display:block; filter:grayscale(.18); }

@media (max-width:760px){
  .contact-faq{ flex-direction:column; text-align:center; gap:20px; padding:30px 24px; }
  .contact-faq__d{ max-width:none; }
  .contact-map{ padding:0 22px; margin-bottom:54px; }
  .contact-map iframe{ height:320px; }
}

/* ---------- Lycée page ---------- */
.spec-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.spec{ border:1px solid var(--line); border-radius:4px; padding:22px; background:var(--white); display:flex; gap:16px; align-items:flex-start; transition:border-color .15s; }
.spec:hover{ border-color:var(--accent); }
.spec__tag{ font-family:'Cinzel',serif; font-weight:700; font-size:14px; color:var(--accent); border:1.5px solid var(--accent); border-radius:3px; padding:5px 9px; flex:none; }
.spec__name{ font-weight:700; font-size:16px; }
.spec__desc{ font-size:13.5px; color:var(--ink-2); line-height:1.55; margin-top:4px; }
.bac-band{ margin-top:48px; background:var(--ink); color:#fff; border-radius:4px; padding:44px; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; }
.bac-band__num{ font-family:'Cinzel',serif; font-weight:800; font-size:clamp(40px,5vw,64px); line-height:1; }
.bac-band__num span{ font-size:.36em; color:var(--ochre); letter-spacing:.12em; }
.bac-band__sub{ font-size:14px; color:#aeb9c8; margin-top:10px; }

/* ---------- Páginas de etapa (Maternelle · Élémentaire · Collège) ---------- */
/* Reutilizan page-hero + spec-grid + bac-band; sólo añaden el intro y el
   subtítulo de sección, y una variante de 3 columnas para los idiomas. */
.lvlpage__intro{ max-width:48em; margin-bottom:34px; }
.lvlpage__lead{ font-size:16px; line-height:1.7; color:var(--ink-2); margin:14px 0 0; }
.lvlpage__sub{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:28px; color:var(--ink); margin:48px 0 18px; }
.spec-grid--3{ grid-template-columns:repeat(3,1fr); }

/* ---------- Vuelta al cole / Rentrée ---------- */
/* Reutiliza page-hero + azulejo + contact-faq; añade tarjetas con distintivo
   obligatorio/opcional y un panel de disponibilidad fechado (de temporada). */
.rentree-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.rentree-card{ display:flex; flex-direction:column; background:var(--white); border:1px solid var(--line); border-radius:4px; padding:26px 24px; transition:border-color .15s, transform .15s; }
.rentree-card:hover{ border-color:var(--accent); transform:translateY(-3px); }
.rentree-card__top{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
.rentree-card__ico{ width:48px; height:48px; border-radius:6px; color:#fff; display:inline-flex; align-items:center; justify-content:center; flex:none; box-shadow:inset 0 1px 0 rgba(255,255,255,.4), 0 6px 15px rgba(22,48,74,.18); }
.rentree-card__ico svg{ width:24px; height:24px; }
.rentree-card__ico--books{ background:var(--sea); }
.rentree-card__ico--shirt{ background:var(--ochre); }
.rentree-card__ico--sport{ background:var(--terr); }
.rentree-badge{ font-size:10.5px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; padding:5px 10px; border-radius:999px; border:1.5px solid; white-space:nowrap; }
.rentree-badge--req{ color:var(--terr-d); border-color:var(--terr); background:rgba(192,85,47,.07); }
.rentree-badge--soft{ color:var(--ink-2); border-color:var(--line); background:var(--cream); }
.rentree-badge--neutral{ color:var(--sea-d); border-color:var(--sea); background:var(--sea-l); }
.rentree-card__t{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:24px; color:var(--ink); margin:0 0 8px; }
.rentree-card__d{ font-size:14px; line-height:1.6; color:var(--ink-2); margin:0 0 20px; }
.rentree-card__d b{ color:var(--ink); }
.rentree-card__ctas{ margin-top:auto; display:flex; flex-direction:column; align-items:flex-start; gap:11px; }
.rentree-card__cta2{ font-size:13px; font-weight:700; color:var(--accent); text-decoration:none; }
.rentree-card__cta2:hover{ text-decoration:underline; }
.rentree-cal{ margin-top:34px; background:var(--cream); border:1px solid var(--line); border-radius:8px; padding:30px 34px; }
.rentree-cal__head{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.rentree-cal__t{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:24px; color:var(--ink); margin:0; }
.rentree-cal__season{ font-family:'Cinzel',serif; font-weight:700; font-size:11.5px; letter-spacing:.06em; color:var(--accent); border:1.5px solid var(--accent); border-radius:3px; padding:5px 10px; white-space:nowrap; }
.rentree-cal__lead{ font-size:14px; color:var(--ink-2); margin:12px 0 16px; }
.rentree-cal__list{ list-style:none; margin:0; padding:0; }
.rentree-cal__row{ display:flex; gap:20px; align-items:baseline; padding:13px 0; border-top:1px solid var(--line); }
.rentree-cal__row:first-child{ border-top:0; padding-top:0; }
.rentree-cal__when{ flex:none; width:230px; font-family:'Cinzel',serif; font-weight:700; font-size:12.5px; letter-spacing:.02em; color:var(--accent); }
.rentree-cal__what{ font-size:14.5px; color:var(--ink); }
.rentree-cal__note{ font-size:12.5px; color:var(--ink-2); font-style:italic; margin:16px 0 0; }
.rentree-updated{ font-size:12.5px; color:var(--ink-2); margin:18px 0 0; }
@media (max-width:820px){ .rentree-grid{ grid-template-columns:1fr; } }
@media (max-width:560px){
  .rentree-cal{ padding:24px 20px; }
  .rentree-cal__row{ flex-direction:column; gap:3px; }
  .rentree-cal__when{ width:auto; }
}

/* ---------- Proyecto de centro · ejes de trabajo ---------- */
/* Tres tarjetas con el motivo de asterisco del original, una por eje, tintadas
   en la paleta: Eje 1 ochre, Eje 2 azulejo, Eje 3 terracota. */
.proj-axes{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.proj-axis{ border:1px solid var(--line); border-radius:4px; padding:30px 26px; background:var(--white); transition:border-color .15s, transform .15s; }
.proj-axis:hover{ border-color:var(--accent); transform:translateY(-2px); }
.proj-axis__star{ width:40px; height:40px; display:block; }
.proj-axis--1{ color:var(--ochre); }
.proj-axis--2{ color:var(--sea); }
.proj-axis--3{ color:var(--terr); }
.proj-axis__n{ font-family:'Cinzel',serif; font-weight:700; font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-2); margin-top:20px; }
.proj-axis__title{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:25px; line-height:1.12; color:var(--ink); margin:6px 0 0; }
.proj-axis__desc{ font-size:14px; line-height:1.6; color:var(--ink-2); margin-top:12px; }
.proj-more{ margin-top:32px; }
.proj-more a{ font-weight:700; font-size:15px; color:var(--sea); text-decoration:none; }
.proj-more a:hover{ color:var(--sea-d); text-decoration:underline; }
@media (max-width:860px){ .proj-axes{ grid-template-columns:1fr; } }

/* ---------- Vídeo de la etapa (fachada → iframe YouTube) ---------- */
.stage-video{ margin:8px 0 40px; }
.stage-video .lvlpage__sub{ margin-top:0; }
.stage-video__frame{ position:relative; aspect-ratio:16/9; border-radius:14px; overflow:hidden; background:var(--ink); box-shadow:0 24px 60px rgba(22,48,74,.28); }
.stage-video__frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }
.stage-video__btn{ position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; cursor:pointer; background:var(--ink); display:flex; align-items:center; justify-content:center; }
.stage-video__poster{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.stage-video__btn::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(11,28,46,.10), rgba(11,28,46,.38)); transition:background .2s ease; }
.stage-video__btn:hover::after, .stage-video__btn:focus-visible::after{ background:linear-gradient(180deg, rgba(11,28,46,.04), rgba(11,28,46,.30)); }
.stage-video__play{ position:relative; z-index:1; width:84px; height:84px; border-radius:50%; background:rgba(247,239,220,.94); box-shadow:0 10px 30px rgba(11,28,46,.45); display:flex; align-items:center; justify-content:center; transition:transform .2s ease, background .2s ease; }
.stage-video__play::before{ content:""; width:0; height:0; margin-left:6px; border-style:solid; border-width:15px 0 15px 24px; border-color:transparent transparent transparent var(--terr); }
.stage-video__btn:hover .stage-video__play, .stage-video__btn:focus-visible .stage-video__play{ transform:scale(1.07); background:#fff; }
.stage-video__btn:focus-visible{ outline:3px solid var(--ochre); outline-offset:3px; }

/* ---------- Calendario escolar ---------- */
.cal{ display:flex; flex-direction:column; align-items:center; }
.cal__keys{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; margin-bottom:30px; }
.cal__key{ display:flex; flex-direction:column; align-items:center; text-align:center; background:var(--white); border:1px solid var(--line); border-radius:10px; padding:16px 22px; min-width:168px; box-shadow:0 8px 20px rgba(22,48,74,.06); }
.cal__key-d{ font-family:'Cinzel',serif; font-weight:800; font-size:15px; letter-spacing:.03em; color:var(--accent); }
.cal__key-t{ font-size:12.5px; color:var(--ink-2); margin-top:5px; }
.cal__figure{ margin:0; width:100%; max-width:1080px; border:1px solid var(--line); border-radius:8px; overflow:hidden; box-shadow:0 18px 44px rgba(22,48,74,.12); background:var(--white); }
.cal__img{ width:100%; height:auto; display:block; }
.cal__actions{ display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-top:26px; }
@media print{
  .util, .header, .footer, .azulejo, .page-hero, .cal__keys, .cal__actions{ display:none !important; }
  .cal{ padding:0 !important; }
  .cal__figure{ border:none; box-shadow:none; max-width:none; }
}

/* ---------- Aviso legal / Mentions légales ---------- */
.legal{ max-width:880px; }
.legal__updated{ font-size:12.5px; color:var(--ink-2); margin:0 0 30px; }
.legal__ident{ background:var(--white); border:1px solid var(--line); border-radius:10px; padding:22px 26px; margin:0 0 40px; box-shadow:0 8px 20px rgba(22,48,74,.06); }
.legal__ident-t{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:22px; color:var(--ink); margin:0 0 14px; }
.legal__dl{ display:grid; grid-template-columns:auto 1fr; gap:9px 24px; margin:0; font-size:14.5px; }
.legal__dl dt{ color:var(--ink-2); font-weight:600; }
.legal__dl dd{ margin:0; color:var(--ink); }
.legal__dl a, .legal__sec a{ color:var(--accent); text-decoration:none; }
.legal__dl a:hover, .legal__sec a:hover{ text-decoration:underline; }
.legal__sec{ margin:0 0 30px; }
.legal__sec-t{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:clamp(22px,2.4vw,28px); color:var(--ink); margin:0 0 10px; padding-top:20px; border-top:1px solid var(--line); }
.legal__sec:first-of-type .legal__sec-t{ border-top:none; padding-top:0; }
.legal__sec p{ font-size:15px; line-height:1.72; color:var(--ink-2); margin:0 0 13px; }
.legal__sec p:last-child{ margin-bottom:0; }
.legal__sec ul{ margin:0 0 13px; padding-left:22px; }
.legal__sec li{ font-size:15px; line-height:1.6; color:var(--ink-2); margin:0 0 5px; }
@media (max-width:520px){ .legal__dl{ grid-template-columns:1fr; gap:2px; } .legal__dl dt{ margin-top:10px; } }

/* ============================================================
   Responsive (added for the live site; the prototype was desktop-only)
   ============================================================ */
@media (max-width:1040px){
  .footer__inner{ grid-template-columns:1fr 1fr; gap:32px; }
  .prov__inner{ grid-template-columns:1fr; gap:36px; }
  .adm-grid{ grid-template-columns:1fr; gap:32px; }
}

@media (max-width:900px){
  :root{ --gutter:22px; }
  /* mobile nav */
  .nav, .header__cta{ display:none; }
  .nav-toggle{
    display:inline-flex; align-items:center; justify-content:center; cursor:pointer;
    width:44px; height:40px; background:none; border:1px solid var(--line); border-radius:3px;
    color:var(--ink); font-size:20px; line-height:1;
  }
  .nav--mobile{
    display:none; flex-direction:column; gap:2px; padding:10px var(--gutter) 18px;
    border-top:1px solid var(--line); background:var(--white);
    /* en pantallas bajas el menú desplaza por dentro: los últimos ítems
       (Contacto, CTA) no quedan fuera de alcance bajo la cabecera fija */
    max-height:calc(100vh - 130px); overflow-y:auto; -webkit-overflow-scrolling:touch;
  }
  .nav--mobile.is-open{ display:flex; }
  /* acordeones del menú móvil */
  .mnav__group{ border-bottom:1px solid var(--line); }
  .mnav__group:last-of-type{ border-bottom:none; }
  .mnav__row{ display:flex; align-items:stretch; }
  .nav--mobile .mnav__label{
    flex:1; text-align:left; font-size:16px; padding:13px 8px;
    border:none; border-radius:0; background:none; color:var(--ink); cursor:pointer;
  }
  .mnav__chev{
    display:inline-flex; align-items:center; justify-content:center; flex:0 0 48px;
    border:none; background:none; color:var(--ink); cursor:pointer;
  }
  .mnav__chev svg{ transition:transform .2s ease; }
  .mnav__chev.is-open svg{ transform:rotate(180deg); }
  .mnav__sub{ display:flex; flex-direction:column; padding:2px 8px 12px; }
  .mnav__sub[hidden]{ display:none; }
  .mnav__sublink{
    display:flex; flex-direction:column; gap:1px; padding:10px 10px; font-size:14px;
    color:var(--ink); text-decoration:none; border-radius:5px; line-height:1.25;
  }
  .mnav__sublink:hover{ background:rgba(0,0,0,.035); color:var(--accent); }
  .mnav__subeq{ font-size:11.5px; color:var(--ink-2); letter-spacing:.01em; }
  .mnav__sublink--book{ color:var(--accent); font-weight:600; }
  .nav--mobile .header__cta{ display:block; margin-top:12px; width:100%; padding:14px; font-size:15px; }
  /* megas not used on mobile */
  .mega{ display:none !important; }
  .hero-copy__inner{ padding:0 clamp(56px,8vw,68px) 56px; }
  .hero{ height:auto; min-height:560px; }
  /* En móvil el sello baja a la esquina inferior-derecha del hero: la franja
     superior está saturada (eyebrow + título) y cualquier caption choca; abajo
     a la derecha está libre (las CTAs y "Ver el vídeo" van a la izquierda). */
  .hero-seal{ top:auto; bottom:40px; right:20px; gap:9px; flex-direction:row; align-items:center; }
  .hero-seal__badge{ order:0; width:46px; height:46px; }
  .hero-seal__cap{ display:flex; }
  .hero-seal__cap strong{ font-size:10px; }
  .hero-seal__cap span{ font-size:8.5px; letter-spacing:.02em; }
  .hero-scroll{ display:none; }
  .hero-modal{ padding:0; }
  .hero-modal__dialog{ border-radius:0; max-height:100vh; }
  .cards-3{ grid-template-columns:1fr 1fr; }
  .gallery__grid{ grid-template-columns:repeat(2,1fr); }
  .gtile--big, .gtile--w2{ grid-column:span 2; }
  .gtile--big{ grid-row:span 1; }
  .spec-grid{ grid-template-columns:1fr; }
}

@media (max-width:680px){
  .util__inner{ flex-wrap:wrap; height:auto; padding-top:8px; padding-bottom:8px; gap:10px; }
  .util__status{ font-size:11.5px; }
  .levels__grid{ grid-template-columns:1fr; max-width:380px; margin:0 auto; }
  .stats__grid{ grid-template-columns:1fr 1fr; }
  .cards-3{ grid-template-columns:1fr; }
  .gallery__grid{ grid-template-columns:1fr; grid-auto-rows:200px; }
  .gtile--big, .gtile--w2{ grid-column:span 1; }
  .footer__inner{ grid-template-columns:1fr; gap:28px; }
  .section{ padding:54px 22px; }
  .prov__inner, .stats__inner, .cta__inner, .footer__inner, .footer__bottom-inner{ padding-left:22px; padding-right:22px; }
  .footer__bottom-inner{ flex-direction:column; align-items:flex-start; gap:10px; }
  .footer__copy{ flex-direction:column; align-items:flex-start; gap:10px; }
  .footer__credit{ padding-left:0; border-left:0; }
}

@media (max-width:520px){
  .hero-h1__top{ font-size:clamp(30px,8.6vw,40px); }
  .hero-h1__italic{ font-size:clamp(22px,5.6vw,34px); }
}

/* ---------------------------------------------------------
   Página Presentación (El Liceo / Le LFIM)
--------------------------------------------------------- */
.pres-prov{ margin:0; display:grid; grid-template-columns:auto 1fr; gap:38px; align-items:center; background:var(--cream-2); border:1px solid var(--line); border-radius:10px; padding:34px 40px; box-shadow:0 10px 26px rgba(22,48,74,.06); }
.pres-prov__media{ margin:0; display:flex; flex-direction:column; align-items:center; gap:12px; flex:none; }
.pres-prov__media img{ width:158px; height:198px; object-fit:cover; object-position:center 12%; border-radius:8px; border:2px solid var(--ink); background:#e6e9ec; }
.pres-prov__cap{ display:flex; flex-direction:column; text-align:center; line-height:1.25; }
.pres-prov__name{ font-weight:700; font-size:14.5px; color:var(--ink); }
.pres-prov__role{ font-size:12.5px; color:var(--ink-2); }
.pres-prov__quote{ font-family:'Cormorant Garamond',serif; font-weight:500; font-style:italic; font-size:clamp(19px,2.1vw,25px); line-height:1.42; margin:8px 0 0; color:var(--ink); }
.pres-prov__text{ font-size:15px; line-height:1.7; color:var(--ink-2); margin:16px 0 0; max-width:62ch; }
@media (max-width:720px){
  .pres-prov{ grid-template-columns:1fr; gap:22px; padding:28px 24px; }
  .pres-prov__media{ flex-direction:row; align-items:center; gap:16px; }
  .pres-prov__media img{ width:92px; height:116px; }
  .pres-prov__cap{ text-align:left; align-items:flex-start; }
}

.pres-prose{ max-width:760px; }
.pres-keys{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:42px; }
@media (max-width:880px){ .pres-keys{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .pres-keys{ grid-template-columns:1fr; } }

.pres-campus{ display:grid; grid-template-columns:1.45fr 1fr; gap:36px; align-items:center; }
.pres-campus__fig{ margin:0; border-radius:10px; overflow:hidden; border:1px solid var(--line); box-shadow:0 18px 44px rgba(22,48,74,.12); }
.pres-campus__fig img{ display:block; width:100%; height:100%; object-fit:cover; }
@media (max-width:820px){ .pres-campus{ grid-template-columns:1fr; gap:20px; } }

.pres-levels{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width:880px){ .pres-levels{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .pres-levels{ grid-template-columns:1fr; } }

/* ---------- Saltar al contenido (teclado / lectores de pantalla) ---------- */
.skip-link{
  position:absolute; left:12px; top:-64px; z-index:400;
  background:var(--ink); color:#fff; font-weight:700; font-size:14px;
  padding:12px 18px; border-radius:0 0 4px 4px; text-decoration:none;
  transition:top .15s ease;
}
.skip-link:focus{ top:0; }

/* ---------- Pausa del vídeo de fondo del hero (WCAG 2.2.2) ---------- */
.hero-vpause{
  position:absolute; right:34px; bottom:34px; z-index:5;
  width:44px; height:44px; border-radius:50%; cursor:pointer;
  border:1.5px solid rgba(247,239,220,.65); background:rgba(11,28,46,.45);
  color:var(--cream); font-size:13px; line-height:1;
  display:flex; align-items:center; justify-content:center;
  backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
  transition:background .15s, border-color .15s;
}
.hero-vpause:hover{ background:rgba(11,28,46,.72); border-color:var(--cream); }
.hero-vpause[hidden]{ display:none; }
@media (max-width:760px){ .hero-vpause{ right:22px; bottom:22px; } }
/* con movimiento reducido el vídeo no se carga: el botón sobra */
@media (prefers-reduced-motion:reduce){ .hero-vpause{ display:none; } }

/* ---------- Página 404 ---------- */
.nf{ padding:110px 0 130px; text-align:center; }
.nf__inner{ max-width:560px; margin:0 auto; }
.nf .eyebrow{ color:var(--terr-d); }
.nf__title{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:44px; margin:10px 0 12px; color:var(--ink); }
.nf__p{ color:var(--ink-2); font-size:16px; line-height:1.6; margin:0 0 26px; }

/* ============================================================
   Sep-2026 · Cabecera de cristal en portada, acceso EN, transiciones
   ============================================================ */
/* Búho: la versión clara solo se ve en la cabecera de cristal */
.brand__owl-img--light{ display:none; }
.header{ transition:background .35s ease, border-color .35s ease, box-shadow .35s ease; }
/* Portada: el hero empieza bajo la cabecera (transparente) y llena la ventana
   menos la barra superior; el marco, las esquinas y el sello bajan para no
   quedar detrás del menú. */
body.is-home .hero{ margin-top:-80px; height:calc(100vh - 40px); min-height:620px; max-height:1000px; }
body.is-home .hero-frame{ top:106px; }
body.is-home .hero-corner--tl, body.is-home .hero-corner--tr{ top:102px; }
@media (min-width:901px){ body.is-home .hero-seal{ top:130px; } }
.header--glass{
  background:linear-gradient(180deg, rgba(11,28,46,.62) 0%, rgba(11,28,46,.30) 58%, rgba(11,28,46,0) 100%);
  border-bottom-color:transparent; -webkit-backdrop-filter:none; backdrop-filter:none;
}
.header--glass .brand, .header--glass .brand__sub, .header--glass .nav__btn, .header--glass .nav-toggle{ color:#fff; text-shadow:0 1px 10px rgba(11,28,46,.55); }
.header--glass .brand__name{ color:#fff; }
.header--glass .brand__flag{ border-color:rgba(247,239,220,.35); }
.header--glass .brand__owl-img--dark{ display:none; }
.header--glass .brand__owl-img--light{ display:block; }
.header--glass .nav__btn:hover{ color:var(--cream); }
.header--glass .nav__btn.is-current{ color:#fff; box-shadow:inset 0 -2.5px 0 var(--ochre); }
.header--glass .header__cta{ background:rgba(255,255,255,.12); box-shadow:inset 0 0 0 1.5px rgba(247,239,220,.7); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); text-shadow:none; }
.header--glass .header__cta:hover{ background:rgba(255,255,255,.24); }
.header--glass .nav-toggle{ border-color:rgba(247,239,220,.55); }
.header--glass :focus-visible{ outline-color:var(--ochre); }

/* Transición suave entre páginas (no en portada: el vídeo del hero no parpadea) */
@keyframes pageIn{ from{ opacity:0; transform:translateY(12px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion:no-preference){
  body:not(.is-home) #main-content{ animation:pageIn .5s cubic-bezier(.2,.8,.2,1) both; }
}

/* Acceso a la página para familias internacionales (inglés) */
.lang__btn--intl{ text-decoration:none; border-left:1px solid #36475e; }
.lang__globe{ width:14px; height:14px; box-shadow:none; border-radius:0; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.mega__tag{ display:inline-block; font-size:9.5px; font-weight:800; letter-spacing:.08em; padding:2px 6px; border-radius:2px; background:var(--accent-soft); color:var(--accent-d); margin-right:8px; vertical-align:middle; }
.mega__link--intl{ margin-top:6px; padding-top:12px; border-top:1px dashed var(--line); border-radius:0 0 3px 3px; }
.cta__intl{ width:auto; max-width:100%; align-self:flex-start; margin-top:22px; padding:6px 0; overflow-wrap:anywhere; color:#fff; font-size:13.5px; font-weight:600; text-decoration:none; opacity:.9; text-shadow:0 1px 10px rgba(11,28,46,.6); border-bottom:1px solid rgba(255,255,255,.45); transition:opacity .15s, border-color .15s; }
.cta__intl:hover{ opacity:1; border-color:#fff; }
/* En inglés el asistente FAQ (solo ES/FR, pendiente de traducir) no se muestra:
   ni el lanzador/panel ni las secciones «Pregunta al asistente» de contacto y
   vuelta al cole. */
html[lang="en"] .lfim-chat-launcher, html[lang="en"] .lfim-chat-panel, html[lang="en"] .lfim-chat-bubble{ display:none !important; }
html[lang="en"] .contact-faq{ display:none; }
/* Barra superior en móvil: estado en una fila y accesos (portales + ES/FR/EN)
   en otra a todo el ancho, sin recortar la píldora EN. */
@media (max-width:680px){
  .util__inner{ flex-direction:column; align-items:stretch; gap:8px; }
  .util__status{ font-size:11px; line-height:1.35; }
  .util__right{ justify-content:space-between; gap:6px; }
  .util__portal-btn{ padding:6px 9px; font-size:11.5px; min-width:0; }
  .lang__btn{ padding:6px 8px; font-size:11px; gap:5px; }
  .lang__flag{ width:14px; }
  .portal-menu{ right:auto; left:0; width:min(304px, calc(100vw - 44px)); }
}
/* Página internacional: enlaces Français / Español dentro de la píldora */
.intl-lang__link{ color:inherit; text-decoration:none; border-bottom:1px solid rgba(247,239,220,.5); transition:border-color .15s; }
.intl-lang__link:hover{ border-color:#fff; }
/* Vídeo de bienvenida de la directora: botón + lightbox vertical (9:16) */
.prov-watch{ display:inline-flex; align-items:center; gap:9px; margin-top:14px; padding:0; background:none; border:none; cursor:pointer; color:var(--accent); font:inherit; font-weight:700; font-size:13.5px; letter-spacing:.01em; transition:color .15s; }
.prov-watch span{ width:26px; height:26px; border-radius:50%; border:1.5px solid currentColor; display:inline-flex; align-items:center; justify-content:center; font-size:9px; padding-left:2px; }
.prov-watch:hover{ color:var(--accent-d); }
.prov-watch:focus-visible{ outline:2px solid var(--ochre); outline-offset:4px; border-radius:2px; }
.pres-prov .prov-watch{ margin-top:18px; }
.hero-modal__dialog--portrait{ aspect-ratio:9/16; width:min(430px, 100%, calc((100vh - 48px) * 9 / 16)); }
.hero-modal__dialog--portrait video{ object-fit:contain; }
@media (max-width:900px){ .hero-modal__dialog--portrait{ width:100%; height:100vh; max-height:100vh; aspect-ratio:auto; } }

/* ============================================================
   Nov-2026 · Evolución del prototipo (sin rehacer su identidad)
   Bloque reversible: todo lo de esta iteración vive aquí debajo.
   ============================================================ */

/* ---------- Admisiones / Tarifas: sin desbordamiento a 390 px ----------
   Las columnas del grid admiten encoger (minmax(0,…)) y la tabla deja de
   imponer 460 px: en móvil cada etapa se apila como ficha con etiquetas. */
.adm-grid{ grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr); }
.adm-grid > *{ min-width:0; }
.adm2-cols{ grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); }
.adm2-cols > *{ min-width:0; }
.adm2-fees{ min-width:0; }
.adm2-fees tbody th{ text-align:left; font-weight:400; padding:10px 16px; border-bottom:1px solid var(--line); color:var(--ink); }
.adm2-fees tbody tr:last-child th{ border-bottom:none; }
@media (max-width:1040px){ .adm-grid{ grid-template-columns:minmax(0,1fr); } }
@media (max-width:900px){ .adm2-cols{ grid-template-columns:minmax(0,1fr); gap:36px; } }
@media (max-width:560px){
  .adm2-table-wrap{ overflow:visible; border:0; }
  .adm2-fees, .adm2-fees tbody, .adm2-fees tr, .adm2-fees th, .adm2-fees td{ display:block; width:auto; }
  .adm2-fees{ background:none; }
  .adm2-fees thead{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
  .adm2-fees tbody tr{ background:var(--white); border:1px solid var(--line); border-left:3px solid var(--terr); border-radius:6px; padding:14px 16px 8px; margin-bottom:10px; }
  .adm2-fees tbody th{ padding:0 0 8px; border-bottom:1px dashed var(--line); margin-bottom:6px; }
  .adm2-fees__lvl{ font-family:'Cormorant Garamond',serif; font-size:21px; }
  .adm2-fees td{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:6px 0; border-bottom:0; }
  .adm2-fees td::before{ content:attr(data-label); font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-2); }
  .adm-aside{ padding:22px 20px; }
}
.adm2-fees td::before{ font-family:'Hanken Grotesk',system-ui,sans-serif; }

/* ---------- Utilidades ---------- */
.sr-only{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.ext-mark{ font-size:.85em; opacity:.6; margin-left:2px; }

/* ---------- Navegación: enlace + botón de submenú separados ---------- */
.nav__item{ position:relative; display:inline-flex; align-items:center; }
a.nav__btn{ display:inline-block; text-decoration:none; }
.nav__item--mega .nav__btn{ padding-right:6px; }
.nav__disc{
  cursor:pointer; display:inline-flex; align-items:center; justify-content:center;
  width:24px; height:30px; margin-right:6px; padding:0; border:0; border-radius:3px;
  background:none; color:inherit; color:var(--ink-2); transition:color .15s, background .15s, transform .2s;
}
.nav__disc:hover{ color:var(--accent); background:rgba(31,95,166,.07); }
.nav__disc svg{ transition:transform .2s ease; }
.nav__item.is-open .nav__disc svg{ transform:rotate(180deg); }
.nav__item.is-open > .nav__btn{ color:var(--accent); }
.nav__item--mega.is-current .nav__disc{ color:var(--accent-d); }
.header--glass .nav__disc{ color:rgba(255,255,255,.85); }
.header--glass .nav__disc:hover{ color:#fff; background:rgba(255,255,255,.12); }
a.header__cta{ display:inline-flex; align-items:center; text-decoration:none; }
.nav--mobile a.mnav__label{ text-decoration:none; display:block; }
@media (max-width:1180px) and (min-width:901px){
  .nav__btn{ padding:10px 9px; font-size:14px; }
  .nav__item--mega .nav__btn{ padding-right:3px; }
  .nav__disc{ width:20px; margin-right:3px; }
}

/* ---------- Hero: legibilidad sobre cualquier fotograma + jerarquía ----------
   Medido sobre los 25 fotogramas del vídeo (blanco contra el 5 % más claro del
   fondo, peor fotograma, sin contar la sombra): titular 1,48 → 3,87:1,
   subtítulo 2,26 → >6:1, entradilla 1,25 → >4,7:1. Ver _work/capturas-2026-11-09.
   Velo en tres capas (arriba para la cabecera, lateral izquierdo y suelo)
   que oscurece SOLO la zona del texto: el vídeo sigue luciendo a la derecha.
   Jerarquía: el nombre del colegio pasa a ser el titular; «Bienvenido al» es
   la entradilla en Cinzel espaciada. Mismas palabras, mismas tipografías. */
.hero-overlay{
  background:
    linear-gradient(180deg, rgba(11,28,46,.42) 0%, rgba(11,28,46,0) 26%),
    linear-gradient(90deg, rgba(11,28,46,.74) 0%, rgba(11,28,46,.56) 34%, rgba(11,28,46,.2) 60%, rgba(11,28,46,0) 78%),
    linear-gradient(0deg, rgba(11,28,46,.82) 0%, rgba(11,28,46,.34) 34%, rgba(11,28,46,0) 58%);
}
.hero-h1{ text-shadow:0 1px 18px rgba(11,28,46,.35); }
.hero-h1__top{ font-size:clamp(17px,1.7vw,26px); font-weight:700; letter-spacing:.2em; line-height:1.1; color:var(--cream); }
.hero-h1__italic{ font-size:clamp(44px,5.5vw,84px); line-height:.98; margin-top:12px; max-width:14em; text-wrap:balance; text-shadow:0 2px 22px rgba(11,28,46,.45); }
.hero-sub{ font-size:18.5px; color:#f3f6f9; max-width:31em; margin-top:22px; }
.hero-eyebrow{ font-size:12px; letter-spacing:.26em; }
.hero-copy__inner{ padding-bottom:84px; }
.hero-ctas{ margin-top:28px; }
.hero-ctas .btn-solid, .hero-ctas .btn-ghost{ min-height:52px; }
.hero-vtour{ margin-top:18px; }

/* Tablet / móvil apaisado: el vídeo sigue a sangre, con más velo abajo */
@media (max-width:900px){
  .hero-overlay{ background:
    linear-gradient(180deg, rgba(11,28,46,.5) 0%, rgba(11,28,46,0) 30%),
    linear-gradient(0deg, rgba(11,28,46,.9) 0%, rgba(11,28,46,.55) 42%, rgba(11,28,46,0) 72%); }
}

/* Móvil (≤680 px): cartel vertical. El vídeo 16:9 a pantalla completa en
   vertical solo enseñaba el 26 % central (rostros cortados). Ahora es una
   ventana de cine bajo la cabecera de cristal (≈66 % del fotograma), que se
   funde en el marino de los renders; titular y CTA, sobre fondo sólido y
   legibles en cualquier fotograma, caben en la primera pantalla. El marco
   dorado con esquinas abraza vídeo y texto como un solo cartel. */
@media (max-width:680px){
  body.is-home .hero{ height:auto; min-height:0; max-height:none; display:flex; flex-direction:column; background:var(--ink-deep); }
  body.is-home .hero-media-wrap{ position:relative; inset:auto; top:auto; left:auto; right:auto; bottom:auto; flex:none; height:calc(80px + 60vw); transform:none !important; overflow:hidden; }
  body.is-home .hero-sky{ animation:none; background-position:center 30%; }
  body.is-home .hero-video{ object-position:center 35%; }
  body.is-home .hero-overlay{ bottom:auto; height:calc(80px + 60vw);
    background:linear-gradient(180deg, rgba(11,28,46,.55) 0%, rgba(11,28,46,0) 34%, rgba(11,33,59,0) 58%, rgba(11,33,59,.85) 88%, var(--ink-deep) 100%); }
  body.is-home .hero-copy{ position:relative; inset:auto; display:block; margin-top:-34px; z-index:3; transform:none !important; opacity:1 !important; }
  body.is-home .hero-copy__inner{ padding:0 32px 40px; }
  body.is-home .hero-frame{ top:92px; left:12px; right:12px; bottom:12px; border-color:rgba(247,239,220,.38); }
  body.is-home .hero-corner--tl, body.is-home .hero-corner--tr{ top:88px; }
  body.is-home .hero-corner--tl, body.is-home .hero-corner--bl{ left:8px; }
  body.is-home .hero-corner--tr, body.is-home .hero-corner--br{ right:8px; }
  body.is-home .hero-corner--bl, body.is-home .hero-corner--br{ bottom:8px; }
  body.is-home .hero-corner{ width:18px; height:18px; }
  .hero-eyebrow{ font-size:10.5px; letter-spacing:.22em; gap:9px; }
  .hero-eyebrow span{ width:22px; }
  .hero-h1{ margin-top:12px; }
  .hero-h1__top{ font-size:13.5px; letter-spacing:.2em; }
  .hero-h1__italic{ font-size:clamp(31px,8.6vw,40px); line-height:1.02; margin-top:8px; }
  .hero-sub{ font-size:15px; line-height:1.55; margin-top:14px; }
  .hero-ctas{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:20px; }
  .hero-ctas .btn-solid, .hero-ctas .btn-ghost{ min-height:48px; padding:12px 10px; font-size:14px; text-align:center; }
  .hero-vtour{ margin-top:16px; font-size:13px; }
  /* Sello Forbes: arriba a la derecha, sobre el vídeo (la parte baja es texto) */
  body.is-home .hero-seal{ top:100px; bottom:auto; right:24px; }
  .hero-seal__cap strong{ font-size:10px; }
  .hero-seal__cap span{ font-size:8.5px; }
  .hero-seal__badge{ width:44px; height:44px; }
  /* Pausa del vídeo: esquina inferior de la ventana de vídeo */
  body.is-home .hero-vpause{ top:calc(80px + 60vw - 58px); bottom:auto; right:22px; width:38px; height:38px; font-size:11px; }
}
.nav__btn{ white-space:nowrap; }
.nav{ gap:0; }
.nav__item--mega .nav__btn{ padding-right:2px; }
.nav__disc{ width:20px; margin-right:4px; }
@media (max-width:1440px) and (min-width:901px){ .nav__btn{ padding:10px 10px; } .header__inner{ gap:18px; } }
@media (max-width:1240px) and (min-width:901px){ .nav__btn{ padding:10px 7px; font-size:13.5px; } .header__cta{ padding:11px 14px; font-size:13px; } .brand__sub{ font-size:8.5px; } .brand__name{ font-size:19px; } }
@media (max-width:1060px) and (min-width:901px){ .brand__lines{ display:none; } }
@media (max-width:900px){ a.header__cta{ display:none; } .nav--mobile a.header__cta{ display:flex; justify-content:center; } }

/* ---------- Barra superior: aviso de campaña (puertas abiertas) ---------- */
.util__status--jpo{ gap:10px; }
.util__dot--jpo{ background:var(--terr); box-shadow:0 0 0 3px rgba(192,85,47,.25); }
.util__jpo{ cursor:pointer; background:none; border:0; padding:3px 0; font:inherit; font-weight:700; color:var(--ochre); border-bottom:1px solid rgba(207,154,63,.6); transition:color .15s, border-color .15s; }
.util__jpo:hover{ color:#fff; border-color:#fff; }

/* ---------- «Sin hablar francés» — itinerario de acogida ---------- */
.welcome{ position:relative; background:var(--white) var(--laceria) repeat; border-bottom:1px solid var(--line); overflow:hidden; }
.welcome__inner{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:56px; align-items:start; padding-top:88px; padding-bottom:88px; }
.welcome .eyebrow{ color:var(--terr-d); display:inline-flex; align-items:center; }
.welcome .eyebrow::before{ content:""; width:26px; height:2px; background:var(--ochre); margin-right:12px; }
.welcome .eyebrow::after{ content:""; width:10px; height:10px; margin-left:10px; background:var(--estrella) center / contain no-repeat; }
.welcome__title{ max-width:13em; line-height:1.06; }
.welcome__lead{ font-size:17px; line-height:1.65; color:var(--ink-2); margin:18px 0 0; max-width:34em; }
.welcome__words{ position:relative; height:132px; margin:30px 0 8px; font-family:'Cormorant Garamond',serif; font-style:italic; font-weight:600; line-height:1; }
.welcome__word{ position:absolute; white-space:nowrap; }
.welcome__word--1{ left:0; top:0; font-size:64px; color:var(--sea); }
.welcome__word--2{ left:38%; top:46px; font-size:52px; color:var(--terr); }
.welcome__word--3{ left:8%; top:86px; font-size:40px; color:var(--ink); opacity:.55; }
.welcome__btns{ display:flex; flex-wrap:wrap; gap:12px; margin-top:22px; }
.welcome__btns .btn-solid, .welcome__btns .btn-outline-ink{ text-decoration:none; display:inline-flex; align-items:center; }
.welcome__path{ list-style:none; margin:0; padding:6px 0 0; position:relative; }
.welcome__path::before{ content:""; position:absolute; left:15px; top:24px; bottom:26px; border-left:2px dashed color-mix(in srgb, var(--ochre) 70%, transparent); }
.welcome__step{ position:relative; padding:0 0 30px 58px; }
.welcome__step:last-child{ padding-bottom:6px; }
.welcome__node{ position:absolute; left:0; top:2px; width:32px; height:32px; background:var(--cream); border-radius:50%; box-shadow:0 0 0 1px var(--line); }
.welcome__node::before{ content:""; position:absolute; inset:6px; background:var(--sea); clip-path:polygon(50% 0,61% 25%,85% 15%,75% 39%,100% 50%,75% 61%,85% 85%,61% 75%,50% 100%,39% 75%,15% 85%,25% 61%,0 50%,25% 39%,15% 15%,39% 25%); }
.welcome__step:nth-child(2) .welcome__node::before{ background:var(--terr); }
.welcome__step:nth-child(3) .welcome__node::before{ background:var(--ochre); }
.welcome__k{ display:block; font-size:11.5px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-2); }
.welcome__t{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:27px; line-height:1.15; margin:4px 0 6px; color:var(--ink); }
.welcome__d{ margin:0; font-size:15px; line-height:1.6; color:var(--ink-2); max-width:36em; }
.welcome__note{ margin:16px 0 0; padding:14px 18px; background:var(--cream); border:1px solid var(--line); border-left:3px solid var(--terr); border-radius:0 8px 8px 0; font-size:14.5px; line-height:1.55; color:var(--ink); }
.welcome__note strong{ font-family:'Cinzel',serif; font-size:12px; letter-spacing:.08em; color:var(--terr-d); margin-right:6px; }
.welcome__after{ margin:12px 0 0; font-size:13px; color:var(--ink-2); }
@media (max-width:900px){
  .welcome__inner{ grid-template-columns:minmax(0,1fr); gap:36px; padding-top:64px; padding-bottom:64px; }
  .welcome__words{ height:96px; margin:22px 0 4px; }
  .welcome__word--1{ font-size:46px; } .welcome__word--2{ font-size:38px; top:34px; left:42%; } .welcome__word--3{ font-size:30px; top:62px; }
}

/* ---------- «Vida escolar» — radio, comunidad, apoyo ---------- */
.life{ background:var(--cream); }
.life__inner{ padding-top:88px; padding-bottom:92px; }
.life__head{ margin-bottom:34px; }
.life__head .eyebrow{ color:var(--terr-d); display:inline-flex; align-items:center; }
.life__head .eyebrow::before{ content:""; width:26px; height:2px; background:var(--ochre); margin-right:12px; }
.life__head .eyebrow::after{ content:""; width:10px; height:10px; margin-left:10px; background:var(--estrella) center / contain no-repeat; }
.life__head .section-h2{ max-width:16em; }
.life__grid{ display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) minmax(0,1fr); grid-template-rows:auto auto; gap:18px; }
.life-radio{ grid-row:span 2; position:relative; overflow:hidden; border-radius:24px; padding:30px 30px 28px; color:#fff;
  background:radial-gradient(120% 70% at 80% 0%, rgba(31,95,166,.45), transparent 60%), radial-gradient(90% 60% at 0% 100%, rgba(192,85,47,.28), transparent 60%), var(--ink-deep);
  border:1px solid rgba(255,255,255,.08); box-shadow:0 36px 70px -40px rgba(11,33,59,.9); display:flex; flex-direction:column; }
.life-radio__onair{ align-self:flex-start; display:inline-flex; align-items:center; gap:8px; font-size:11px; font-weight:800; letter-spacing:.18em; text-transform:uppercase; padding:6px 12px; border-radius:999px; border:1px solid rgba(247,239,220,.35); color:var(--cream); }
.life-radio__onair i{ width:8px; height:8px; border-radius:50%; background:#e2643b; box-shadow:0 0 0 3px rgba(226,100,59,.25); animation:blink 1.6s infinite; }
.life-radio__disc{ position:relative; width:168px; height:168px; margin:22px auto 18px; display:flex; align-items:center; justify-content:center; border-radius:50%;
  background:radial-gradient(closest-side, rgba(255,255,255,.08), rgba(255,255,255,.02)); }
.life-radio__disc img{ width:86px; height:auto; position:relative; z-index:1; filter:drop-shadow(0 6px 18px rgba(0,0,0,.4)); }
.life-radio__ring{ position:absolute; inset:0; border-radius:50%; border:1px solid rgba(207,154,63,.45); }
.life-radio__ring--2{ inset:-16px; border:1px dashed rgba(255,255,255,.14); animation:statsSpin 60s linear infinite; }
.life-radio__eq{ position:absolute; bottom:-6px; left:50%; transform:translateX(-50%); display:flex; gap:4px; align-items:flex-end; height:26px; padding:0 10px; background:var(--ink-deep); }
.life-radio__eq i{ width:4px; border-radius:2px; background:var(--ochre); height:40%; animation:eq 1.1s ease-in-out infinite alternate; }
.life-radio__eq i:nth-child(2){ animation-delay:-.3s; background:var(--terr); } .life-radio__eq i:nth-child(3){ animation-delay:-.7s; }
.life-radio__eq i:nth-child(4){ animation-delay:-.15s; background:var(--terr); } .life-radio__eq i:nth-child(5){ animation-delay:-.5s; }
@keyframes eq{ from{ height:18%; } to{ height:100%; } }
.life-radio__name{ font-family:'Cinzel',serif; font-weight:700; font-size:28px; letter-spacing:.04em; margin:6px 0 0; text-align:center; }
.life-radio__t{ margin:4px 0 0; text-align:center; font-family:'Cormorant Garamond',serif; font-style:italic; font-size:20px; color:var(--cream); }
.life-radio__d{ margin:16px 0 0; font-size:14.5px; line-height:1.6; color:rgba(255,255,255,.78); }
.life-radio__list{ margin-top:18px; padding-top:16px; border-top:1px solid rgba(255,255,255,.12); }
.life-radio__lh{ display:block; font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--ochre); margin-bottom:8px; }
.life-radio__list ol{ margin:0; padding:0; list-style:none; counter-reset:ep; display:grid; gap:2px; }
.life-radio__list li{ counter-increment:ep; display:flex; gap:12px; align-items:baseline; font-size:14px; padding:5px 0; color:#fff; }
.life-radio__list li::before{ content:counter(ep, decimal-leading-zero); font-family:'Cinzel',serif; font-size:12px; color:rgba(247,239,220,.55); min-width:20px; }
.life-radio__cta{ margin-top:auto; padding-top:20px; align-self:flex-start; font-weight:700; font-size:14px; color:var(--ochre); text-decoration:none; border-bottom:1px solid rgba(207,154,63,.55); }
.life-radio__cta:hover{ color:#fff; border-color:#fff; }
.life .life-radio :focus-visible{ outline-color:var(--ochre); }
.life-apa{ grid-column:span 2; position:relative; border-radius:24px; padding:44px 34px 30px; background:var(--white); border:1px solid var(--line); overflow:hidden; box-shadow:0 24px 50px -36px rgba(22,48,74,.35); }
.life-apa::before{ content:""; position:absolute; left:0; right:0; top:0; height:24px; background:var(--cream) var(--cenefa) repeat-x center / 48px 24px; }
.life-apa__t{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:32px; line-height:1.1; margin:8px 0 0; color:var(--ink); }
.life-apa__d{ margin:10px 0 0; font-size:15.5px; line-height:1.6; color:var(--ink-2); max-width:44em; }
.life-apa__items{ list-style:none; margin:18px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.life-apa__items li{ display:inline-flex; align-items:center; gap:9px; padding:9px 15px 9px 12px; border-radius:999px; background:var(--cream); border:1px solid var(--line); font-weight:600; font-size:14px; color:var(--ink); }
.life-apa__items li::before{ content:""; width:12px; height:12px; background:var(--estrella) center / contain no-repeat; }
.life-apa__cta{ display:inline-block; margin-top:18px; font-weight:700; font-size:14px; color:var(--accent); text-decoration:none; border-bottom:1px solid currentColor; }
.life-mini{ position:relative; display:flex; flex-direction:column; gap:6px; padding:26px 26px 22px; border-radius:24px; text-decoration:none; color:var(--ink); background:transparent; border:1.5px solid var(--ink); transition:background .2s, color .2s, transform .25s; }
.life-mini__ico{ width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--sea); background:var(--sea-l); margin-bottom:6px; }
.life-mini__ico svg{ width:22px; height:22px; }
.life-mini + .life-mini .life-mini__ico{ color:var(--terr-d); background:#f6e3d8; }
.life-mini__t{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:25px; }
.life-mini__d{ font-size:14px; line-height:1.55; color:var(--ink-2); }
.life-mini__cta{ margin-top:auto; padding-top:10px; font-weight:700; font-size:13.5px; color:var(--accent); }
@media (hover:hover){ .life-mini:hover{ background:var(--ink); color:#fff; transform:translateY(-2px); } .life-mini:hover .life-mini__d{ color:rgba(255,255,255,.75); } .life-mini:hover .life-mini__cta{ color:var(--ochre); } }
@media (max-width:1000px){
  .life__grid{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .life-radio{ grid-row:auto; grid-column:span 2; }
  .life-apa{ grid-column:span 2; }
}
@media (max-width:620px){
  .life__inner{ padding-top:64px; padding-bottom:64px; }
  .life__grid{ grid-template-columns:minmax(0,1fr); }
  .life-radio, .life-apa{ grid-column:auto; }
  .life-apa{ padding:40px 22px 24px; }
  .life-radio{ padding:24px 22px; }
}
@media (prefers-reduced-motion:reduce){ .life-radio__eq i, .life-radio__ring--2, .life-radio__onair i{ animation:none; } .life-radio__eq i{ height:70%; } .life-radio__eq i:nth-child(2n){ height:45%; } }

/* ---------- Cifras: fuente visible (resultados con fuente) ---------- */
.stats__src{ display:inline-block; margin-top:18px; font-size:12.5px; letter-spacing:.02em; color:rgba(255,255,255,.7); text-decoration:none; border-bottom:1px solid rgba(255,255,255,.3); }
.stats__src:hover{ color:#fff; border-color:#fff; }
.stats__grid .stat:nth-child(1){ --tile:var(--sea); } .stats__grid .stat:nth-child(2){ --tile:var(--ochre); } .stats__grid .stat:nth-child(3){ --tile:var(--terr); } .stats__grid .stat:nth-child(4){ --tile:var(--sea); }

/* ---------- Banda de campaña (puertas abiertas) ---------- */
.cta--jpo .cta__inner{ justify-content:space-between; gap:40px; }
.cta__note{ margin:14px 0 0; font-size:13px; color:rgba(255,255,255,.7); }
.cta--jpo .btn-ghost-white{ text-decoration:none; display:inline-flex; align-items:center; }
.cta--past .btn-ghost-white{ text-decoration:none; display:inline-flex; align-items:center; }
.jpo-tile{ flex:none; position:relative; width:220px; padding:26px 18px 22px; text-align:center; color:var(--ink); background:var(--white); border-radius:6px;
  box-shadow:0 30px 60px -24px rgba(0,0,0,.6); transform:rotate(2.5deg); display:flex; flex-direction:column; align-items:center; }
.jpo-tile::before{ content:""; position:absolute; left:0; right:0; top:0; height:24px; border-radius:6px 6px 0 0; background:var(--cream) var(--cenefa) repeat-x center / 48px 24px; }
.jpo-tile::after{ content:""; position:absolute; inset:8px; border:1px solid var(--line); border-radius:3px; pointer-events:none; }
.jpo-tile__day{ margin-top:22px; font-size:12px; font-weight:800; letter-spacing:.2em; text-transform:uppercase; color:var(--terr-d); }
.jpo-tile__n{ font-family:'Cinzel',serif; font-weight:800; font-size:104px; line-height:.95; color:var(--ink); }
.jpo-tile__m{ font-family:'Cormorant Garamond',serif; font-style:italic; font-weight:600; font-size:24px; color:var(--sea); }
@media (max-width:900px){ .cta--jpo .cta__inner{ flex-direction:column-reverse; align-items:flex-start; } .jpo-tile{ width:auto; flex-direction:row; gap:12px; padding:30px 22px 14px; transform:rotate(-1.5deg); align-items:baseline; } .jpo-tile__day{ margin-top:0; } .jpo-tile__n{ font-size:56px; } .jpo-tile__m{ font-size:20px; } }

/* ---------- Noticia: detalle ---------- */
.article__hero{ position:relative; min-height:clamp(420px,62vh,620px); display:flex; align-items:flex-end; overflow:hidden; background:var(--ink-deep); color:#fff; }
.article__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.article__veil{ position:absolute; inset:0; background:linear-gradient(0deg, rgba(11,28,46,.92) 0%, rgba(11,28,46,.55) 45%, rgba(11,28,46,.15) 100%), linear-gradient(90deg, rgba(11,28,46,.55), transparent 70%); }
.article__head{ position:relative; z-index:1; width:100%; padding-top:48px; padding-bottom:52px; }
.article__head .back-link{ color:var(--cream); text-decoration:none; }
.article__meta{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:18px; font-size:13px; font-weight:600; color:rgba(255,255,255,.82); }
.article__tag{ font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; padding:5px 11px; border-radius:999px; background:var(--white); color:var(--accent-d); }
.article__closed{ font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; padding:4px 10px; border:1px solid rgba(247,239,220,.5); border-radius:999px; color:var(--cream); }
.article__title{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:clamp(34px,4.8vw,64px); line-height:1.04; margin:14px 0 0; max-width:17em; text-wrap:balance; }
.article__lead{ margin:16px 0 0; font-size:18px; line-height:1.6; max-width:40em; color:rgba(255,255,255,.88); }
.article__body{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:56px; padding-top:64px; padding-bottom:24px; align-items:start; }
.article__facts{ display:grid; gap:12px; }
.article__fact{ display:flex; align-items:baseline; gap:16px; padding:16px 20px; background:var(--white); border:1px solid var(--line); border-left:3px solid var(--terr); border-radius:0 10px 10px 0; }
.article__fact:nth-child(2){ border-left-color:var(--sea); } .article__fact:nth-child(3){ border-left-color:var(--ochre); }
.article__fact-n{ font-family:'Cinzel',serif; font-weight:800; font-size:clamp(28px,3vw,40px); color:var(--ink); line-height:1; white-space:nowrap; }
.article__fact-l{ font-size:13.5px; font-weight:600; color:var(--ink-2); }
.article__text p{ margin:0 0 18px; font-size:17.5px; line-height:1.7; color:var(--ink); max-width:38em; }
.article__src{ display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 14px; margin-top:26px; padding:16px 20px; border-radius:10px; background:var(--cream-2); border:1px solid var(--line); }
.article__src-l{ font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-2); }
.article__src a{ font-weight:700; color:var(--accent); }
.article__src-n{ font-size:12.5px; color:var(--ink-2); flex-basis:100%; }
.article__more{ padding-top:40px; }
.article__more .adm2-h2{ margin-bottom:24px; }
@media (max-width:860px){ .article__body{ grid-template-columns:minmax(0,1fr); gap:28px; padding-top:40px; } .article__facts{ grid-template-columns:repeat(3,minmax(0,1fr)); } .article__fact{ flex-direction:column; gap:6px; padding:14px; } }
@media (max-width:520px){ .article__facts{ grid-template-columns:minmax(0,1fr); } .article__fact{ flex-direction:row; } .article__lead{ font-size:16px; } .article__text p{ font-size:16.5px; } }
/* Vida escolar · ajuste de proporciones: radio más compacta, APA con foto
   real del jardín del liceo en arco (el mismo arco del bloque de la directora). */
.life-radio{ padding:26px 28px 24px; }
.life-radio__disc{ width:124px; height:124px; margin:14px auto 14px; }
.life-radio__disc img{ width:64px; }
.life-radio__ring--2{ inset:-12px; }
.life-radio__name{ font-size:26px; }
.life-radio__d{ margin-top:12px; font-size:14px; }
.life-radio__list{ margin-top:14px; padding-top:12px; }
.life-radio__list li{ padding:3px 0; font-size:13.5px; }
.life-apa{ display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr); gap:28px; align-items:center; }
.life-apa__body{ order:1; min-width:0; }
.life-apa__fig{ order:2; margin:0; align-self:stretch; min-height:220px; border-radius:999px 999px 14px 14px; overflow:hidden; box-shadow:0 0 0 1px var(--line), 0 0 0 6px var(--white), 0 0 0 7px color-mix(in srgb, var(--ochre) 60%, transparent); }
.life-apa__fig img{ width:100%; height:100%; object-fit:cover; object-position:60% 40%; }
@media (max-width:620px){ .life-apa{ grid-template-columns:minmax(0,1fr); } .life-apa__fig{ order:0; min-height:0; height:180px; border-radius:90px 90px 12px 12px; } }

/* ---------- Páginas de etapa (plantilla compartida, contenido propio) ---------- */
a.back-link{ display:inline-block; text-decoration:none; }
.stage-hero{ padding-bottom:56px; }
.stage-hero .page-hero__lead{ max-width:38em; }
.stage-facts{ display:grid; grid-template-columns:repeat(4, minmax(0, auto)); justify-content:start; gap:0; margin:30px 0 0; max-width:min(860px, 68%); border-top:1px solid rgba(255,255,255,.28); }
.stage-facts > div{ padding:14px 26px 0 0; margin-right:26px; border-right:1px solid rgba(255,255,255,.18); }
.stage-facts > div:last-child{ border-right:0; margin-right:0; }
.stage-facts dt{ font-size:10.5px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--cream); }
.stage-facts dd{ margin:6px 0 0; font-family:'Cormorant Garamond',serif; font-weight:600; font-size:20px; line-height:1.2; color:#fff; }
@media (max-width:1024px){ .stage-facts{ max-width:none; grid-template-columns:repeat(2, minmax(0,1fr)); } .stage-facts > div{ border-right:0; margin-right:0; padding-right:16px; } }
@media (max-width:480px){ .stage-facts{ grid-template-columns:minmax(0,1fr); } .stage-facts > div{ padding-top:12px; } .stage-facts dd{ font-size:18px; } }

.stage-star{ display:inline-block; width:12px; height:12px; margin-right:12px; vertical-align:.12em; background:var(--estrella) center / contain no-repeat; }
.stage-h{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:clamp(26px,2.6vw,34px); line-height:1.15; color:var(--ink); margin:0 0 22px; }

.stage-intro{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:64px; align-items:center; padding-top:80px; padding-bottom:56px; }
.stage-intro .eyebrow{ color:var(--terr-d); }
.stage-intro__lead{ font-family:'Cormorant Garamond',serif; font-style:italic; font-weight:500; font-size:clamp(21px,2vw,26px); line-height:1.45; color:var(--ink); margin:18px 0 0; max-width:30em; }
.stage-intro__fig{ margin:0; position:relative; aspect-ratio:4/5; max-width:380px; width:100%; justify-self:center; border-radius:999px 999px 18px 18px; overflow:hidden;
  box-shadow:0 0 0 1px var(--line), 0 0 0 8px var(--cream), 0 0 0 9px color-mix(in srgb, var(--ochre) 65%, transparent), 0 34px 60px -30px rgba(22,48,74,.5); }
.stage-intro__fig img{ width:100%; height:100%; object-fit:cover; object-position:center; }
.stage-intro__fig::after{ content:""; position:absolute; inset:0; border-radius:inherit; background:linear-gradient(180deg, transparent 60%, rgba(11,33,59,.25)); }
@media (max-width:860px){ .stage-intro{ grid-template-columns:minmax(0,1fr); gap:36px; padding-top:56px; padding-bottom:32px; } .stage-intro__fig{ max-width:300px; aspect-ratio:1/1; border-radius:999px 999px 16px 16px; } }

.stage-learn{ padding-top:40px; padding-bottom:64px; }
.stage-pillars{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); column-gap:56px; counter-reset:pil; }
.stage-pillar{ display:grid; grid-template-columns:68px minmax(0,1fr); grid-template-rows:auto auto; column-gap:18px; padding:20px 0; border-top:1px solid var(--line); }
.stage-pillar__tag{ grid-row:span 2; font-family:'Cinzel',serif; font-weight:700; font-size:22px; color:var(--sea); line-height:1; padding-top:4px; }
.stage-pillar:nth-child(3n+2) .stage-pillar__tag{ color:var(--terr-d); }
.stage-pillar:nth-child(3n) .stage-pillar__tag{ color:#9a6a1c; }
.stage-pillar__name{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:23px; color:var(--ink); line-height:1.15; }
.stage-pillar__desc{ font-size:14.5px; line-height:1.6; color:var(--ink-2); margin-top:4px; }
@media (max-width:760px){ .stage-pillars{ grid-template-columns:minmax(0,1fr); } .stage-pillar{ grid-template-columns:52px minmax(0,1fr); } }

.stage-langs{ background:var(--white) var(--laceria) repeat; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:60px 0 64px; }
.stage-langs .wrap{ padding-left:var(--gutter); padding-right:var(--gutter); }
.stage-langs__row{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:40px; }
.stage-lang{ display:flex; flex-direction:column; gap:6px; }
.stage-lang__code{ font-family:'Cinzel',serif; font-weight:800; font-size:56px; line-height:1; color:var(--ink); padding-bottom:10px; border-bottom:3px solid var(--sea); align-self:flex-start; min-width:92px; }
.stage-lang:nth-child(2) .stage-lang__code{ border-color:var(--terr); }
.stage-lang:nth-child(3) .stage-lang__code{ border-color:var(--ochre); }
.stage-lang__name{ margin-top:10px; font-weight:800; font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-2); }
.stage-lang__desc{ font-size:15.5px; line-height:1.6; color:var(--ink); }
@media (max-width:760px){ .stage-langs__row{ grid-template-columns:minmax(0,1fr); gap:28px; } .stage-lang__code{ font-size:44px; } }

.stage-care{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:56px; padding-top:72px; padding-bottom:72px; }
.stage-support, .stage-daily{ list-style:none; margin:0; padding:0; }
.stage-support li{ position:relative; padding:16px 0 16px 22px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:4px; }
.stage-support li::before{ content:""; position:absolute; left:0; top:24px; width:9px; height:9px; border-radius:50%; background:var(--terr); }
.stage-support__t{ font-weight:800; font-size:15.5px; color:var(--ink); }
.stage-support__d, .stage-daily__d{ font-size:14.5px; line-height:1.6; color:var(--ink-2); }
.stage-care__col--daily{ background:var(--white); border:1px solid var(--line); border-radius:var(--r-card); padding:30px 30px 18px; box-shadow:0 24px 50px -40px rgba(22,48,74,.4); }
.stage-daily{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:4px 26px; }
.stage-daily li{ display:flex; flex-direction:column; gap:3px; padding:12px 0; border-top:1px dashed var(--line); }
.stage-daily__t{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:21px; color:var(--ink); }
.stage-support__link, .stage-daily__link{ color:var(--accent); text-decoration:none; border-bottom:1px solid rgba(31,95,166,.35); }
.stage-support__link:hover, .stage-daily__link:hover{ border-color:currentColor; }
@media (max-width:900px){ .stage-care{ grid-template-columns:minmax(0,1fr); gap:40px; padding-top:48px; padding-bottom:48px; } }
@media (max-width:520px){ .stage-daily{ grid-template-columns:minmax(0,1fr); } .stage-care__col--daily{ padding:24px 20px 12px; } }

.stage-next{ background:var(--ink-deep); color:#fff; position:relative; overflow:hidden; }
.stage-next::before{ content:""; position:absolute; left:0; right:0; top:0; height:24px; background:var(--cream) var(--cenefa) repeat-x center / 48px 24px; }
.stage-next__inner{ display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:40px; align-items:stretch; padding-top:88px; padding-bottom:76px; }
.stage-next__num{ font-family:'Cinzel',serif; font-weight:800; font-size:clamp(46px,5.4vw,76px); line-height:1; }
.stage-next__num span{ font-size:.34em; color:var(--ochre); letter-spacing:.14em; vertical-align:.5em; }
.stage-next__sub{ margin:14px 0 0; font-size:15.5px; line-height:1.6; color:rgba(255,255,255,.75); max-width:34em; }
.stage-next__btns{ display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.stage-next__btns .btn-ghost-white{ text-decoration:none; display:inline-flex; align-items:center; }
.stage-next__card{ display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); border-radius:var(--r-card); overflow:hidden; text-decoration:none; color:#fff;
  background:linear-gradient(165deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border:1px solid rgba(255,255,255,.12); transition:transform .3s, border-color .3s; }
.stage-next__img{ display:block; min-height:200px; }
.stage-next__img img{ width:100%; height:100%; object-fit:cover; }
.stage-next__body{ display:flex; flex-direction:column; gap:8px; padding:24px 24px 22px; }
.stage-next__k{ font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--ochre); }
.stage-next__name{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:30px; line-height:1.1; }
.stage-next__d{ font-size:14.5px; line-height:1.55; color:rgba(255,255,255,.75); }
@media (hover:hover){ .stage-next__card:hover{ transform:translateY(-3px); border-color:rgba(207,154,63,.5); } }
.stage-next :focus-visible{ outline-color:var(--ochre); }
@media (max-width:900px){ .stage-next__inner{ grid-template-columns:minmax(0,1fr); padding-top:64px; padding-bottom:56px; } }
@media (max-width:520px){ .stage-next__card{ grid-template-columns:minmax(0,1fr); } .stage-next__img{ height:150px; min-height:0; } .stage-next__btns > *{ flex:1 1 100%; justify-content:center; text-align:center; } }

/* ---------- Formularios: demo explícita ---------- */
.form-demo{ display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 10px; margin:4px 0 14px; padding:12px 14px; border:1px dashed color-mix(in srgb, var(--terr) 55%, var(--line)); border-radius:8px; background:#fbf1e8; font-size:13px; line-height:1.5; color:var(--ink-2); }
.form-demo__tag{ font-size:10.5px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--terr-d); background:#fff; border:1px solid var(--line); padding:3px 9px; border-radius:999px; white-space:nowrap; }
.adm2-form__status.is-ok strong{ color:var(--ink); }
.adm2-form__status:focus{ outline:none; }
