/* =============================================================
   ADHD Doctors — Global Stylesheet
   ============================================================= */

:root {
  --navy: #0b2a4a;
  --navy-deep: #071b31;
  --teal: #14b8a6;
  --teal-dark: #0f9688;
  --teal-soft: #cdf3ec;
  --mint: #e9fbf7;
  --sand: #f7f3ec;
  --sand-deep: #efe8dc;
  --ink: #12203a;
  --muted: #5b6b82;
  --line: #e3e9f0;
  --white: #ffffff;
  --coral: #e5484d;
  --amber: #f2a541;
  --gold: #f5b301;

  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 74, 0.06), 0 4px 14px rgba(11, 42, 74, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 42, 74, 0.1);
  --shadow-lg: 0 24px 60px rgba(11, 42, 74, 0.16);

  --container: 1200px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.02em; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.accent { color: var(--teal); }
.lead { font-size: 1.15rem; color: var(--muted); }
strong { font-weight: 700; }

.container { width: min(var(--container), calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }

/* Selection */
::selection { background: var(--teal-soft); color: var(--navy); }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 2px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal); color: var(--navy-deep); box-shadow: 0 8px 20px rgba(20,184,166,.28); }
.btn-primary:hover { background: #22c9b6; box-shadow: 0 12px 26px rgba(20,184,166,.34); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(11,42,74,.25); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-amber { background: var(--amber); color: var(--navy-deep); }
.btn-amber:hover { background: #f6b35a; }
.btn-ghost { background: transparent; color: var(--teal-dark); padding-inline: .4rem; }
.btn-ghost:hover { transform: none; color: var(--navy); }
.btn-ghost svg { transition: transform .2s ease; }
.btn-ghost:hover svg { transform: translateX(4px); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: .6rem 1.1rem; font-size: .88rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .95rem; border-radius: 999px; background: var(--teal-soft); color: var(--navy);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-dark); }
.eyebrow.on-dark { background: rgba(255,255,255,.14); color: #fff; }
.eyebrow.on-dark::before { background: var(--teal); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-mint { background: var(--mint); }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy .muted { color: rgba(255,255,255,.72); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Emergency strip ---------- */
.crisis-strip {
  background: var(--navy-deep); color: #fff; font-size: .86rem; padding: .5rem 0;
}
.crisis-strip .container { display: flex; align-items: center; justify-content: center; gap: .8rem; flex-wrap: wrap; }
.crisis-strip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(229,72,77,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.6);} 70% { box-shadow: 0 0 0 8px rgba(229,72,77,0);} 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0);} }
.crisis-strip a { color: var(--teal); font-weight: 600; }
.crisis-strip a:hover { text-decoration: underline; }
.crisis-strip .short { display: none; }
@media (max-width: 640px) {
  .crisis-strip { font-size: .8rem; padding: .4rem 0; }
  .crisis-strip .long { display: none; }
  .crisis-strip .short { display: inline; }
  .crisis-strip .container { gap: .5rem; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(11,42,74,.06); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--navy); }
