/* =========================================================
   Colegio León de Judá — estilos
   ========================================================= */

:root {
  --navy: #131d38;
  --indigo: #2a284d;
  --ink: #111230;
  --blue: #0e59f2;
  --blue-2: #4a63c2;
  --purple: #a39edf;
  --grid: rgba(88, 78, 176, .32);
  --star: #fccd05;
  --gray: #727886;
  --muted: #5f6377;
  --soft: #eef1f8;
  --dark: #1c1c24;
  --line: #111024;
  --wa-1: #6ff57c;
  --wa-2: #1fbf3a;

  --gutter: clamp(14px, 4.17vw, 80px);
  --container: 1640px;
  --radius-card: clamp(20px, 2.3vw, 44px);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-logo: "Barlow", "Archivo", Arial, sans-serif;
  --f-ui: "Roboto", Arial, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: clamp(84px, 9vw, 176px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 500;
  color: var(--navy);
  background: #fff;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-hyphens: none;
  hyphens: none;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, blockquote, dl, dd { margin: 0; }
input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.eyebrow { color: var(--blue); font-weight: 500; font-size: clamp(15px, 1.05vw, 20px); margin-bottom: .45em; }
.eyebrow--light { color: #fff; opacity: .9; }

/* ---------- Botones ---------- */
.btn {
  --h: 58px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--h);
  padding: 0 1.9em;
  border-radius: 10px;
  font-weight: 700; font-stretch: 125%;
  font-size: 17px;
  white-space: nowrap;
  transition: translate .35s var(--ease), scale .2s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s;
}
.btn:hover { translate: 0 -3px; }
.btn:active { translate: 0 0; scale: .98; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(17, 18, 48, .7); }
.btn--ink:hover { box-shadow: 0 16px 30px -12px rgba(17, 18, 48, .8); background: #1c1d4a; }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--blue { background: var(--blue); color: #fff; border-radius: 999px; box-shadow: 0 12px 26px -12px rgba(14, 89, 242, .8); }
.btn--blue:hover { background: #2a6dff; }

/* ---------- Icono app WhatsApp ---------- */
.wa-app {
  --s: 56px;
  flex: none;
  width: var(--s); height: var(--s);
  display: grid; place-items: center;
  border-radius: 24%;
  background: linear-gradient(180deg, var(--wa-1) 0%, #34d552 55%, var(--wa-2) 100%);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, .45), inset 0 -3px 6px rgba(0, 90, 20, .25), 0 8px 18px -8px rgba(20, 150, 50, .8);
  color: #fff;
}
.wa-app svg { width: 60%; height: 60%; filter: drop-shadow(0 1px 1px rgba(0, 80, 20, .3)); }
.wa-app--sm { --s: 46px; }
.wa-app--lg { --s: 66px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: clamp(10px, 2.4vw, 46px) var(--gutter) 0;
  transition: padding .45s var(--ease);
}
body::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1300px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 100% 0%, #b3cbfa 0%, rgba(183, 206, 250, 0) 70%),
    linear-gradient(90deg, #fff 45%, #cddcfb 100%);
}
.nav-shell {
  position: relative;
  max-width: 1788px; margin: 0 auto;
  display: flex; align-items: center; gap: clamp(10px, 1.3vw, 28px);
  height: clamp(64px, 6.1vw, 118px);
  padding: 0 clamp(8px, .6vw, 14px) 0 clamp(18px, 3vw, 58px);
  border-radius: 999px;
  background: rgba(238, 241, 248, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 10px 40px -24px rgba(30, 40, 100, .35);
  transition: height .45s var(--ease), box-shadow .45s var(--ease), background-color .45s;
}
.site-header.is-scrolled { padding-top: 10px; }
.site-header.is-scrolled .nav-shell { height: clamp(60px, 4.6vw, 84px); background: rgba(246, 248, 253, .9); box-shadow: 0 16px 40px -18px rgba(20, 30, 90, .35); }

.brand { display: flex; align-items: center; gap: clamp(6px, .55vw, 11px); color: var(--indigo); flex: none; }
.brand__mark { width: clamp(38px, 3.4vw, 66px); aspect-ratio: 260 / 331; height: auto; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; align-items: center; font-family: var(--f-logo); line-height: 1; }
.brand__name { font-weight: 700; font-size: clamp(19px, 1.72vw, 33px); letter-spacing: -.005em; }
.brand__sub { font-weight: 600; text-transform: uppercase; font-size: clamp(8px, .66vw, 12.5px); letter-spacing: .48em; margin-top: .3em; padding-left: .48em; }
.site-header.is-scrolled .brand__mark { width: clamp(34px, 2.8vw, 52px); }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav__list { display: flex; gap: clamp(10px, 1.3vw, 30px); }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 2px;
  font-weight: 700; font-stretch: 125%;
  font-size: clamp(14px, 1.25vw, 24px);
  padding: 10px 0;
  color: var(--navy);
  position: relative;
}
.nav-link svg { width: .62em; height: .62em; margin-top: .35em; transition: transform .3s var(--ease); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 1em; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav-item:hover .nav-link::after, .nav-link.is-current::after { transform: scaleX(1); }
.nav-item:hover .nav-link svg, .nav-item:focus-within .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  min-width: 250px; padding: 10px;
  display: grid; gap: 2px;
  background: #fff; border-radius: 18px;
  box-shadow: 0 24px 60px -20px rgba(20, 28, 80, .35), 0 0 0 1px rgba(20, 28, 80, .05);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.dropdown::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a, .dropdown__soon {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 12px;
  font-size: 15px; font-weight: 600; font-stretch: 110%; color: var(--navy);
  transition: background-color .2s, color .2s, padding .3s var(--ease);
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--soft); color: var(--blue); padding-left: 18px; }
.dropdown__soon { color: #9aa0b5; cursor: default; }
.dropdown__soon em { font-style: normal; font-size: 11px; background: var(--soft); color: var(--blue); padding: 3px 8px; border-radius: 999px; }

/* Plataforma estudiantil (Moodle): botón en el encabezado y tarjeta en el menú del celular */
.campus-icon { flex: none; display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--indigo); color: #fff; transition: transform .45s var(--ease); }
.campus-icon svg { width: 58%; height: 58%; }
.campus-link {
  flex: none; display: flex; align-items: center; gap: .55em;
  padding: .4em 1.05em .4em .4em; border-radius: 999px;
  font-size: clamp(12px, .85vw, 16px); color: var(--navy);
  background: #fff; box-shadow: 0 0 0 2px var(--navy) inset, 0 8px 20px -12px rgba(20, 30, 90, .45);
  transition: background-color .3s, color .3s, transform .45s var(--ease);
}
.campus-link__text { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.campus-link__text b { font-weight: 800; font-stretch: 125%; font-size: 1.05em; }
.campus-link__text small { font-weight: 600; font-stretch: 112%; font-size: max(10.5px, .82em); color: var(--blue); }
.campus-link:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.campus-link:hover .campus-link__text small { color: #c3bff7; }
.campus-link:hover .campus-icon { transform: rotate(-12deg); background: var(--blue); }
.main-nav__campus { display: none; }

/* Notificación de WhatsApp (estilo iOS) */
.wa-notify {
  --u: clamp(8px, .66vw, 13.5px);
  display: flex; align-items: center; flex: none;
  font-size: var(--u);
  transition: transform .45s var(--ease);
}
.wa-notify:hover { transform: translateY(-2px); }
.wa-notify .wa-app { --s: 6.3em; position: relative; z-index: 2; border-radius: 1.4em; }
.wa-notify__pill {
  margin-left: -1.1em;
  display: flex; flex-direction: column; justify-content: center;
  height: 5.35em; padding: 0 2.6em 0 2.2em;
  border-radius: 999px;
  background: linear-gradient(180deg, #dcdce1 0%, #c9c9cf 100%);
  border: 2px solid #b9b9c1;
  box-shadow: inset 0 3px 6px rgba(255, 255, 255, .65), inset 0 -4px 8px rgba(0, 0, 0, .06), 0 6px 18px -8px rgba(0, 0, 0, .35);
  color: #121212;
}
.wa-notify__top { display: flex; justify-content: space-between; align-items: baseline; gap: 2em; }
.wa-notify__top b { font-weight: 700; font-stretch: 125%; font-size: 1em; }
.wa-notify__top small { font-size: .78em; font-weight: 600; margin-right: -1.2em; }
.wa-notify__num { font-weight: 800; font-stretch: 125%; font-size: 2.05em; line-height: 1; letter-spacing: -.01em; }
.site-header.is-scrolled .wa-notify { --u: clamp(7.5px, .56vw, 11.5px); }

.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--indigo); position: relative; flex: none; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: clamp(12px, 1.7vw, 34px) var(--gutter) 0; overflow-x: clip; }
.hero__card {
  position: relative;
  max-width: 1773px; margin: 0 auto;
  height: clamp(520px, 42.3vw, 900px);
  border-radius: var(--radius-card);
  container: hero / inline-size;
  isolation: isolate;
}
.hero__stage, .hero__fx { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.hero__stage {
  z-index: 0;
  background:
    radial-gradient(40% 60% at 88% 12%, rgba(196, 204, 255, .55) 0%, rgba(196, 204, 255, 0) 70%),
    radial-gradient(50% 70% at 10% 90%, rgba(133, 126, 214, .45) 0%, rgba(133, 126, 214, 0) 70%),
    linear-gradient(100deg, #9d98db 0%, #a6a1e3 48%, #b2b1ef 100%);
  box-shadow: 0 30px 60px -40px rgba(50, 40, 140, .6);
}
.hero__grid {
  position: absolute; inset: 0;
  --cell: calc(100cqw / 49);
  background-image:
    linear-gradient(to right, var(--grid) 1.4px, transparent 1.4px),
    linear-gradient(to bottom, var(--grid) 1.4px, transparent 1.4px);
  background-size: var(--cell) var(--cell);
  background-position: -1px -1px;
}
.hero__light {
  position: absolute; inset: -20%;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .22) 48%, rgba(255, 255, 255, .06) 55%, transparent 64%);
  mix-blend-mode: soft-light;
  animation: heroSweep 9s ease-in-out infinite;
}
@keyframes heroSweep {
  0% { transform: translateX(-45%); }
  60%, 100% { transform: translateX(45%); }
}

.px { position: absolute; will-change: transform; }
.cloud { width: 100%; height: auto; overflow: visible; }
.cloud-wrap--tl { left: 5.6cqw; top: -8.2cqw; width: 30cqw; }
.cloud-wrap--tr { left: 63.4cqw; top: -5.6cqw; width: 23.5cqw; }
.cloud-wrap--r  { right: -4.6cqw; top: 1.4cqw; width: 15.5cqw; }
.cloud-wrap--br { right: 3cqw; bottom: -4.4cqw; width: 15cqw; }



.star-wrap { left: 75.4cqw; top: 4.4cqw; width: 5.6cqw; }
.star { width: 100%; height: auto; overflow: visible; transform: rotate(8deg); }
.star__g { transform-origin: 50% 50%; transform-box: fill-box; }
.spark { position: absolute; width: 1.1cqw; aspect-ratio: 1; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; }
.spark--1 { left: -60%; top: 70%; }
.spark--2 { left: 120%; top: -10%; width: .8cqw; }
.spark--3 { left: 90%; top: 115%; width: .6cqw; }

/* Foto de la familia + capa de la burbuja de chat (misma geometría) */
.people-frame {
  position: absolute; right: 0; bottom: 0;
  height: 100%; aspect-ratio: 973 / 813;
  container-type: inline-size;
}
.people-px { position: absolute; inset: 0; }
.people { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 100%; user-select: none; -webkit-user-drag: none; }
.people-frame--overlay { z-index: 4; pointer-events: none; }

.chat { position: absolute; inset: 0; pointer-events: none; display: block; color: #fff; }
.chat__ring, .chat__body { pointer-events: auto; }
.chat__ring {
  position: absolute; z-index: 2;
  left: 73.48%; top: 78.35%;
  width: 14.6cqw; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #f7f7f9, #dcdce2);
  box-shadow: 0 .8cqw 1.8cqw rgba(20, 20, 50, .22), inset 0 .3cqw .5cqw #fff;
}
.chat__avatar { width: 80%; height: 80%; border-radius: 50%; object-fit: cover; }
.chat__body {
  position: absolute;
  left: 54.4%; top: 78%;
  width: 37.8%; height: 30.4%;
  padding: 7.6cqw 2cqw 2cqw;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 1cqw;
  border-radius: 3.2cqw;
  background: linear-gradient(180deg, #ececf0 0%, #dedee4 100%);
  border: .28cqw solid rgba(255, 255, 255, .95);
  box-shadow: 0 2cqw 4cqw -1cqw rgba(24, 22, 70, .45), inset 0 -.5cqw 1.2cqw rgba(0, 0, 0, .06);
  transition: transform .5s var(--ease);
}
.chat__body::after {
  content: ""; position: absolute; left: 50%; bottom: -2.1cqw;
  width: 4cqw; height: 4cqw;
  transform: translateX(-50%) rotate(45deg);
  background: #dedee4;
  border-right: .28cqw solid rgba(255, 255, 255, .95);
  border-bottom: .28cqw solid rgba(255, 255, 255, .95);
  border-bottom-right-radius: .8cqw;
  box-shadow: .8cqw .8cqw 1.4cqw -.6cqw rgba(24, 22, 70, .35);
}
.chat:hover .chat__body { transform: translateY(-.4cqw); }
.chat__msgs { display: grid; grid-template-areas: "out" "in"; row-gap: .9cqw; }
.msg {
  display: block; position: relative;
  font-family: var(--f-ui); font-stretch: 100%;
  font-size: 1.06cqw; line-height: 1.25;
  padding: .6cqw .95cqw .65cqw;
  border-radius: 1cqw;
  max-width: 88%;
  box-shadow: 0 .3cqw .6cqw rgba(0, 0, 0, .12);
}
.msg small { display: block; text-align: right; font-size: .72em; opacity: .8; margin-top: .1em; }
.msg small b { color: #53bdeb; font-weight: 500; letter-spacing: -.2em; }
.msg--out { grid-area: out; justify-self: start; background: #0c6b52; border-top-left-radius: .2cqw; }
.msg--in { grid-area: in; justify-self: end; background: #36454f; border-top-right-radius: .2cqw; }
.msg--typing { grid-area: in; justify-self: end; align-self: start; display: flex; gap: .5cqw; padding: 1.1cqw 1.4cqw; background: #36454f; }
.msg--typing i { width: .75cqw; height: .75cqw; border-radius: 50%; background: #c8d1d6; animation: typing 1.1s infinite ease-in-out; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-.5cqw); opacity: 1; } }
.chat__bar { display: flex; align-items: center; gap: 1cqw; }
.chat__input {
  flex: 1; display: flex; align-items: center; gap: .9cqw;
  height: 3.2cqw; padding: 0 1.2cqw;
  border-radius: 999px; background: #fff;
  font-family: var(--f-ui); font-stretch: 100%; font-size: 1.05cqw; color: #8b8f99;
}
.chat__emoji, .chat__clip { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; border: .18cqw solid #9aa0aa; flex: none; }
.chat__emoji { border-radius: .4cqw; }
.chat__clip { margin-left: auto; border-radius: .8cqw .8cqw .8cqw .8cqw; width: .9cqw; }
.chat__mic { width: 3.2cqw; height: 3.2cqw; flex: none; border-radius: 50%; background: #1faa74; display: grid; place-items: center; box-shadow: 0 .4cqw .8cqw rgba(20, 120, 80, .4); }
.chat__mic svg { width: 55%; height: 55%; color: #fff; }
.chat__compact { display: none; }

/* Diapositivas */
.hero__slides { position: relative; z-index: 2; height: 100%; display: grid; }
.hs { grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-width: 0; }
.hs__inner { position: relative; width: 100%; padding: 1.5cqw 6.8cqw 0; }
.hs--pillars .hs-pillars__text { max-width: 45cqw; }
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.word { display: inline-block; }
.hs-main__title {
  color: #fff;
  font-weight: 800; font-stretch: 125%;
  font-size: max(32px, 5.6cqw);
  line-height: .96; letter-spacing: -.012em;
}
.hs-main__title .line { white-space: nowrap; }
.hs-main__title .line:last-child { overflow: visible; }
.y2027 {
  display: inline-flex;
  font-size: 1.37em; line-height: .8;
  vertical-align: -.3em;
  margin-left: .06em; letter-spacing: -.02em;
}
.y2027 > span { display: inline-block; }
.hs__lead {
  color: #fff;
  font-size: max(14px, 1.13cqw);
  line-height: 1.22;
  max-width: 40cqw;
  margin-top: 2cqw;
  text-wrap: pretty;
}
.hs__actions { display: flex; flex-wrap: wrap; gap: 1.8cqw; margin-top: 2.7cqw; }
.hs__actions--center { justify-content: center; }
.hero .btn { --h: max(44px, 3.25cqw); font-size: max(14px, .98cqw); padding: 0 max(20px, 1.95cqw); border-radius: max(8px, .55cqw); }

/* Diapositiva de marca */
.hs--brand .hs__inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 0; }
.brand-hero { display: flex; flex-direction: column; align-items: center; color: #fff; }
.brand-hero__mark { position: relative; width: 13.2cqw; aspect-ratio: 260 / 331; }
.brand-hero__lion { position: absolute; inset: 0; width: 100%; height: 100%; color: #fff; filter: drop-shadow(0 1cqw 1.6cqw rgba(40, 30, 120, .25)); }
.brand-hero__lion--shine {
  color: #fff; filter: drop-shadow(0 0 .7cqw rgba(255, 255, 255, .95));
  -webkit-mask-image: linear-gradient(110deg, transparent 42%, #000 50%, transparent 58%);
  mask-image: linear-gradient(110deg, transparent 42%, #000 50%, transparent 58%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  -webkit-mask-position: 120% 0; mask-position: 120% 0;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.brand-hero__name { font-family: var(--f-logo); font-weight: 700; font-size: max(30px, 3.9cqw); line-height: 1; margin-top: 1.3cqw; }
.brand-hero__sub { font-family: var(--f-logo); font-weight: 600; text-transform: uppercase; letter-spacing: .5em; padding-left: .5em; font-size: max(11px, 1.12cqw); margin-top: .5cqw; }
.brand-hero__tag { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6cqw 1.2cqw; color: #fff; font-size: max(13px, 1.1cqw); margin-top: 2cqw; }
.brand-hero__tag i { width: .45cqw; min-width: 5px; aspect-ratio: 1; border-radius: 50%; background: var(--star); }
.hs--brand .hs__actions { margin-top: 2.2cqw; }

/* Diapositiva de pilares */
.hs--pillars .hs__inner { display: flex; align-items: center; position: static; }
.hs-pillars__title { color: #fff; font-weight: 800; font-stretch: 125%; font-size: max(28px, 3.3cqw); line-height: 1; letter-spacing: -.01em; }
.doodle-pillars { position: absolute; inset: 0 0 0 52cqw; }
.dp { position: absolute; display: flex; flex-direction: column; align-items: center; gap: .9cqw; width: 14cqw; }
.dp--1 { left: 3cqw; top: 15%; }
.dp--2 { left: 21cqw; top: 25%; }
.dp--3 { left: 6cqw; top: 55%; }
.dp--4 { left: 25cqw; top: 63%; }
.dp__icon {
  width: 8.6cqw; height: 8.6cqw; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--indigo);
  border: .28cqw solid var(--line);
  box-shadow: .5cqw .55cqw 0 var(--line);
}
.dp__icon svg { width: 58%; height: 58%; }
.dp__label { background: var(--indigo); color: #fff; font-weight: 700; font-stretch: 118%; font-size: max(11px, .95cqw); padding: .45cqw 1cqw; border-radius: 999px; white-space: nowrap; border: .2cqw solid var(--line); }

/* Cohete-lápiz */
.hero__fx { z-index: 3; }
.rocket-home { position: absolute; left: 38.2cqw; top: 84.2%; width: 14.4cqw; transform: translate(-50%, -50%); }
.rocket-fly, .rocket-bob { width: 100%; }
.rocket-fly { transform: rotate(-35deg); }
.rocket { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 .5cqw .6cqw rgba(40, 30, 110, .25)); }
.rk-glow { transform-origin: 98px 75px; opacity: .0; }
.rk-flame { transform-origin: 98px 75px; }
.trail { position: absolute; width: .9cqw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff 0%, #ffe6a8 45%, rgba(255, 200, 120, 0) 70%); pointer-events: none; }

/* Comunidad (lateral izquierda) */
.hero__community {
  position: absolute; z-index: 5;
  left: calc(-1 * var(--gutter) + clamp(10px, 1.9vw, 37px));
  top: 36.5%; height: 54%;
  width: clamp(52px, 5.4vw, 104px);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 1.4vw 0 1vw;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(240, 242, 250, .92));
  box-shadow: 0 20px 40px -18px rgba(30, 30, 90, .45), inset 0 0 0 1px rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: translate .5s var(--ease);
}
.hero__community:hover { translate: 6px 0; }
.hero__community-label {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-weight: 800; font-stretch: 125%; font-size: clamp(11px, .95vw, 18px); color: var(--indigo); letter-spacing: .02em;
  white-space: nowrap;
}
.hero__community-avatars { display: flex; flex-direction: column; align-items: center; }
.hero__community-avatars img { width: clamp(32px, 3.3vw, 64px); height: clamp(32px, 3.3vw, 64px); border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-top: -30%; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .4); }
.hero__community-avatars img:first-child { margin-top: 0; }

/* Puntos */
.hero__dots { display: flex; width: fit-content; margin-inline: auto; justify-content: center; align-items: center; gap: clamp(16px, 1.9vw, 34px); padding-top: clamp(26px, 3vw, 58px); }
.dot { position: relative; width: 12px; height: 12px; display: grid; place-items: center; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8f8ca8; transition: transform .4s var(--ease), background-color .3s; }
.dot svg { position: absolute; inset: -9px; width: 30px; height: 30px; transform: rotate(-90deg); opacity: 0; transition: opacity .3s; }
.dot svg circle { fill: none; stroke: var(--indigo); stroke-width: 2.6; stroke-dasharray: 94.25; stroke-dashoffset: 94.25; }
.dot:hover::before { transform: scale(1.3); }
.dot.is-active::before { transform: scale(2.2); background: var(--indigo); }
.dot.is-active svg { opacity: .35; }

/* =========================================================
   NUESTRA PROPUESTA
   ========================================================= */
.proposal {
  position: relative;
  padding: clamp(46px, 5vw, 96px) 0 clamp(50px, 5.4vw, 104px);
  text-align: center;
  background: radial-gradient(45% 90% at 0% 100%, #c3d7fc 0%, rgba(195, 215, 252, 0) 70%);
}
.section-title { font-weight: 800; font-stretch: 125%; letter-spacing: -.01em; line-height: 1; }
.proposal__title { font-size: clamp(34px, 3.75vw, 72px); color: var(--navy); }
.proposal__text { max-width: 1580px; margin: clamp(14px, 1.3vw, 26px) auto 0; font-size: clamp(15px, 1.3vw, 25px); line-height: 1.02; color: var(--muted); text-wrap: balance; }

/* =========================================================
   ¿POR QUÉ? (video)
   ========================================================= */
/* La sección tiene la proporción del cortometraje (anamórfico, 2.39:1): el fotograma se ve completo. */
.why { position: relative; overflow: hidden; color: #fff; background: #0e1030; }
.why__frame { position: relative; width: 100%; aspect-ratio: 1920 / 804; overflow: hidden; }
.why__bg { position: absolute; inset: 0; }
.why__bg img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
.why__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(10, 10, 32, .78) 0%, rgba(10, 10, 32, .25) 38%, rgba(10, 10, 32, 0) 60%),
    radial-gradient(60% 90% at 0% 100%, rgba(10, 10, 32, .55) 0%, rgba(10, 10, 32, 0) 70%),
    rgba(10, 10, 32, .18);
}

/* Botón de reproducir: el círculo queda exactamente en el centro del fotograma */
.play { --s: clamp(62px, 6.6vw, 116px); position: absolute; left: 50%; top: 50%; z-index: 3; width: var(--s); height: var(--s); translate: -50% -50%; border-radius: 50%; color: #fff; }
.play__btn {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: var(--indigo);
  box-shadow: 0 0 0 clamp(6px, .6vw, 10px) rgba(255, 255, 255, .22), 0 22px 44px -14px rgba(0, 0, 0, .6);
  transition: scale .5s var(--ease), box-shadow .5s var(--ease);
}
.play__btn svg { width: 40%; height: 40%; }
.play:hover .play__btn { scale: 1.08; box-shadow: 0 0 0 clamp(10px, .9vw, 15px) rgba(255, 255, 255, .28), 0 26px 50px -14px rgba(0, 0, 0, .65); }
.play:focus-visible { outline-offset: 10px; }
.play__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .75); animation: ring 2.6s var(--ease) infinite; pointer-events: none; }
.play__ring--2 { animation-delay: 1.3s; }
@keyframes ring { 0% { scale: 1; opacity: .85; } 100% { scale: 1.9; opacity: 0; } }
.play__label {
  position: absolute; left: 50%; top: calc(100% + clamp(14px, 1.4vw, 22px)); translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  white-space: nowrap; font-weight: 800; font-stretch: 125%; font-size: clamp(13px, 1.05vw, 18px);
  letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}
.play__label small { font-weight: 600; font-stretch: 110%; font-size: .78em; letter-spacing: .02em; text-transform: none; opacity: .88; }

/* Título como el de una película: abajo a la izquierda, sobre el fotograma */
.why__content { position: absolute; z-index: 2; left: clamp(20px, 4vw, 76px); bottom: clamp(20px, 3.2vw, 58px); max-width: min(40%, 620px); text-align: left; }
.why__title { font-weight: 800; font-stretch: 125%; font-size: clamp(28px, 3.3vw, 62px); line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.why__text { margin-top: clamp(10px, 1.1vw, 18px); font-size: clamp(14px, 1.05vw, 19px); line-height: 1.38; color: rgba(255, 255, 255, .9); text-wrap: pretty; }

/* =========================================================
   PILARES
   ========================================================= */
.pillars { padding: clamp(48px, 5.1vw, 98px) 0 clamp(40px, 3.2vw, 62px); }
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.15vw, 42px); max-width: 1560px; margin: 0 auto; }
.pcard {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(30px, 2.8vw, 54px) clamp(18px, 1.6vw, 32px) clamp(34px, 3vw, 58px);
  min-height: clamp(330px, 21.4vw, 412px);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(40, 50, 110, .18), 0 0 0 1px rgba(40, 50, 110, .04);
  color: var(--navy);
  transition: background-color .5s var(--ease), color .4s, translate .6s var(--ease), box-shadow .6s var(--ease);
}
.pcard::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 420' preserveAspectRatio='none'%3E%3Cpath d='M0 250C120 205 250 300 400 215V420H0Z' fill='%23fff' fill-opacity='.05'/%3E%3Cpath d='M0 330C140 285 260 365 400 300V420H0Z' fill='%23fff' fill-opacity='.05'/%3E%3Cpath d='M0 150C150 115 250 200 400 120' stroke='%23fff' stroke-opacity='.06' fill='none' stroke-width='2'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.pcard > * { position: relative; }
.pcard.is-active { background: var(--indigo); color: #fff; translate: 0 -6px; box-shadow: 0 40px 70px -30px rgba(42, 40, 77, .65); }
.pcard.is-active::before { opacity: 1; }
.pcard__icon { width: clamp(64px, 4.6vw, 90px); height: clamp(64px, 4.6vw, 90px); margin-bottom: clamp(14px, 1.2vw, 24px); transition: transform .6s var(--ease); }
.pcard:hover .pcard__icon { transform: translateY(-4px) rotate(-4deg) scale(1.06); }
.pcard__title { font-weight: 800; font-stretch: 125%; font-size: clamp(21px, 1.72vw, 33px); line-height: 1.08; }
.pcard__text { margin-top: clamp(12px, 1.1vw, 20px); font-size: clamp(14px, .86vw, 16.5px); line-height: 1.25; color: var(--muted); max-width: 16em; transition: color .4s; }
.pcard.is-active .pcard__text { color: rgba(255, 255, 255, .9); }
.pcard__more { margin-top: auto; padding-top: clamp(18px, 1.6vw, 30px); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-stretch: 118%; font-size: clamp(16px, 1.05vw, 20px); }
.pcard__more svg { width: 1.4em; height: 1.4em; transition: transform .4s var(--ease); }
.pcard__more:hover svg { transform: translateX(6px); }

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.testimonials {
  position: relative; overflow: hidden;
  padding: clamp(60px, 7vw, 134px) 0 clamp(50px, 5vw, 96px);
  margin-top: clamp(20px, 3vw, 60px);
  border-radius: clamp(40px, 6.5vw, 125px) clamp(40px, 6.5vw, 125px) 0 0;
  background:
    radial-gradient(35% 70% at 0% 50%, #bdd0f8 0%, rgba(189, 208, 248, 0) 100%),
    radial-gradient(30% 80% at 100% 80%, #b9cdf8 0%, rgba(185, 205, 248, 0) 100%),
    var(--soft);
}
.testimonials__inner { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 60%); align-items: center; gap: clamp(20px, 3vw, 60px); max-width: 1500px; }
.orbit { position: relative; width: min(100%, 560px); aspect-ratio: 560 / 470; justify-self: center; }
.orbit__ring { position: absolute; left: 13%; top: -6%; width: 87%; height: auto; overflow: visible; }
.orbit__ring circle { fill: none; stroke: #c6cbdc; stroke-width: .25; vector-effect: non-scaling-stroke; }
.orbit__main { position: absolute; left: 16%; top: 0; width: 66%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(20, 30, 90, .5); }
.orbit__main img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); }
.orbit__sat { position: absolute; border-radius: 50%; overflow: hidden; box-shadow: 0 16px 30px -14px rgba(20, 30, 90, .55); transition: scale .5s var(--ease); }
.orbit__sat img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.orbit__sat:hover { scale: 1.08; }
.orbit__sat--a { left: 0; top: -6%; width: 18%; aspect-ratio: 1; }
.orbit__sat--b { right: 4%; bottom: 0; width: 22%; aspect-ratio: 1; }

.testi { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(14px, 4vw, 90px); }
.testi__body { max-width: 660px; }
.testi__title { font-weight: 800; font-stretch: 125%; font-size: clamp(26px, 2.15vw, 41px); line-height: 1.02; color: var(--navy); }
.testi__stars { display: flex; gap: 6px; margin: clamp(16px, 1.6vw, 30px) 0 clamp(14px, 1.3vw, 24px); color: var(--blue); }
.testi__stars svg { width: clamp(18px, 1.25vw, 24px); height: clamp(18px, 1.25vw, 24px); }
.testi__quote { font-size: clamp(15px, .98vw, 18.5px); line-height: 1.55; color: var(--gray); font-weight: 400; }
.testi__name { margin-top: clamp(18px, 1.9vw, 36px); font-weight: 800; font-stretch: 125%; font-size: clamp(19px, 1.35vw, 26px); color: var(--navy); }
.testi__role { color: var(--blue); font-size: clamp(14px, .9vw, 17px); }
.round-btn { width: 46px; height: 46px; flex: none; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: 0 10px 24px -12px rgba(20, 40, 120, .45); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.round-btn svg { width: 50%; height: 50%; }
.round-btn:hover { background: var(--blue); color: #fff; transform: scale(1.08); }
.testi__prev { align-self: start; margin-top: clamp(80px, 7.2vw, 140px); }
.testi__next { align-self: start; margin-top: clamp(80px, 7.2vw, 140px); }

/* =========================================================
   EN CIFRAS
   ========================================================= */
.stats {
  position: relative; overflow: hidden;
  background: var(--dark);
  color: #fff;
  padding: clamp(30px, 1.9vw, 38px) 0 clamp(40px, 3vw, 58px);
}
.stats::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: clamp(90px, 7.3vw, 140px) clamp(90px, 7.3vw, 140px);
  background-position: center top;
}
.stats__inner { position: relative; display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 56%); align-items: center; gap: clamp(24px, 4vw, 90px); max-width: 1540px; }
.stats__media { position: relative; justify-self: end; width: min(100%, 520px); margin-right: clamp(0px, 2vw, 40px); }
.stats__blob { position: absolute; left: -32%; top: 22%; width: 52%; height: auto; overflow: visible; }
.deck { position: relative; }
.deck__stack { position: relative; display: block; width: 100%; aspect-ratio: 2 / 3; cursor: pointer; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.deck__card {
  position: absolute; inset: 0;
  border-radius: 36px 66px 46px 36px; overflow: hidden;
  background: #11121a;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .06);
  will-change: transform;
}
.deck__card:first-child { z-index: 30; }
.deck__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.deck__stack:focus-visible { outline-offset: 8px; border-radius: 40px; }
.deck__hint { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.deck__count { font-weight: 800; font-stretch: 125%; color: #fff; background: rgba(14, 89, 242, .22); border: 1px solid var(--blue); padding: 3px 12px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.stats__content { position: relative; max-width: 830px; padding: 20px 0; }
.stats__title { font-weight: 600; font-stretch: 125%; font-size: clamp(32px, 2.9vw, 56px); line-height: .95; }
.stats__text { margin-top: clamp(20px, 2.2vw, 42px); font-size: clamp(15px, 1.3vw, 25px); line-height: 1.2; text-wrap: pretty; }
.stat-list { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 1.2vw, 22px) clamp(12px, 1.2vw, 22px); margin-top: clamp(22px, 1.9vw, 36px); max-width: 700px; }
.stat {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .28em .5em;
  border: 1.5px solid var(--blue); border-radius: 12px;
  font-size: clamp(14px, .98vw, 18.5px);
  background: rgba(14, 89, 242, .04);
  transition: background-color .35s, translate .45s var(--ease), box-shadow .45s var(--ease);
}
.stat:hover { background: rgba(14, 89, 242, .16); translate: 0 -3px; box-shadow: 0 10px 30px -14px rgba(14, 89, 242, .9); }
.stat b { font-weight: 800; font-stretch: 125%; font-size: 2.4em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat > span { font-weight: 800; font-size: 2.4em; line-height: 1; margin-left: -.18em; }
.stat em { font-style: normal; font-weight: 500; margin-left: .2em; }
.stat--icon { flex-basis: auto; padding: .55em .8em .55em .6em; }
.stat--icon svg { width: 1.9em; height: 1.9em; color: var(--blue); }
.stats__logo { display: flex; align-items: center; gap: 10px; margin-left: auto; padding: 4px 0 0 16px; color: #fff; }
.stats__logo svg { width: clamp(44px, 3.7vw, 72px); aspect-ratio: 260 / 331; height: auto; }
.stats__logo .brand__name { font-size: clamp(22px, 1.75vw, 34px); }
.stats__logo .brand__sub { font-size: clamp(9px, .7vw, 13px); }

/* =========================================================
   FAMILIAS
   ========================================================= */
.families { background: var(--soft); padding: clamp(24px, 2.3vw, 44px) 0 clamp(50px, 5vw, 96px); }
.families__inner { display: grid; grid-template-columns: minmax(0, 43%) minmax(0, 57%); align-items: center; gap: clamp(24px, 3vw, 56px); max-width: 1800px; width: min(100% - 2 * clamp(14px, 3.1vw, 60px), 1800px); }
.fam-card { position: relative; overflow: hidden; aspect-ratio: 736 / 385; border-radius: clamp(26px, 2.35vw, 45px); isolation: isolate; box-shadow: 0 30px 60px -30px rgba(20, 20, 50, .45); }
.fam-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease); }
.fam-card:hover .fam-card__img { transform: scale(1.05); }
.fam-card__content { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; padding: 20px; }
.fam-card__num { font-weight: 800; font-stretch: 125%; font-size: clamp(64px, 6.9vw, 132px); line-height: .9; letter-spacing: -.02em; display: flex; align-items: flex-start; }
.fam-card__num span { margin-left: .06em; }
.fam-card__label { font-size: clamp(15px, 1.25vw, 24px); margin-top: .3em; }
.fam-card__btn {
  position: relative; margin-top: clamp(12px, 1vw, 20px);
  display: inline-flex; align-items: center;
  padding: .55em 1em .55em 1em;
  border-radius: 12px;
  font-weight: 800; font-stretch: 125%; font-size: clamp(16px, 1.45vw, 28px);
  background: linear-gradient(90deg, #1b2663 0%, #3148a0 55%, #4d67c6 100%);
  box-shadow: 0 16px 30px -14px rgba(40, 70, 190, .8);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.fam-card__btn .wa-app { position: absolute; left: -.9em; top: -1.3em; --s: 2.3em; transform: rotate(-8deg); transition: transform .5s var(--ease); }
.fam-card__btn .wa-app::after { content: ""; position: absolute; left: 6%; bottom: -14%; border: .35em solid transparent; border-top-color: #22c33e; border-left-color: #22c33e; transform: rotate(10deg); }
.fam-card__btn:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -16px rgba(40, 70, 190, .9); }
.fam-card__btn:hover .wa-app { transform: rotate(4deg) scale(1.1); }
.families__content { padding-right: clamp(0px, 2vw, 60px); }
.families__head { display: inline-flex; flex-direction: column; align-items: center; }
.families__icon { width: clamp(70px, 5vw, 96px); aspect-ratio: 130 / 93; height: auto; color: #1c2140; margin: 0 0 clamp(10px, .9vw, 16px); }
.families__title { font-weight: 600; font-stretch: 125%; font-size: clamp(30px, 3vw, 58px); line-height: .95; color: var(--dark); }
.families__text { margin-top: clamp(20px, 2.1vw, 40px); max-width: 900px; font-size: clamp(15px, 1.3vw, 25px); line-height: 1.2; color: #4d5062; text-wrap: pretty; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { position: relative; overflow: hidden; background: #000; color: #fff; padding: clamp(80px, 6.6vw, 128px) 0 clamp(80px, 6vw, 118px); }
.contact__bg { position: absolute; inset: 0; background: url("../assets/img/contacto-circuito.webp") center / cover no-repeat; opacity: .95; }
.contact::before, .contact::after { content: ""; position: absolute; z-index: 1; background: #041a49; pointer-events: none; }
.contact::before { left: 0; top: 0; width: 33%; height: 90px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.contact::after { right: 0; bottom: 0; width: 33%; height: 60px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.contact__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 520px); justify-content: center; gap: clamp(30px, 3.2vw, 62px); align-items: start; }
.contact__title { font-weight: 800; font-stretch: 125%; font-size: clamp(34px, 2.45vw, 48px); line-height: 1; }
.contact__text { margin-top: 14px; font-size: clamp(14px, .92vw, 17.5px); line-height: 1.12; max-width: 30em; }
.visit-form { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.05vw, 20px); margin-top: clamp(22px, 1.6vw, 30px); }
.field--full { grid-column: 1 / -1; }
.visit-form input, .visit-form textarea {
  width: 100%;
  font-family: var(--f-ui); font-stretch: 100%; font-size: 16px; color: #1b1d2a;
  background: #fff; border: 2px solid transparent;
  border-radius: 999px; padding: 0 20px; height: 54px;
  transition: border-color .25s, box-shadow .35s var(--ease);
}
.visit-form textarea { height: 165px; border-radius: 16px; padding: 16px 20px; resize: vertical; min-height: 120px; }
.visit-form input::placeholder, .visit-form textarea::placeholder { color: #6f7382; }
.visit-form input:focus, .visit-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 5px rgba(14, 89, 242, .3); }
.visit-form .is-invalid { border-color: #ff5a6e; box-shadow: 0 0 0 4px rgba(255, 90, 110, .25); }
.visit-form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.visit-form .btn--blue { --h: 54px; font-size: 17px; }
.form-note { font-size: 14px; color: #b9c6ff; }
.consent__label { display: flex; align-items: flex-start; gap: 12px; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .85); cursor: pointer; }
.consent__label input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.consent__label input.is-invalid { outline: 3px solid #ff5a6e; outline-offset: 2px; border-radius: 4px; }
.consent__label a { color: #8fb2ff; }
.consent__label a:hover { color: #fff; }
.form-note.is-error { color: #ff8a98; }
.map { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 538 / 564; box-shadow: 0 40px 80px -40px rgba(14, 89, 242, .6); }
.map img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.map:hover img { transform: scale(1.04); }
.map__pin { position: absolute; left: 47.6%; top: 51.6%; width: 44px; height: 44px; margin: -52px 0 0 -22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--indigo); display: grid; place-items: center; box-shadow: 0 10px 20px -6px rgba(0, 0, 0, .5); animation: pin 2.4s var(--ease) infinite; }
.map__pin svg { width: 58%; height: 58%; color: #fff; transform: rotate(45deg); }
.map__pin::after { content: ""; position: absolute; left: -12px; bottom: -12px; width: 24px; height: 24px; border-radius: 50%; background: rgba(42, 40, 77, .35); animation: pinPulse 2.4s ease-out infinite; z-index: -1; }
@keyframes pin { 0%, 100% { transform: rotate(-45deg) translate(0, 0); } 50% { transform: rotate(-45deg) translate(4px, -4px); } }
@keyframes pinPulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.map__btn { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 700; font-stretch: 118%; font-size: 15px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.map__btn svg { width: 18px; height: 18px; color: var(--blue); }
.map__btn:hover { transform: translateY(-3px); background: var(--blue); color: #fff; }
.map__btn:hover svg { color: #fff; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative; background: #000 url("../assets/img/footer-mapa.webp") center top / cover no-repeat; color: #fff;
  padding: clamp(60px, 5.6vw, 108px) 0 26px;
  border-top: clamp(10px, 1.3vw, 24px) solid #fff;
}
.site-footer .container { max-width: 1400px; }
.footer__top { display: grid; grid-template-columns: 1.35fr 1fr 1.2fr 1fr; gap: clamp(28px, 3vw, 56px); padding-left: clamp(0px, 1vw, 20px); }
.brand--light { color: #fff; }
.brand--light .brand__mark { width: clamp(56px, 4vw, 76px); }
.brand--light .brand__name { font-size: clamp(26px, 1.9vw, 36px); }
.brand--light .brand__sub { font-size: clamp(10px, .75vw, 14px); }
.social { display: flex; gap: 10px; margin: 22px 0 0 clamp(0px, 3vw, 60px); }
.social a { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; transition: transform .4s var(--ease), background-color .3s, color .3s; }
.social a svg { width: 20px; height: 20px; }
.social a:hover { background: var(--blue); color: #fff; transform: translateY(-4px); }
.footer__col h3 { font-weight: 800; font-stretch: 125%; font-size: clamp(19px, 1.25vw, 24px); margin-bottom: clamp(18px, 1.6vw, 28px); }
.footer__col li + li { margin-top: 12px; }
.footer__col a { font-size: clamp(14px, .85vw, 16px); font-weight: 500; transition: color .25s, padding .3s var(--ease); }
.footer__col ul a:hover { color: var(--blue); padding-left: 6px; }
.footer__col li:first-child a { color: var(--blue); font-weight: 700; }
.footer__col dt { font-weight: 800; font-stretch: 125%; font-size: 16px; }
.footer__col dd { margin: 4px 0 12px; }
.footer__col dd a { color: var(--blue); }
.footer__col dd a:hover { color: #fff; }
.footer__news { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-top: clamp(40px, 4.4vw, 84px); padding: clamp(28px, 2.9vw, 56px) 0; border-block: 1px solid #2a3150; }
.footer__news-title { font-weight: 800; font-stretch: 125%; font-size: clamp(28px, 2.4vw, 46px); line-height: 1; }
.news-form { position: relative; display: flex; align-items: center; width: min(100%, 548px); padding: 4px; border-radius: 999px; background: #fff; }
.news-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 22px; height: 46px; font-size: 16px; color: #1b1d2a; }
.news-form input::placeholder { color: #7a7e8c; }
.news-form button { height: 46px; padding: 0 clamp(22px, 2.2vw, 42px); border-radius: 999px; background: var(--blue); color: #fff; font-family: var(--f-logo); font-weight: 700; font-size: 16px; transition: background-color .25s, transform .35s var(--ease); }
.news-form button:hover { background: #2a6dff; }
.news-form:focus-within { box-shadow: 0 0 0 4px rgba(14, 89, 242, .45); }
.news-legal { flex-basis: 100%; margin: -14px 0 0; text-align: right; font-size: 13px; line-height: 1.5; color: #9aa1bb; }
.news-legal a { color: #fff; }
.news-legal a:hover { color: #8fb2ff; }
.news-status:not(:empty) { display: block; margin-top: 4px; }
.news-status.is-error { color: #ff8a98; }
.footer__legal { padding-top: 22px; text-align: center; font-family: var(--f-ui); font-stretch: 100%; font-size: clamp(13px, .85vw, 16px); line-height: 1.5; color: #e6e8f0; }
.footer__legal a:hover { color: var(--blue); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: clamp(14px, 2vw, 34px); bottom: clamp(14px, 2vw, 34px); z-index: 60; display: flex; align-items: center; gap: 12px; }
.wa-float .wa-app { animation: waPulse 3s ease-in-out infinite; }
.wa-float__tip { background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 14px 14px 4px 14px; font-size: 14px; font-weight: 700; font-stretch: 112%; line-height: 1.2; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .35); opacity: 0; transform: translateX(10px); transition: opacity .35s, transform .45s var(--ease); pointer-events: none; }
.wa-float__tip b { display: block; font-size: 12px; font-weight: 500; color: #1fa33a; }
.wa-float:hover .wa-float__tip, .wa-float.show-tip .wa-float__tip { opacity: 1; transform: none; }
@keyframes waPulse { 0%, 100% { box-shadow: inset 0 2px 2px rgba(255, 255, 255, .45), 0 8px 18px -8px rgba(20, 150, 50, .8), 0 0 0 0 rgba(37, 211, 102, .45); } 50% { box-shadow: inset 0 2px 2px rgba(255, 255, 255, .45), 0 8px 18px -8px rgba(20, 150, 50, .8), 0 0 0 14px rgba(37, 211, 102, 0); } }

/* Modales */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 10, 30, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__box { position: relative; width: min(100%, 980px); border-radius: 24px; background: #fff; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); }
.modal__close { position: absolute; right: -8px; top: -8px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); transition: transform .35s var(--ease); }
.modal__close svg { width: 20px; height: 20px; }
.modal__close:hover { transform: rotate(90deg); }
.modal__box--video { background: #000; aspect-ratio: 16 / 9; overflow: visible; }
.video-slot { width: 100%; height: 100%; border-radius: inherit; overflow: hidden; display: grid; place-items: center; color: #fff; text-align: center; }
.video-slot iframe, .video-slot video { width: 100%; height: 100%; border: 0; }
/* Cortometraje en formato cine (2.39:1) */
.modal--film .modal__backdrop { background: rgba(4, 6, 20, .9); }
.modal--film .modal__box--video {
  width: min(100%, 1480px, calc((100svh - 150px) * 2.388));
  aspect-ratio: 1920 / 804;
  border-radius: 14px;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9);
}
.film { display: block; background: #000; object-fit: contain; border-radius: inherit; }
.film:focus { outline: none; }
.film::cue { font-family: var(--f-display); font-stretch: 100%; font-size: .95em; line-height: 1.35; color: #fff; background: rgba(0, 0, 0, .55); }
.film-caption { position: absolute; left: 4px; right: 4px; top: calc(100% + 14px); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0; color: #fff; }
.film-caption b { font-weight: 800; font-stretch: 125%; font-size: clamp(16px, 1.4vw, 22px); }
.film-caption span { color: rgba(255, 255, 255, .65); font-size: 14px; }
.video-empty { padding: 30px; max-width: 560px; }
.video-empty svg { width: 64px; height: 80px; margin: 0 auto 18px; color: #fff; }
.video-empty h3 { font-weight: 800; font-stretch: 125%; font-size: clamp(22px, 2vw, 32px); }
.video-empty p { margin: 10px 0 22px; color: #c9cbe0; }
.modal__box--pillar { width: min(100%, 620px); padding: clamp(30px, 4vw, 54px); text-align: left; }
.pillar-modal__icon { width: 74px; height: 74px; color: var(--indigo); margin-bottom: 18px; }
.pillar-modal__title { font-weight: 800; font-stretch: 125%; font-size: clamp(26px, 2.2vw, 36px); line-height: 1.05; color: var(--navy); }
.pillar-modal__text { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.5; }
.pillar-modal__list { margin: 18px 0 26px; display: grid; gap: 10px; }
.pillar-modal__list li { position: relative; padding-left: 30px; color: var(--navy); font-size: 16px; }
.pillar-modal__list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.modal-open { overflow: hidden; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 14px; font-size: 15px; font-weight: 600; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); transition: opacity .35s, transform .45s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   HERO: diapositiva de bilingüismo
   ========================================================= */
.hs--english .hs__inner { display: flex; align-items: center; position: static; }
.hs-english__text { max-width: 50cqw; }
.hs-english__title { color: #fff; font-weight: 800; font-stretch: 125%; font-size: max(28px, 3.9cqw); line-height: 1; letter-spacing: -.01em; }
.speech-doodles { position: absolute; inset: 0 0 0 52cqw; }
.sd {
  position: absolute;
  padding: .9cqw 1.6cqw;
  border-radius: 1.6cqw;
  background: #fff; color: var(--ink);
  border: .26cqw solid var(--line);
  box-shadow: .45cqw .5cqw 0 var(--line);
  font-weight: 800; font-stretch: 118%; font-size: max(13px, 1.55cqw);
  white-space: nowrap;
}
.sd::after {
  content: ""; position: absolute; left: 18%; bottom: -1.05cqw;
  width: 1.8cqw; height: 1.8cqw;
  background: inherit;
  border-right: .26cqw solid var(--line); border-bottom: .26cqw solid var(--line);
  transform: rotate(45deg) skew(8deg, 8deg);
}
.sd--1 { left: 6cqw; top: 17%; rotate: -6deg; }
.sd--2 { left: 23cqw; top: 31%; rotate: 5deg; background: var(--star); }
.sd--3 { left: 3cqw; top: 55%; rotate: 4deg; }
.sd--4 { left: 19cqw; top: 70%; rotate: -4deg; background: #8fb2ff; }

/* =========================================================
   BILINGÜISMO CAMBRIDGE
   ========================================================= */
.eyebrow--sky { color: #8fb2ff; }
.btn--line { color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); border-radius: 999px; }
.btn--line:hover { background: #fff; color: var(--ink); }

.english {
  position: relative; overflow: hidden;
  color: #fff;
  padding: clamp(70px, 7vw, 130px) 0 clamp(70px, 6vw, 120px);
  background: #101545;
}
.english__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(88, 108, 255, .38) 0%, rgba(88, 108, 255, 0) 70%),
    radial-gradient(45% 60% at 0% 100%, rgba(163, 158, 223, .32) 0%, rgba(163, 158, 223, 0) 70%),
    linear-gradient(160deg, #0f1443 0%, #1a1f5c 55%, #25226b 100%);
}
.english__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 80%);
}
.english__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  grid-template-areas: "content visual" "route route";
  gap: clamp(36px, 4vw, 70px) clamp(30px, 5vw, 90px);
  align-items: center;
  max-width: 1500px;
}
.english__content { grid-area: content; }
.english__visual { grid-area: visual; position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 clamp(20px, 3vw, 60px); }
.english__route { grid-area: route; }
.english__title { font-weight: 800; font-stretch: 125%; font-size: clamp(34px, 3.6vw, 68px); line-height: 1.02; letter-spacing: -.01em; }
.english__hl { color: var(--star); }
.english__lead { margin-top: clamp(18px, 1.6vw, 28px); font-size: clamp(15px, 1.15vw, 21px); line-height: 1.4; color: rgba(255, 255, 255, .88); max-width: 40em; }
.english__note {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: clamp(16px, 1.4vw, 24px); max-width: 40em;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  font-size: clamp(14px, .95vw, 17px); line-height: 1.4; color: #fff;
}
.english__note svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--star); }
.english__note b { font-weight: 800; }
.english__perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(26px, 2.4vw, 40px); }
.perk {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background-color .3s, translate .45s var(--ease);
}
.perk:hover { background: rgba(255, 255, 255, .1); translate: 0 -3px; }
.perk svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--blue); color: #fff; box-shadow: 0 10px 20px -10px rgba(14, 89, 242, .9); }
.perk b { display: block; font-weight: 800; font-stretch: 118%; font-size: clamp(15px, 1vw, 18px); margin-bottom: 4px; }
.perk span { display: block; font-size: clamp(13.5px, .85vw, 15px); line-height: 1.4; color: rgba(255, 255, 255, .78); }

/* Carnet con cordón */
.lanyard { position: relative; z-index: 2; display: flex; flex-direction: column; width: min(100%, 330px); transform-origin: 30% 0; }
.lanyard { animation: sway 5.5s ease-in-out infinite alternate; }
@keyframes sway { from { rotate: -2.2deg; } to { rotate: 2.2deg; } }
.lanyard__strap { width: 58%; height: auto; margin: -8px 0 -7% 1%; position: relative; z-index: 3; pointer-events: none; }
.id-card { position: relative; display: block; width: 100%; aspect-ratio: 54 / 86; perspective: 1400px; container-type: inline-size; cursor: pointer; transition: translate .45s var(--ease); }
.id-card:hover { translate: 0 -5px; }
/* El giro lo hace main.js en dos mitades; aquí no se usa backface-visibility (falla en Safari/iPad). */
.id-card__inner { position: absolute; inset: 0; }
.id-card__face {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 7cqw;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .6);
  text-align: left;
}
.id-card.is-flipped .id-card__front { visibility: hidden; }
.id-card__front { background: linear-gradient(180deg, #fff 0%, #eceef5 100%); }
.id-card__front::after {
  content: ""; position: absolute; inset: auto 0 0; height: 8%; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(236, 238, 245, 0), rgba(226, 228, 238, .95));
}
.id-slot { position: absolute; z-index: 6; top: 4.6%; left: 19%; width: 22%; height: 3.3%; border-radius: 999px; background: #141848; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .6); }
.id-logo { position: absolute; z-index: 6; top: 3.4%; right: 7%; display: flex; align-items: center; gap: 2cqw; color: var(--indigo); }
.id-logo svg { width: 8.5cqw; aspect-ratio: 260 / 331; height: auto; }
.id-logo .brand__name { font-size: 6.2cqw; }
.id-logo .brand__sub { font-size: 2.3cqw; }
.id-band {
  position: absolute; z-index: 1; left: 0; top: 13%; bottom: 0; width: 56%;
  background: linear-gradient(180deg, #1d1c47 0%, #232260 70%, #3a3a74 100%);
  border-top-right-radius: 70% 18%;
}
.id-ring { position: absolute; z-index: 1; width: 125%; aspect-ratio: 1; border-radius: 50%; left: 26%; top: 17%; background: #243a9b; }
.id-photo {
  position: absolute; z-index: 3; left: 17%; top: 22%; width: 68%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, #f4f4f8 0%, #3b3b72 100%);
  box-shadow: 0 2cqw 5cqw -1cqw rgba(0, 0, 0, .45), 0 0 0 1.4cqw rgba(255, 255, 255, .08);
}
.id-photo img { width: 100%; height: 100%; object-fit: cover; }
.id-data { position: absolute; z-index: 4; left: 8%; bottom: 10%; display: flex; flex-direction: column; color: #fff; line-height: 1.15; }
.id-data small { font-size: 3.6cqw; opacity: .9; }
.id-data b { font-weight: 800; font-stretch: 112%; font-size: 10cqw; line-height: .95; margin: 1cqw 0 2.4cqw; text-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .35); }
.id-data span { font-size: 3.5cqw; }
.id-data .id-data__strong { font-weight: 800; }
.id-card__back {
  visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3.2cqw;
  padding: 18% 9% 9%;
  background: linear-gradient(180deg, #f5f5f8 0%, #dedee5 100%);
  color: var(--indigo); text-align: center;
}
.id-card.is-flipped .id-card__back { visibility: visible; }
.id-qr { width: 44%; aspect-ratio: 1; height: auto; color: var(--indigo); shape-rendering: crispEdges; }
.id-web { font-weight: 800; font-size: 4.6cqw; }
.id-legal { font-size: 3.4cqw; line-height: 1.35; }
.id-contact { font-size: 3.8cqw; }
.id-contact b { display: block; font-weight: 800; font-size: 4.6cqw; }
.id-logo--back { position: static; flex-direction: column; gap: 1cqw; margin-top: 1cqw; }
.id-logo--back svg { width: 11cqw; }
.lanyard__hint { margin-top: 18px; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, .7); }

.english__bubbles { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 18px; margin-top: 26px; }
.bubble {
  position: relative; z-index: 3;
  padding: 10px 16px; border-radius: 18px;
  background: #fff; color: var(--ink);
  border: 3px solid var(--line); box-shadow: 5px 5px 0 var(--line);
  font-weight: 800; font-stretch: 118%; font-size: clamp(13px, 1vw, 17px); white-space: nowrap;
  animation: bubbleFloat 4.6s ease-in-out infinite alternate;
}
.bubble--1 { rotate: -6deg; }
.bubble--2 { rotate: 5deg; background: var(--star); animation-delay: -1.6s; }
.bubble--3 { rotate: -3deg; background: #8fb2ff; animation-delay: -3s; }
@keyframes bubbleFloat { from { translate: 0 -6px; } to { translate: 0 8px; } }
.english__seal { position: absolute; right: 0; top: 0; z-index: 4; background: #fff; padding: 12px 16px; border-radius: 14px; }
.english__seal img { max-width: 150px; height: auto; }

/* Ruta de certificación */
.english__route {
  padding: clamp(24px, 3vw, 48px);
  border-radius: 28px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
}
.route__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 8px 24px; margin-bottom: clamp(22px, 2.2vw, 36px); }
.route__head h3 { font-weight: 800; font-stretch: 125%; font-size: clamp(22px, 1.8vw, 32px); line-height: 1.1; }
.route__head p { color: rgba(255, 255, 255, .75); font-size: clamp(14px, .95vw, 17px); }
.ladder { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 20px); align-items: end; }
.step { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.step__bar {
  display: flex; justify-content: center; align-items: flex-start;
  height: calc(34px + var(--i) * clamp(16px, 1.8vw, 30px));
  padding-top: 10px;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, #5b74ff 0%, #2b3fb0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 30px -18px rgba(40, 70, 255, .9);
  transform-origin: 50% 100%;
  transition: transform 1s var(--ease) calc(var(--i) * 90ms);
}
.step:nth-child(1) .step__bar, .step:nth-child(2) .step__bar { background: linear-gradient(180deg, #b0acf0 0%, #7c77d4 100%); }
.step:nth-child(6) .step__bar { background: linear-gradient(180deg, #ffe066 0%, #f0b400 100%); }
.step:nth-child(6) .step__cefr { background: rgba(17, 18, 48, .18); color: var(--ink); }
.step__cefr { font-weight: 800; font-stretch: 125%; font-size: clamp(12px, .85vw, 15px); padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .2); color: #fff; white-space: nowrap; }
.step b { margin-top: 10px; font-weight: 800; font-stretch: 112%; font-size: clamp(14px, 1vw, 18px); line-height: 1.15; }
.step em { font-style: normal; font-size: clamp(12.5px, .8vw, 14px); line-height: 1.3; color: rgba(255, 255, 255, .7); }
.js .ladder:not(.is-in) .step__bar { transform: scaleY(.06); }
.english__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 2.4vw, 40px); }
.english__actions .btn { --h: 54px; font-size: 16px; }

/* =========================================================
   TÉCNICO SENA
   ========================================================= */
.btn--outline { color: var(--indigo); border: 1.5px solid var(--indigo); border-radius: 999px; background: transparent; }
.btn--outline:hover { background: var(--indigo); color: #fff; }
.sena {
  position: relative; overflow: hidden;
  padding: clamp(70px, 7vw, 130px) 0 clamp(70px, 6vw, 120px);
  background-color: #f7f8fd;
  background-image:
    linear-gradient(to right, rgba(88, 78, 176, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(88, 78, 176, .07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.sena::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 100% 0%, rgba(166, 161, 227, .35) 0%, rgba(166, 161, 227, 0) 70%),
    radial-gradient(35% 50% at 0% 100%, rgba(14, 89, 242, .12) 0%, rgba(14, 89, 242, 0) 70%);
}
.sena__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas: "content visual" "route route";
  gap: clamp(36px, 4vw, 70px) clamp(30px, 5vw, 80px);
  align-items: center;
  max-width: 1500px;
}
.sena__content { grid-area: content; }
.sena__visual { grid-area: visual; position: relative; }
.sena__route { grid-area: route; }
.sena__title { font-weight: 800; font-stretch: 125%; font-size: clamp(32px, 3.3vw, 62px); line-height: 1.03; letter-spacing: -.01em; color: var(--navy); }
.sena__hl { color: var(--blue); }
.sena__badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: clamp(18px, 1.6vw, 26px);
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: var(--star); color: var(--ink);
  border: 2.5px solid var(--line); box-shadow: 4px 4px 0 var(--line);
  font-weight: 800; font-stretch: 118%; font-size: clamp(14px, 1vw, 17px);
  rotate: -2deg;
}
.sena__badge svg { width: 24px; height: 24px; }
.sena__lead { margin-top: clamp(18px, 1.6vw, 26px); font-size: clamp(15px, 1.15vw, 21px); line-height: 1.45; color: var(--muted); max-width: 40em; }
.sena__lead b { color: var(--navy); }
.sena__skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(24px, 2.2vw, 36px); }
.skill {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px; border-radius: 18px;
  background: #fff; border: 1px solid #e3e6f2;
  box-shadow: 0 18px 40px -30px rgba(30, 40, 110, .45);
  transition: translate .45s var(--ease), box-shadow .45s var(--ease);
}
.skill:hover { translate: 0 -3px; box-shadow: 0 24px 46px -28px rgba(30, 40, 110, .55); }
.skill__icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--indigo); color: #fff;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-weight: 700; font-size: 15px;
}
.skill__icon svg { width: 24px; height: 24px; }
.skill b { display: block; font-weight: 800; font-stretch: 118%; font-size: clamp(15px, 1vw, 18px); color: var(--navy); margin-bottom: 3px; }
.skill div > span { display: block; font-size: clamp(13.5px, .85vw, 15px); line-height: 1.4; color: var(--muted); }

/* Ventana de código */
.code {
  position: relative; overflow: hidden;
  border-radius: 20px;
  background: #0e1233;
  color: #e7eaf7;
  box-shadow: 0 50px 90px -45px rgba(14, 18, 51, .9), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  rotate: 1.2deg;
}
.code__bar { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; background: #161b45; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.code__dots { display: flex; gap: 7px; }
.code__dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.code__dots i:nth-child(2) { background: #febc2e; }
.code__dots i:nth-child(3) { background: #28c840; }
.code__file { flex: 1; min-width: 0; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 13px; color: #9aa3cf; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.code__run { flex: none; padding: 7px 14px; border-radius: 999px; background: #1fbf3a; color: #fff; font-weight: 700; font-stretch: 112%; font-size: 13px; transition: background-color .2s, translate .3s var(--ease); }
.code__run:hover { background: #26d146; translate: 0 -1px; }
.code__src { margin: 0; padding: 20px 22px 8px; overflow-x: auto; font-family: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: clamp(13px, 1.02vw, 16px); line-height: 1.75; tab-size: 2; }
.code__src code { font-family: inherit; }
.code__line { display: inline-block; min-width: 1ch; white-space: pre; }
.code__line:last-child.is-typed::after { content: ""; display: inline-block; width: .55em; height: 1.1em; margin-left: 3px; vertical-align: -.18em; background: #8fb2ff; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.c-com { color: #7c86b8; font-style: italic; }
.c-key { color: #ff8fb8; }
.c-num { color: var(--star); }
.c-str { color: #7ee2a2; }
.c-fn { color: #8fb2ff; }
.code__out {
  margin: 8px 16px 16px; padding: 12px 16px;
  border-radius: 12px; background: rgba(255, 255, 255, .06);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: clamp(13.5px, 1.05vw, 16.5px);
  color: #fff; font-weight: 700;
  opacity: 0; translate: 0 8px; transition: opacity .5s, translate .6s var(--ease);
}
.code__out.is-shown { opacity: 1; translate: 0 0; }
.code__prompt { color: #28c840; margin-right: 6px; }
.code__party { display: inline-block; }
.code__out.is-shown .code__party { animation: party 1.2s var(--ease) .2s both; }
@keyframes party { 0% { transform: scale(0) rotate(-30deg); } 60% { transform: scale(1.35) rotate(12deg); } 100% { transform: scale(1) rotate(0); } }
.code__run:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Una pista discreta: el botón "respira" unas veces cuando termina de escribirse el código */
.code__run.is-hint { animation: run-hint 2.4s var(--ease) .6s 4; }
@keyframes run-hint { 0% { box-shadow: 0 0 0 0 rgba(40, 200, 64, .6); } 70%, 100% { box-shadow: 0 0 0 12px rgba(40, 200, 64, 0); } }
.code.is-running .code__run { background: #3b4278; }
.code.is-running .code__run:hover { background: #4a5290; }

/* Easter egg: la terminal muestra a Leoncito graduándose en arte ASCII */
.code__body { position: relative; }
.code__egg {
  position: absolute; inset: 0; z-index: 2; margin: 0;
  display: grid; place-content: center; overflow: hidden;
  background: #0e1233; color: #e7eaf7;
  font-family: "Cascadia Code", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: var(--egg-fs, 13px); line-height: 1.12; white-space: pre; font-weight: 600;
}
.code__egg[hidden] { display: none; }
.code__egg code { font: inherit; white-space: pre; }
.code__egg .e-c { color: #c3bff7; }
.code__egg .e-t, .code__egg .e-y { color: var(--star); }
.code__egg .e-m { color: #f0a640; }
.code__egg .e-f { color: #ffe1a8; }
.code__egg .e-b { color: #8fb2ff; }
.code__egg .e-w { color: #fff; }
.code__egg .e-p { color: #ff8fb8; }
.code__egg .e-g { color: #28c840; }
.code__egg .e-d { color: #7c86b8; }
.sena__seal { position: absolute; left: -14px; bottom: -18px; background: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .5); }
.sena__seal img { max-width: 120px; height: auto; }

/* Ruta: 10° → 11° → doble titulación → después */
.route { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); position: relative; }
.route::before { content: ""; position: absolute; left: 4%; right: 4%; top: 31px; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, #c8cdf0 0 10px, transparent 10px 18px); }
.route__step { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 0 6px; min-width: 0; }
.route__num {
  width: 62px; height: 62px; margin-bottom: 12px;
  display: grid; place-items: center;
  border-radius: 50%; background: #fff; color: var(--indigo);
  border: 2.5px solid var(--line); box-shadow: 4px 4px 0 var(--line);
  font-weight: 800; font-stretch: 125%; font-size: 20px;
}
.route__num svg { width: 28px; height: 28px; }
.route__step--gold .route__num { background: var(--star); }
.route__step b { font-weight: 800; font-stretch: 118%; font-size: clamp(16px, 1.1vw, 19px); color: var(--navy); line-height: 1.2; }
.route__step em { font-style: normal; font-size: clamp(13.5px, .88vw, 15.5px); line-height: 1.45; color: var(--muted); }
.sena__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 2.6vw, 44px); }
.sena__actions .btn { --h: 54px; font-size: 16px; }

/* =========================================================
   LEONCITO (mascota)
   ========================================================= */
.leoncito { position: absolute; z-index: 3; display: block; padding: 0; background: none; border: 0; color: var(--ink); }
.leoncito__img { display: block; width: 100%; height: auto; pointer-events: none; user-select: none; filter: drop-shadow(0 18px 22px rgba(10, 12, 40, .35)); }
video.leoncito__img { background: transparent; }
.leoncito__bubble {
  position: absolute; z-index: 2;
  padding: 10px 16px; border-radius: 18px;
  background: #fff; color: var(--ink);
  border: 3px solid var(--line); box-shadow: 5px 5px 0 var(--line);
  font-weight: 700; font-stretch: 112%; font-size: clamp(13px, .95vw, 16px); line-height: 1.3; text-align: left;
  white-space: nowrap;
  opacity: 0; scale: .6; transform-origin: 85% 100%;
  transition: opacity .35s .55s, scale .55s var(--ease) .55s;
}
.leoncito__bubble b { font-weight: 800; color: var(--blue); }
.leoncito__bubble::after {
  content: ""; position: absolute; right: 22%; bottom: -11px;
  width: 16px; height: 16px; background: #fff;
  border-right: 3px solid var(--line); border-bottom: 3px solid var(--line);
  transform: rotate(45deg);
}
.leoncito.is-in .leoncito__bubble { opacity: 1; scale: 1; }

/* En la sección del video: sale desde abajo y abre el cortometraje al tocarlo */
.leoncito--why { right: clamp(12px, 3vw, 64px); bottom: -6px; width: clamp(110px, 8.6vw, 170px); cursor: pointer; }
.leoncito--why .leoncito__img { translate: 0 70%; transition: translate 1s var(--ease); }
.leoncito--why.is-in .leoncito__img { translate: 0 0; }
.leoncito--why .leoncito__bubble { right: 6%; bottom: 97%; transform-origin: 80% 100%; }
.leoncito--why:hover .leoncito__bubble { animation: wiggle .6s ease; }
.leoncito--why:focus-visible { outline-offset: -6px; border-radius: 24px; }
@keyframes wiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -4deg; } 75% { rotate: 3deg; } }

/* En contacto: se asoma por detrás del mapa */
.map-wrap { position: relative; margin-top: clamp(40px, 4vw, 64px); }
.map-wrap .map { z-index: 1; }
.leoncito--peek { z-index: 0; top: 0; right: 12%; width: clamp(110px, 8.5vw, 150px); pointer-events: none; }
.leoncito--peek .leoncito__img { translate: 0 -10%; transition: translate 1s var(--ease) .2s; }
.leoncito--peek.is-in .leoncito__img { translate: 0 -58%; }
.leoncito--peek .leoncito__bubble { right: 92%; top: -54%; bottom: auto; transform-origin: 100% 50%; }
.leoncito--peek .leoncito__bubble::after { right: -11px; bottom: 40%; transform: rotate(-45deg); }

/* Formularios: estados nuevos */
.btn.is-busy { opacity: .7; cursor: progress; }
.note-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.news-legal .note-link { color: #fff; }

/* =========================================================
   ESTADOS INICIALES DE ANIMACIÓN (solo con JS)
   ========================================================= */
.no-js .hs:not(.hs--main) { display: none; }
.js .hs { visibility: hidden; }
.js .hero__stage .cloud-wrap,
.js .hero__stage .star-wrap,
.js .hero__stage .people-frame,
.js .people-frame--overlay,
.js .rocket-home,
.js .hero__community { opacity: 0; }
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.anim-fallback .hs--main,
.anim-fallback .hero__stage .cloud-wrap,
.anim-fallback .hero__stage .star-wrap,
.anim-fallback .hero__stage .people-frame,
.anim-fallback .people-frame--overlay,
.anim-fallback .rocket-home,
.anim-fallback .hero__community,
.anim-fallback [data-reveal] { opacity: 1 !important; visibility: visible !important; transform: none !important; }
.anim-fallback .rocket-home { transform: translate(-50%, -50%) !important; }
.anim-fallback .step__bar, .no-js .step__bar { transform: none !important; }
.anim-fallback .msg--typing { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1440px) {
  .people-frame { height: 94%; }
}
@media (max-width: 1280px) {
  .people-frame { height: 86%; }
}
@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .nav-shell { gap: 12px; padding-right: 8px; }
  .wa-notify { margin-left: auto; --u: 8.5px; }
  .main-nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    display: block;
    background: #fff; border-radius: 26px;
    padding: 12px;
    box-shadow: 0 30px 60px -20px rgba(20, 28, 80, .4);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s, transform .45s var(--ease), visibility .3s;
    max-height: calc(100svh - 120px); overflow: auto;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav__list { flex-direction: column; gap: 0; }
  .nav-link { font-size: 19px; padding: 14px 12px; justify-content: space-between; }
  .nav-link::after { display: none; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; min-width: 0; padding: 0 0 8px 8px; display: none; background: transparent; }
  .nav-item.is-open .dropdown { display: grid; }
  .nav-item:hover .dropdown { transform: none; }
  .nav-item.is-open .nav-link svg { transform: rotate(180deg); }
  .nav-item:not(.is-open):hover .nav-link svg { transform: none; }
  .campus-link { display: none; }
  .main-nav__campus {
    display: flex; align-items: center; gap: 14px;
    margin-top: 8px; padding: 14px 16px; border-radius: 18px;
    background: var(--soft); color: var(--navy); font-size: 17px;
    transition: background-color .25s;
  }
  .main-nav__campus:hover, .main-nav__campus:focus-visible { background: #dfe6fb; }
  .main-nav__campus .campus-icon { width: 46px; height: 46px; }
  .main-nav__campus-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.15; }
  .main-nav__campus-text b { font-weight: 800; font-stretch: 125%; }
  .main-nav__campus-text small { font-size: 14px; font-weight: 600; color: var(--blue); }
  .main-nav__campus-arrow { flex: none; width: 20px; height: 20px; color: var(--blue); }
  .testimonials__inner { grid-template-columns: 1fr; justify-items: center; }
  .orbit { margin: 0 auto; width: min(80%, 480px); }
  .testi { width: 100%; max-width: 820px; }
}
@media (max-width: 1100px) {
  .people-frame { height: 78%; }
  .hs__lead { max-width: 46cqw; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
  .stats__inner { grid-template-columns: 1fr; }
  .stats__media { justify-self: center; width: min(78%, 440px); margin: 20px 0 0 12%; }
  .stats__content { max-width: 760px; margin: 0 auto; }
  .families__inner { grid-template-columns: 1fr; max-width: 820px; }
  .contact__inner { grid-template-columns: 1fr; max-width: 640px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* Hero apilado (tablet vertical y móvil) */
@media (max-width: 900px) {
  :root { --people-w: min(100cqw, 600px); }
  .hero__card { height: auto; min-height: 0; }
  .hero__slides { height: auto; }
  .hs { align-items: flex-start; }
  .hs__inner { padding: max(62px, 16cqw) clamp(22px, 6cqw, 48px) 0; }
  .hs--main .hs__inner { max-width: none; padding-bottom: calc(var(--people-w) * .8356 + min(22cqw, 150px)); }
  .hero__dots { padding-top: calc(var(--people-w) * .1 + 22px); }
  .hs--brand .hs__inner, .hs--pillars .hs__inner { padding-bottom: 40px; }
  .hs--brand { align-items: center; }
  .hs-main__title { font-size: max(23px, 8.6cqw); }
  .hs__lead { max-width: 100%; font-size: max(15px, 3.4cqw); margin-top: 18px; }
  .hs__actions { gap: 12px; margin-top: 22px; }
  .hero .btn { --h: 50px; font-size: 15px; padding: 0 22px; }
  .people-frame { height: auto; width: var(--people-w); left: 50%; right: auto; transform: translateX(-50%); }
  .cloud-wrap--tl { left: -8cqw; top: -21cqw; width: 60cqw; }
  .cloud-wrap--tr { left: auto; right: -14cqw; top: -17cqw; width: 48cqw; }
  .cloud-wrap--r, .cloud-wrap--br { display: none; }
  .star-wrap { left: auto; right: 22cqw; top: 2cqw; width: 9cqw; }
  .rocket-home { left: 72cqw; top: calc(100% - var(--people-w) * .8356 - min(11cqw, 75px)); width: min(21cqw, 140px); }
  .hero__community { display: none; }
  .brand-hero__mark { width: 34cqw; max-width: 200px; }
  .brand-hero__name { font-size: max(30px, 9cqw); margin-top: 16px; }
  .brand-hero__sub { font-size: max(11px, 2.8cqw); }
  .brand-hero__tag { font-size: 14px; flex-direction: column; gap: 6px; margin-top: 18px; }
  .brand-hero__tag i { display: none; }
  .hs--pillars .hs__inner { flex-direction: column; align-items: stretch; }
  .hs--pillars .hs-pillars__text { max-width: none; }
  .hs-pillars__title { font-size: max(30px, 8.4cqw); }
  .doodle-pillars { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; margin-top: 26px; }
  .dp { position: static; width: auto; flex-direction: row; align-items: center; gap: 8px; min-width: 0; }
  .dp__icon { flex: none; width: 48px; height: 48px; border-width: 2px; box-shadow: 3px 3px 0 var(--line); }
  .dp__label { min-width: 0; font-size: 12px; line-height: 1.15; padding: 0; white-space: normal; background: none; border: 0; color: #fff; }
  .hs--pillars .hs__actions { margin-top: 22px; }
}
@container (max-width: 520px) {
  .chat__msgs, .chat__bar { display: none; }
  .chat__compact {
    display: flex; align-items: center; justify-content: center; gap: 2cqw;
    font-weight: 800; font-stretch: 118%; font-size: 4.2cqw; color: var(--indigo);
    padding-bottom: 1cqw;
  }
  .chat__compact svg { width: 6cqw; height: 6cqw; color: #1faa74; }
  .chat__body { justify-content: center; padding: 7cqw 1cqw 1cqw; }
}

@media (max-width: 760px) {
  .stats__text, .families__text { text-align: left; }
  .pillars__grid { grid-template-columns: 1fr; max-width: 440px; }
  .pcard { min-height: 0; }
  .testi { grid-template-columns: 1fr 1fr; }
  .testi__body { grid-column: 1 / -1; grid-row: 1; }
  .testi__prev, .testi__next { margin-top: 10px; }
  .testi__prev { justify-self: end; }
  .testi__next { justify-self: start; }
  .visit-form { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__news { flex-direction: column; align-items: flex-start; }
  .news-legal { text-align: left; margin-top: -10px; }
  .film-caption { flex-direction: column; gap: 2px; }
  .contact::before { width: 60%; height: 50px; }
  .contact::after { width: 60%; height: 40px; }
  .stats__logo { margin-left: 0; padding-left: 0; margin-top: 12px; flex-basis: 100%; }
  .stats__media { width: min(80%, 380px); margin-left: 16%; }
  .wa-float__tip { display: none; }
  .wa-float .wa-app { --s: 54px; }
  .social { margin-left: 0; }
}
@media (max-width: 520px) {
  .wa-notify__pill { display: none; }
  .wa-notify .wa-app { --s: 44px; border-radius: 12px; }
  .brand__name { font-size: 20px; }
  .fam-card { aspect-ratio: 4 / 3.3; }
  .stat { font-size: 13px; }
}

/* ---------- Responsive: bilingüismo, carnet, baraja, diapositiva de inglés ---------- */
@media (max-width: 1100px) {
  .english__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "content" "visual" "route"; max-width: 820px; }
  .english__visual { padding: 10px 70px 0; }
  .deck__hint { justify-content: center; }
}
@media (max-width: 900px) {
  .hs--english .hs__inner { flex-direction: column; align-items: stretch; }
  .hs-english__text { max-width: none; }
  .hs-english__title { font-size: max(30px, 8.4cqw); }
  .speech-doodles { position: static; display: flex; flex-wrap: wrap; gap: 18px 14px; margin-top: 26px; }
  .sd { position: static; font-size: 14px; padding: 8px 14px; border-radius: 14px; border-width: 2px; box-shadow: 3px 3px 0 var(--line); }
  .sd::after { width: 12px; height: 12px; bottom: -8px; border-width: 2px; }
  .ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .step__bar { height: calc(30px + var(--i) * 12px); }
}
@media (max-width: 640px) {
  .english__perks { grid-template-columns: minmax(0, 1fr); }
  .english__visual { padding: 10px 0 0; }
  .lanyard { width: min(74%, 290px); }
  .bubble { font-size: 13px; padding: 7px 12px; border-width: 2px; box-shadow: 3px 3px 0 var(--line); }
  .english__actions .btn { width: 100%; white-space: normal; text-align: center; padding: 12px 20px; }
}
@media (max-width: 420px) {
  .doodle-pillars { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step__bar { height: calc(30px + var(--i) * 9px); }
}

/* ---------- Responsive: SENA y Leoncito ---------- */
@media (max-width: 1100px) {
  .sena__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "content" "visual" "route"; max-width: 820px; }
  .code { rotate: 0deg; }
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .route::before { display: none; }
}
@media (max-width: 760px) {
  .sena__skills { grid-template-columns: minmax(0, 1fr); }
  .sena__actions .btn { width: 100%; white-space: normal; text-align: center; padding: 12px 20px; }
  .leoncito--why { width: 104px; right: 10px; }
  .leoncito--why .leoncito__bubble { right: 4%; bottom: 96%; font-size: 13px; padding: 8px 12px; border-width: 2px; box-shadow: 3px 3px 0 var(--line); }
  .leoncito__bubble::after { border-width: 2px; width: 12px; height: 12px; bottom: -8px; }
  .map-wrap { margin-top: 70px; }
  .leoncito--peek { width: 104px; right: 10%; }
  .leoncito--peek .leoncito__bubble { font-size: 13px; padding: 8px 12px; border-width: 2px; box-shadow: 3px 3px 0 var(--line); }
}
@media (max-width: 420px) {
  .route { grid-template-columns: minmax(0, 1fr); }
  .route__step { display: grid; grid-template-columns: 62px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .route__num { grid-row: span 2; margin-bottom: 0; }
  .code__src { font-size: 12px; padding: 16px 14px 6px; }
}

/* ---------- "¿Por qué?": en pantallas medianas y pequeñas el texto va debajo del fotograma ---------- */
@media (max-width: 1024px) {
  .why { display: flex; flex-direction: column; }
  .why__content { position: static; max-width: none; padding: clamp(28px, 5vw, 44px) clamp(20px, 5vw, 48px) 8px; text-align: center; }
  .why__text { max-width: 36em; margin-inline: auto; }
  .why__frame::after { background: linear-gradient(0deg, rgba(10, 10, 32, .55) 0%, rgba(10, 10, 32, 0) 45%), rgba(10, 10, 32, .18); }
  .leoncito--why { position: relative; right: auto; bottom: -6px; align-self: flex-end; margin: 18px clamp(12px, 4vw, 40px) 0 0; }
  .leoncito--why .leoncito__bubble { right: 96%; bottom: 46%; transform-origin: 100% 50%; }
  .leoncito--why .leoncito__bubble::after { right: -11px; bottom: 38%; transform: rotate(-45deg); }
}
@media (min-width: 761px) and (max-width: 1024px) {
  .why { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
  .why__frame { flex: 0 0 100%; }
  /* El globo de Leoncito sale por encima y hacia la izquierda: se le reserva espacio a la derecha del texto */
  .why__content { flex: 1 1 0; min-width: 0; text-align: left; padding-right: clamp(110px, 13vw, 140px); padding-bottom: clamp(28px, 4vw, 44px); }
  .why__text { margin-inline: 0; }
  .leoncito--why { flex: none; margin-top: 0; }
  .leoncito--why .leoncito__bubble { right: 6%; bottom: 97%; transform-origin: 80% 100%; }
  .leoncito--why .leoncito__bubble::after { right: 22%; bottom: -11px; transform: rotate(45deg); }
}
@media (max-width: 560px) {
  .play__label { font-size: 12px; top: calc(100% + 10px); }
  .play__label small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
