/* =====================================================================
   The Sports Doc — Design System
   Premium UK sports medicine & musculoskeletal clinic
   Palette: deep navy, white, light grey, sports green accent
   Type: Fraunces (editorial serif display) + Hanken Grotesk (body)
   ===================================================================== */

:root {
  /* Colour */
  --navy-900: #0a1f3c;
  --navy-800: #0d294e;
  --navy-700: #143461;
  --navy-600: #1d4474;
  --ink: #0a1f3c;
  --slate: #44566c;
  --muted: #6b7c91;
  --line: #e3e8ef;
  --grey-50: #f5f7fa;
  --grey-100: #eef2f7;
  --white: #ffffff;

  /* Sports-green accent — tuned to match The Sports Doc logo (grass green) */
  --green-600: #2c8531;
  --green-500: #45a233;
  --green-400: #6fc049;
  --green-100: #e9f6e0;

  --blue-500: #2c7be5;
  --amber-100: #fff3e0;
  --amber-700: #b25e00;
  --red-50: #fdecec;
  --red-600: #c0392b;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing / radius / shadow */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 60, 0.06), 0 2px 8px rgba(10, 31, 60, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 31, 60, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 31, 60, 0.16);
  --maxw: 1180px;
  --header-h: 78px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green-600); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; }
p { color: var(--slate); }

/* ---------- Skip link & focus ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--navy-900); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--green-400); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--grey { background: var(--grey-50); }
.section--navy { background: var(--navy-900); color: #dce4f0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #aebfd6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-600);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--green-500); display: inline-block; }
.section--navy .eyebrow { color: var(--green-400); }
.lead { font-size: 1.18rem; color: var(--slate); max-width: 60ch; }
.section--navy .lead { color: #c3d2e8; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }
.measure { max-width: 70ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--green-500); color: #fff; box-shadow: 0 6px 18px rgba(69,162,51,.35); }
.btn--primary:hover { background: var(--green-600); color: #fff; }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-600); background: var(--grey-50); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--grey-100); color: var(--navy-900); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--navy-900); }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--navy-800), var(--green-500));
  display: grid; place-items: center; color: #fff; font-size: 1.1rem; flex-shrink: 0;
}
.brand .mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green-600); }
.brand .brand-name { line-height: 1.05; }
/* Header logo image (full-colour lockup). mix-blend-mode drops the logo's white background on the light header. */
.brand-logo { height: 64px; width: auto; display: block; mix-blend-mode: multiply; }
@media (max-width: 560px) { .brand-logo { height: 52px; } }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a { color: var(--navy-800); font-weight: 600; font-size: .96rem; padding: .5rem .7rem; border-radius: 8px; }
.nav a:hover { background: var(--grey-100); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--green-600); }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.header-cta .tel { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy-900); padding: .5rem .65rem; border-radius: 8px; }
.header-cta .tel:hover { background: var(--grey-100); text-decoration: none; }
.header-cta .tel svg { width: 18px; height: 18px; color: var(--green-600); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; color: var(--navy-900); }

