/* =========================================================================
   ENGLISHIDAM — 1-to-1 Offline English Training
   Landing page stylesheet
   -------------------------------------------------------------------------
   Contents
     01. Design tokens
     02. Reset & base
     03. Typography & layout primitives
     04. Buttons, pills, icons
     05. Header & navigation
     06. Hero
     07. Section shells (about / highlights / schedule)
     08. Cards, steps, media
     09. Enrollment form
     10. Contact & map
     11. CTA banner & footer
     12. Utilities (toast, back-to-top, skip link)
     13. Animations & scroll reveal
     14. Responsive breakpoints (480 / 768 / 1024 / 1440)
     15. Reduced motion, print, forced colors
   ========================================================================= */

/* =========================================================================
   01. DESIGN TOKENS
   Palette is derived entirely from the Englishidam logo:
   navy wordmark, crimson speech bubble, warm cream ground.
   ========================================================================= */
:root {
  /* Brand — primary (navy) */
  --navy-900: #0B1B33;
  --navy-800: #10254433;      /* used as translucent tint */
  --navy-700: #12294D;
  --navy-600: #1B3A6B;        /* PRIMARY */
  --navy-500: #27508F;
  --navy-400: #3D6CB4;
  --navy-100: #E4EBF6;
  --navy-050: #F2F6FC;

  /* Brand — accent (crimson) */
  --red-700: #A61C15;
  --red-600: #C4241B;
  --red-500: #E03127;         /* ACCENT */
  --red-400: #EE5A50;
  --red-100: #FDE7E5;

  /* Brand — secondary (cream ground from the logo plate) */
  --cream-200: #F3EADA;
  --cream-100: #FAF6EF;

  /* Neutrals */
  --ink: #16203A;
  --ink-soft: #33405C;
  --muted: #64708A;
  --line: #E3E8F0;
  --line-soft: #EDF1F7;
  --white: #FFFFFF;

  /* Semantic */
  --danger: #D22B1F;
  --danger-bg: #FEF1F0;
  --success: #12805C;
  --success-bg: #E9F7F1;

  /* Gradients */
  --grad-navy: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-600) 45%, var(--navy-500) 100%);
  --grad-accent: linear-gradient(135deg, var(--red-500) 0%, var(--red-600) 100%);
  --grad-hero: linear-gradient(105deg, rgba(11, 27, 51, .94) 0%, rgba(18, 41, 77, .86) 42%, rgba(27, 58, 107, .58) 100%);

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* Shadows — soft, layered, never harsh */
  --sh-xs: 0 1px 2px rgba(11, 27, 51, .06);
  --sh-sm: 0 2px 8px rgba(11, 27, 51, .06), 0 1px 2px rgba(11, 27, 51, .04);
  --sh-md: 0 8px 24px rgba(11, 27, 51, .08), 0 2px 6px rgba(11, 27, 51, .04);
  --sh-lg: 0 18px 48px rgba(11, 27, 51, .12), 0 4px 12px rgba(11, 27, 51, .06);
  --sh-xl: 0 32px 80px rgba(11, 27, 51, .18), 0 8px 20px rgba(11, 27, 51, .08);
  --sh-accent: 0 12px 28px rgba(224, 49, 39, .32);
  --sh-navy: 0 12px 28px rgba(27, 58, 107, .28);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .18s;
  --t-med: .32s;
  --t-slow: .6s;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 8vw, 7.5rem);
  --header-h: 4.5rem;

  /* Type */
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* =========================================================================
   02. RESET & BASE
   ========================================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;               /* hard guarantee: no horizontal scroll */
  text-rendering: optimizeLegibility;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img { height: auto; }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--red-500); }

ul, ol { list-style: none; padding: 0; }

/* The [hidden] attribute must win over component `display` rules —
   several components below use display:flex/grid and would otherwise
   stay visible while JS considers them hidden. */
[hidden] { display: none !important; }

