/* ============================================================
   Vertex Mathematics — style.css
   Multi-page. Tinted paper + floating white cards.
   Palette: Space Indigo / Cerulean / Honeydew / Tangerine.
   Type: Bricolage Grotesque (display) + Inter (body/utility).
   ============================================================ */

:root {
  /* --- Ink & neutrals --- */
  --indigo:      #2D3047;   /* headings, dark sections, footer */
  --ink:         #2D3047;   /* primary text on light */
  --slate:       #545A70;   /* secondary / body text */
  --slate-soft:  #7B8198;   /* muted captions */

  /* --- Surfaces (light, clean, "less white but not gray") --- */
  --paper:       #F8FAFB;   /* page background — light, barely-tinted off-white */
  --surface:     #FFFFFF;   /* cards float above the paper */
  --neutral-alt: #EEF2F3;   /* soft neutral for alternating sections (NOT green) */
  --mist:        #E4F1E9;   /* honeydew — reserved for testimonial sections only */
  --line:        #E7ECED;   /* hairline borders */
  --line-strong: #D8DFE0;

  /* --- Cerulean: the workhorse accent (matches the logo) --- */
  --cerulean:      #247BA0;
  --cerulean-dk:   #1C627F;
  --cerulean-soft: #E5EFF4;

  /* --- Tangerine: the single signature pop (brighter) --- */
  --tangerine:      #FF7E2E;   /* brighter, more saturated orange */
  --tangerine-dk:   #F26A16;
  --tangerine-soft: #FFEEE0;
  --tangerine-bright:#FF6A12;  /* vivid pop for the enrolments CTA */

  --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:    16px;
  --radius-sm: 12px;
  --radius-lg: 22px;
  --container: 1140px;

  --shadow-xs: 0 1px 2px rgba(45,48,71,.06);
  --shadow-sm: 0 2px 8px rgba(45,48,71,.07);
  --shadow-md: 0 12px 30px rgba(45,48,71,.10);
  --shadow-lg: 0 24px 60px rgba(45,48,71,.14);
  --shadow-pop: 0 14px 34px rgba(255,147,79,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* icons always carry an intrinsic size; this is the no-CSS-cache safety net.
   Contextual rules below (.social-card svg, .footer__social svg, .follow__btn svg)
   override these where a different size is wanted. */
svg { flex-shrink: 0; }
svg.ico { width: 22px; height: 22px; }

a { color: var(--cerulean); text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--cerulean);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------------- Typography ---------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.022em;
  line-height: 1.1;
  text-wrap: balance;
  font-weight: 700;
}

h1 { font-size: clamp(2.3rem, 6vw, 3.7rem); line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 4vw, 2.55rem); }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.28; }

p { color: var(--slate); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cerulean);
  margin-bottom: 16px;
}
/* the signature vertex — a small tangerine peak */
.eyebrow__mark {
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid var(--tangerine);
  display: inline-block;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 22px;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .18s var(--ease),
              box-shadow .22s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }

/* tangerine = the action we want people to take */
.btn--primary { background: var(--tangerine); color: var(--indigo); box-shadow: var(--shadow-xs); }
.btn--primary:hover { background: var(--tangerine-dk); transform: translateY(-2px); box-shadow: var(--shadow-pop); }

