/* ═══════════════════════════════════════════════════════
   CEAS — Landing americanosincelejo.com
   Colores tomados del escudo institucional
   ═══════════════════════════════════════════════════════ */

:root {
  --blue:      #2F318A;   /* azul del escudo */
  --blue-700:  #282A78;
  --blue-800:  #22245D;
  --blue-900:  #181A45;
  --blue-50:   #EEF0FB;
  --sky:       #D2E2EB;
  --sky-50:    #F2F7FA;
  --gold:      #FCD116;   /* amarillo de la bandera */
  --gold-600:  #EBBF00;
  --red:       #E1232F;
  --ink:       #1C1F3F;
  --muted:     #5A6080;
  --line:      #E3E7F1;
  --tint:      #F5F7FC;
  --white:     #FFFFFF;

  --font-head: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --header-h:  72px;
  --radius:    20px;
  --shadow-sm: 0 2px 10px rgba(24, 26, 69, .06);
  --shadow:    0 14px 40px rgba(24, 26, 69, .12);
  --ease:      cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; font-weight: 600; }
strong { font-weight: 800; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

.ico {
  width: 1.25em; height: 1.25em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--blue-900); font-weight: 800;
  padding: .6rem 1rem; border-radius: 10px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ── Botones ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .72rem 1.25rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 800; font-size: .98rem; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, color .18s, border-color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: .95rem 1.55rem; font-size: 1.05rem; }
.btn-gold { background: var(--gold); color: var(--blue-900); box-shadow: 0 8px 22px rgba(252, 209, 22, .28); }
.btn-gold:hover { background: var(--gold-600); box-shadow: 0 12px 28px rgba(252, 209, 22, .38); }
.btn-blue { background: var(--blue); color: var(--white); box-shadow: 0 8px 22px rgba(47, 49, 138, .25); }
.btn-blue:hover { background: var(--blue-700); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }

/* ── Tiles de ícono ──────────────────────────────────── */
.tile {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 14px; font-size: 18px;
}
.tile .ico { width: 24px; height: 24px; }
.tile-blue  { background: var(--blue-50); color: var(--blue); }
.tile-sky   { background: #E4F0F7; color: #1F6B92; }
.tile-gold  { background: #FFF6CC; color: #8A6A00; }
.tile-red   { background: #FDECEE; color: #C21B26; }
.tile-green { background: #E7F7EE; color: #15803D; }
.tile-glass { background: rgba(255, 255, 255, .12); color: var(--white); border: 1px solid rgba(255, 255, 255, .16); }

/* ── Encabezado ──────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: var(--white);
  transition: background .25s var(--ease), box-shadow .25s var(--ease), color .25s;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
  color: var(--ink);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.25rem; }

.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .5px; }
.brand-text small { font-size: .78rem; font-weight: 700; opacity: .8; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a:not(.btn) {
  position: relative; padding: .5rem .75rem; font-weight: 700; font-size: .96rem; border-radius: 10px;
  opacity: .92; transition: opacity .15s, background .15s;
}
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transition: transform .2s var(--ease);
}
.nav a:not(.btn):hover { opacity: 1; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { display: none; }
.header-cta { padding: .6rem 1.05rem; font-size: .92rem; }

.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: none; border-radius: 12px;
  background: rgba(255, 255, 255, .12); color: inherit; cursor: pointer;
}
.site-header.is-solid .menu-btn { background: var(--tint); }
.menu-btn .ico { width: 24px; height: 24px; }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 40; background: rgba(15, 18, 50, .4);
  opacity: 0; transition: opacity .2s;
}
.nav-backdrop.show { opacity: 1; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 130px;
  background:
    radial-gradient(circle at 78% 42%, rgba(210, 226, 235, .22) 0, rgba(210, 226, 235, 0) 38%),
    radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.3px) 0 0 / 26px 26px,
    linear-gradient(135deg, var(--blue) 0%, var(--blue-800) 62%, var(--blue-900) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .38rem .85rem; margin-bottom: 1.25rem;
  font-size: .88rem; font-weight: 700;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
}
.eyebrow .ico { color: var(--gold); width: 1.1em; height: 1.1em; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.75rem); font-weight: 700; letter-spacing: -.5px; }
.hero h1 span { display: block; color: var(--gold); }
.lead { margin-top: 1.1rem; max-width: 33rem; font-size: 1.15rem; color: rgba(255, 255, 255, .88); }
.lead strong { color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }

.motto { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }
.motto li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem .9rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: .3px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}
.motto .ico { color: var(--gold); }

.hero-art { position: relative; display: flex; justify-content: center; }
.seal {
  width: min(380px, 82%); aspect-ratio: 1; border-radius: 50%;
  background: var(--white); padding: 10px;
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, .1),
    0 0 0 26px rgba(255, 255, 255, .05),
    0 34px 70px rgba(8, 10, 40, .45);
  animation: float 7s ease-in-out infinite;
}
.seal img { width: 100%; height: 100%; border-radius: 50%; }
.spark { position: absolute; width: 26px; height: 26px; fill: var(--gold); stroke: none; animation: twinkle 3.2s ease-in-out infinite; }
.spark.s1 { top: 4%;  left: 10%; }
.spark.s2 { top: 22%; right: 4%; width: 18px; height: 18px; animation-delay: .9s; fill: var(--white); }
.spark.s3 { bottom: 6%; left: 18%; width: 16px; height: 16px; animation-delay: 1.7s; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--white); }

@keyframes float   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }

/* ── Datos rápidos ───────────────────────────────────── */
.facts { position: relative; z-index: 2; margin-top: -78px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact {
  display: flex; align-items: center; gap: 14px;
  padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow);
}
.fact strong { display: block; font-size: 1rem; color: var(--blue-900); line-height: 1.25; }
.fact span:not(.tile) { display: block; font-size: .88rem; color: var(--muted); }

/* ── Secciones ───────────────────────────────────────── */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .7rem;
  font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(252, 209, 22, .25); }
.kicker-light { color: var(--sky); }
.section h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); color: var(--blue-900); }

/* Nosotros */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card {
  position: relative; padding: 30px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin: 16px 0 8px; font-size: 1.4rem; color: var(--blue-900); }
.card p { color: var(--muted); }
.card-mission { background: linear-gradient(160deg, var(--blue-50), var(--white) 70%); }

.model { margin-top: 28px; padding: 30px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.model h3 { font-size: 1.3rem; color: var(--blue-900); margin-bottom: 20px; text-align: center; }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.model-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--white); border-radius: 16px; border: 1px solid var(--line); }
.model-item strong { display: block; color: var(--blue-900); font-size: 1.05rem; }
.model-item p { font-size: .95rem; color: var(--muted); margin-top: 2px; }