/* Global focus ring — visible, on-brand, never removed */
:focus-visible {
  outline: 3px solid var(--red-500);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--navy-600);
  color: var(--white);
}

/* Inline SVG sprite host */
.svg-sprite { display: none; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* Screen-reader-only helper */
.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;
}

/* =========================================================================
   03. TYPOGRAPHY & LAYOUT PRIMITIVES
   ========================================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 800;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section--tint {
  background:
    radial-gradient(1200px 400px at 100% 0%, var(--navy-050) 0%, transparent 70%),
    var(--cream-100);
}

.section__head {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section__title {
  font-size: clamp(1.75rem, 1.15rem + 2.6vw, 3rem);
  margin-bottom: .85rem;
}

.section__title--light { color: var(--white); }

.section__lead {
  font-size: clamp(1.02rem, .98rem + .3vw, 1.15rem);
  color: var(--muted);
  margin-bottom: 1rem;
}

.section__lead--center { margin-inline: auto; }
.section__lead--light { color: rgba(255, 255, 255, .84); }
.section__lead strong,
.section__text strong { color: var(--ink); font-weight: 700; }
.section__lead--light strong { color: var(--white); }

.section__text { color: var(--muted); }

/* Small eyebrow label above each section title */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red-500);
  background: var(--red-100);
  padding: .45rem .9rem;
  border-radius: var(--r-pill);
  margin-bottom: 1rem;
}

.eyebrow--light {
  color: #FFD9D6;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px);
}

.text-gradient {
  background: linear-gradient(100deg, #FF7A70 0%, var(--red-500) 55%, #FF9A6B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.br-lg { display: none; }

/* Two-column split used by About and Scheduling */
.grid-split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* =========================================================================
   04. BUTTONS, PILLS
   ========================================================================= */
.btn {
  --btn-bg: var(--navy-600);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.5rem;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-med) var(--ease),
              background-color var(--t-med) var(--ease),
              color var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
  text-align: center;
  white-space: nowrap;
}

.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform var(--t-med) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { background: var(--grad-navy); box-shadow: var(--sh-navy); }
.btn--primary:hover { box-shadow: 0 16px 34px rgba(27, 58, 107, .36); }

.btn--accent { background: var(--grad-accent); box-shadow: var(--sh-accent); }
.btn--accent:hover { box-shadow: 0 16px 36px rgba(224, 49, 39, .42); }

.btn--ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .38);
  color: var(--white);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .2); color: var(--white); }

/* Ghost variant for use on light backgrounds */
.btn--ghost.btn--dark {
  background: transparent;
  border-color: var(--navy-600);
  color: var(--navy-600);
  backdrop-filter: none;
}
.btn--ghost.btn--dark:hover { background: var(--navy-600); color: var(--white); }

.btn--sm { padding: .6rem 1.15rem; font-size: .875rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn[disabled],
.btn[aria-busy="true"] { cursor: not-allowed; opacity: .75; transform: none; }

/* Loading spinner inside the submit button */
.btn__label { display: inline-flex; align-items: center; gap: .55rem; }
.btn__spinner { display: none; width: 1.15rem; height: 1.15rem; }

.btn.is-loading .btn__label { visibility: hidden; }
.btn.is-loading .btn__spinner {
  display: block;
  position: absolute;
  inset: 0;
  margin: auto;
  border: 2.5px solid rgba(255, 255, 255, .35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: var(--r-pill);
  font-size: .82rem;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: .04em;
}

/* Glassmorphism pill, used on the hero */
.pill--glass {
  color: var(--white);
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .26);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* =========================================================================
   05. HEADER & NAVIGATION
   ========================================================================= */
/* Layer order for the fixed overlays, highest first:
     skip-link 200  >  toast 150  >  header 120  >  scrim 105  >  to-top 90

   The header must outrank .nav-scrim. Being fixed + z-indexed, it creates a
   stacking context, so the mobile drawer inside it cannot escape the header's
   own layer however high .nav climbs — if the scrim outranked the header, it
   would paint over the open drawer and swallow taps meant for the links. */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: box-shadow var(--t-med) var(--ease);
}

/* The frosted panel lives on a pseudo-element, never on .site-header itself.
   A backdrop-filter makes its element the containing block for fixed-position
   descendants — put it on the header and the mobile drawer inside would resolve
   its `inset: 0` against the 4rem-tall header instead of the viewport,
   collapsing to a stub the moment the header goes sticky. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-med) var(--ease),
              backdrop-filter var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
}

/* Solid state once the user scrolls past the hero top */
.site-header.is-stuck { box-shadow: var(--sh-sm); }

.site-header.is-stuck::before {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; }

.brand__logo {
  height: 2.4rem;
  width: auto;
  border-radius: 8px;
  background: var(--cream-100);
  padding: 2px 4px;
  box-shadow: var(--sh-xs);
}

.brand__text { display: none; flex-direction: column; line-height: 1.15; }

.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--white);
  letter-spacing: -.02em;
  transition: color var(--t-med) var(--ease);
}

