/* Millard Tutors — Millard design system: sunflower, coral, sky, ink on cream; Baloo 2 + Nunito */
:root {
  --sunflower: #FFC93C;
  --sunflower-tint: #FFF0C4;
  --coral: #FF6B5B;
  --coral-tint: #FFE1DC;
  --coral-text: #C2412F;
  --sky: #3EC1F3;
  --sky-tint: #D9F3FD;
  --sky-text: #0A6A92;
  --mint: #2BC48A;
  --mint-tint: #D6F5E8;
  --mint-text: #17734B;
  --violet: #8B6CF6;
  --violet-tint: #EAE4FF;
  --violet-text: #5B3FC4;
  --ink: #1F2440;
  --ink-2: #2B3157;
  --ink-muted: #5B6080;
  --cream: #FFF8EC;
  --cream-2: #FFF1DA;
  --surface: #FFFFFF;
  --line: rgba(31, 36, 64, 0.12);
  --wa: #25D366;
  --wa-dark: #128C4A;

  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;

  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-pop: 0 6px 0 rgba(31, 36, 64, 0.10);
  --shadow-soft: 0 20px 50px -20px rgba(31, 36, 64, 0.30);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky-text); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.tiny { font-size: 14px; line-height: 1.45; font-weight: 600; }
.muted { color: var(--ink-muted); }