/* cerulean = brand / secondary solid */
.btn--brand { background: var(--cerulean); color: #fff; box-shadow: var(--shadow-xs); }
.btn--brand:hover { background: var(--cerulean-dk); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--cerulean); color: var(--cerulean); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn--light { background: #fff; color: var(--indigo); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* vivid orange — used for the enrolments call-to-action */
.btn--bright { background: var(--tangerine-bright); color: #fff; box-shadow: 0 6px 18px rgba(255,106,18,.32); }
.btn--bright:hover { background: #FF5A00; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,106,18,.42); }

.btn svg { width: 18px; height: 18px; }

/* ---------------- Nav ---------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(248,250,251,.78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.nav.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 2px 18px rgba(45,48,71,.05);
  background: rgba(255,255,255,.85);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand { display: inline-flex; align-items: center; gap: 11px; }
.nav__logo { height: 40px; width: auto; }
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.nav__wordmark em { font-style: normal; color: var(--cerulean); margin-left: 5px; font-weight: 600; }

.nav__links { display: none; }

.nav__burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 9px;
  cursor: pointer;
}
.nav__burger span {
  width: 23px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.nav__links.is-open {
  display: flex;
  position: fixed;
  top: 70px; left: 0; right: 0;
  flex-direction: column;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 14px 22px 22px;
  gap: 4px;
  box-shadow: var(--shadow-lg);
  animation: menuIn .22s var(--ease);
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.nav__links a {
  color: var(--ink);
  font-weight: 500;
  font-size: .98rem;
  padding: 11px 13px;
  border-radius: 9px;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__links a:hover { background: var(--cerulean-soft); color: var(--cerulean); }
.nav__links a.is-active { color: var(--cerulean); background: var(--cerulean-soft); }
.nav__links .nav__cta { margin-top: 10px; color: var(--indigo); background: var(--tangerine); }
.nav__links .nav__cta:hover { color: var(--indigo); background: var(--tangerine-dk); }
.nav__links .nav__cta.is-active { background: var(--tangerine); color: var(--indigo); }

@media (min-width: 940px) {
  .nav__burger { display: none; }
  .nav__links { display: flex; align-items: center; gap: 2px; }
  .nav__links a { font-size: .92rem; padding: 9px 13px; position: relative; }
  /* underline marker for active/hover on desktop */
  .nav__links a:not(.nav__cta).is-active { background: transparent; }
  .nav__links a:not(.nav__cta).is-active::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
    height: 2px; border-radius: 2px; background: var(--cerulean);
  }
  .nav__links a:not(.nav__cta):hover { background: var(--cerulean-soft); }
  .nav__links .nav__cta { margin: 0 0 0 12px; }
}

/* ---------------- Page hero (interior pages) ---------------- */

.pagehead { padding: 128px 0 18px; }
.pagehead__inner { max-width: 46rem; }
.pagehead h1 { font-size: clamp(2.1rem, 5vw, 3rem); margin-top: 6px; }
.pagehead p { font-size: 1.1rem; margin-top: 18px; max-width: 40rem; }

/* ---------------- Home hero ---------------- */

.hero {
  padding: 120px 0 64px;
  position: relative;
  /* lighter, brighter top section — fades from near-white into the paper */
  background:
    radial-gradient(900px 460px at 78% 8%, rgba(36,123,160,.06), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FCFEFE 42%, var(--paper) 100%);
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__sub { font-size: 1.12rem; max-width: 34rem; margin-top: 20px; color: var(--slate); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero__facts li { display: flex; flex-direction: column; gap: 3px; }
.hero__facts strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}
.hero__facts span { font-size: .82rem; color: var(--slate-soft); }

.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  aspect-ratio: 5 / 6;
  max-height: 580px;
}
/* sliding carousel: a flex track that translates one full frame at a time */
.hero__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .8s var(--ease);
  will-change: transform;
}
.hero__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
.hero__dots {
  position: absolute;
  right: 16px; top: 16px;
  display: flex;
  gap: 7px;
}
.hero__dots button {
  width: 8px; height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  box-shadow: 0 1px 3px rgba(45,48,71,.3);
  cursor: pointer;
  transition: background-color .25s var(--ease), width .25s var(--ease);
}
.hero__dots button.is-active { background: #fff; width: 20px; }
/* floating mark-jump badge on the hero photo — the signature, previewed */
.hero__badge {
  position: absolute;
  left: 18px; bottom: 18px;
  background: var(--surface);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__badge .jump {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  white-space: nowrap;
}
.hero__badge .jump b { color: var(--tangerine-dk); }
.hero__badge small { display: block; color: var(--slate-soft); font-size: .76rem; letter-spacing: .02em; }

@media (min-width: 940px) {
  .hero { padding: 156px 0 96px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 60px; }
}

/* ---------------- Term strip ---------------- */

.term { background: var(--indigo); position: relative; overflow: hidden; }
.term::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,147,79,.22), transparent 70%);
}
.term__inner { padding: 50px 22px; display: grid; gap: 28px; position: relative; }
.term__kicker {
  display: inline-block;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff;
  background: var(--tangerine-bright);
  border: 1px solid var(--tangerine-bright);
  padding: 5px 13px; border-radius: 999px; margin-bottom: 16px;
}
.term h2 { color: #fff; }
.term__text p { color: #C6CBDA; margin-top: 12px; max-width: 36rem; }
.term__action { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.term__phone { font-family: var(--font-display); font-weight: 600; color: #fff; letter-spacing: .02em; }

@media (min-width: 940px) {
  .term__inner { grid-template-columns: 1fr auto; align-items: center; padding: 58px 22px; }
  .term__action { align-items: flex-end; }
}

/* ---------------- Sections ---------------- */

.section { padding: 78px 0; }
.section--alt { background: var(--neutral-alt); }      /* neutral, clean alternating bg */
.section--green { background: var(--mist); }           /* honeydew — testimonials only */
.section--dark { background: var(--indigo); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #C6CBDA; }
.section--dark .eyebrow { color: var(--tangerine); }

.section__head { max-width: 44rem; margin-bottom: 46px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head p { margin-top: 16px; font-size: 1.05rem; }

@media (min-width: 940px) {
  .section { padding: 112px 0; }
  .section__head { margin-bottom: 60px; }
}

/* ---------------- Follow-us callout ---------------- */

.follow {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.follow h2 { color: var(--ink); }
.follow p { margin: 14px auto 26px; max-width: 34rem; }
.follow__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.follow__btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .95rem;
  padding: 12px 20px; border-radius: 11px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.follow__btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--cerulean); }
.follow__btn svg { width: 20px; height: 20px; fill: var(--cerulean); }
.follow__btn span { color: var(--slate-soft); font-weight: 500; }
@media (min-width: 560px) { .follow { padding: 52px 40px; } }

/* ---------------- Grids & feature cards ---------------- */

.grid { display: grid; gap: 22px; }

@media (min-width: 740px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card__icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--cerulean-soft); color: var(--cerulean);
  margin-bottom: 18px;
}
.card__icon svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: 10px; color: var(--ink); }
.card p { font-size: .96rem; }

/* ---------------- Pricing ---------------- */

.pricing { align-items: stretch; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--cerulean); }
.price-card--feature { border-color: var(--cerulean); box-shadow: var(--shadow-sm); position: relative; }
.price-card__tag {
  position: absolute; top: -12px; left: 30px;
  background: var(--cerulean); color: #fff;
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.price-card__years {
  font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cerulean); margin-bottom: 6px;
}
.price-card h3 { color: var(--ink); }
.price-card__amount {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 700; color: var(--ink);
  margin-top: 18px; line-height: 1;
}
.price-card__amount span { font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: var(--slate-soft); }
.price-card__per { font-size: .9rem; font-weight: 600; color: var(--ink); margin-top: 10px; }
.price-card__meta { font-size: .88rem; margin-top: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--slate); }
.price-card ul { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-card li { position: relative; padding-left: 26px; font-size: .94rem; color: var(--slate); }
.price-card li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-bottom: 7px solid var(--tangerine);
}
.price-card .btn { margin-top: 24px; }

/* Focus classes callout */
.focus {
  margin-top: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--tangerine);
  border-radius: var(--radius);
  padding: 30px;
  display: flex; flex-direction: column; gap: 18px;
}
.focus h3 { margin-bottom: 8px; color: var(--ink); }
.focus p { font-size: .96rem; max-width: 46rem; }