.brand__tag {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  transition: color var(--t-med) var(--ease);
}

.is-stuck .brand__name { color: var(--navy-700); }
.is-stuck .brand__tag { color: var(--muted); }

/* --- Mobile drawer (default) --- */
.nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(20rem, 84vw);
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: calc(var(--header-h) + 1.5rem) 1.75rem 2rem;
  background: var(--white);
  box-shadow: var(--sh-xl);
  transform: translateX(102%);
  transition: transform var(--t-med) var(--ease-out);
  overflow-y: auto;
}

.nav.is-open { transform: translateX(0); }

.nav__list { display: flex; flex-direction: column; gap: .25rem; }

.nav__link {
  display: block;
  padding: .7rem .25rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}

.nav__link:hover,
.nav__link.is-active { color: var(--red-500); padding-left: .5rem; }

.nav__cta { align-self: flex-start; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
  color: var(--white);
  cursor: pointer;
  z-index: 120;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}

.is-stuck .nav-toggle {
  color: var(--navy-700);
  border-color: var(--line);
  background: var(--white);
}

.nav-toggle .icon { width: 1.4rem; height: 1.4rem; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] { color: var(--navy-700); border-color: var(--line); background: var(--white); }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(11, 27, 51, .5);
  backdrop-filter: blur(2px);
  animation: fade-in var(--t-med) var(--ease) both;
}

/* Lock scroll while the drawer is open */
body.nav-open { overflow: hidden; }

/* =========================================================================
   06. HERO
   ========================================================================= */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(46rem, 100svh);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 8vw, 5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  color: var(--white);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: -1; }

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: hero-zoom 18s var(--ease) both;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}

/* Soft fade into the next section */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 7rem;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .96));
  z-index: -1;
  pointer-events: none;
}

.hero__inner { display: flex; flex-direction: column; gap: clamp(2.5rem, 6vw, 4rem); }

.hero__content { max-width: 42rem; }

.hero__title {
  font-size: clamp(2.15rem, 1.3rem + 4.2vw, 4.25rem);
  color: var(--white);
  margin-block: 1rem .95rem;
  letter-spacing: -.035em;
}

.hero__lead {
  font-size: clamp(1.03rem, .98rem + .5vw, 1.28rem);
  color: rgba(255, 255, 255, .86);
  max-width: 36rem;
}

.hero__location {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: 1.25rem;
  padding: .55rem 1.05rem .55rem .85rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px);
  font-size: .94rem;
  color: rgba(255, 255, 255, .92);
}

.hero__location .icon { color: var(--red-400); width: 1.15rem; height: 1.15rem; }
.hero__location strong { color: var(--white); font-weight: 700; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

/* Glass stat strip */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-lg);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.stat {
  background: rgba(11, 27, 51, .34);
  padding: 1.15rem 1rem;
  text-align: center;
}

