/* ==========================================================================
   Northwest Health — Design System
   A clean, calm, premium health brand. Mobile-first, accessible, fast.
   ========================================================================== */

/* ----- Design tokens --------------------------------------------------- */
:root {
  /* Brand palette — deep navy ink + warm gold (matched to northwest-health.co.uk) */
  /* (token names kept as --green-* for stability; values are the real navy brand scale) */
  --green-900: #081521;  /* darkest navy */
  --green-800: #0d1f2d;  /* brand navy — primary dark surface */
  --green-700: #14304a;  /* primary navy */
  --green-600: #214c6b;
  --green-500: #2c618a;
  --green-100: #d4dfe8;  /* light navy tint */
  --sage-100: #e9eef2;   /* cool light surface */
  --sage-50:  #f3f6f8;

  --gold-600: #c8893a;   /* deep gold (text on light / hover) */
  --gold-500: #e8a85a;   /* brand gold — primary accent */
  --gold-100: #f7ebd6;

  --cream:    #f7f8f9;   /* page background (clean, faintly cool) */
  --cream-dk: #eceff2;
  --white:    #ffffff;

  --ink-900:  #14202b;
  --ink-700:  #33424f;
  --ink-500:  #5a6b78;
  --ink-300:  #8a98a3;

  /* Semantic */
  --bg:        var(--cream);
  --surface:   var(--white);
  --text:      var(--ink-900);
  --text-soft: var(--ink-500);
  --primary:   var(--green-700);
  --primary-dk:var(--green-900);
  --accent:    var(--gold-600);
  --line:      rgba(13, 31, 45, 0.10);

  /* Typography — Barlow (brand sans) + Cormorant Garamond (brand serif accent) */
  --font-display: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale */
  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.32rem + 0.9vw, 2.1rem);
  --step-3:  clamp(1.8rem, 1.55rem + 1.2vw, 2.6rem);
  --step-4:  clamp(2.2rem, 1.75rem + 2vw, 3.5rem);
  --step-5:  clamp(2.6rem, 2rem + 3vw, 4.5rem);

  /* Spacing & layout */
  --container: 1200px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(12, 47, 43, 0.06), 0 4px 16px rgba(12, 47, 43, 0.05);
  --shadow-md: 0 8px 30px rgba(12, 47, 43, 0.10);
  --shadow-lg: 0 24px 60px rgba(12, 47, 43, 0.14);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----- Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.58;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ----- Typography ------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--ink-900);
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-weight: 700; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 600; }
/* Display headings in the brand serif for an editorial, premium feel;
   component titles (h3/h4) and UI stay in Barlow. */
h1, h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.005em; line-height: 1.04; }
.font-serif { font-family: var(--font-serif); font-weight: 600; letter-spacing: 0; }
p { text-wrap: pretty; }
.lede { font-size: var(--step-1); line-height: 1.48; color: var(--text-soft); font-weight: 400; }

/* ----- Layout helpers -------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.section-sm { padding-block: clamp(2rem, 3.5vw, 3rem); }
.center { text-align: center; }
.stack > * + * { margin-top: 1.1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.section-head { max-width: 60ch; margin-inline: auto; margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem); }
.section-head.center { text-align: center; }

/* ----- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.9em 1.6em;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-900); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--accent); color: var(--green-900); }
.btn--gold:hover { background: var(--gold-500); }
.btn--ghost { border: 1.5px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: var(--white); color: var(--green-900); }
.btn--light:hover { background: var(--cream); }
.btn--lg { padding: 1.05em 2em; font-size: var(--step-1); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.btn-row.center { justify-content: center; }

/* ----- Header / Nav ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, #ffffff 90%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 92px;
}
/* Desktop: links + CTA sit together on one row, pushed to the right */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  margin-left: auto;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); font-size: 1.32rem; font-weight: 500; color: var(--green-900); letter-spacing: -0.02em; }
.brand .mark { flex: none; }
.brand b { font-weight: 600; }
.brand small { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-soft); font-weight: 600; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 0.35rem; list-style: none; }
.nav-links a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover { color: var(--green-900); background: var(--sage-100); }
.nav-links a[aria-current="page"] { color: var(--green-900); background: var(--sage-100); }
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; color: var(--green-900); }
.nav-toggle:hover { background: var(--sage-100); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed;
    inset: 92px 0 auto 0;
    margin-left: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem var(--gutter) 2rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    display: flex;
  }
  .nav[data-open="true"] .nav-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav[data-open="true"] .nav-toggle .icon-open { display: none; }
  .nav[data-open="true"] .nav-toggle .icon-close { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .nav-links a { padding: 0.85rem 1rem; font-size: 1.1rem; }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-cta .btn { justify-content: center; }
}