.brand-name span { color: var(--teal-dark); }
.brand-tag { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; font-weight: 600; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav > li { position: relative; }
.nav > li > a, .nav > li > button {
  display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .85rem; border-radius: 999px;
  background: none; border: 0; color: var(--ink); font-weight: 500; font-size: .96rem; transition: background .2s, color .2s;
}
.nav > li > a:hover, .nav > li > button:hover, .nav > li.open > button { background: var(--mint); color: var(--navy); }
.nav > li > a.active { color: var(--teal-dark); font-weight: 600; }
.nav svg.chev { width: 14px; height: 14px; transition: transform .2s; }
.nav > li.open svg.chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav > li.open .dropdown, .nav > li:hover .dropdown, .nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; flex-direction: column; padding: .6rem .8rem; border-radius: 10px; font-size: .93rem; font-weight: 500; }
.dropdown a small { color: var(--muted); font-weight: 400; font-size: .8rem; }
.dropdown a:hover { background: var(--mint); color: var(--navy); }
.dropdown.wide { min-width: 540px; display: grid; grid-template-columns: 1fr 1fr; gap: .1rem; }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy); transition: .25s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h)) 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 1rem 1.25rem 3rem; overflow-y: auto; gap: .2rem; transform: translateX(100%); transition: transform .3s ease;
    border-top: 1px solid var(--line);
  }
  .nav.open { transform: none; }
  .nav > li > a, .nav > li > button { width: 100%; justify-content: space-between; padding: .9rem .6rem; font-size: 1.05rem; border-radius: 12px; }
  .dropdown, .dropdown.wide { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem .8rem; display: none; min-width: 0; grid-template-columns: 1fr; }
  .nav > li.open .dropdown { display: grid; }
  .nav > li:hover .dropdown:not(.open) { display: none; }
  .nav > li.open:hover .dropdown { display: grid; }
  .nav .mobile-cta { margin-top: 1rem; }
  .nav .mobile-cta .btn { width: 100%; }
}
.mobile-cta { display: none; }
@media (max-width: 1080px) { .mobile-cta { display: block; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-bg {
  position: absolute; inset: 1.2rem; border-radius: var(--radius-lg); background: var(--mint); z-index: -1;
  background-image:
    radial-gradient(60% 60% at 90% 10%, rgba(20,184,166,.18), transparent 60%),
    radial-gradient(40% 40% at 10% 90%, rgba(11,42,74,.08), transparent 60%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .35;
  background-image: radial-gradient(rgba(11,42,74,.16) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.hero h1 .accent { color: var(--teal-dark); }
.hero .lead { max-width: 520px; font-size: 1.18rem; margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }

.trust-badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .85rem .45rem .5rem; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; font-size: .78rem; font-weight: 600; color: var(--navy); line-height: 1.15; box-shadow: var(--shadow-sm);
}
.trust-badge .tb-icon { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .62rem; letter-spacing: .02em; color: #fff; }
.trust-badge .tb-icon.cqc { background: #7a2b8e; }
.trust-badge .tb-icon.nhs { background: #005eb8; font-size: .7rem; }
.trust-badge .tb-icon.gmc { background: #1f2a44; }
.trust-badge .tb-icon.rc { background: #b5121b; }
.trust-badge .tb-icon.nice { background: #111; }
.trust-badge small { display: block; font-weight: 500; color: var(--muted); font-size: .7rem; }

.hero-visual { position: relative; }
.hero-photo {
  aspect-ratio: 4 / 3.6; border-radius: 30% 70% 66% 34% / 40% 36% 64% 60%; overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--teal-soft), var(--navy));
  animation: morph 12s ease-in-out infinite alternate;
}
@keyframes morph {
  0% { border-radius: 30% 70% 66% 34% / 40% 36% 64% 60%; }
  100% { border-radius: 58% 42% 36% 64% / 50% 62% 38% 50%; }
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: #fff; border-radius: 16px; padding: .9rem 1.1rem; box-shadow: var(--shadow-md); border: 1px solid var(--line);
  display: flex; align-items: center; gap: .8rem; animation: float 6s ease-in-out infinite;
}
.float-card.rating { left: -1.5rem; bottom: 1.5rem; }
.float-card.next { right: -1rem; top: 1.5rem; animation-delay: -3s; }
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-8px);} }
.stars { color: var(--gold); letter-spacing: .05em; font-size: .9rem; }
.float-card .big { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--navy); }
.float-card small { color: var(--muted); font-size: .78rem; display: block; }
.float-card .g { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; background: #fff; border: 1px solid var(--line); font-family: var(--font-display); background: conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0); color: #fff; }
.float-card .g span { background: #fff; color: var(--navy); width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; }
.float-card .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--mint); display: grid; place-items: center; color: var(--teal-dark); }
.float-card .ico svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 1rem auto 0; width: 100%; }
  .float-card.rating { left: .5rem; }
  .float-card.next { right: .5rem; }
}

/* ---------- Commissioned strip ---------- */
.commissioned { margin-top: 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; box-shadow: var(--shadow-sm); }
.commissioned div { display: flex; align-items: center; gap: .9rem; font-size: .95rem; color: var(--navy); }
.nhs-chip { flex: none; background: #005eb8; color: #fff; font-family: var(--font-display); font-weight: 800; font-style: italic; padding: .25rem .55rem; border-radius: 4px; font-size: 1rem; letter-spacing: -.01em; }
@media (max-width: 720px) { .commissioned { grid-template-columns: 1fr; } }

/* ---------- Quick bar ---------- */
.quick-bar { background: var(--navy); color: #fff; }
.quick-bar .container { display: flex; justify-content: center; gap: clamp(1rem, 4vw, 3.5rem); padding: 1rem 0; flex-wrap: wrap; }
.quick-bar a { display: inline-flex; align-items: center; gap: .75rem; font-weight: 600; padding: .4rem .6rem; border-radius: 12px; transition: background .2s; }
.quick-bar a:hover { background: rgba(255,255,255,.08); }
.quick-bar .qi { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.quick-bar .qi svg { width: 22px; height: 22px; }
.qi-teal { background: var(--teal); color: var(--navy-deep); }
.qi-coral { background: var(--coral); color: #fff; }
.qi-amber { background: var(--amber); color: var(--navy-deep); }

/* ---------- Problems / Solutions ---------- */
.problems { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: stretch; }
.problem-col { border-radius: var(--radius-lg); padding: 2rem; }
.problem-col.bad { background: var(--sand); }
.problem-col.good { background: var(--navy); color: #fff; }
.problem-col h3 { font-size: 1.35rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .6rem; }
.problem-col.good h3 { color: #fff; }
.problem-col li { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-top: 1px solid rgba(11,42,74,.08); font-weight: 500; }
.problem-col.good li { border-color: rgba(255,255,255,.12); }
.problem-col li .mk { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: .8rem; font-weight: 800; }
.problem-col.bad .mk { background: rgba(229,72,77,.12); color: var(--coral); }
.problem-col.good .mk { background: var(--teal); color: var(--navy-deep); }
.problem-arrow { align-self: center; width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: var(--navy-deep); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(20,184,166,.35); }
.problem-arrow svg { width: 26px; height: 26px; }
@media (max-width: 860px) { .problems { grid-template-columns: 1fr; } .problem-arrow { transform: rotate(90deg); margin: 0 auto; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 2rem 1rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--navy); letter-spacing: -.03em; }
.stat .num .plus { color: var(--teal); }
.stat .lbl { color: var(--muted); margin-top: .5rem; font-weight: 500; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; display: flex; flex-direction: column;
}
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--navy)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--teal-soft); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .idx { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--teal); line-height: 1; letter-spacing: -.04em; margin-bottom: .6rem; }
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.service-card .link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--teal-dark); margin-top: .5rem; }
.service-card .link svg { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .link svg { transform: translateX(4px); }
@media (max-width: 960px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Split feature block ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-panel { background: var(--mint); border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3.5rem); }
.split-panel.sand { background: var(--sand); }
.split-panel.navy { background: var(--navy); color: #fff; }
.split-panel.navy h2, .split-panel.navy h3 { color: #fff; }
.split-panel.navy p { color: rgba(255,255,255,.8); }
.split-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-md); background: var(--sand-deep); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-bottom: 1rem; }
.split p { color: var(--muted); }
.checks li { display: flex; gap: .75rem; align-items: flex-start; padding: .45rem 0; font-weight: 500; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); margin-top: .15rem;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / 60% no-repeat, linear-gradient(#000 0 0);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center / 60% no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; }
.bg-navy .checks li::before { background: var(--teal); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* ---------- NHS block with map ---------- */
.map-wrap { position: relative; display: grid; place-items: center; }
.map-wrap svg { width: min(100%, 460px); height: auto; filter: drop-shadow(0 20px 40px rgba(11,42,74,.15)); }
.map-wrap .pin { transform-origin: center bottom; animation: pinpop .6s cubic-bezier(.3,1.6,.5,1) both; }
.map-wrap .pin:nth-child(2n) { animation-delay: .15s; } .map-wrap .pin:nth-child(3n) { animation-delay: .3s; } .map-wrap .pin:nth-child(5n) { animation-delay: .45s; }
@keyframes pinpop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.nhs-stats { display: flex; gap: 1.2rem; margin: 1.4rem 0; flex-wrap: wrap; }
.nhs-stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1.2rem; min-width: 150px; box-shadow: var(--shadow-sm); }
.nhs-stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.nhs-stat span { color: var(--muted); font-size: .85rem; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.why-card { padding: 1.8rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .25s, transform .25s; }
.why-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.why-card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--teal); color: var(--navy-deep); display: grid; place-items: center; margin-bottom: 1.2rem; }
.why-card .ico svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.2rem; color: #fff; }
.why-card p { color: rgba(255,255,255,.75); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Clinicians ---------- */
.scroller-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.scroller-nav { display: flex; gap: .6rem; }
.scroller-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); display: grid; place-items: center; transition: .2s; }
.scroller-nav button:hover { background: var(--navy); color: #fff; }
.scroller-nav button svg { width: 20px; height: 20px; }
.scroller { display: flex; gap: 1.3rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .25rem 1.5rem; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.clinician { flex: 0 0 300px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.clinician:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.clinician .photo { aspect-ratio: 1 / 1; background: var(--sand-deep); position: relative; overflow: hidden; }
.clinician .photo img { width: 100%; height: 100%; object-fit: cover; }
.clinician .gmc { position: absolute; top: .8rem; left: .8rem; background: rgba(11,42,74,.85); color: #fff; font-size: .7rem; font-weight: 600; padding: .3rem .6rem; border-radius: 999px; backdrop-filter: blur(6px); }
.clinician .body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.clinician h3 { font-size: 1.15rem; margin-bottom: .1rem; color: var(--teal-dark); }
.clinician .role { font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .8rem; }
.clinician ul { flex: 1; }
.clinician li { font-size: .85rem; color: var(--muted); display: flex; gap: .5rem; padding: .25rem 0; }
.clinician li::before { content: "→"; color: var(--teal); font-weight: 700; flex: none; }
.clinician .link { margin-top: .9rem; font-weight: 600; color: var(--teal-dark); font-size: .92rem; display: inline-flex; align-items: center; gap: .4rem; }
.clinician .link svg { width: 15px; height: 15px; }

.clinicians-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.clinicians-grid .clinician { flex: none; }
@media (max-width: 960px) { .clinicians-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .clinicians-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; position: relative; }
.step { background: #fff; border-radius: var(--radius); padding: 2rem 1.6rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; }
.step .n { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin-bottom: 1.2rem; position: relative; }
.step .n::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed var(--teal-soft); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg);} }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.step a { display: inline-block; margin-top: .8rem; color: var(--teal-dark); font-weight: 600; font-size: .9rem; }
@media (max-width: 960px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Banner (medicolegal) ---------- */
.banner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.8rem; align-items: center; padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.6rem, 3vw, 2.8rem);
  background: linear-gradient(120deg, var(--navy) 0%, #143e6b 100%); color: #fff; border-radius: var(--radius-lg); position: relative; overflow: hidden;
}
.banner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(20,184,166,.18); }
.banner .ico { width: 78px; height: 78px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--navy); flex: none; }
.banner .ico svg { width: 38px; height: 38px; }
.banner h3 { color: #fff; font-size: 1.5rem; margin-bottom: .3rem; }
.banner p { margin: 0; color: rgba(255,255,255,.82); }
.banner .btn { position: relative; z-index: 1; }
@media (max-width: 760px) { .banner { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative; }
.testi::before { content: "\201C"; position: absolute; top: .6rem; right: 1.2rem; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--teal-soft); }
.testi .stars { margin-bottom: .8rem; }
.testi p { flex: 1; color: var(--ink); font-size: .98rem; }
.testi .who { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.testi .av { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.testi .who b { display: block; font-size: .92rem; }
.testi .who small { color: var(--muted); font-size: .8rem; }
@media (max-width: 960px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: .8rem; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq-item.open { border-color: var(--teal-soft); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.4rem; background: none; border: 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--navy); }
.faq-q .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--teal-dark); display: grid; place-items: center; transition: transform .25s, background .25s; }
.faq-q .pm svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--teal); color: var(--navy-deep); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a > div { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq-a a { color: var(--teal-dark); font-weight: 600; }

/* ---------- Accreditation ---------- */
.nice-card { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-sm); }
.nice-logo { font-family: var(--font-display); font-weight: 800; font-size: 3rem; letter-spacing: -.05em; line-height: .9; color: #111; }
.nice-logo small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: 0; line-height: 1.2; margin-top: .4rem; color: #333; font-family: var(--font-body); }
.nice-card h3 { margin-bottom: .4rem; }
.nice-card p { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .nice-card { grid-template-columns: 1fr; } }

.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.logo-pill { display: inline-flex; align-items: center; gap: .7rem; padding: .7rem 1.2rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--navy); }
.logo-pill .tb-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .66rem; }

/* ---------- CTA ---------- */
.cta-block {
  border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem); background: var(--navy); color: #fff; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center;
}
.cta-block::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 90% 50%, rgba(20,184,166,.35), transparent 70%); }
.cta-block > * { position: relative; }
.cta-block h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.cta-block p { color: rgba(255,255,255,.8); }
.cta-block .actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; }
@media (max-width: 800px) { .cta-block { grid-template-columns: 1fr; } .cta-block .actions { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.78); padding: 4rem 0 2rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; }
.site-footer li { margin: .45rem 0; }
.site-footer a:hover { color: var(--teal); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: rgba(255,255,255,.55); }
.site-footer .about { margin-top: 1rem; max-width: 320px; color: rgba(255,255,255,.65); }
.contact-line { display: flex; gap: .7rem; align-items: flex-start; margin: .6rem 0; }
.contact-line svg { width: 18px; height: 18px; flex: none; color: var(--teal); margin-top: .2rem; }
.placeholder { color: var(--amber); font-style: italic; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom ul { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-badges { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.2rem; }
.footer-badges .tb-icon { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .66rem; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(3rem, 6vw, 5rem) 0; overflow: hidden; background: var(--mint); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 100% 0%, rgba(20,184,166,.22), transparent 60%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 820px; }
.page-hero .lead { max-width: 680px; }
.crumbs { display: flex; gap: .5rem; font-size: .84rem; color: var(--muted); margin-bottom: 1.2rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--teal-dark); }
.crumbs span::before { content: "/"; margin-right: .5rem; opacity: .5; }
.page-hero.dark { background: var(--navy); color: #fff; }
.page-hero.dark h1 { color: #fff; }
.page-hero.dark .lead, .page-hero.dark .crumbs { color: rgba(255,255,255,.75); }

/* ---------- Prose / content layout ---------- */
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose h2 { font-size: 1.8rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6rem; }
.prose p, .prose li { color: #33425c; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.2rem; }
.prose li { margin: .35rem 0; }
.prose a { color: var(--teal-dark); font-weight: 600; }
.prose blockquote { margin: 1.6rem 0; padding: 1.2rem 1.6rem; border-left: 4px solid var(--teal); background: var(--mint); border-radius: 0 14px 14px 0; font-style: italic; }
.side { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.2rem; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.side-card.navy { background: var(--navy); color: #fff; border: 0; }
.side-card.navy h3 { color: #fff; }
.side-card.navy p { color: rgba(255,255,255,.78); }
.side-card h3 { font-size: 1.15rem; }
.side-card .price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--teal); line-height: 1; margin: .6rem 0; }
.side-card .price small { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.7); font-family: var(--font-body); }
.side-card .btn { width: 100%; margin-top: .8rem; }
.side-links li { border-top: 1px solid var(--line); }
.side-links li:first-child { border-top: 0; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; font-weight: 500; }
.side-links a:hover, .side-links a.active { color: var(--teal-dark); }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } .side { position: static; } }

/* ---------- Info cards (generic 3/2 col) ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.info-card .ico { width: 48px; height: 48px; border-radius: 13px; background: var(--mint); color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 1rem; }
.info-card .ico svg { width: 24px; height: 24px; }
.info-card h3 { font-size: 1.2rem; }
.info-card p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--teal); box-shadow: var(--shadow-md); }
.price-card .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--teal); color: var(--navy-deep); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 999px; }
.price-card h3 { font-size: 1.25rem; }
.price-card .amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1; margin: .8rem 0 .3rem; }
.price-card .amount small { font-size: 1rem; font-weight: 500; color: var(--muted); font-family: var(--font-body); letter-spacing: 0; }
.price-card .desc { color: var(--muted); font-size: .92rem; min-height: 2.6em; }
.price-card .checks { margin: 1.2rem 0 1.6rem; flex: 1; }
.price-card .checks li { font-size: .93rem; font-weight: 400; }
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.price-table th, .price-table td { padding: 1rem 1.3rem; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.price-table td:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover { background: var(--mint); }
.table-wrap { overflow-x: auto; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20,184,166,.18); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.5rem); box-shadow: var(--shadow-md); }
.form-success { display: none; background: var(--mint); border: 1px solid var(--teal-soft); border-radius: 14px; padding: 1.2rem 1.4rem; color: var(--navy); font-weight: 500; }
.form-success.show { display: block; }
.check-row { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check-row input { width: auto; margin-top: .3rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list li { display: flex; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.contact-list li:first-child { border-top: 0; }
.contact-list .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--mint); color: var(--teal-dark); display: grid; place-items: center; flex: none; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list b { display: block; color: var(--navy); }
.contact-list span { color: var(--muted); font-size: .95rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--sand); display: grid; place-items: center; color: var(--muted); text-align: center; padding: 2rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Quiz ---------- */
.quiz { max-width: 760px; margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-md); }
.quiz-progress { height: 8px; border-radius: 999px; background: var(--mint); overflow: hidden; margin-bottom: 1.6rem; }
.quiz-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--navy)); width: 0; transition: width .4s ease; }
.quiz-q { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--navy); margin-bottom: 1.2rem; }
.quiz-opts { display: grid; gap: .6rem; }
.quiz-opts button { text-align: left; padding: .95rem 1.2rem; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 500; transition: .2s; display: flex; justify-content: space-between; align-items: center; }
.quiz-opts button:hover { border-color: var(--teal); background: var(--mint); }
.quiz-opts button.sel { border-color: var(--teal); background: var(--teal-soft); }
.quiz-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1.6rem; gap: 1rem; }
.quiz-count { color: var(--muted); font-size: .88rem; }
.quiz-result { text-align: center; }
.quiz-score { font-family: var(--font-display); font-size: 4rem; font-weight: 800; color: var(--teal); line-height: 1; letter-spacing: -.04em; }
.quiz-score small { font-size: 1.2rem; color: var(--muted); font-weight: 500; }
.quiz-result .verdict { display: inline-block; padding: .5rem 1.1rem; border-radius: 999px; font-weight: 700; margin: 1rem 0; }
.verdict.low { background: var(--mint); color: var(--teal-dark); }
.verdict.high { background: rgba(242,165,65,.18); color: #a3610a; }

/* ---------- Timeline (process page) ---------- */
.timeline { position: relative; padding-left: 2.6rem; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--teal), var(--navy)); }
.tl-item { position: relative; margin-bottom: 2.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow-sm); }
.tl-item::before { content: attr(data-n); position: absolute; left: -2.6rem; top: 1.4rem; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .9rem; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--teal); }
.tl-item h3 { font-size: 1.2rem; }
.tl-item p { color: var(--muted); margin: 0; }
.tl-item .meta { font-size: .8rem; font-weight: 700; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .3rem; }