/* Niveles */
.levels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.level {
  overflow: hidden; background: var(--white); border-radius: 24px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.level:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.level-top { display: flex; align-items: center; gap: 16px; padding: 26px 28px; color: var(--white); }
.level-top .ico {
  width: 56px; height: 56px; padding: 13px; border-radius: 18px;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .25);
}
.level-top h3 { font-size: 1.65rem; font-weight: 700; }
.level-pre { background: linear-gradient(135deg, #E1232F, #F0603A 55%, #F5A524); }
.level-pri { background: linear-gradient(135deg, var(--blue), #3D59C4 60%, #4B8BD6); }
.grades { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 28px 0; }
.grades li {
  padding: .35rem .85rem; border-radius: 999px; font-weight: 800; font-size: .9rem;
  background: var(--tint); border: 1px solid var(--line); color: var(--blue-900);
}
.level p { padding: 16px 28px 28px; color: var(--muted); }
.levels-cta { text-align: center; margin-top: 36px; }

/* Historia */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.timeline::before {
  content: ''; position: absolute; top: 19px; left: 6%; right: 6%; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--sky), var(--blue) 50%, var(--gold));
}
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.year {
  position: relative; z-index: 1;
  padding: .4rem 1rem; border-radius: 999px; margin-bottom: 18px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  background: var(--blue); color: var(--white); box-shadow: 0 0 0 6px var(--white), var(--shadow-sm);
}
.timeline li:last-child .year { background: var(--gold); color: var(--blue-900); }
.timeline h3 { font-size: 1.15rem; color: var(--blue-900); margin-bottom: 6px; }
.timeline p { font-size: .95rem; color: var(--muted); }

/* Plataforma */
.platform {
  color: var(--white); overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(252, 209, 22, .12) 0, transparent 35%),
    radial-gradient(rgba(255, 255, 255, .06) 1.2px, transparent 1.3px) 0 0 / 26px 26px,
    linear-gradient(135deg, var(--blue-800), var(--blue-900));
}
.platform h2 { color: var(--white); }
.platform-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.platform-copy > p { margin-top: 12px; color: rgba(255, 255, 255, .82); }
.checks { display: grid; gap: 14px; margin-top: 22px; }
.checks li { display: flex; align-items: center; gap: 14px; }
.checks strong { display: block; }
.checks span:not(.tile) { display: block; font-size: .93rem; color: rgba(255, 255, 255, .72); }

.device {
  background: var(--white); border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .35), 0 0 0 10px rgba(255, 255, 255, .06);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}