/* ----- Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 85% -10%, var(--sage-100), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream) 60%, var(--sage-50) 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(13, 31, 45, 0.07) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 20%, #000, transparent 75%);
          mask-image: radial-gradient(80% 70% at 70% 20%, #000, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding-block: clamp(2.5rem, 5vw, 4.25rem) clamp(2.75rem, 5.5vw, 4.75rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.05rem; }
.hero .lede { max-width: 46ch; margin-bottom: 1.5rem; }
.hero .btn-row { margin-bottom: 1.7rem; }

.pill-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.95rem; margin-bottom: 1.5rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-pill); font-size: var(--step--1); font-weight: 600; color: var(--green-700);
  box-shadow: var(--shadow-sm);
}
.pill-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px rgba(232,168,90,0.22); }
.pill-tag { color: var(--green-800); }

/* Hero card / pillars visual */
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.hero-card .muted { color: var(--text-soft); font-size: var(--step--1); margin-bottom: 1.3rem; }
.pillar-list { display: grid; gap: 0.7rem; }
.pillar-row { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1rem; border-radius: var(--radius); background: var(--sage-50); }
.pillar-row .num { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent); width: 1.6rem; flex: none; }
.pillar-row strong { display: block; color: var(--green-900); font-size: 1.02rem; }
.pillar-row span { font-size: var(--step--1); color: var(--text-soft); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
}

/* ----- Trust / media bar ---------------------------------------------- */
.trustbar { background: var(--green-900); color: var(--green-100); }
.trustbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 2rem; padding-block: 1.3rem; }
.trustbar .label { font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(220,235,229,0.7); font-weight: 600; }
.trustbar .logos { display: flex; flex-wrap: wrap; gap: 1.1rem 1.8rem; align-items: center; }
.trustbar .logos span { font-family: var(--font-display); font-size: 1.15rem; color: #f3efe6; opacity: 0.92; letter-spacing: 0.01em; }

/* ----- Pillars / feature grid ----------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 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: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--sage-100); color: var(--green-700);
  margin-bottom: 1.1rem;
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-soft); font-size: 0.98rem; }
.card .num-badge { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-500); line-height: 1; display: block; margin-bottom: 0.6rem; }

/* Service card with price */
.svc-card { display: flex; flex-direction: column; }
.svc-card .price { margin-top: auto; padding-top: 1rem; font-weight: 600; color: var(--green-700); }
.svc-card .price b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; }
.svc-card .card-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.9rem; font-weight: 600; color: var(--primary); font-size: 0.95rem; }
.svc-card:hover .card-link .arrow { transform: translateX(3px); }
.card-link .arrow { transition: transform 0.25s var(--ease); }