@media (min-width: 940px) {
  .focus { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------------- Diagnostic steps ---------------- */

.diag { display: grid; gap: 44px; }
.diag__lead { font-size: 1.06rem; margin: 16px 0 28px; max-width: 30rem; }
.diag__steps { list-style: none; counter-reset: step; display: grid; gap: 0; border-left: 2px solid var(--line-strong); }
.diag__steps li { counter-increment: step; position: relative; padding: 0 0 30px 34px; }
.diag__steps li:last-child { padding-bottom: 0; }
.diag__steps li::before {
  content: counter(step);
  position: absolute; left: -18px; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--cerulean); color: var(--cerulean);
  font-family: var(--font-display); font-weight: 700; font-size: .88rem;
  display: flex; align-items: center; justify-content: center;
}
.diag__steps h3 { margin-bottom: 6px; color: var(--ink); }
.diag__steps p { font-size: .94rem; }

@media (min-width: 940px) {
  .diag { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
}

/* ---------------- Testimonials (signature) ---------------- */

.results { display: grid; gap: 44px; }
@media (min-width: 980px) {
  .results { grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
  .results__head { position: sticky; top: 100px; }
}

.results__stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.results__stats div { display: flex; flex-direction: column; }
.results__stats strong { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--ink); line-height: 1; }
.results__stats span { font-size: .82rem; color: var(--slate-soft); margin-top: 6px; }

/* staggered floating cards */
.testi-stack { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 620px) {
  .testi-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
  .testi:nth-child(3n+1) { margin-top: 0; }
  .testi:nth-child(even) { transform: translateY(26px); }
}

.testi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testi__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff;
}
.testi__meta strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--ink); font-weight: 600; }
.testi__meta span { font-size: .8rem; color: var(--slate-soft); }
.testi__jump {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--tangerine-soft);
  border: 1px solid rgba(255,147,79,.35);
  color: var(--tangerine-dk);
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.testi__jump svg { width: 15px; height: 15px; }
.testi__quote { font-size: .96rem; color: var(--slate); line-height: 1.6; }
.testi__quote::before { content: "“"; color: var(--cerulean); font-weight: 700; }
.testi__quote::after { content: "”"; color: var(--cerulean); font-weight: 700; }