.stat__value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.stat__label {
  display: block;
  margin-top: .2rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
}

/* =========================================================================
   07 & 08. SECTIONS, CARDS, STEPS, MEDIA
   ========================================================================= */
.grid-split__media { position: relative; }

.media-card {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-badge {
  position: absolute;
  left: clamp(-.5rem, -1vw, 0rem);
  bottom: -1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.15rem;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  max-width: calc(100% - 2rem);
}

.media-badge .icon { width: 1.6rem; height: 1.6rem; color: var(--red-500); }
.media-badge strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--ink); }
.media-badge span { font-size: .8rem; color: var(--muted); }
.media-badge--alt .icon { color: var(--navy-600); }

/* --- About points --- */
.about-points { display: grid; gap: 1.1rem; margin-top: 1.9rem; }

.about-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
}

.about-point:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--navy-100);
}

.about-point__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: var(--r-md);
  background: var(--navy-050);
  color: var(--navy-600);
}

.about-point__icon .icon { width: 1.35rem; height: 1.35rem; }
.about-point h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.about-point p { font-size: .92rem; color: var(--muted); line-height: 1.6; }

/* --- Feature cards --- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.2vw, 1.5rem);
}

.card {
  position: relative;
  padding: 1.65rem 1.5rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xs);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
}

/* Accent sweep that grows on hover */
.card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}

.card:hover::before { transform: scaleX(1); }

.card__icon {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: var(--r-md);
  margin-bottom: 1.05rem;
  transition: transform var(--t-med) var(--ease-out);
}

.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card__icon .icon { width: 1.5rem; height: 1.5rem; }
.card__icon--navy { background: var(--navy-050); color: var(--navy-600); }
.card__icon--red { background: var(--red-100); color: var(--red-600); }

.card__title { font-size: 1.08rem; margin-bottom: .45rem; }
.card__text { font-size: .93rem; color: var(--muted); line-height: 1.65; }

/* --- Scheduling section (dark) --- */
.section--schedule {
  position: relative;
  isolation: isolate;
  background: var(--grad-navy);
  overflow: hidden;
}

/* Decorative glow */
.section--schedule::before {
  content: "";
  position: absolute;
  top: -25%;
  right: -10%;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 49, 39, .28) 0%, transparent 65%);
  z-index: -1;
  pointer-events: none;
}

.steps { display: grid; gap: 1rem; margin-top: 2rem; counter-reset: step; }

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.05rem 1.15rem;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-lg);
  backdrop-filter: blur(8px);
  transition: transform var(--t-med) var(--ease), background-color var(--t-med) var(--ease);
}

.step:hover { transform: translateX(4px); background: rgba(255, 255, 255, .12); }

.step__num {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  flex: none;
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  box-shadow: var(--sh-accent);
}

.step h3 { color: var(--white); font-size: 1rem; margin-bottom: .15rem; }
.step p { color: rgba(255, 255, 255, .7); font-size: .9rem; line-height: 1.55; }

/* =========================================================================
   09. ENROLLMENT FORM
   ========================================================================= */
.section--enroll {
  background:
    radial-gradient(900px 380px at 0% 0%, var(--red-100) 0%, transparent 60%),
    radial-gradient(900px 420px at 100% 100%, var(--navy-050) 0%, transparent 60%),
    var(--white);
}

.enroll-layout {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
}

/* --- Summary aside --- */
.enroll-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  overflow: hidden;
}

.enroll-aside__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.enroll-aside__body { padding: 1.5rem 1.4rem 1.6rem; }
.enroll-aside__title { font-size: 1.15rem; margin-bottom: 1rem; }

.tick-list { display: grid; gap: .6rem; }

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .93rem;
  color: var(--ink-soft);
}

.tick-list .icon {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: .3rem;
  color: var(--red-500);
}