/* ----- Split feature --------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse .split-media { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

.media-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--green-700), var(--green-900));
  color: var(--green-100);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.media-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 22px 22px; opacity: 0.6;
}
.stat-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 1.2rem; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--white); line-height: 1; }
.stat span { font-size: var(--step--1); color: rgba(220,235,229,0.85); }

/* ----- Founders -------------------------------------------------------- */
.founder { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.founder-top { display: flex; align-items: center; gap: 1.2rem; padding: 1.6rem clamp(1.4rem,2.5vw,1.9rem) 0; }
.avatar { width: 84px; height: 84px; border-radius: 50%; flex: none; object-fit: cover; object-position: center top; border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--gold-500); display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.7rem; color: var(--white); background: linear-gradient(145deg, var(--green-600), var(--green-900)); }
.founder.gold .avatar { background: linear-gradient(145deg, var(--gold-500), var(--gold-600)); color: var(--green-900); }
.founder-top h3 { margin-bottom: 0.15rem; font-family: var(--font-serif); font-size: var(--step-2); font-weight: 600; letter-spacing: 0; }
.founder-top .role { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.founder-body { padding: 1.1rem clamp(1.4rem,2.5vw,1.9rem) 1.7rem; }
.founder-body .creds { font-size: 0.9rem; color: var(--text-soft); font-weight: 600; margin-bottom: 0.8rem; }
.founder-body p { color: var(--text-soft); font-size: 0.98rem; }

/* ----- Steps / pathway ------------------------------------------------- */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step-item { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.step-item:last-child { border-bottom: 1px solid var(--line); }
.step-item .step-num { font-family: var(--font-display); font-size: 1.4rem; color: var(--accent); width: 3rem; }
.step-item h3 { font-size: var(--step-1); margin-bottom: 0.3rem; }
.step-item p { color: var(--text-soft); }

/* ----- CTA band -------------------------------------------------------- */
.cta-band { background: linear-gradient(150deg, var(--green-700), var(--green-900)); color: var(--white); border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(70% 100% at 50% 0%, #000, transparent); mask-image: radial-gradient(70% 100% at 50% 0%, #000, transparent);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta-band p { color: var(--green-100); max-width: 52ch; margin: 0 auto 1.8rem; }

/* ----- Info / contact -------------------------------------------------- */
.info-list { display: grid; gap: 1.3rem; }
.info-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.info-item .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--sage-100); color: var(--green-700); display: grid; place-items: center; flex: none; }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.info-item a, .info-item p { color: var(--text-soft); }
.info-item a:hover { color: var(--primary); }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.92rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--cream); transition: border-color 0.2s, box-shadow 0.2s; font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29,98,88,0.15); background: var(--white); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.85rem; color: var(--text-soft); margin-top: 0.5rem; }

/* ----- Map embed ------------------------------------------------------- */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ----- FAQ ------------------------------------------------------------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 0.4rem 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-family: var(--font-display); font-size: var(--step-1); font-weight: 480; cursor: pointer; list-style: none; color: var(--green-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 28px; height: 28px; position: relative; transition: transform 0.3s var(--ease); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--accent); }
.faq summary .plus::before { width: 16px; height: 2px; }
.faq summary .plus::after { width: 2px; height: 16px; transition: transform 0.3s var(--ease); }
.faq details[open] summary .plus::after { transform: rotate(90deg); }
.faq details[open] summary { color: var(--green-700); }
.faq .faq-body { padding: 0 0 1.2rem; color: var(--text-soft); max-width: 70ch; }