/* ---------- logo (shared Millard mark) ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--ink); }
.logo-mark { width: 40px; height: 34px; flex: none; }
.logo-word { line-height: 1; letter-spacing: -0.5px; }
.logo-subject { background: var(--sunflower); color: var(--ink); border-radius: 999px; padding: 3px 12px; font-family: var(--font-body); font-weight: 800; font-size: 15px; line-height: 1.3; }
@media (max-width: 420px) { .logo { font-size: 22px; } .logo-mark { width: 32px; height: 28px; } .logo-subject { font-size: 13px; padding: 2px 10px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: var(--radius-pill); padding: 12px 22px; font-family: var(--font-body); font-weight: 800; font-size: 16px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-lg { padding: 16px 28px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 5px 0 #0D1028; }
.btn-primary:hover { box-shadow: 0 7px 0 #0D1028; }
.btn-wa { background: var(--wa); color: #06331B; box-shadow: 0 5px 0 var(--wa-dark); }
.btn-wa:hover { box-shadow: 0 7px 0 var(--wa-dark); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 5px 0 rgba(0,0,0,.15); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn:disabled { opacity: .6; transform: none; cursor: wait; }
.wa-ico { width: 22px; height: 22px; }
.btn-sm .wa-ico { width: 19px; height: 19px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255, 248, 236, 0.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topbar.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(31,36,64,.35); }
.topbar-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: var(--radius-pill); color: var(--ink-2); }
.nav a:hover { background: var(--sunflower-tint); }
.topbar-cta { display: flex; gap: 10px; }
@media (max-width: 960px) { .nav { display: none; } .topbar-cta { margin-left: auto; } }
@media (max-width: 560px) { .hide-sm { display: none; } .topbar-cta .btn-primary { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.b1 { width: 520px; height: 520px; background: var(--sunflower); top: -180px; right: -120px; animation: drift 18s ease-in-out infinite; }
.b2 { width: 420px; height: 420px; background: var(--sky); bottom: -140px; right: 28%; opacity: .35; animation: drift 22s ease-in-out infinite reverse; }
.b3 { width: 360px; height: 360px; background: var(--coral); top: 30%; left: -180px; opacity: .3; animation: drift 20s ease-in-out infinite; }
.grid-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(31,36,64,.12) 1.2px, transparent 1.2px); background-size: 26px 26px; mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px, 30px) scale(1.08); } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-bottom: 56px; }
@media (max-width: 920px) { .hero-inner { grid-template-columns: 1fr; } .hero-art { order: -1; max-width: 420px; margin: 0 auto; } }

.pill-eyebrow { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 7px 16px; font-weight: 800; font-size: 14px; color: var(--ink-2); margin: 0 0 22px; box-shadow: var(--shadow-pop); }
.pill-eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.hero-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6vw, 70px); line-height: 1.02; letter-spacing: -1.5px; margin: 0 0 20px; }
.hl { background: linear-gradient(100deg, var(--coral) 0%, #FF8E3C 45%, var(--sunflower) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; line-height: 1.55; font-weight: 600; color: var(--ink-2); max-width: 560px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions.center { justify-content: center; }
.hero-facts { list-style: none; display: flex; gap: 28px; padding: 0; margin: 34px 0 0; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--font-display); font-size: 40px; line-height: 1; font-weight: 800; }
.hero-facts li:nth-child(1) strong { color: var(--coral); }
.hero-facts li:nth-child(2) strong { color: var(--sky-text); }
.hero-facts li:nth-child(3) strong { color: #D99A00; }
.hero-facts span { font-weight: 700; color: var(--ink-muted); font-size: 15px; }

.hero-art { position: relative; }
.orbit { position: relative; aspect-ratio: 1; color: var(--ink); }
.orbit-svg { width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgba(255,107,91,.25)); }
.spin-slow { animation: spin 26s linear infinite; }
.spin-mid { animation: spin 18s linear infinite reverse; }
.spin-fast { animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip-float { position: absolute; background: #fff; border-radius: 14px; padding: 8px 14px; font-family: var(--font-display); font-weight: 700; font-size: 17px; box-shadow: var(--shadow-soft), 0 4px 0 rgba(31,36,64,.08); white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.f1 { top: 6%; left: 0; border-left: 5px solid var(--sunflower); }
.f2 { top: 14%; right: 0; border-left: 5px solid var(--sky); animation-delay: -1s; }
.f3 { top: 46%; left: -4%; border-left: 5px solid var(--coral); animation-delay: -2s; }
.f4 { bottom: 26%; right: -2%; border-left: 5px solid var(--violet); animation-delay: -3s; }
.f5 { bottom: 6%; left: 8%; border-left: 5px solid var(--mint); animation-delay: -4s; }
.f6 { top: 52%; right: 4%; border-left: 5px solid var(--sunflower); animation-delay: -5s; font-size: 15px; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-card { position: absolute; bottom: -8px; right: 10%; display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 18px; padding: 12px 18px; box-shadow: var(--shadow-soft); }
.hero-card-ico { font-size: 26px; }
.hc-title { margin: 0; font-weight: 800; }
.hc-sub { margin: 0; font-size: 13px; opacity: .75; font-weight: 700; }
@media (max-width: 520px) { .chip-float { font-size: 14px; padding: 6px 10px; } .f6 { display: none; } .hero-card { right: 0; } }

/* marquee */
.marquee { position: relative; background: var(--ink); color: #fff; padding: 16px 0; overflow: hidden; transform: rotate(-1.2deg); margin: 0 -20px; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.m-item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; padding: 0 10px; }
.m-item::after { content: "✦"; color: var(--sunflower); margin-left: 14px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.section-dark { background: var(--ink); color: #fff; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -250px; background: radial-gradient(circle, rgba(62,193,243,.35), transparent 65%); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.eyebrow { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--coral-text); margin: 0 0 10px; }
.eyebrow.on-dark { color: var(--sunflower); }
.section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -1px; margin: 0 0 14px; }
.section-title.sm { font-size: 34px; }
.section-lead { font-size: 19px; color: var(--ink-muted); font-weight: 600; margin: 0 0 24px; }

/* ---------- finder ---------- */
.finder { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
@media (max-width: 900px) { .finder { grid-template-columns: 1fr; padding: 20px; } }
.ctl-label { font-weight: 800; font-size: 15px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; margin: 4px 0 12px; display: flex; align-items: center; gap: 10px; }
.grade-out { text-transform: none; letter-spacing: 0; background: var(--sunflower); color: var(--ink); padding: 2px 12px; border-radius: 999px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { border: 2px solid var(--line); background: var(--cream); border-radius: var(--radius-pill); padding: 8px 16px; font-weight: 800; font-size: 15px; transition: all .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 4px 0 #0D1028; transform: translateY(-2px); }
.grade-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.grade-btn { aspect-ratio: 1.15; border: 2px solid var(--line); border-radius: 14px; background: var(--cream); font-family: var(--font-display); font-weight: 800; font-size: 22px; transition: all .15s; position: relative; }
.grade-btn small { position: absolute; top: 4px; left: 0; right: 0; font-family: var(--font-body); font-size: 10px; font-weight: 800; color: var(--ink-muted); letter-spacing: .04em; }
.grade-btn:hover { border-color: var(--ink); }
.grade-btn.b-early { --gc: var(--sunflower); }
.grade-btn.b-middle { --gc: var(--mint); }
.grade-btn.b-exam { --gc: var(--sky); }
.grade-btn.b-senior { --gc: var(--coral); }
.grade-btn::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 6px; height: 4px; border-radius: 4px; background: var(--gc); }
.grade-btn[aria-checked="true"] { background: var(--gc); border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); transform: translateY(-2px); }
.grade-btn[aria-checked="true"]::after { background: var(--ink); }
.grade-btn[aria-checked="true"] small { color: var(--ink); }

.finder-result { border-radius: 22px; padding: 26px; background: var(--ink); color: #fff; position: relative; overflow: hidden; min-height: 340px; display: flex; flex-direction: column; }
.finder-result::before { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%; background: var(--rc, var(--sunflower)); opacity: .9; filter: blur(2px); }
.finder-result > * { position: relative; }
.fr-tag { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.fr-tag span { background: rgba(255,255,255,.12); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 800; }
.fr-title { font-family: var(--font-display); font-size: 34px; line-height: 1.05; font-weight: 800; margin: 4px 0 4px; }
.fr-stage { font-weight: 700; opacity: .8; margin: 0 0 18px; }
.fr-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.fr-list li { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 9px 14px; font-weight: 700; animation: popin .35s both; }
.fr-list li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--rc, var(--sunflower)); color: var(--ink); font-size: 13px; font-weight: 900; flex: none; }
.fr-exams { font-size: 14px; font-weight: 700; opacity: .85; margin: 0 0 18px; }
.fr-exams b { color: var(--sunflower); }
.fr-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
@keyframes popin { from { opacity: 0; transform: translateY(8px); } }

/* ---------- subjects ---------- */
.subject-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.subject { background: #fff; border-radius: 24px; padding: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-pop); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden; }
.subject:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow-soft); }
.subject-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 16px; background: var(--tint); color: var(--text); }
.subject-ico svg { width: 38px; height: 38px; }
.subject h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 6px; line-height: 1.1; }
.subject p { margin: 0 0 14px; color: var(--ink-muted); font-weight: 600; font-size: 15.5px; }
.subject ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.subject li { background: var(--tint); color: var(--text); border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 800; }
.subject::after { content: ""; position: absolute; height: 6px; left: 0; right: 0; top: 0; background: var(--solid); }
.c-sunflower { --tint: var(--sunflower-tint); --text: #8A5E00; --solid: var(--sunflower); }
.c-coral { --tint: var(--coral-tint); --text: var(--coral-text); --solid: var(--coral); }
.c-sky { --tint: var(--sky-tint); --text: var(--sky-text); --solid: var(--sky); }
.c-mint { --tint: var(--mint-tint); --text: var(--mint-text); --solid: var(--mint); }
.c-violet { --tint: var(--violet-tint); --text: var(--violet-text); --solid: var(--violet); }

/* ---------- bands ---------- */
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .band-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .band-grid { grid-template-columns: 1fr; } }
.band { border-radius: 26px; padding: 26px 22px; background: var(--tint); border: 2px solid transparent; transition: transform .2s, border-color .2s; cursor: pointer; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.band-go { margin-top: auto !important; padding-top: 14px; }
.band:hover { transform: translateY(-4px); border-color: var(--solid); }
.band-grades { display: inline-block; background: var(--solid); color: var(--ink); font-weight: 800; border-radius: 999px; padding: 3px 12px; font-size: 14px; }
.band h3 { font-family: var(--font-display); font-size: 28px; margin: 12px 0 6px; line-height: 1.05; }
.band p { margin: 0; font-weight: 600; color: var(--ink-2); font-size: 15.5px; }
.band-go { display: inline-block; margin-top: 14px; font-weight: 800; color: var(--text); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 28px; }
.step-num { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--ink); margin-bottom: 16px; }
.step:nth-child(1) .step-num { background: var(--sunflower); }
.step:nth-child(2) .step-num { background: var(--coral); }
.step:nth-child(3) .step-num { background: var(--sky); }
.step h3 { font-family: var(--font-display); font-size: 25px; margin: 0 0 8px; }
.step p { margin: 0; color: #C9CDE6; font-weight: 600; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.why-item { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow-pop); }
.why-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 26px; flex: none; background: var(--tint); }
.why-item h3 { margin: 0 0 2px; font-family: var(--font-display); font-size: 21px; }
.why-item p { margin: 0; color: var(--ink-muted); font-weight: 600; font-size: 15.5px; }