.enroll-aside__note {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin-top: 1.25rem;
  padding: .8rem .9rem;
  border-radius: var(--r-md);
  background: var(--navy-050);
  font-size: .88rem;
  color: var(--navy-700);
}

.enroll-aside__note .icon { width: 1.1rem; height: 1.1rem; margin-top: .15rem; flex: none; }
.enroll-aside__note strong { font-weight: 700; }

/* --- Form panel --- */
.form-panel {
  position: relative;
  padding: clamp(1.35rem, 3.2vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-lg);
}

.form { display: grid; gap: 1.75rem; }

.form__group { border: 0; padding: 0; margin: 0; display: grid; gap: 1.05rem; }

.form__legend {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 0 0 .25rem;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-600);
}

.form__legend .icon { width: 1.05rem; height: 1.05rem; color: var(--red-500); }

.form__help {
  margin-top: -.55rem;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.55;
}

.req { color: var(--red-500); font-weight: 700; }

.opt {
  font-size: .78em;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}

/* Honeypot — visually gone, still focusable only by bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- Field shell with floating label --- */
/* --field-h is the input's own height. The resting label is centred against
   this rather than against .field, because .field also wraps the hint and the
   error message — centring on the field would drop the label further down the
   taller the field grew, and a field with both (the mobile number) pushed its
   label clean out of the input box. */
.field { position: relative; --field-h: 3.85rem; }

.field__input {
  width: 100%;
  min-height: var(--field-h);
  padding: 1.55rem 1rem .55rem 3.1rem;
  background: var(--navy-050);
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
  appearance: none;
}

.field__input:hover { background: var(--navy-100); }

.field__input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--navy-500);
  box-shadow: 0 0 0 4px rgba(39, 80, 143, .14);
}

.field__icon {
  position: absolute;
  top: 1.25rem;
  left: 1rem;
  color: var(--muted);
  pointer-events: none;
  transition: color var(--t-fast) var(--ease);
  z-index: 1;
}

.field__icon .icon { width: 1.3rem; height: 1.3rem; }
.field:focus-within .field__icon { color: var(--navy-600); }

.field__label {
  position: absolute;
  top: calc(var(--field-h) / 2);
  left: 3.1rem;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--muted);
  pointer-events: none;
  transition: top var(--t-fast) var(--ease), font-size var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  max-width: calc(100% - 4rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Raised label state */
.field__input:focus ~ .field__label,
.field__input:not(:placeholder-shown) ~ .field__label,
.field__label--static {
  top: .62rem;
  transform: none;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--navy-600);
}

/* Phone prefix — hidden while the field is empty and unfocused so the
   resting label sits flush with the icon, then fades in alongside the value. */
.field--phone .field__input { padding-left: 5.5rem; }
.field--phone .field__label { left: 3.1rem; }

.field--phone .field__input:focus ~ .field__label,
.field--phone .field__input:not(:placeholder-shown) ~ .field__label { left: 5.5rem; }

.field__prefix {
  position: absolute;
  top: 1.55rem;
  left: 3.1rem;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink-soft);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
  z-index: 1;
}

.field--phone .field__input:focus ~ .field__prefix,
.field--phone .field__input:not(:placeholder-shown) ~ .field__prefix { opacity: 1; }

/* Select */
.field__select {
  padding-right: 2.75rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364708A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.15rem;
}

/* Date input */
.field--date .field__input { padding-top: 1.6rem; }
.field--date .field__input::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .55; }
.field--date .field__input::-webkit-calendar-picker-indicator:hover { opacity: 1; }

/* Textarea (no leading icon) */
.field--area .field__textarea {
  padding: 2rem 1rem .75rem 1rem;
  min-height: 8.5rem;
  resize: vertical;
  line-height: 1.6;
}

.field--area .field__label { left: 1rem; top: 1.6rem; transform: none; }

.field--area .field__textarea:focus ~ .field__label,
.field--area .field__textarea:not(:placeholder-shown) ~ .field__label {
  top: .62rem;
  font-size: .74rem;
}