/* ----- Breadcrumb / page hero ----------------------------------------- */
.page-hero { background: linear-gradient(180deg, var(--sage-50), var(--cream)); border-bottom: 1px solid var(--line); }
.page-hero .container { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { font-size: var(--step-4); margin-bottom: 1rem; }
.page-hero .lede { max-width: 60ch; }
.breadcrumb { font-size: var(--step--1); color: var(--text-soft); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin-inline: 0.4rem; opacity: 0.5; }

/* ----- Footer ---------------------------------------------------------- */
.site-footer { background: var(--green-900); color: var(--green-100); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: var(--white); }
.site-footer .brand small { color: rgba(220,235,229,0.6); }
.footer-about p { color: rgba(220,235,229,0.8); font-size: 0.96rem; margin-top: 1rem; max-width: 38ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(220,235,229,0.6); margin-bottom: 1.1rem; font-weight: 700; }
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-col a { color: rgba(243,239,230,0.92); font-size: 0.96rem; }
.footer-col a:hover { color: var(--gold-500); }
.footer-contact p { color: rgba(243,239,230,0.92); font-size: 0.96rem; margin-bottom: 0.5rem; }
.footer-contact a { color: var(--white); font-weight: 500; }
.footer-contact a:hover { color: var(--gold-500); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: 0.85rem; color: rgba(220,235,229,0.6); }
.footer-bottom a:hover { color: var(--gold-500); }

/* ----- Misc ------------------------------------------------------------ */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--green-900); color: #fff; padding: 0.8rem 1.2rem; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

.divider-note { text-align: center; color: var(--text-soft); font-size: var(--step--1); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Prose for content pages */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8rem; margin-bottom: 0.6rem; }
.prose p { color: var(--ink-700); margin-bottom: 1.1rem; }
.prose ul { color: var(--ink-700); padding-left: 1.3rem; margin-bottom: 1.2rem; display: grid; gap: 0.5rem; }
.prose ul li::marker { color: var(--accent); }
.prose strong { color: var(--ink-900); }

/* ----- Shop / ecommerce ----------------------------------------------- */
.shop-cat-head { margin: 2.5rem 0 1.25rem; display: flex; align-items: baseline; gap: 0.8rem; }
.shop-cat-head h2 { font-size: var(--step-2); }
.shop-cat-head span { color: var(--text-soft); font-size: 0.95rem; }

.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 1024px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .shop-grid { grid-template-columns: 1fr; } }

.product { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product .pcat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.55rem; }
.product h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.2; margin-bottom: 0.4rem; }
.product p { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 1rem; }
.product .pprice { margin-top: auto; display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.9rem; }
.product .pprice b { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600; color: var(--green-800); }
.product .pprice .was { font-size: 1rem; color: var(--ink-300); text-decoration: line-through; }
.product .badge-sale { position: absolute; top: 1rem; right: 1rem; background: var(--gold-500); color: var(--green-900); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.25rem 0.55rem; border-radius: var(--radius-pill); }
.product .add { width: 100%; justify-content: center; }
.product .pkit { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 600; color: var(--green-600); margin-bottom: 0.5rem; }
.product .pkit svg { width: 14px; height: 14px; }

/* Sticky cart button (shop page) */
.cart-fab { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.3rem; border-radius: var(--radius-pill);
  background: var(--green-800); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); transition: transform 0.25s var(--ease), background-color 0.25s; }
.cart-fab:hover { transform: translateY(-2px); background: var(--green-900); }
.cart-fab svg { width: 20px; height: 20px; }
.cart-fab .count { background: var(--gold-500); color: var(--green-900); min-width: 22px; height: 22px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 0.8rem; font-weight: 800; padding: 0 6px; }

/* Snipcart price-validation crawl helpers stay invisible but present */
.snipcart-add-item { cursor: pointer; }

/* Nav cart link */
.nav-cart { display: inline-flex; align-items: center; gap: 0.4rem; }
.nav-cart svg { width: 20px; height: 20px; }