/* ---------- booking ---------- */
.book { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-soft); padding: 28px; }
.wa-card { display: flex; gap: 16px; align-items: center; background: #E7FBEF; border: 2px solid #B6EFCC; border-radius: 22px; padding: 18px 20px; }
.wa-big { width: 52px; height: 52px; color: var(--wa-dark); flex: none; }
.wa-card-title { margin: 0; font-weight: 800; }
.wa-card-num { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--wa-dark); text-decoration: none; line-height: 1.2; }
.wa-card .tiny { margin: 0; }

.form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .card { padding: 20px; } }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 800; font-size: 14.5px; color: var(--ink-2); padding: 0; margin-bottom: 6px; }
.field b { color: var(--coral-text); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-weight: 600; color: var(--ink); background: var(--cream); border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: border-color .15s, background .15s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-text); background: #fff; }
.field .invalid, .field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--coral); background: #FFF4F2; }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chips label, .seg label { position: relative; }
.check-chips input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.check-chips span, .seg span { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--line); background: var(--cream); border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 15px; cursor: pointer; transition: all .15s; user-select: none; }
.check-chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.check-chips input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--sky-text); outline-offset: 2px; }
.check-chips.invalid span { border-color: var(--coral); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg input:checked + span { background: var(--sunflower); border-color: var(--ink); }
.form-error { background: #FFF0ED; color: var(--coral-text); border-radius: 12px; padding: 10px 14px; font-weight: 700; margin: 0; }
.success { text-align: center; display: grid; gap: 14px; justify-items: center; }
.success p { margin: 0; color: var(--ink-muted); font-weight: 600; max-width: 460px; }
.success-burst { font-size: 64px; animation: popin .5s both; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; box-shadow: var(--shadow-pop); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 21px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--sunflower-tint); display: grid; place-items: center; font-size: 22px; transition: transform .2s, background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--sunflower); }
.faq details p { margin: 0 0 20px; color: var(--ink-muted); font-weight: 600; }