.field__hint,
.field__counter {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .4rem;
  padding-inline: .35rem;
}

.field__counter { text-align: right; }
.field__counter.is-near { color: var(--red-600); font-weight: 600; }

/* Inline error message */
.field__error {
  display: none;
  align-items: center;
  gap: .35rem;
  margin-top: .4rem;
  padding-inline: .35rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--danger);
}

.field__error.is-visible { display: flex; animation: shake-in .32s var(--ease) both; }

/* Invalid field styling */
.field__input.is-invalid {
  background: var(--danger-bg);
  border-color: var(--danger);
}

.field__input.is-invalid:focus { box-shadow: 0 0 0 4px rgba(210, 43, 31, .14); }
.field:has(.is-invalid) .field__icon { color: var(--danger); }

/* --- Row of two fields --- */
.field-row { display: grid; gap: 1.05rem; }

/* --- Sub fieldset for the day chips --- */
.subfield { border: 0; padding: 0; margin: 0; }

.subfield__legend {
  padding: 0 0 .55rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }

.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }

.chip span {
  display: inline-block;
  padding: .5rem .95rem;
  border-radius: var(--r-pill);
  background: var(--navy-050);
  border: 1.5px solid var(--line);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all var(--t-fast) var(--ease);
  user-select: none;
}

.chip:hover span { border-color: var(--navy-400); color: var(--navy-600); }

.chip input:checked + span {
  background: var(--grad-navy);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--sh-sm);
}

.chip input:focus-visible + span {
  outline: 3px solid var(--red-500);
  outline-offset: 2px;
}

/* --- Consent checkbox --- */
.field--consent { padding-top: .25rem; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  padding: .95rem 1.05rem;
  border-radius: var(--r-md);
  background: var(--cream-100);
  border: 1.5px solid var(--line);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.consent:hover { border-color: var(--navy-400); }
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }

.consent__box {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  flex: none;
  margin-top: .1rem;
  border-radius: 7px;
  border: 1.8px solid var(--muted);
  background: var(--white);
  color: var(--white);
  transition: all var(--t-fast) var(--ease);
}

.consent__box .icon { width: .95rem; height: .95rem; opacity: 0; transform: scale(.5); transition: all var(--t-fast) var(--ease); }
.consent input:checked + .consent__box { background: var(--grad-accent); border-color: transparent; }
.consent input:checked + .consent__box .icon { opacity: 1; transform: scale(1); }
.consent input:focus-visible + .consent__box { outline: 3px solid var(--red-500); outline-offset: 2px; }
.consent__text { font-size: .89rem; color: var(--ink-soft); line-height: 1.55; }
.consent.is-invalid { border-color: var(--danger); background: var(--danger-bg); }

/* --- Form-level status banner --- */
.form__status {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .9rem 1.05rem;
  border-radius: var(--r-md);
  font-size: .9rem;
  font-weight: 600;
  animation: slide-up .35s var(--ease) both;
}

.form__status--error { background: var(--danger-bg); color: var(--danger); border: 1px solid #F6CFCB; }
.form__status--success { background: var(--success-bg); color: var(--success); border: 1px solid #C4E8DA; }

.form__footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
}

.form__footnote .icon { width: 1rem; height: 1rem; color: var(--success); }

/* --- Success panel --- */
.form-success { text-align: center; padding: clamp(1.5rem, 4vw, 3rem) .5rem; animation: slide-up .45s var(--ease-out) both; }

.form-success__icon {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
}

.form-success__icon .icon { width: 2.4rem; height: 2.4rem; }
.form-success h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.form-success p { color: var(--muted); max-width: 26rem; margin: 0 auto 1.75rem; }

/* =========================================================================
   10. CONTACT & MAP
   ========================================================================= */
.contact-layout { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }

.contact-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }

.contact-card {
  padding: 1.5rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease);
}

