/* ──────────────────────────────────────────────────────────────
   Dr Gamble 2026 — full design system + page styles
   v4 (Gold) palette · Source Serif 4 + Inter
   ────────────────────────────────────────────────────────────── */

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

:root {
  --navy: #0F2B4C;
  --navy-soft: #1A3B62;
  --navy-deep: #0B2240;
  --accent: #B8963E;
  --accent-deep: #9A7C2F;
  --paper: #FAF8F4;
  --warm-grey: #F4F1EB;
  --text: #1F1F1F;
  --text-light: #4A4A4A;
  --text-faint: #7A7770;
  --border: #DDD7CC;
  --border-soft: #EAE5DA;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(15,43,76,0.06);
  --shadow-md: 0 4px 16px rgba(15,43,76,0.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: #fff;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── NAV ─── */
.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 88px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand { text-decoration: none; line-height: 1.1; flex-shrink: 0; }
.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  display: block;
}
.brand-role {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 0.02em;
  margin-top: 2px;
  display: block;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin-left: 16px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links li.current-menu-item a,
.nav-links li.current_page_item a { border-bottom-color: var(--accent); color: var(--navy); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.btn-book {
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 17px;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-book:hover { background: var(--navy-soft); color: #fff; }
/* Book page: hide the header CTA — redundant when already on the booking page */
body.page-template-page-book .btn-book { display: none; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--navy);
}
.mobile-menu {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 32px 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ─── HERO (homepage) ─── */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 80px 0 88px;
  position: relative;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.hero-rule {
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin: 24px 0 28px;
}
.hero-lede {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
  margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 18px;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover { background: var(--paper); color: var(--navy); }
.btn-primary.btn-gold { background: var(--accent); color: var(--navy); }
.btn-primary.btn-gold:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost {
  color: #fff;
  text-decoration: none;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 18px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.15s, border-color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.55); color: #fff; }

.hero-portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.hero-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 20px);
}
.hero-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.breadcrumb {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 1px;
}
.breadcrumb a:hover { color: #fff; border-bottom-color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.page-hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
  max-width: 22ch;
  padding-bottom: 0.08em;
}
.page-hero-rule {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 20px 0 24px;
}
.page-hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 62ch;
}

/* ─── TRUST STRIP (homepage) ─── */
.trust {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
}
.trust-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.trust-item strong { color: var(--navy); font-weight: 600; display: block; }

/* ─── SECTIONS ─── */
.section { padding: 96px 0; }
.section-alt { background: var(--paper); }
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-head { margin-bottom: 56px; }
.section-eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.15;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.section-head p {
  font-size: 19px;
  color: var(--text-light);
  line-height: 1.55;
  max-width: 100ch;
}

/* ─── HOMEPAGE SERVICES GRID ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.service-card {
  padding: 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.15s;
}
.service-card:hover { background: var(--paper); }
.service-card:hover .service-arrow { transform: translateX(4px); color: var(--accent-deep); }
.service-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 44ch;
}
.service-arrow {
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s, color 0.15s;
}
.pricing-line {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--warm-grey);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 17px;
  color: var(--text);
}
.pricing-line strong { color: var(--navy); }
.pricing-line a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
  font-weight: 600;
}

/* ─── HOMEPAGE ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: flex-start;
}
.about-image {
  aspect-ratio: 4/5;
  background: var(--warm-grey);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(15,43,76,0.04) 0px, rgba(15,43,76,0.04) 1px, transparent 1px, transparent 18px);
}
.about-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
}
.about-text > p {
  font-size: 19px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 56ch;
}
/* .about-text first paragraph now matches the others — override removed v1.1.3 */
.about-creds {
  margin: 36px 0 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.about-cred {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: baseline;
}
.about-cred strong { color: var(--navy); font-weight: 600; }
.about-cred em { color: var(--text-light); font-style: normal; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

/* ─── REVIEWS ─── */
.reviews-section { background: var(--paper); }
.reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch; /* match heights between columns */
}
.review-platform {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  height: 100%;
}

/* Shared "box" styling for both platforms */
.td-box,
.doctify-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  min-height: 480px;   /* keeps the two boxes comparable in height */
}

/* Top Doctors widget mount inside the box */
.td-widget-mount {
  display: flex;
  justify-content: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}
.td-widget-mount #topdoctors-gb-widget-container-11 { max-width: 100%; }

/* Top Doctors carousel */
.td-carousel {
  position: relative;
  flex: 1;
  padding: 0 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.td-viewport {
  overflow: hidden;
  width: 100%;
}
.td-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}
.td-slide {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
}
.td-review {
  padding: 4px 8px;
}
.td-stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 16px;
  margin-bottom: 10px;
}
.td-review-body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 12px;
}
.td-review-meta {
  font-size: 13px;
  color: var(--text-faint);
  font-weight: 500;
}
.td-review-meta span { color: var(--navy); }
.td-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
  transition: background 0.15s, border-color 0.15s;
  z-index: 2;
}
.td-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.td-arrow-prev { left: 6px; }
.td-arrow-next { right: 6px; }
.td-dots {
  position: absolute;
  bottom: 8px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.td-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.td-dot.is-active { background: var(--accent); transform: scale(1.2); }
.td-dot:hover { background: var(--accent-deep); }

/* Doctify */
.doctify-widget {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.doctify-widget > div { width: 100%; }

.platform-link {
  display: inline-block;
  align-self: flex-start;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* Stack reviews vertically on narrower screens */
@media (max-width: 1100px) {
  .reviews { grid-template-columns: 1fr; }
}

/* Stop third-party review embeds (Top Doctors / Doctify) overflowing on mobile */
.reviews-section { overflow-x: hidden; }
.review-platform, .td-box, .doctify-box { min-width: 0; }
.td-widget-mount, .doctify-widget { max-width: 100%; }
.td-box iframe, .doctify-box iframe,
.td-widget-mount > *, .td-widget-mount iframe,
.doctify-widget > *, .doctify-widget iframe { max-width: 100% !important; }
@media (max-width: 560px) {
  .td-carousel { padding: 0 36px 36px; }
}

/* ─── CTA ─── */
.cta {
  background: var(--navy);
  color: #fff;
  padding: 96px 0;
  position: relative;
}
.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.cta h2 {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.cta-rule { width: 56px; height: 3px; background: var(--accent); margin: 0 auto 28px; }
.cta-lede {
  font-size: 19px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto 40px;
}
.cta-details {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.85);
  font-size: 17px;
}
.cta-detail { display: flex; align-items: center; gap: 10px; }
.cta-detail svg { color: var(--accent); flex-shrink: 0; }
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Booking widget placeholder */
.booking-widget {
  max-width: 720px;
  margin: 8px auto 0;
  text-align: left;
}
.booking-widget-frame {
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.28);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.booking-widget-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.booking-widget-body { display: flex; align-items: center; gap: 22px; color: rgba(255,255,255,0.85); }
.booking-widget-body svg { color: var(--accent); flex-shrink: 0; }
.booking-widget-title { font-family: var(--serif); font-size: 20px; color: #fff; font-weight: 600; margin-bottom: 6px; line-height: 1.3; }
.booking-widget-sub { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 64px 0 28px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-name { font-family: var(--serif); font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.footer-brand-role { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.footer-col p, .footer-col a {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  line-height: 1.75;
  display: block;
}
.footer-col a:hover { color: var(--accent); }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ─── ABOUT PAGE ─── */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: flex-start;
}
.bio-image {
  aspect-ratio: 4/5;
  background: var(--warm-grey);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.bio-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.bio-text > p { font-size: 19px; color: var(--text); line-height: 1.7; margin-bottom: 20px; max-width: 60ch; }

.creds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cred-col h3 {
  font-family: var(--serif); font-size: 22px; color: var(--navy);
  font-weight: 600; margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.cred-list { list-style: none; }
.cred-list li {
  padding: 14px 0; border-bottom: 1px dashed var(--border-soft);
  font-size: 17px; color: var(--text); line-height: 1.5;
  display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: baseline;
}
.cred-list li:last-child { border-bottom: none; }
.cred-list .label { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: 17px; }
.cred-list .desc { color: var(--text-light); }

.approach-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: flex-start; }
.approach-grid h2 {
  font-family: var(--serif); font-size: 36px; line-height: 1.15;
  color: var(--navy); font-weight: 600; letter-spacing: -0.005em;
}
.approach-body p { font-size: 19px; color: var(--text); line-height: 1.7; margin-bottom: 22px; }
.approach-body p:last-child { margin-bottom: 0; }

.pull-quote { margin: 0 auto; max-width: 900px; padding: 56px 32px; text-align: center; }
.pull-quote blockquote {
  font-family: var(--serif); font-size: 32px; line-height: 1.3;
  color: var(--navy); font-weight: 500; letter-spacing: -0.005em;
}
.pull-quote blockquote::before {
  content: '\201C';
  display: block; font-size: 80px; line-height: 0.5;
  color: var(--accent); margin-bottom: 24px;
}
.pull-quote cite {
  display: block; margin-top: 28px;
  font-style: normal; font-family: var(--sans);
  font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 600;
}

.research-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.research-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 30px;
  text-decoration: none; color: inherit;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; transition: background 0.15s, border-color 0.15s;
}
.research-card:hover { background: var(--paper); border-color: var(--accent); }
.research-card .label {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 600;
  margin-bottom: 6px;
}
.research-card .title { font-family: var(--serif); font-size: 19px; color: var(--navy); font-weight: 600; }
.research-card .arrow { color: var(--navy); font-size: 20px; flex-shrink: 0; }

/* ─── SERVICES PAGE ─── */
.service-toc {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.service-toc-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; gap: 12px; flex-wrap: wrap;
  align-items: center;
  font-family: var(--mono); font-size: 13px;
}
.service-toc-label {
  color: var(--text-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-right: 12px;
}
.service-toc a {
  text-decoration: none; color: var(--navy);
  padding: 8px 14px; background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: background 0.15s, color 0.15s;
  font-weight: 500;
}
.service-toc a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.service-block { padding: 80px 0; border-bottom: 1px solid var(--border-soft); }
.service-block:last-of-type { border-bottom: none; }
.service-block-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
}
.service-num {
  font-family: var(--serif); font-size: 96px; line-height: 0.9;
  color: var(--accent); font-weight: 600; letter-spacing: -0.02em;
}
.service-meta {
  margin-top: 18px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 600;
  padding-top: 18px; border-top: 1px solid var(--border);
}
.service-body h2 {
  font-family: var(--serif); font-size: 36px; line-height: 1.15;
  color: var(--navy); font-weight: 600; letter-spacing: -0.005em;
  margin-bottom: 24px;
}
.service-body p {
  font-size: 19px; color: var(--text); line-height: 1.7;
  margin-bottom: 18px; max-width: 64ch;
}
.service-body p:first-of-type {
  font-family: var(--serif); font-size: 22px; color: var(--navy);
  line-height: 1.5; font-weight: 500; margin-bottom: 28px;
}
.service-investigations {
  margin-top: 28px;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  padding: 20px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.service-investigations h4 {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 600;
  margin-bottom: 10px;
}
.service-investigations p { font-size: 17px; color: var(--text); line-height: 1.5; margin: 0; }
.service-cta {
  margin-top: 32px; display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy); text-decoration: none; font-weight: 600;
  font-size: 17px; border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

.service-ctas { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; margin-top: 32px; }
.service-ctas .service-cta { margin-top: 0; }
.service-cta-secondary { color: var(--text); border-bottom-color: var(--border); font-weight: 500; }
.service-cta-secondary:hover { color: var(--navy); border-bottom-color: var(--accent); }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.pricing-cell {
  padding: 32px;
  background: #fff;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-label { font-size: 15px; color: var(--text-faint); margin-bottom: 8px; font-weight: 500; }
.pricing-value {
  font-family: var(--serif); font-size: 28px;
  color: var(--navy); font-weight: 600; line-height: 1.1;
}
.pricing-note {
  grid-column: 1 / -1;
  padding: 24px 32px;
  background: var(--paper);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 16px; color: var(--text);
}
.pricing-note strong { color: var(--navy); }

.insurer-strip {
  margin-top: 48px;
  padding: 36px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.insurer-strip-head {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 600;
  margin-bottom: 18px;
}
.insurer-row { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.insurer { font-family: var(--serif); font-size: 22px; color: var(--navy); font-weight: 600; letter-spacing: 0.02em; }
.insurer-strip-aside {
  margin-top: 22px; font-size: 16px; color: var(--text);
}
.insurer-strip-note {
  margin-top: 10px; font-size: 14px; color: var(--text-faint);
}

/* ─── CONTACT PAGE ─── */
.contact-rows {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.contact-row {
  padding: 36px;
  background: #fff;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-row-label {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 600;
  margin-bottom: 16px;
}
.contact-row h3 {
  font-family: var(--serif); font-size: 22px;
  color: var(--navy); font-weight: 600;
  margin-bottom: 10px; line-height: 1.2;
}
.contact-big {
  font-family: var(--serif); font-size: 32px;
  color: var(--navy); font-weight: 600;
  margin-bottom: 8px; letter-spacing: -0.01em;
  line-height: 1.1;
}
.contact-big a { color: inherit; text-decoration: none; }
.contact-row p { color: var(--text-light); font-size: 16px; line-height: 1.55; margin-bottom: 12px; }
.contact-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--navy); text-decoration: none; font-weight: 600;
  font-size: 16px; border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}

.locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.location-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.location-map {
  width: 100%; height: 240px;
  background: var(--warm-grey);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  position: relative; overflow: hidden;
}
.location-map::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(15,43,76,0.04) 0px, rgba(15,43,76,0.04) 1px, transparent 1px, transparent 18px);
}
.location-map iframe { width: 100%; height: 100%; border: 0; position: relative; z-index: 2; }
.location-map span { position: relative; z-index: 1; }
.location-info { padding: 32px; }
.location-info-head {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 18px; flex-wrap: wrap;
}
.location-info h3 { font-family: var(--serif); font-size: 26px; color: var(--navy); font-weight: 600; line-height: 1.15; }
.location-info-tag {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 600;
}
.location-fields { display: grid; gap: 16px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
.location-field {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px;
  font-size: 16px; line-height: 1.5;
}
.location-field-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 600;
  padding-top: 4px;
}
.location-field-value { color: var(--text); }
.location-field-value a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--accent); }
.location-note {
  margin-top: 20px; padding: 14px 18px;
  background: var(--paper); border-radius: var(--radius);
  font-size: 15px; color: var(--text-light); line-height: 1.5;
}

.referral-block { max-width: 880px; }
.referral-grid {
  display: grid; grid-template-columns: 200px 1fr; gap: 48px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-soft);
}
.referral-grid:last-of-type { border-bottom: none; }
.referral-grid h3 { font-family: var(--serif); font-size: 20px; color: var(--navy); font-weight: 600; line-height: 1.2; }
.referral-grid p { font-size: 17px; color: var(--text); line-height: 1.65; margin-bottom: 12px; }
.referral-grid p:last-child { margin-bottom: 0; }

/* ─── BOOK PAGE ─── */
.booking-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: flex-start;
}
.booking-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 48px 40px;
  box-shadow: var(--shadow-sm);
}
.booking-form-wrap h2 { font-family: var(--serif); font-size: 28px; color: var(--navy); font-weight: 600; line-height: 1.2; margin-bottom: 8px; }
.booking-form-sub { color: var(--text-light); font-size: 16px; margin-bottom: 36px; }

.booking-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.booking-form .field { margin-bottom: 20px; }
.booking-form .row .field { margin-bottom: 0; }
.booking-form .field label,
.booking-form label.field-label {
  display: block;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 600;
  margin-bottom: 8px;
}
.booking-form .field input,
.booking-form .field textarea,
.booking-form .field select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--sans); font-size: 17px; color: var(--text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.booking-form .field input:focus,
.booking-form .field textarea:focus,
.booking-form .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184,150,62,0.18);
}
.booking-form .field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }

.seg-group {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.seg-group input[type="radio"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; }
.seg-group label {
  margin: 0;
  display: block;
  text-align: center;
  padding: 10px 14px;
  font-size: 16px; font-weight: 500;
  color: var(--text-light);
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--sans);
  transition: background 0.15s, color 0.15s;
}
.seg-group input[type="radio"]:checked + label { background: var(--navy); color: #fff; }

.submit-row {
  margin-top: 8px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.submit-note { font-size: 14px; color: var(--text-faint); max-width: 32ch; line-height: 1.5; }
.submit-btn {
  background: var(--navy); color: #fff; border: none;
  padding: 16px 32px; border-radius: var(--radius);
  font-family: inherit; font-size: 17px; font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  display: inline-flex; align-items: center; gap: 10px;
}
.submit-btn:hover { background: var(--navy-soft); }

.form-success {
  padding: 20px 24px;
  background: #f1f8f1;
  border: 1px solid #cfe5cf;
  border-radius: var(--radius);
  color: #1f4d24;
  font-size: 17px;
  margin-bottom: 24px;
}
.form-error {
  padding: 16px 20px;
  background: #fdf3f3;
  border: 1px solid #f1c9c9;
  border-radius: var(--radius);
  color: #8a1f1f;
  font-size: 16px;
  margin-bottom: 18px;
}

.alt-contact {
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.alt-contact-item { font-size: 16px; line-height: 1.5; }
.alt-contact-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 600;
  margin-bottom: 6px;
}
.alt-contact-value { font-family: var(--serif); font-size: 20px; color: var(--navy); font-weight: 600; }
.alt-contact-value a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--accent); }