/* ---------- Alert / notice ---------- */
.notice { border-radius: 14px; padding: 1.1rem 1.4rem; display: flex; gap: .9rem; align-items: flex-start; font-size: .95rem; }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: .1rem; }
.notice.warn { background: rgba(242,165,65,.14); border: 1px solid rgba(242,165,65,.4); color: #7a4a05; }
.notice.danger { background: rgba(229,72,77,.08); border: 1px solid rgba(229,72,77,.35); color: #8f1f23; }
.notice.info { background: var(--mint); border: 1px solid var(--teal-soft); color: var(--navy); }
.notice a { font-weight: 700; text-decoration: underline; }

.emergency-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.emergency-card { background: #fff; border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--line); border-top: 5px solid var(--coral); box-shadow: var(--shadow-sm); }
.emergency-card .big { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--coral); line-height: 1; margin: .4rem 0; }
.emergency-card h3 { font-size: 1.1rem; }
.emergency-card p { margin: 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 860px) { .emergency-cards { grid-template-columns: 1fr; } }

/* ---------- Values / About ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.value { padding: 1.8rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.value .k { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--teal-soft); line-height: 1; margin-bottom: .8rem; }
.value h3 { font-size: 1.15rem; }
.value p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list span { background: var(--mint); color: var(--navy); border-radius: 999px; padding: .35rem .8rem; font-size: .84rem; font-weight: 600; }
.divider { height: 1px; background: var(--line); margin: 2.5rem 0; }
.back-top { position: fixed; right: 1.4rem; bottom: 1.4rem; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; z-index: 90; border: 0; }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top svg { width: 20px; height: 20px; }