@media (max-width: 980px) {
  .nav, .header-cta .tel span, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta .tel { display: inline-flex; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 24px 1.25rem;
    gap: .15rem; box-shadow: var(--shadow-md);
  }
  .nav.open a { padding: .8rem .5rem; border-bottom: 1px solid var(--grey-100); font-size: 1.05rem; }
  .nav.open .btn { display: inline-flex; margin-top: .75rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 80% 10%, rgba(18,163,108,.30), transparent 60%),
    radial-gradient(55% 60% at 10% 90%, rgba(44,123,229,.28), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.hero h1 { color: #fff; }
.hero .accent { color: var(--green-400); font-style: italic; }
.hero p.lead { color: #c7d6ea; margin-top: 1.25rem; }
.hero .eyebrow { color: var(--green-400); }
.hero .btn-row { margin-top: 2rem; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-stats .stat strong { font-family: var(--font-display); font-size: 1.9rem; color: #fff; display: block; }
.hero-stats .stat span { font-size: .85rem; color: #9fb4d4; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hero-media .floating-card {
  position: absolute; bottom: -22px; left: -22px; background: #fff; color: var(--ink);
  border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-lg); max-width: 240px;
  display: flex; gap: .75rem; align-items: center;
}
.hero-media .floating-card .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; flex-shrink: 0; }
.hero-media .floating-card strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.hero-media .floating-card span { font-size: .8rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-media { order: -1; max-width: 440px; }
  .hero-media img { aspect-ratio: 16/11; }
}

/* ---------- Trust bar ---------- */
.trustbar { border-bottom: 1px solid var(--line); background: #fff; }
.trustbar .row { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center; align-items: center; padding: 1.1rem 0; }
.trustbar .item { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--slate); font-size: .92rem; }
.trustbar .item svg { width: 20px; height: 20px; color: var(--green-600); flex-shrink: 0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfdbe9; }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; background: var(--green-100); color: var(--green-600);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .98rem; }
.card .more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .92rem; margin-top: 1rem; }
.card--link { display: flex; flex-direction: column; }
.card--navy { background: var(--navy-800); border-color: var(--navy-700); color: #c3d2e8; }
.card--navy h3 { color: #fff; }
.card--navy p { color: #aebfd6; }
.card--navy .ico { background: rgba(255,255,255,.08); color: var(--green-400); }

/* condition chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: .55rem 1.05rem; font-weight: 600; font-size: .93rem; color: var(--navy-800);
  transition: all .18s ease;
}
.chip:hover { border-color: var(--green-500); background: var(--green-100); text-decoration: none; transform: translateY(-2px); }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.checklist { list-style: none; padding: 0; display: grid; gap: .85rem; margin-top: 1.5rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; color: var(--slate); }
.checklist li svg { width: 22px; height: 22px; color: var(--green-500); flex-shrink: 0; margin-top: 2px; }
.section--navy .checklist li { color: #c3d2e8; }

/* ---------- Pathway / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy-900); color: #fff;
  font-family: var(--font-display); font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 1rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { font-size: .95rem; }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; height: 100%;
  position: relative; box-shadow: var(--shadow-sm);
}
.quote .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: .9rem; font-size: 1.05rem; }
.quote blockquote { font-size: 1.05rem; color: var(--ink); font-style: italic; line-height: 1.6; }
.quote .who { margin-top: 1.1rem; display: flex; align-items: center; gap: .75rem; }
.quote .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.quote .who b { display: block; font-size: .95rem; }
.quote .who span { font-size: .82rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem,5vw,4rem); overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 80% at 85% 20%, rgba(18,163,108,.35), transparent 60%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c3d2e8; }

/* ---------- Accordion ---------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.accordion + .accordion { margin-top: 1rem; }
.acc-trigger {
  width: 100%; text-align: left; background: #fff; border: none; cursor: pointer;
  padding: 1.3rem 1.5rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--navy-900);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.acc-trigger:hover { background: var(--grey-50); }
.acc-trigger .plus { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; transition: transform .25s ease; font-size: 1.2rem; }
.acc-trigger[aria-expanded="true"] .plus { transform: rotate(45deg); background: var(--green-500); color: #fff; }
.acc-panel { display: none; padding: 0 1.5rem 1.6rem; }
.acc-panel.open { display: block; }

/* condition detail blocks inside accordion */
.cond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: .5rem; }
@media (max-width: 720px){ .cond-grid { grid-template-columns: 1fr; } }
.cond-block h4 { font-family: var(--font-body); font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-600); margin-bottom: .5rem; }
.cond-block ul { padding-left: 1.1rem; }
.cond-block li { color: var(--slate); margin-bottom: .3rem; }

/* ---------- Red flag / callout boxes ---------- */
.callout { border-radius: var(--radius); padding: 1.3rem 1.5rem; display: flex; gap: .9rem; align-items: flex-start; }
.callout svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.callout p { margin: 0; }
.callout--red { background: var(--red-50); border: 1px solid #f3c4be; }
.callout--red svg { color: var(--red-600); }
.callout--red strong { color: var(--red-600); }
.callout--amber { background: var(--amber-100); border: 1px solid #f3d9b0; }
.callout--amber svg { color: var(--amber-700); }
.callout--amber strong { color: var(--amber-700); }
.callout--info { background: var(--green-100); border: 1px solid #bfe6d2; }
.callout--info svg { color: var(--green-600); }

/* ---------- Article ---------- */
.article-body { max-width: 72ch; }
.article-body h2 { margin-top: 2.5rem; margin-bottom: .8rem; }
.article-body h3 { margin-top: 1.8rem; margin-bottom: .5rem; }
.article-body p, .article-body ul, .article-body ol { margin-bottom: 1.1rem; }
.article-body li { margin-bottom: .4rem; color: var(--slate); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(60% 90% at 90% 0%, rgba(18,163,108,.25), transparent 55%), radial-gradient(50% 70% at 0% 100%, rgba(44,123,229,.22), transparent 60%); }
.page-hero .wrap { position: relative; z-index: 2; padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: #c3d2e8; max-width: 62ch; margin-top: 1rem; font-size: 1.15rem; }
.page-hero .eyebrow { color: var(--green-400); }

/* breadcrumb */
.breadcrumb { font-size: .85rem; color: #9fb4d4; margin-bottom: 1.25rem; }
.breadcrumb a { color: #c3d2e8; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.5rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .45rem; color: var(--navy-900); }
.field .req { color: var(--red-600); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(69,162,51,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px){ .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .25rem; }
.form-success { display: none; background: var(--green-100); border: 1px solid #bfe6d2; border-radius: var(--radius); padding: 1.25rem 1.5rem; color: var(--green-600); font-weight: 600; }
.form-success.show { display: block; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--slate); }
.consent input { width: auto; margin-top: 4px; }

/* ---------- Contact info cards ---------- */
.info-list { list-style: none; padding: 0; display: grid; gap: 1.25rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; flex-shrink: 0; }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list b { display: block; color: var(--navy-900); font-size: .95rem; }
.info-list a, .info-list span { color: var(--slate); }

.map-placeholder {
  border-radius: var(--radius); border: 2px dashed #c2cfdf; background:
    repeating-linear-gradient(45deg, var(--grey-50), var(--grey-50) 14px, #eaf0f6 14px, #eaf0f6 28px);
  min-height: 320px; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 2rem;
}
.map-placeholder svg { width: 40px; height: 40px; color: var(--green-600); margin-bottom: .5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aebfd6; padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: #aebfd6; display: inline-block; padding: .2rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand .brand-name { color: #fff; }
.footer-brand p { color: #92a6c6; font-size: .95rem; max-width: 34ch; }
.footer-contact a { font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; color: #7e92b3; }
.footer-bottom .links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-disclaimer { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 1rem 1.25rem; margin-top: 2rem; font-size: .85rem; color: #92a6c6; display: flex; gap: .75rem; align-items: flex-start; }
.footer-disclaimer svg { width: 20px; height: 20px; color: var(--green-400); flex-shrink: 0; margin-top: 2px; }

/* ---------- Floating mobile call bar ---------- */
.mobile-callbar { display: none; }
@media (max-width: 980px) {
  .mobile-callbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(10,31,60,.1);
  }
  .mobile-callbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .6rem; font-size: .72rem; font-weight: 700; color: var(--navy-900); }
  .mobile-callbar a svg { width: 20px; height: 20px; color: var(--green-600); }
  .mobile-callbar a.primary { background: var(--green-500); color: #fff; }
  .mobile-callbar a.primary svg { color: #fff; }
  body { padding-bottom: 64px; }
}

/* ---------- Misc ---------- */
.note-box { background: var(--grey-50); border: 1px solid var(--line); border-left: 4px solid var(--green-500); border-radius: var(--radius-sm); padding: 1.25rem 1.5rem; font-size: .95rem; color: var(--slate); }
.tag { display:inline-block; background: var(--green-100); color: var(--green-600); font-weight:700; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; padding:.3rem .7rem; border-radius:999px; margin-bottom:.9rem; }
.toc { background: var(--grey-50); border:1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.toc h4 { margin-bottom: .75rem; }
.toc ul { list-style:none; padding:0; display:grid; gap:.4rem; }
.toc a { font-weight:600; color: var(--navy-800); }
.advice-grid { display:grid; grid-template-columns:260px 1fr; gap:3rem; align-items:start; }
.advice-toc { position:sticky; top:96px; }
.bio-grid { display:grid; grid-template-columns:300px 1fr; gap:2.25rem; align-items:start; }
.bio-photo { border-radius: var(--radius); width:100%; aspect-ratio:1/1.12; object-fit:cover; box-shadow: var(--shadow-md); background:linear-gradient(135deg,#143461,#12a36c); }
.bio-creds { font-family:var(--font-body); font-weight:600; font-size:.92rem; letter-spacing:.02em; color:var(--green-600); margin:-.25rem 0 1rem; }
@media (max-width:680px){ .bio-grid{ grid-template-columns:1fr; } .bio-photo{ max-width:260px; } }
@media (max-width: 860px){ .advice-grid { grid-template-columns:1fr; gap:1.5rem; } .advice-toc { position:static; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover, .chip:hover { transform: none; }
}