/* avatar colour rotation */
.av-1 { background: var(--cerulean); }
.av-2 { background: var(--tangerine-dk); }
.av-3 { background: var(--indigo); }
.av-4 { background: #3E8E7E; }
.av-5 { background: var(--cerulean-dk); }
.av-6 { background: #C76B98; }

/* ---------------- Gallery ---------------- */

.gallery { display: grid; gap: 16px; }
.gallery img {
  width: 100%; height: 240px; object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gallery img:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
@media (min-width: 740px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery img { height: 280px; }
}

/* ---------------- Split feature (image + copy) ---------------- */

.split { display: grid; gap: 36px; align-items: center; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.split__media img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; object-position: center 20%; }
.split__list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.split__list li { position: relative; padding-left: 30px; color: var(--slate); }
.split__list li svg { position: absolute; left: 0; top: 3px; width: 19px; height: 19px; color: var(--cerulean); }
@media (min-width: 940px) {
  .split { grid-template-columns: 1fr 1fr; gap: 60px; }
  .split--rev .split__media { order: 2; }
}

/* ---------------- Map ---------------- */

.map { position: relative; margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }
.map__card { background: var(--surface); border-top: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.map__address { font-size: .95rem; line-height: 1.55; color: var(--slate); }
.map__address strong { color: var(--ink); }
@media (min-width: 740px) {
  .map iframe { height: 420px; }
  .map__card { position: absolute; left: 22px; bottom: 22px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); max-width: 300px; }
}

/* ---------------- Tutors ---------------- */

.tutors { gap: 26px; }
.tutor {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tutor:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tutor img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 12%; }
.tutor__body { padding: 28px 30px 32px; }
.tutor__body h3 { font-size: 1.35rem; color: var(--ink); }
.tutor__role { font-size: .88rem; font-weight: 600; color: var(--cerulean); margin-top: 4px; }
.tutor__subjects {
  font-size: .8rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--slate-soft); margin: 14px 0 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.tutor__body p:last-child { font-size: .96rem; }

/* ---------------- Contact cards ---------------- */

.contact-grid { display: grid; gap: 18px; }
@media (min-width: 740px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--cerulean); }
.contact-card .card__icon { background: var(--tangerine-soft); color: var(--tangerine-dk); }
.contact-card h3 { color: var(--ink); margin-bottom: 8px; font-size: 1.05rem; }
.contact-card a, .contact-card p { font-size: .96rem; color: var(--slate); }
.contact-card a:hover { color: var(--cerulean); }

/* ---------------- Socials ---------------- */

.social { display: grid; gap: 36px; }
.section__head--left { margin-bottom: 0; }
.social__cards { display: grid; gap: 14px; align-content: start; }
.social-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px; color: var(--ink);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.social-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--cerulean); }
.social-card svg { width: 28px; height: 28px; fill: var(--cerulean); flex-shrink: 0; }
.social-card strong { display: block; font-family: var(--font-display); font-weight: 600; }
.social-card span { font-size: .88rem; color: var(--slate-soft); }
@media (min-width: 940px) { .social { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; } }

/* ---------------- Final CTA ---------------- */

.cta { background: var(--indigo); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; left: 50%; top: -40%;
  width: 540px; height: 540px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(36,123,160,.35), transparent 65%);
}
.cta__inner { padding: 86px 22px; text-align: center; position: relative; }
.cta h2 { color: #fff; }
.cta p { color: #C6CBDA; margin: 16px auto 32px; max-width: 32rem; }
.cta__hours { font-size: .85rem; margin: 26px auto 0; color: #8E94A8; }

/* ---------------- Footer ---------------- */

.footer { background: #24263A; color: #B6BCCD; }
.footer__grid { padding: 66px 22px 48px; display: grid; gap: 40px; }
.footer__logo { height: 46px; width: auto; margin-bottom: 16px; }
.footer__brand p { color: #8C92A6; font-size: .92rem; max-width: 22rem; }
.footer__brand strong { color: #fff; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col h4 { font-family: var(--font-display); color: #fff; font-size: .96rem; margin-bottom: 4px; }
.footer__col a { color: #8C92A6; font-size: .9rem; transition: color .2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__social { display: flex; gap: 12px; margin-top: 8px; }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.06); transition: background-color .2s var(--ease);
}
.footer__social a:hover { background: var(--cerulean); }
.footer__social svg { width: 18px; height: 18px; fill: #C9CFDE; }
.footer__bar {
  padding: 20px 22px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  font-size: .84rem; color: #6E748A;
}
.footer__top { color: #8C92A6; }
.footer__top:hover { color: #fff; }
@media (min-width: 940px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; } }

/* ---------------- Reveal on scroll ---------------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .testi:nth-child(even) { transform: none; }
}