.info-stack { display: flex; flex-direction: column; gap: 20px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.info-card.alt { background: var(--paper); }
.info-card h3 {
  font-family: var(--serif); font-size: 20px;
  color: var(--navy); font-weight: 600;
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.info-card dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-size: 16px; }
.info-card dt { color: var(--text); }
.info-card dd { color: var(--navy); font-weight: 600; font-family: var(--serif); white-space: nowrap; }
.info-card .footnote {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px dashed var(--border-soft);
  font-size: 14px; color: var(--text-faint); line-height: 1.5;
}
.info-card p { font-size: 16px; color: var(--text); line-height: 1.6; margin-bottom: 10px; }
.info-card p:last-child { margin-bottom: 0; }
.info-card strong { color: var(--navy); }
.insurer-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.insurer-pills span {
  font-size: 13px; padding: 4px 12px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 100px; color: var(--navy);
  font-weight: 500;
}
.info-card.alt .insurer-pills span { background: #fff; }

.cancel-table { display: grid; gap: 10px; font-size: 15px; }
.cancel-row {
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-soft);
}
.cancel-row:last-child { border-bottom: none; }
.cancel-row .label { color: var(--text); }
.cancel-row .value { color: var(--navy); font-weight: 600; font-family: var(--serif); }

/* ─── DEFAULT PAGE (fallback) ─── */
.default-page { padding: 64px 0 96px; }
.default-page-inner { max-width: 800px; margin: 0 auto; padding: 0 32px; }
.default-page h1 {
  font-family: var(--serif); font-size: 40px; color: var(--navy);
  font-weight: 600; line-height: 1.2; margin-bottom: 24px;
}
.default-page h2 {
  font-family: var(--serif); font-size: 28px; color: var(--navy);
  font-weight: 600; line-height: 1.25; margin: 40px 0 16px;
}
.default-page h3 {
  font-family: var(--serif); font-size: 22px; color: var(--navy);
  font-weight: 600; margin: 32px 0 12px;
}
/* Neutralise leftover inline text colours on headings pasted from the old site */
.default-page h1 span, .default-page h2 span, .default-page h3 span, .default-page h4 span { color: inherit !important; }
.default-page p { font-size: 18px; line-height: 1.7; color: var(--text); margin-bottom: 18px; }
.default-page ul, .default-page ol { padding-left: 22px; margin-bottom: 18px; }
.default-page li { font-size: 18px; line-height: 1.65; margin-bottom: 8px; }
.default-page a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.default-page img { border-radius: var(--radius); margin: 24px 0; }
.default-page blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 24px;
  margin: 24px 0;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
  line-height: 1.5;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-inner { gap: 16px; }
  .nav-right { gap: 12px; }
  .btn-book { padding: 10px 16px; font-size: 16px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 40px; }
  .hero-portrait { max-width: 360px; }
  .trust-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image { max-width: 420px; }
  .about-creds { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 32px; }
  .cta h2 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-hero h1 { font-size: 34px; }
  .bio-grid, .approach-grid, .creds-grid, .research-list { grid-template-columns: 1fr; gap: 40px; }
  .bio-image { max-width: 420px; }
  .pull-quote blockquote { font-size: 24px; }
  .service-block-inner { grid-template-columns: 1fr; gap: 32px; }
  .service-num { font-size: 64px; }
  .service-body h2 { font-size: 28px; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .contact-rows { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; gap: 32px; }
  .referral-grid { grid-template-columns: 1fr; gap: 14px; }
  .booking-layout { grid-template-columns: 1fr; gap: 40px; }
  .booking-form-wrap { padding: 32px 28px; }
  .booking-form .row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .booking-form .row .field { margin-bottom: 20px; }
  .alt-contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav-inner { padding: 0 16px; gap: 12px; }
  .brand-role { display: none; }
  .nav-right { gap: 10px; }
  .btn-book { padding: 9px 13px; font-size: 14px; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 32px; }
  .section { padding: 64px 0; }
  .page-hero { padding: 48px 0 56px; }
  .page-hero h1 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; }
  .cta-details { flex-direction: column; gap: 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .insurer-row { gap: 20px; }
  .insurer { font-size: 18px; }
}


/* ─── FOOTER LISTS ─── */
.footer-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}
.footer-list li {
  padding: 0;
  margin-bottom: 4px;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 1.5;
}
.footer-list li::marker {
  color: var(--accent);
}
.footer-list a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  display: inline;
}
.footer-list a:hover { color: var(--accent); }


/* ─── NUFFIELD BOOKING CTA (book page) ─── */
.nuffield-cta {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.nuffield-cta-text h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--navy);
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.2;
}
.nuffield-cta-text p {
  margin: 0;
  font-size: 17px;
  color: var(--text);
  line-height: 1.55;
  max-width: 60ch;
}
.nuffield-cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.btn-lg {
  font-size: 19px !important;
  padding: 18px 32px !important;
}
.nuffield-cta-note {
  font-size: 13px;
  color: var(--text-faint);
  font-family: var(--mono);
}
@media (max-width: 720px) {
  .nuffield-cta { grid-template-columns: 1fr; padding: 28px; }
  .nuffield-cta-action { align-items: flex-start; }
}


.info-card-aside {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
  font-style: italic;
}
