/* ==========================================================================
   Elite Math Academy — light theme
   White surfaces, blue elements. Built fresh, no legacy classes.
   ========================================================================== */

:root {
  --blue:        #3B82F6;
  --blue-dark:   #1D4ED8;
  --blue-darker: #1E3A8A;
  --blue-soft:   #EFF6FF;
  --blue-line:   #DBEAFE;

  --ink:    #0F172A;
  --body:   #475569;
  --muted:  #64748B;
  --line:   #E2E8F0;
  --surface:#F8FAFC;
  --white:  #FFFFFF;

  --radius:   14px;
  --radius-lg:22px;
  --shadow:   0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
  --shadow-lg:0 2px 4px rgba(15,23,42,.04), 0 20px 48px rgba(15,23,42,.10);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--body);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
/* section headlines in caps */
h1, h2 { text-transform: uppercase; letter-spacing: -.005em; font-weight: 800; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.12; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); line-height: 1.18; }
h3 { font-size: 1.15rem; }
p  { color: var(--body); }
a  { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
.tint { background: var(--surface); }
.blue-band { background: var(--blue-darker); }
.blue-band h2, .blue-band h3 { color: #fff; }
.blue-band p { color: #C7D9F7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 13px 26px; border-radius: 10px;
  font-weight: 700; font-size: .82rem; text-decoration: none;
  text-transform: uppercase; letter-spacing: .07em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-blue   { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost  { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn-white  { background: #fff; color: var(--blue-darker); }
.btn-white:hover { background: var(--blue-soft); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand .wordmark { height: 26px; width: auto; }
.site-footer .brand .wordmark { height: 30px; }
.brand span { font-weight: 800; color: var(--ink); font-size: 1.02rem; letter-spacing: -.03em; white-space: nowrap; }
.brand span em { font-style: normal; color: var(--blue); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: var(--body); font-weight: 600; font-size: .8rem; text-decoration: none;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a.active { color: var(--blue-dark); border-bottom-color: var(--blue); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.burger {
  display: none; width: 34px; height: 34px;
  background: none; border: 0; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.burger span { display: block; width: 26px; height: 2.5px; background: var(--blue); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Hero (full-bleed photo slideshow) ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 96px 0;
  overflow: hidden;
  background: var(--ink);
}
.hero .wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: 52px; align-items: center;
}

.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slides img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0;
  will-change: transform, opacity;
  animation: heroFade 18s infinite;
}
/* slide 1 zooms in, slide 2 zooms out — the "breathing" effect */
.hero-slides picture:nth-child(odd) img {
  animation-name: heroFade, heroZoomIn;
  animation-duration: 18s, 18s;
  animation-delay: 0s, 0s;
}
.hero-slides picture:nth-child(even) img {
  animation-name: heroFade, heroZoomOut;
  animation-duration: 18s, 18s;
  animation-delay: 9s, 9s;
}

@keyframes heroFade {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  46%  { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes heroZoomIn  { 0% { transform: scale(1); }    50% { transform: scale(1.14); } 100% { transform: scale(1); } }
@keyframes heroZoomOut { 0% { transform: scale(1.14); } 50% { transform: scale(1); }    100% { transform: scale(1.14); } }

/* readability veil */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(15,23,42,.93) 0%, rgba(15,23,42,.78) 42%, rgba(15,23,42,.42) 100%),
    linear-gradient(to top, rgba(29,78,216,.28), rgba(15,23,42,0) 55%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slides img { animation: heroFade 18s infinite; transform: none; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  border: 0; border-radius: 0;
  padding: 8px 16px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 18px; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero h1 em { font-style: normal; color: #93C5FD; }
.hero-lead {
  font-size: 1rem; max-width: 52ch; margin-bottom: 28px; color: #DBE4F0;
  text-transform: uppercase; font-weight: 600; letter-spacing: .06em; line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
/* fact bars under the hero copy — stacked, one line each */
.hero-facts {
  display: flex; flex-direction: column;
  gap: 10px; max-width: 400px; margin-top: 32px;
}
.hero-facts li {
  list-style: none;
  display: flex; align-items: center;
  background: rgba(12, 22, 40, .58);
  border: 1px solid rgba(255, 255, 255, .13);
  border-left: 3px solid var(--blue);
  border-radius: 10px;
  padding: 13px 18px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.hero-facts li:hover {
  background: rgba(12, 22, 40, .74);
  transform: translateX(3px);
}
.hf-t {
  color: #fff; font-weight: 700; font-size: .86rem; line-height: 1.3;
  text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
}


/* ---------- Quick enrol form (hero) ---------- */
.qf {
  background: linear-gradient(155deg, #0B1F44 0%, #12326B 55%, #1D4ED8 130%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 30px 30px 26px;
  box-shadow: 0 28px 60px rgba(2,10,30,.55);
  max-width: 460px; width: 100%; margin-left: auto;
}
.qf-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.16); overflow: hidden; margin-bottom: 24px; }
.qf-bar span { display: block; height: 100%; width: 25%; background: var(--blue); border-radius: 4px; transition: width .3s ease; }

.qf-step { display: none; }
.qf-step.is-active { display: block; animation: qfIn .28s ease; }
@keyframes qfIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.qf-count {
  color: #7FB0FF; font-size: .74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px;
}
.qf-q {
  color: #fff; font-size: 1.08rem; font-weight: 600; line-height: 1.4;
  text-transform: none; letter-spacing: 0; margin-bottom: 18px;
}
.qf-q span { color: #7FB0FF; }

.qf-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.qf-opt {
  font: inherit; cursor: pointer;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22);
  color: #E7EEFB;
  padding: 10px 18px; border-radius: 999px;
  font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.qf-opt:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.45); }
.qf-opt.is-picked { background: #fff; border-color: #fff; color: #0B1F44; }

.qf-fields { display: grid; gap: 12px; }
.qf-fields input {
  width: 100%; font: inherit; font-size: .95rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff; border-radius: 11px; padding: 13px 16px;
}
.qf-fields input::placeholder { color: #9FB6D9; }
.qf-fields input:focus { outline: none; border-color: #7FB0FF; background: rgba(255,255,255,.12); }
.qf-note { color: #9FB6D9; font-size: .82rem; margin-top: 12px; }

.qf-nav { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.qf-back {
  font: inherit; cursor: pointer; background: none; border: 0;
  color: #9FB6D9; font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; padding: 8px 4px;
}
.qf-back:hover { color: #fff; }
.qf-next {
  font: inherit; cursor: pointer; flex: 1;
  background: var(--blue); color: #fff; border: 0;
  padding: 14px 24px; border-radius: 12px;
  font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  transition: background .18s ease, opacity .18s ease;
}
.qf-next:hover:not(:disabled) { background: #2563EB; }
.qf-next:disabled { opacity: .45; cursor: not-allowed; }

.qf-done { text-align: center; padding: 8px 0 4px; }
.qf-done i { color: #7FB0FF; font-size: 2.4rem; margin-bottom: 14px; display: block; }
.qf-done h2 { color: #fff; font-size: 1.15rem; text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.qf-done p { color: #B9CBE8; font-size: .92rem; }
.qf-wa { color: #7FB0FF; font-weight: 700; white-space: nowrap; text-decoration: underline; }
.qf-wa:hover { color: #fff; }
.qf-wa-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 18px; padding: 12px 24px; border-radius: 11px;
  background: #25D366; color: #05331A;
  font-size: .8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em; text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
.qf-wa-btn:hover { background: #1FBF5A; color: #05331A; text-decoration: none; transform: translateY(-1px); }

/* ---------- Logos / trust strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.strip div { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--body); font-weight: 500; }
.strip i { color: var(--blue); }

/* ---------- Section heads ---------- */
.head { max-width: 640px; margin-bottom: 44px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2 { margin-bottom: 12px; }
.head p { font-size: 1.03rem; }

/* ---------- Steps (numbered, blue) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step-n {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--blue); color: #fff; font-weight: 700;
  display: grid; place-items: center; margin-bottom: 16px; font-size: 1rem;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .95rem; }

/* Blue variant — solid blue cards, tight padding, no number tile */
.steps-blue { gap: 14px; }
.steps-blue .step { background: var(--blue); border-color: var(--blue); padding: 20px 22px; }
.steps-blue .step h3 { color: #fff; margin-bottom: 5px; font-size: 1.05rem; }
.steps-blue .step p { color: #DCE9FE; font-size: .9rem; line-height: 1.5; }

/* ---------- Feature rows (alternating photo/text) ---------- */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.frow + .frow { margin-top: 76px; }
.frow.flip .frow-media { order: 2; }
.frow-media img { width: 100%; aspect-ratio: 16/11; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
/* upright portrait — keeps the head in frame */
.frow-media .portrait { aspect-ratio: 4/5; object-position: center top; max-width: 420px; }
.frow h2 { margin-bottom: 14px; }
.frow ul { margin-top: 18px; }
.frow li { list-style: none; display: flex; gap: 11px; align-items: flex-start; margin-bottom: 11px; font-size: .97rem; }
.frow li i { color: var(--blue); margin-top: 5px; font-size: .8rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px 32px; position: relative;
}
.plan.featured { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.plan-tag {
  position: absolute; top: -12px; left: 26px;
  background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.plan h3 { font-size: 1.05rem; margin-bottom: 4px; }
.plan .grade { font-size: .85rem; color: var(--muted); }
.plan .cost { margin: 20px 0 4px; display: flex; align-items: baseline; gap: 4px; }
.plan .cost b { font-size: 2.5rem; color: var(--ink); font-weight: 800; letter-spacing: -.04em; }
.plan .cost span { color: var(--muted); font-size: .95rem; }
.plan .note { font-size: .84rem; color: var(--muted); margin-bottom: 22px; }
.plan ul { border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 26px; }
.plan li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; margin-bottom: 10px; }
.plan li i { color: var(--blue); font-size: .78rem; margin-top: 6px; }
.plan .btn { width: 100%; justify-content: center; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat b,
.stat b .counter {
  font-size: clamp(2.5rem, 4.6vw, 3.6rem);
  font-weight: 800; color: #fff;
  letter-spacing: -.045em; line-height: 1;
}
.stat b { display: block; margin-bottom: 10px; }
/* direct child only — must not catch the counter span inside <b> */
.stat > span {
  display: block;
  font-size: .95rem; color: #C7D9F7;
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: var(--blue); border: 1px solid var(--blue);
  border-radius: var(--radius); padding: 24px 22px;
}
.quote .stars { color: #FFD166; font-size: .82rem; margin-bottom: 12px; letter-spacing: 2px; }
.quote p { font-size: .95rem; color: #fff; margin-bottom: 18px; line-height: 1.55; }
.quote footer { display: flex; align-items: center; gap: 11px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.quote .avatar { background: #fff; color: var(--blue-dark); }
.quote footer b { display: block; color: #fff; font-size: .9rem; }
.quote footer small { color: #DCE9FE; font-size: .8rem; }

/* ---------- Timetable ---------- */
.tt { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tt-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.tt-head { background: var(--blue-soft); padding: 16px 22px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--blue-line); }
.tt-head b { width: 34px; height: 34px; border-radius: 9px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.tt-head h3 { font-size: 1rem; }
.tt-head small { color: var(--muted); font-size: .8rem; display: block; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 22px; font-size: .92rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
td { color: var(--ink); }
tr:last-child td { border-bottom: none; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.person .avatar { width: 52px; height: 52px; font-size: 1.1rem; margin-bottom: 16px; }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--blue-dark); font-size: .85rem; font-weight: 600; margin-bottom: 14px; }
.person p { font-size: .93rem; margin-bottom: 14px; }
.person ul { margin-bottom: 16px; }
.person li { list-style: none; font-size: .88rem; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; margin-bottom: 6px; }
.person li i { color: var(--blue); font-size: .7rem; margin-top: 7px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 24px;
  font-weight: 600; color: var(--ink); font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue); font-size: 1.4rem; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: '\2013'; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 18px 24px 22px; font-size: .96rem; }


/* ---------- Terms page ---------- */
.terms { max-width: 780px; margin: 0 auto; }
.terms-date { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; margin-bottom: 32px; }
.term { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.term:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.term h3 { margin-bottom: 8px; color: var(--ink); }
.term p { font-size: .96rem; }

/* ---------- Form ---------- */
.form-card { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.fieldset { margin-bottom: 30px; }
.fieldset h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--blue-dark); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .95rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft);
}
.field textarea { min-height: 110px; resize: vertical; }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta h2 { margin-bottom: 12px; }
.cta p { max-width: 520px; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding: 60px 0 0; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; }
.site-footer p, .site-footer a, .site-footer li { color: #94A3B8; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer .brand span { color: #fff; }
.site-footer .brand { margin-bottom: 14px; }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: #1E293B; color: #CBD5E1; font-size: 1.05rem;
  border: 1px solid #263449;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.socials a:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }
.foot-bottom { border-top: 1px solid #1E293B; padding: 20px 0; text-align: center; }
.foot-bottom p { font-size: .85rem; color: #64748B; }
.foot-bottom a { color: #94A3B8; }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 56px 0; text-align: center; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-head p { max-width: 560px; margin: 0 auto; font-size: 1.02rem; }


/* ---------- Site-wide uppercase treatment ---------- */
.site-footer li a { text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; font-weight: 600; }
.plan .grade { text-transform: uppercase; letter-spacing: .07em; font-weight: 600; font-size: .78rem; }
.plan h3 { text-transform: uppercase; letter-spacing: .04em; }
.strip div { text-transform: uppercase; letter-spacing: .07em; font-size: .78rem; font-weight: 700; }
.quote footer small { text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; }
.person .role { text-transform: uppercase; letter-spacing: .07em; font-size: .78rem; }
.tt-head small { text-transform: uppercase; letter-spacing: .07em; font-size: .74rem; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: 0; padding: 72px 0 80px; }
  .qf { margin-left: 0; max-width: 100%; }
  .frow { grid-template-columns: 1fr; gap: 36px; }
  .frow.flip .frow-media { order: 0; }
  .steps, .plans, .quotes, .people { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .tt { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  section { padding: 60px 0; }
  .brand .wordmark { height: 21px; }
  .hero { min-height: 0; padding: 56px 0 64px; }
  .qf { padding: 24px 22px 22px; border-radius: 16px; }
  .steps-blue { gap: 10px; }
  .steps-blue .step { padding: 16px 18px; }
  .steps-blue .step h3 { font-size: 1rem; }
  .steps-blue .step p { font-size: .87rem; }
  .hero-facts { max-width: 100%; gap: 8px; margin-top: 26px; }
  .hero-facts li { padding: 12px 15px; }
  .hf-t { font-size: .78rem; letter-spacing: .05em; white-space: normal; }
  .burger { display: flex; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 20px; display: none;
    box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a.active { border-bottom-color: var(--line); }
  .header-cta .btn { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .strip .wrap { justify-content: flex-start; gap: 14px 24px; }
  .strip div { font-size: .86rem; }
}

@media (max-width: 420px) {
  .brand span { font-size: .9rem; }
  .stats { grid-template-columns: 1fr; }
}