.device-top { display: flex; gap: 6px; padding: 12px 16px; background: #EEF1F7; }
.device-top i { width: 10px; height: 10px; border-radius: 50%; background: #CBD2E1; }
.device-top i:first-child { background: #F26B6B; }
.device-top i:nth-child(2) { background: #F5C451; }
.device-body { display: grid; grid-template-columns: 62px 1fr; min-height: 300px; }
.device-side { background: var(--blue-800); padding: 18px 14px; display: flex; flex-direction: column; gap: 12px; }
.device-side span { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .22); }
.device-side span.on { background: var(--gold); }
.device-main { padding: 20px; background: #F7F9FC; display: flex; flex-direction: column; gap: 12px; }
.d-title { width: 45%; height: 14px; border-radius: 7px; background: #D5DBE8; }
.d-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.d-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 6px; padding: 14px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-sm); color: var(--blue); }
.d-card .ico { grid-row: span 2; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--blue-50); }
.d-card b { height: 9px; width: 70%; border-radius: 5px; background: #DFE4EF; align-self: end; }
.d-card em { height: 12px; width: 90%; border-radius: 6px; background: #C3CBDD; }
.d-row { display: grid; grid-template-columns: 26px 1fr 56px; gap: 10px; align-items: center; padding: 10px 12px; background: var(--white); border-radius: 12px; }
.d-row i { width: 26px; height: 26px; border-radius: 50%; background: #E6EAF3; }
.d-row b { height: 9px; border-radius: 5px; background: #E1E6F0; }
.pill { height: 18px; border-radius: 999px; }
.pill.ok { background: #D7F5E3; }
.pill.wait { background: #FFF1BF; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-list { display: grid; gap: 14px; align-content: start; }
.contact {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s;
}
.contact:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: #CDD3E6; }
.contact strong { display: block; color: var(--blue-900); }
.contact span:not(.tile) { display: block; color: var(--muted); font-size: .95rem; word-break: break-word; }
.contact em { display: inline-flex; align-items: center; gap: .3rem; margin-top: 4px; font-style: normal; font-weight: 800; font-size: .88rem; color: var(--blue); }
.contact em .ico { width: 1em; height: 1em; transition: transform .18s; }
.contact:hover em .ico { transform: translateX(3px); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.socials a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem;
  border-radius: 999px; font-weight: 800; font-size: .93rem;
  background: var(--tint); border: 1px solid var(--line); color: var(--blue-900);
  transition: background .15s, color .15s, border-color .15s;
}
.socials a:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.map {
  position: relative; min-height: 380px; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  background: radial-gradient(rgba(47, 49, 138, .08) 1.2px, transparent 1.3px) 0 0 / 22px 22px, var(--tint);
}
/* El iframe cubre este enlace; si Google Maps no carga, queda visible */
.map-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 24px; text-align: center; color: var(--muted);
}
.map-fallback strong { color: var(--blue); font-size: 1.05rem; }
.map iframe { position: relative; display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ── Pie ─────────────────────────────────────────────── */
.site-footer { background: var(--blue-900); color: rgba(255, 255, 255, .78); padding: 44px 0 36px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 20px 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; background: var(--white); }
.footer-brand strong { display: block; color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.footer-brand span { font-size: .9rem; color: var(--gold); font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 20px; font-weight: 700; }
.footer-links a:hover { color: var(--gold); }
.legal { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* ── Aviso de inscripciones (emergente) ──────────────── */
.promo { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.promo[hidden] { display: none; }
.promo-backdrop { position: absolute; inset: 0; background: rgba(15, 18, 50, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: promo-fade .25s ease; }
.promo-card {
  position: relative; display: flex; flex-direction: column;
  width: min(430px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  background: var(--white); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45); animation: promo-pop .32s var(--ease);
}
.promo-img { display: block; min-height: 0; flex: 1 1 auto; background: #EEF3FB; }
.promo-img img { width: 100%; height: 100%; object-fit: contain; }
.promo-actions { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); }
.promo-actions .btn { flex: 1; padding: .8rem 1rem; }
.promo-actions .btn { min-width: 0; }
@media (max-width: 480px) {
  .promo-actions .btn-whatsapp { flex: 0 0 52px; padding: 0; height: 52px; }
  .promo-actions .btn-whatsapp .ico { width: 24px; height: 24px; }
  .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.promo-close {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .94); color: var(--blue-900); box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.promo-close .ico { width: 22px; height: 22px; }
.btn-whatsapp { background: #16A34A; color: var(--white); box-shadow: 0 8px 22px rgba(22, 163, 74, .25); }
.btn-whatsapp:hover { background: #15803D; }
body.promo-open { overflow: hidden; }
.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; }
@keyframes promo-fade { from { opacity: 0; } }
@keyframes promo-pop  { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

/* ── Animación de entrada (solo con JS activo) ───────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .seal, .spark, .promo-card, .promo-backdrop { animation: none; }
  .btn:hover, .card:hover, .level:hover, .contact:hover { transform: none; }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; top: calc(var(--header-h) + 8px); left: 12px; right: 12px; z-index: 55;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    background: var(--white); color: var(--ink); border-radius: 18px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: .85rem 1rem; font-size: 1.05rem; opacity: 1; }
  .nav a:not(.btn)::after { display: none; }
  .nav a:not(.btn):hover { background: var(--tint); }
  .nav-cta { display: inline-flex; margin-top: 8px; padding: .9rem 1.2rem; }
  .site-header.menu-open { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
  .site-header.menu-open .menu-btn { background: var(--tint); }

  .hero { padding-top: calc(var(--header-h) + 32px); padding-bottom: 120px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .hero-art { order: -1; }
  .seal { width: min(230px, 60vw); }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .motto { justify-content: center; }

  .facts-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .levels, .platform-inner, .contact-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; }
  .platform-inner { gap: 40px; }
  .device { transform: none; }

  .timeline { grid-template-columns: 1fr; gap: 26px; padding-left: 8px; }
  .timeline::before { top: 8px; bottom: 8px; left: 52px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--sky), var(--blue) 50%, var(--gold)); }
  .timeline li { flex-direction: row; align-items: flex-start; text-align: left; gap: 18px; }
  .year { margin-bottom: 0; flex-shrink: 0; min-width: 88px; text-align: center; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .header-cta { display: none; }
  .brand-text small { display: none; }
  .hero-actions .btn { width: 100%; }
  .eyebrow { font-size: .8rem; }
  .facts { margin-top: -70px; }
  .facts-grid { grid-template-columns: 1fr; gap: 12px; }
  .card, .model { padding: 22px; }
  .level-top, .grades, .level p { padding-left: 22px; padding-right: 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