.contact-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: .9rem;
  border-radius: var(--r-md);
  background: var(--grad-navy);
  color: var(--white);
  box-shadow: var(--sh-sm);
}

.contact-card__icon .icon { width: 1.4rem; height: 1.4rem; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.contact-card p { font-size: .92rem; color: var(--muted); line-height: 1.6; }
.contact-card a { color: var(--navy-600); font-weight: 600; word-break: break-word; }
.contact-card a:hover { color: var(--red-500); }
.contact-card__meta { font-size: .8rem !important; color: var(--muted); opacity: .8; margin-top: .25rem; }

/* Map: the iframe sits above a styled fallback, so a blocked or offline
   embed still shows a usable placeholder underneath. */
.map {
  position: relative;
  min-height: 20rem;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  background: var(--navy-050);
}

.map__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .75rem;
  text-align: center;
  padding: 1.5rem;
  color: var(--navy-600);
}

.map__fallback .icon { width: 2.5rem; height: 2.5rem; opacity: .55; }
.map__fallback p { font-size: .92rem; color: var(--muted); }
.map__fallback strong { color: var(--ink); font-family: var(--font-head); }

.map__frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 20rem;
  border: 0;
  filter: grayscale(.25) contrast(1.03);
  transition: filter var(--t-med) var(--ease);
}

.map:hover .map__frame { filter: none; }

/* =========================================================================
   11. CTA BANNER & FOOTER
   ========================================================================= */
.cta-banner {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background: var(--grad-accent);
  color: var(--white);
}

.cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.cta-banner h2 { color: var(--white); font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem); margin-bottom: .35rem; }
.cta-banner p { color: rgba(255, 255, 255, .88); font-size: 1rem; }
.cta-banner .btn--accent { background: var(--white); color: var(--red-600); box-shadow: var(--sh-lg); }
.cta-banner .btn--accent:hover { color: var(--red-700); }

.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .68);
  padding-top: clamp(2.75rem, 6vw, 4.5rem);
  font-size: .92rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.25rem;
  padding-bottom: clamp(2rem, 5vw, 3.25rem);
}

.site-footer__logo {
  height: 2.6rem;
  width: auto;
  border-radius: 8px;
  background: var(--cream-100);
  padding: 3px 6px;
  margin-bottom: 1rem;
}

.site-footer__brand p { max-width: 24rem; line-height: 1.7; }

.site-footer h3 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.site-footer__col ul { display: grid; gap: .6rem; }
.site-footer__col a { color: rgba(255, 255, 255, .68); transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease); }
.site-footer__col a:hover { color: var(--white); padding-left: .25rem; }

.site-footer__facts li { display: flex; align-items: center; gap: .5rem; }

.site-footer__facts li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-500);
  flex: none;
}

.site-footer__contact { font-style: normal; }
.site-footer__contact li { display: flex; align-items: flex-start; gap: .6rem; line-height: 1.6; }
.site-footer__contact .icon { width: 1.05rem; height: 1.05rem; margin-top: .25rem; color: var(--red-400); flex: none; }

.socials { display: flex; gap: .6rem; margin-top: 1.35rem; }

.socials a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .82);
  transition: all var(--t-fast) var(--ease);
}

.socials a:hover {
  background: var(--red-500);
  border-color: transparent;
  color: var(--white);
  transform: translateY(-3px);
  padding-left: 0;
}

.socials .icon { width: 1.15rem; height: 1.15rem; }

.site-footer__bar {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .84rem;
  color: rgba(255, 255, 255, .5);
}