/* ---------- CTA + footer ---------- */
.cta-band { padding: 0 22px 90px; }
.cta-inner { background: linear-gradient(120deg, var(--coral) 0%, #FF8E3C 50%, var(--sunflower) 100%); border-radius: 36px; text-align: center; padding: 64px 24px; position: relative; overflow: hidden; box-shadow: var(--shadow-soft); }
.cta-inner::before, .cta-inner::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.18); }
.cta-inner::before { width: 300px; height: 300px; left: -80px; bottom: -150px; }
.cta-inner::after { width: 200px; height: 200px; right: -40px; top: -80px; }
.cta-inner > * { position: relative; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 56px); line-height: 1; margin: 0 0 10px; color: var(--ink); }
.cta-inner p { font-size: 19px; font-weight: 700; margin: 0 0 26px; color: var(--ink-2); }

.footer { border-top: 1px solid var(--line); padding: 36px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-weight: 700; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copy { margin-top: 24px; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(18,140,74,.6); transition: transform .2s; animation: floatin .6s .8s both; }
.wa-float svg { width: 36px; height: 36px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: pulse 2.2s infinite; }
.wa-float-tip { position: absolute; right: 74px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; padding: 7px 12px; border-radius: 10px; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: all .2s; pointer-events: none; }
.wa-float:hover .wa-float-tip { opacity: 1; transform: none; }
@keyframes floatin { from { opacity: 0; transform: scale(.4); } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- staff area ---------- */
.admin { position: fixed; inset: 0; z-index: 80; background: var(--cream); overflow-y: auto; }
.admin-bar { position: sticky; top: 0; background: var(--ink); color: #fff; z-index: 2; }
.admin-bar .wrap { display: flex; align-items: center; gap: 14px; height: 66px; }
.admin-bar .logo { color: #fff; }
.admin-bar .grow { flex: 1; }
.admin-bar .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.admin-body { padding: 28px 0 60px; }
.admin-signin { max-width: 420px; margin: 8vh auto 0; display: grid; gap: 14px; }
.admin-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.admin-tools .grow { flex: 1; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
@media (max-width: 640px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; border-radius: 18px; padding: 14px 18px; border: 1px solid var(--line); border-top: 6px solid var(--solid); }
.stat strong { display: block; font-family: var(--font-display); font-size: 34px; line-height: 1.1; }
.stat span { font-weight: 800; font-size: 14px; color: var(--ink-muted); }
.enq-list { display: grid; gap: 14px; }
.enq { background: #fff; border-radius: 20px; border: 1px solid var(--line); padding: 18px 20px; display: grid; gap: 10px; box-shadow: var(--shadow-pop); border-left: 8px solid var(--solid); }
.enq-top { display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.enq-name { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin: 0; }
.enq-when { color: var(--ink-muted); font-weight: 700; font-size: 14px; margin-left: auto; }
.enq-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.enq-tags span { background: var(--cream-2); border-radius: 999px; padding: 3px 10px; font-weight: 800; font-size: 13px; }
.enq-msg { margin: 0; background: var(--cream); border-radius: 12px; padding: 10px 14px; font-weight: 600; white-space: pre-wrap; }
.enq-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.enq-actions select { font: inherit; font-weight: 800; border: 2px solid var(--line); border-radius: 999px; padding: 8px 12px; background: var(--cream); }
.enq-notes { width: 100%; font: inherit; font-weight: 600; border: 2px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--cream); resize: vertical; }
.st-new { --solid: var(--coral); }
.st-contacted { --solid: var(--sunflower); }
.st-booked { --solid: var(--mint); }
.st-closed { --solid: #B8BCD2; }
.empty { text-align: center; padding: 40px; color: var(--ink-muted); font-weight: 700; }
@media (max-width: 560px) {
  .grade-btn { aspect-ratio: 1; font-size: 19px; border-radius: 12px; }
  .grade-btn small { display: none; }
  .grade-btn::after { bottom: 4px; height: 3px; }
  .grade-row { gap: 6px; }
  .hero-actions .btn { width: 100%; }
}