/* ----- Reviews -------------------------------------------------------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.stars { display: inline-flex; gap: 2px; color: var(--gold-500); margin-bottom: 0.9rem; }
.stars svg { width: 18px; height: 18px; }
.review-card blockquote { font-size: 1.02rem; line-height: 1.55; color: var(--ink-700); margin: 0 0 1.2rem; }
.review-card .reviewer { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.review-card .ri { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(145deg, var(--green-600), var(--green-900)); font-size: 0.95rem; }
.review-card .reviewer b { display: block; font-size: 0.95rem; color: var(--ink-900); }
.review-card .reviewer span { font-size: 0.82rem; color: var(--text-soft); }
.reviews-summary { display: inline-flex; align-items: center; gap: 0.8rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0.6rem 1.2rem; box-shadow: var(--shadow-sm); margin-top: 1rem; }
.reviews-summary b { font-size: 1.3rem; color: var(--green-800); }
.reviews-summary .stars { margin-bottom: 0; }

/* ----- Blog ----------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-thumb { aspect-ratio: 16 / 10; display: grid; place-items: center; background: linear-gradient(145deg, var(--green-700), var(--green-900)); color: var(--gold-500); position: relative; overflow: hidden; }
.post-thumb svg { width: 56px; height: 56px; opacity: 0.9; }
.post-thumb::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0); background-size: 20px 20px; }
.post-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.post-meta .dotsep { color: var(--ink-300); }
.post-card h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.25; margin-bottom: 0.5rem; }
.post-card p { font-size: 0.94rem; color: var(--text-soft); margin-bottom: 1rem; }
.post-card .card-link { margin-top: auto; }

/* Single post body */
.post-article { max-width: 720px; margin-inline: auto; }
.post-article h2 { font-size: var(--step-2); margin: 2.2rem 0 0.9rem; }
.post-article h3 { font-size: var(--step-1); margin: 1.6rem 0 0.6rem; }
.post-article p { color: var(--ink-700); margin-bottom: 1.1rem; }
.post-article ul { color: var(--ink-700); padding-left: 1.3rem; margin-bottom: 1.2rem; display: grid; gap: 0.5rem; }
.post-article ul li::marker { color: var(--accent); }
.post-hero-meta { display: flex; gap: 0.7rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-soft); margin-bottom: 1rem; }
.post-hero-meta .pcat { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

/* ----- WhatsApp floating button --------------------------------------- */
.wa-fab {
  position: fixed; left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 95;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.8rem 1.2rem; border-radius: var(--radius-pill);
  background: #25d366; color: #0a3d20; font-weight: 700; font-size: 0.98rem;
  box-shadow: var(--shadow-lg); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(37,211,102,0.4); color: #0a3d20; }
.wa-fab svg { width: 24px; height: 24px; flex: none; }
@media (max-width: 600px) { .wa-fab span { display: none; } .wa-fab { padding: 0.85rem; } }

/* WhatsApp inline contact link */
.wa-inline { display: inline-flex; align-items: center; gap: 0.4rem; color: #1f9d57; font-weight: 600; }
.wa-inline svg { width: 17px; height: 17px; }
.wa-inline:hover { color: #25d366; }

/* ----- CQC / trust badges --------------------------------------------- */
.badge-cqc {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
  background: var(--white); border: 1.5px solid var(--line);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; color: var(--green-800);
  box-shadow: var(--shadow-sm);
}
.badge-cqc svg { width: 16px; height: 16px; color: #1d6f4f; flex: none; }
.badge-cqc--dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff; box-shadow: none; }

/* small inline trust signals row under hero */
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.3rem; margin-top: 1.6rem; }
.trust-row .ts { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; font-weight: 600; color: var(--text-soft); }
.trust-row .ts svg { width: 17px; height: 17px; color: var(--green-600); flex: none; }

/* ----- North West area chips ------------------------------------------ */
.area-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; max-width: 760px; margin: 1.6rem auto 0; }
.area-chips span {
  padding: 0.5rem 1rem; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--line);
  font-size: 0.92rem; font-weight: 500; color: var(--green-800);
}

/* ----- Programme tiers (weight loss) ---------------------------------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
@media (max-width: 820px) { .tier-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.tier { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem,2.5vw,1.9rem); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tier.featured { border-color: var(--gold-500); box-shadow: 0 0 0 2px var(--gold-500), var(--shadow-md); }
.tier .tier-name { font-weight: 700; font-size: 1.05rem; color: var(--green-800); letter-spacing: 0.02em; text-transform: uppercase; }
.tier .tier-price { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600; color: var(--green-800); line-height: 1; margin: 0.6rem 0 0.2rem; }
.tier .tier-price small { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; color: var(--text-soft); }
.tier ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 0.7rem; }
.tier li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-size: 0.96rem; color: var(--ink-700); }
.tier li svg { width: 18px; height: 18px; color: var(--green-600); margin-top: 3px; flex: none; }
.tier .btn { margin-top: auto; width: 100%; justify-content: center; }
.tier .ribbon { align-self: flex-start; background: var(--gold-100); color: var(--gold-600); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: var(--radius-pill); margin-bottom: 0.8rem; }

/* ----- Compliance / disclaimer note ----------------------------------- */
.notice { background: var(--gold-100); border: 1px solid color-mix(in srgb, var(--gold-500) 40%, transparent); border-radius: var(--radius); padding: 1rem 1.2rem; font-size: 0.9rem; color: #6a4f24; display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; }
.notice svg { width: 20px; height: 20px; flex: none; color: var(--gold-600); margin-top: 2px; }

/* ----- Brand logo & imagery ------------------------------------------- */
.brand .logo { height: 76px; width: auto; display: block; mix-blend-mode: multiply; }
@media (max-width: 480px) { .brand .logo { height: 60px; } }

/* Footer logo on a clean chip so the white-background mark reads on navy */
.footer-logo { background: var(--white); padding: 0.5rem 0.7rem; border-radius: 12px; display: inline-block; line-height: 0; }
.footer-logo img { height: 44px; width: auto; }

/* Hero figure (founders photo) */
.hero-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hero-figure .figure-badge {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: color-mix(in srgb, var(--green-800) 88%, transparent);
  backdrop-filter: blur(6px);
  color: #fff; border-radius: 12px; padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem;
}
.hero-figure .figure-badge b { color: var(--gold-500); font-weight: 700; }
.hero-figure .figure-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); flex: none; }