/* =========================================================================
   12. UTILITIES
   ========================================================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--navy-600);
  color: var(--white);
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 700;
  transition: top var(--t-fast) var(--ease);
}

.skip-link:focus { top: 0; color: var(--white); }

.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 0;
  border-radius: 50%;
  background: var(--grad-navy);
  color: var(--white);
  box-shadow: var(--sh-lg);
  cursor: pointer;
  animation: slide-up .3s var(--ease) both;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.to-top:hover { transform: translateY(-3px); background: var(--grad-accent); }
.to-top .icon { width: 1.25rem; height: 1.25rem; }

.toast {
  position: fixed;
  left: 50%;
  bottom: clamp(1rem, 4vw, 2.25rem);
  z-index: 150;
  display: flex;
  align-items: center;
  gap: .6rem;
  max-width: min(28rem, calc(100vw - 2rem));
  padding: .85rem 1.25rem;
  transform: translateX(-50%);
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-xl);
  font-size: .9rem;
  font-weight: 600;
  animation: toast-in .35s var(--ease-out) both;
}

.toast--error { background: var(--danger); }
.toast__icon { width: 1.25rem; height: 1.25rem; flex: none; }

/* =========================================================================
   13. ANIMATIONS & SCROLL REVEAL
   ========================================================================= */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@keyframes slide-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes hero-zoom {
  from { transform: scale(1.09); }
  to   { transform: scale(1); }
}

@keyframes shake-in {
  0%   { opacity: 0; transform: translateX(-6px); }
  60%  { transform: translateX(3px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Scroll reveal — JS adds .is-visible when the element enters the viewport */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
  transition-delay: calc(var(--reveal-delay, 0) * 80ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* If scripting is unavailable, content must still be visible.
   A <noscript> style block in the document head covers older browsers. */
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   14. RESPONSIVE BREAKPOINTS
   Mobile-first: 320 base → 480 → 768 → 1024 → 1440
   ========================================================================= */

/* --- 480px: large phones --- */
@media (min-width: 30em) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
  .site-footer__bar { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* --- 768px: tablets --- */
@media (min-width: 48em) {
  :root { --header-h: 5rem; }

  .brand__text { display: flex; }
  .brand__logo { height: 2.7rem; }

  .field-row { grid-template-columns: 1fr 1fr; }

  .site-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }

  .cta-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .media-badge { left: -1.5rem; bottom: -1.5rem; }
}

/* --- 1024px: laptops — nav becomes horizontal, splits go side by side --- */
@media (min-width: 64em) {
  .nav {
    position: static;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    overflow: visible;
  }

  .nav__list { flex-direction: row; gap: 1.6rem; }

  .nav__link {
    position: relative;
    padding: .35rem 0;
    font-size: .93rem;
    color: rgba(255, 255, 255, .82);
    border-bottom: 0;
  }

  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--red-500);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--t-med) var(--ease-out);
  }

  .nav__link:hover,
  .nav__link.is-active { color: var(--white); padding-left: 0; }
  .nav__link:hover::after,
  .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

  .is-stuck .nav__link { color: var(--ink-soft); }
  .is-stuck .nav__link:hover,
  .is-stuck .nav__link.is-active { color: var(--navy-700); }

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

  .grid-split { grid-template-columns: 1fr 1fr; }
  .grid-split--reverse .grid-split__media { order: 2; }

  .cards { grid-template-columns: repeat(4, 1fr); }

  .enroll-layout { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); }
  .enroll-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }

  .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; }
  .contact-cards { align-content: start; }
  .map { min-height: 100%; }

  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }

  .br-lg { display: block; }
}

/* --- 1440px: large desktops — a little more air --- */
@media (min-width: 90em) {
  :root { --container: 1280px; }
  .hero { min-height: min(50rem, 100svh); }
  .about-points { gap: 1.25rem; }
}

/* =========================================================================
   15. REDUCED MOTION / PRINT / FORCED COLORS
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .hero__media img { animation: none; }
}

@media (forced-colors: active) {
  .btn, .card, .field__input, .chip span, .consent__box { border: 1px solid; }
  .card::before, .nav__link::after { display: none; }
}

@media print {
  .site-header, .nav, .to-top, .toast, .cta-banner, .map, .hero__media, .socials { display: none !important; }
  body { color: #000; background: #fff; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding-block: 1rem; }
}