/* Founder card photo (replaces initials) */
img.avatar { padding: 0; }

/* Generic framed photo for split/about sections */
.photo-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Pricing list */
.price-list { display: grid; gap: 0.2rem; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.price-row .name { font-weight: 500; }
.price-row .name small { display: block; font-weight: 400; color: var(--text-soft); font-size: 0.88rem; }
.price-row .amt { font-family: var(--font-display); font-size: 1.2rem; color: var(--green-700); white-space: nowrap; }
.tag-pop { font-size: 0.72rem; background: var(--gold-100); color: var(--gold-600); padding: 0.15rem 0.5rem; border-radius: var(--radius-pill); font-weight: 700; margin-left: 0.5rem; vertical-align: middle; }

/* Two-column "included vs charged separately" lists */
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 1.4rem; }
.incl-grid ul { list-style: none; padding: 0; margin: 0.6rem 0 0; display: grid; gap: 0.6rem; }
.incl-grid li { position: relative; padding-left: 1.7rem; font-size: 0.96rem; }
.incl-grid .incl li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green-700); font-weight: 700; }
.incl-grid .extra li::before { content: "+"; position: absolute; left: 0; top: -0.05rem; color: var(--gold-600); font-weight: 700; font-size: 1.1rem; }
@media (max-width: 620px) { .incl-grid { grid-template-columns: 1fr; } }

/* Private vs NHS comparison table */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 1.4rem; font-size: 0.98rem; }
.compare-table th, .compare-table td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.compare-table thead th:nth-child(2) { color: var(--green-700); }
.compare-table tbody th { font-weight: 600; }
.compare-table .col-us { background: var(--sage-50); }
.compare-table td:first-child, .compare-table th:first-child { color: var(--text-soft); font-weight: 500; }
@media (max-width: 620px) { .compare-table { font-size: 0.9rem; } .compare-table th, .compare-table td { padding: 0.7rem 0.6rem; } }
