/* ==========================================================================
   Lyneham Dental Care, design r1
   Visual system: Homepage 1 (Playfair Display + Inter, sky blue palette,
   light blue section backgrounds, green accent lines, rounded cards, glass nav).
   Every section is a self-contained block: .blk + .blk-<name> + data-block,
   so each maps onto one GYA Site Kit block.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --primary: #43B0E5;          /* brand sky blue: accents, icons, fills */
  --primary-strong: #1A7AB0;   /* button fill + links (white text passes WCAG AA) */
  --primary-deep: #17618C;     /* headings, dark panels, footer */
  --green: #5FBB46;            /* accent lines, dots, icons on dark */
  --green-ink: #3E9A2C;        /* italic heading accents on light backgrounds */
  --green-soft: #9FDB8C;       /* italic accents on photos and dark panels */
  --text: #2F4858;
  --muted: #5A7183;
  --bg: #FFFFFF;
  --tint-1: #F6FBFE;
  --tint-2: #E9F4FA;
  --tint-3: #D8ECF6;
  --line: rgba(23, 97, 140, 0.12);
  --line-soft: rgba(23, 97, 140, 0.07);

  --glass: rgba(255, 255, 255, 0.66);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.7);
  --blur: blur(20px) saturate(1.6);
  --glass-shadow: 0 0 0 1px rgba(23, 97, 140, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 16px 44px rgba(16, 54, 82, 0.12);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-sm: 14px; --r-md: 20px; --r-lg: 26px; --r-xl: 34px; --pill: 999px;
  --shadow: 0 12px 36px rgba(16, 54, 82, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 54, 82, 0.14);

  --max: 1240px;
  --gutter: clamp(18px, 4vw, 44px);
  --pad: clamp(64px, 8vw, 116px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.2, 0.5, 1);
  --header-h: 84px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: var(--primary-strong); text-decoration: none; }
a:hover { color: var(--primary-deep); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--primary-strong); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(67, 176, 229, 0.25); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--primary-deep); color: #fff; padding: 12px 18px; border-radius: 10px;
}
.skip:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--primary-deep); line-height: 1.14; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
h4 { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--text); }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--green-ink); }
.on-dark h1 em, .on-dark h2 em, .blk-hero h1 em { color: var(--green-soft); }
p + p { margin-top: 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.blk { padding: var(--pad) 0; position: relative; }
.blk.tint-1 { background: var(--tint-1); }
.blk.tint-2 { background: var(--tint-2); }
.blk.tight { padding: calc(var(--pad) * 0.6) 0; }

/* Eyebrow with green accent line (Homepage 1) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--green); }
.on-dark .eyebrow { color: rgba(255, 255, 255, 0.78); }

.section-head { max-width: 680px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.04rem; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(26px, 3.5vw, 44px); }
.section-head-row .section-head { margin-bottom: 0; }
.lead { font-size: clamp(1.02rem, 1.2vw, 1.12rem); color: var(--muted); }

/* 3. Review tags (design review only) -------------------------------------- */
.rt {
  display: inline-block; vertical-align: middle;
  font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 0.6rem;
  letter-spacing: 0.06em; line-height: 1; text-transform: none;
  padding: 4px 7px; margin: 0 4px; border-radius: 6px;
  background: #FFF4C2; color: #6B5300; border: 1px solid #F0D768;
  white-space: nowrap;
}
.rt::before { content: "[" attr(data-t) "]"; }
.rt[data-t="VERIFY"] { background: #FFE5DC; color: #8A2E0E; border-color: #F5B8A2; }
.rt[data-t="BIO FROM CLIENT"] { background: #E8E2FF; color: #3D2A8A; border-color: #C6B8F5; }
.rt[data-t="CONFIRM"] { background: #DDF3E4; color: #1E5E33; border-color: #A7DDB7; }
body.hide-tags .rt { display: none; }

.review-bar {
  position: fixed; left: 14px; bottom: 14px; z-index: 250;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 7px; border-radius: 16px;
  background: rgba(23, 34, 44, 0.86); color: #fff; font-size: 0.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.review-bar span { padding: 0 6px; opacity: 0.75; }
.review-bar button {
  min-height: 34px; padding: 0 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.1); color: #fff; font-weight: 500;
}
.review-bar button[aria-pressed="true"] { background: #fff; color: #17222C; }
.review-note {
  background: #FFF8DC; border-bottom: 1px solid #F0D768; color: #5A4500;
  font-size: 0.86rem; padding: 10px var(--gutter); text-align: center;
  position: relative; z-index: 120; margin-top: calc(var(--header-h) + 16px);
}

/* 4. Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: var(--pill);
  font-family: var(--sans); font-weight: 600; font-size: 0.92rem; line-height: 1.2;
  transition: transform 300ms var(--spring), background 250ms var(--ease), color 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease);
  text-align: center;
}
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.btn-primary { background: var(--primary-strong); color: #fff; box-shadow: 0 10px 26px rgba(26, 122, 176, 0.3); }
.btn-primary:hover { background: var(--primary-deep); color: #fff; transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--primary-deep); background: rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { border-color: var(--primary-strong); color: var(--primary-deep); background: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary-deep); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18); }
.btn-light:hover { color: var(--primary-deep); transform: translateY(-2px); }
.btn-glass {
  background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.26); color: #fff; transform: translateY(-2px); }
/* Book + phone always travel together */
.book-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 9px; min-height: 48px;
  font-weight: 600; font-size: 0.95rem; color: var(--primary-deep);
}
.phone-link svg { width: 18px; height: 18px; color: var(--green-ink); }
.phone-link:hover { color: var(--primary-strong); }
.on-dark .phone-link, .blk-hero .phone-link { color: #fff; }
.on-dark .phone-link svg, .blk-hero .phone-link svg { color: var(--green-soft); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; min-height: 44px; }
.text-link svg { width: 15px; height: 15px; transition: transform 300ms var(--spring); }
.text-link:hover svg { transform: translate(2px, -2px); }

/* 5. Header: glass island + image-based dropdowns --------------------------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 150; pointer-events: none; }
.header-bar {
  pointer-events: auto;
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  min-height: 70px; padding: 8px 8px 8px 22px;
  border-radius: var(--pill);
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--glass-shadow);
  transition: background 350ms var(--ease), box-shadow 350ms var(--ease);
}
.site-header.scrolled .header-bar { background: var(--glass-strong); box-shadow: var(--glass-shadow), 0 20px 50px rgba(16, 54, 82, 0.14); }
.header-wrap { padding: 0 14px; position: relative; }
.brand { display: flex; align-items: center; min-height: 44px; flex: 0 0 auto; color: var(--primary-deep); }
.brand img { height: 42px; width: auto; }
.brand-word { font-family: var(--serif); font-size: 1.14rem; font-weight: 500; line-height: 1.05; white-space: nowrap; }
.brand-word small { display: block; font-family: var(--sans); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green-ink); margin-top: 3px; }

.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; }
.nav > ul > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; min-height: 44px;
  padding: 0 11px; font-size: 0.86rem; font-weight: 500; color: var(--text); white-space: nowrap;
  border-radius: var(--pill); transition: color 200ms var(--ease), background 200ms var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--primary-strong); background: rgba(255, 255, 255, 0.7); }
.nav-link[aria-current="page"] { color: var(--primary-deep); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.nav-link svg { width: 11px; height: 11px; opacity: 0.6; transition: transform 250ms var(--ease); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

.drop {
  position: absolute; top: calc(100% + 16px); left: 50%;
  width: 340px; padding: 10px;
  border-radius: var(--r-lg);
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  backdrop-filter: blur(26px) saturate(1.7); -webkit-backdrop-filter: blur(26px) saturate(1.7);
  box-shadow: var(--glass-shadow), 0 30px 70px rgba(16, 54, 82, 0.18);
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-6px) scale(0.97); transform-origin: top center;
  transition: opacity 220ms var(--ease), transform 320ms var(--spring), visibility 0s linear 220ms;
}
.drop.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1); transition: opacity 220ms var(--ease), transform 320ms var(--spring); }
.drop.wide { width: 620px; }
.drop.wide .drop-grid { grid-template-columns: 1fr 1fr; }
.drop-grid { display: grid; gap: 2px; }
.drop-item { display: flex; align-items: center; gap: 13px; min-height: 60px; padding: 8px 10px; border-radius: 16px; color: var(--text); }
.drop-item:hover { background: rgba(255, 255, 255, 0.85); color: var(--text); }
.drop-item img { width: 50px; height: 50px; border-radius: 14px; object-fit: cover; flex: 0 0 auto; transition: transform 350ms var(--spring); }
.drop-item:hover img { transform: scale(1.06); }
.drop-item strong { display: block; font-weight: 600; font-size: 0.86rem; color: var(--primary-deep); line-height: 1.3; }
.drop-item small { display: block; font-size: 0.74rem; color: var(--muted); line-height: 1.35; }
.drop-foot { margin-top: 6px; padding: 8px 10px 2px; border-top: 1px solid var(--line-soft); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: 6px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px;
  border-radius: var(--pill); border: 1px solid var(--line);
  font-weight: 600; font-size: 0.86rem; color: var(--primary-deep); white-space: nowrap;
}
.header-phone:hover { background: #fff; color: var(--primary-deep); }
.header-phone svg { width: 16px; height: 16px; color: var(--green-ink); }
.header-book { min-height: 52px; padding: 0 22px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: var(--pill); border: 1px solid var(--line); place-items: center; }
.menu-btn .bars { display: grid; gap: 5px; }
.menu-btn .bars i { display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--primary-deep); transition: transform 250ms var(--ease), opacity 250ms var(--ease); }
.menu-btn[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 98px; left: 12px; right: 12px; z-index: 140;
  max-height: calc(100dvh - 112px); overflow-y: auto; overscroll-behavior: contain;
  padding: 12px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--glass-border);
  backdrop-filter: blur(28px) saturate(1.7); -webkit-backdrop-filter: blur(28px) saturate(1.7);
  box-shadow: var(--glass-shadow), 0 30px 70px rgba(16, 54, 82, 0.22);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98); transform-origin: top center;
  transition: opacity 220ms var(--ease), transform 320ms var(--spring), visibility 0s linear 220ms;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity 220ms var(--ease), transform 320ms var(--spring); }
.mm-link, .mm-group > button {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  min-height: 52px; padding: 0 14px; border-radius: 14px;
  font-family: var(--serif); font-size: 1.12rem; font-weight: 500; color: var(--primary-deep); text-align: left;
}
.mm-link:hover, .mm-group > button:hover { background: var(--tint-2); color: var(--primary-deep); }
.mm-group > button svg { width: 14px; height: 14px; transition: transform 250ms var(--ease); }
.mm-group > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.mm-sub { display: none; padding: 2px 0 8px 14px; }
.mm-sub.open { display: block; }
.mm-sub a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px; font-size: 0.95rem; color: var(--text); }
.mm-sub a:hover { background: var(--tint-1); }
.mm-actions { display: grid; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.mm-actions .btn { width: 100%; }

/* 6. Home hero (full bleed, rounded bottom corners) ------------------------ */
.blk-hero {
  position: relative; padding: 0; overflow: hidden;
  min-height: min(92vh, 860px); min-height: min(92svh, 860px);
  border-radius: 0 0 clamp(26px, 4vw, 46px) clamp(26px, 4vw, 46px);
  background: var(--primary-deep); color: #fff;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 60% 35%); }
.hero-variant { display: none; }
body[data-hero="a"] .hero-variant[data-variant="a"],
body[data-hero="b"] .hero-variant[data-variant="b"] { display: block; }
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8, 34, 54, 0.78) 0%, rgba(8, 34, 54, 0.32) 42%, rgba(8, 34, 54, 0.08) 70%),
    linear-gradient(95deg, rgba(8, 34, 54, 0.5) 0%, rgba(8, 34, 54, 0) 58%);
}
.hero-inner {
  position: relative; z-index: 2; min-height: inherit;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(44px, 8vh, 88px);
}
.hero-inner .eyebrow { color: rgba(255, 255, 255, 0.82); }
.blk-hero h1 { color: #fff; max-width: 13ch; text-shadow: 0 2px 24px rgba(4, 20, 34, 0.35); font-size: clamp(2.5rem, 6vw, 4.8rem); }
.hero-sub { margin: 18px 0 30px; max-width: 46ch; font-size: clamp(1.02rem, 1.3vw, 1.16rem); color: rgba(255, 255, 255, 0.9); font-weight: 400; }
.hero-note { margin-top: 18px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.72); }

/* 7. Inner page hero ----------------------------------------------------- */
.blk-page-hero { padding: calc(var(--header-h) + 56px) 0 clamp(48px, 6vw, 80px); background: linear-gradient(180deg, var(--tint-2) 0%, var(--tint-1) 100%); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero-grid.no-media { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.8rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); display: inline-flex; min-height: 24px; align-items: center; }
.crumbs a:hover { color: var(--primary-strong); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.blk-page-hero .lead { margin: 18px 0 28px; max-width: 56ch; }
.page-hero-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; background: var(--tint-3); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* 8. Services (image cards, frosted panel, filter + slider) ----------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter {
  min-height: 44px; padding: 0 20px; border-radius: var(--pill);
  border: 1px solid var(--line); font-size: 0.86rem; font-weight: 500; color: var(--text); background: #fff;
}
.filter:hover { border-color: var(--primary-strong); }
.filter[aria-pressed="true"] { background: var(--primary-strong); border-color: var(--primary-strong); color: #fff; }
.slider { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: none; }
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; }
.slider-nav { display: flex; gap: 8px; }
.slider-nav button {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--primary-deep);
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.slider-nav button:hover { background: var(--primary-strong); color: #fff; border-color: var(--primary-strong); }
.slider-nav button:disabled { opacity: 0.3; pointer-events: none; }
.slider-nav svg { width: 18px; height: 18px; }

.svc-card {
  position: relative; flex: 0 0 auto; width: clamp(260px, 26vw, 312px);
  aspect-ratio: 3 / 3.7; border-radius: var(--r-lg); overflow: hidden;
  background: var(--tint-3); box-shadow: var(--shadow); color: #fff;
  transition: transform 400ms var(--spring), box-shadow 300ms var(--ease);
}
.svc-card[hidden] { display: none; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: #fff; }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.svc-card:hover img { transform: scale(1.05); }
.svc-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 26, 40, 0.45) 100%); }
.svc-chip {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 6px 12px; border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.84); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-deep);
}
.svc-panel {
  position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px;
  padding: 16px 18px; border-radius: 16px;
  background: rgba(14, 30, 42, 0.5); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.svc-panel h3 { color: #fff; font-size: 1.14rem; display: flex; justify-content: space-between; gap: 10px; }
.svc-panel h3 svg { width: 19px; height: 19px; color: var(--green-soft); flex: 0 0 auto; transition: transform 300ms var(--spring); }
.svc-card:hover .svc-panel h3 svg { transform: translate(3px, -3px); }
.svc-panel p { margin-top: 6px; font-size: 0.82rem; line-height: 1.5; color: rgba(255, 255, 255, 0.86); font-weight: 400; }
.center-cta { display: flex; justify-content: center; margin-top: 30px; }

/* Grid version of the same cards (hub pages) */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc-grid .svc-card { width: auto; }

/* 9. Welcome: full-width image, cards left, copy right ---------------------- */
.blk-welcome { overflow: hidden; background: var(--primary-deep); color: #fff; }
.blk-welcome .bg { position: absolute; inset: 0; }
.blk-welcome .bg img { width: 100%; height: 100%; object-fit: cover; }
.blk-welcome .scrim { position: absolute; inset: 0; background: linear-gradient(75deg, rgba(10, 22, 32, 0.6) 0%, rgba(10, 22, 32, 0.7) 100%); }
.blk-welcome .bg img { object-position: 50% 30%; }
.welcome-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.welcome-copy h2 { color: #fff; }
.welcome-copy p { color: rgba(255, 255, 255, 0.86); margin: 18px 0 30px; font-weight: 400; }
.icon-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.icon-card {
  padding: 22px; border-radius: 18px; display: grid; gap: 6px;
  background: rgba(8, 18, 28, 0.5); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.icon-card.wide { grid-column: 1 / -1; }
.icon-card svg { width: 26px; height: 26px; color: var(--green-soft); margin-bottom: 4px; }
.icon-card small { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.icon-card strong { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: #fff; line-height: 1.25; }

/* 10. Feature cards (why choose / approach) --------------------------------- */
.card-grid { display: grid; gap: 18px; }
.card-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.f-card {
  padding: clamp(26px, 2.8vw, 38px); border-radius: var(--r-md);
  background: #fff; border: 1px solid #D9E6F2;
  transition: transform 400ms var(--spring), box-shadow 300ms var(--ease);
}
.f-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.f-card svg { width: 30px; height: 30px; color: var(--primary-strong); margin-bottom: 18px; }
.f-card h3 { margin-bottom: 10px; }
.f-card p { color: var(--muted); font-size: 0.93rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: clamp(26px, 3vw, 40px); }
.pills li {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: var(--pill); background: #fff; border: 1px solid var(--line-soft);
  font-size: 0.84rem; font-weight: 500; color: var(--text);
}
.pills svg { width: 14px; height: 14px; color: var(--green-ink); }

/* 11. Stats band (from Homepage 2) ---------------------------------------- */
.stats-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--primary-deep); color: #fff;
  padding: clamp(32px, 4.5vw, 60px) clamp(24px, 4vw, 56px);
}
.stats-band::before {
  content: ""; position: absolute; inset: -20%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='460' viewBox='0 0 700 460'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1.4'%3E%3Cpath d='M-50 60 C 150 10, 350 110, 750 40'/%3E%3Cpath d='M-50 140 C 180 80, 380 200, 750 120'/%3E%3Cpath d='M-50 230 C 160 170, 420 290, 750 210'/%3E%3Cpath d='M-50 320 C 200 260, 380 380, 750 300'/%3E%3Cpath d='M-50 410 C 170 350, 420 470, 750 390'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 700px 460px; pointer-events: none;
}
.stats-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 52px); }
.stats-intro { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; }
.stats-intro .si { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--primary-deep); }
.stats-intro .si svg { width: 26px; height: 26px; }
.stats-intro p { color: rgba(255, 255, 255, 0.88); max-width: 34ch; font-weight: 400; }
.stat { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 140px; }
.stat strong { font-family: var(--sans); font-weight: 600; font-size: clamp(2.8rem, 5vw, 4.3rem); line-height: 1; letter-spacing: -0.02em; color: #fff; }
.stat span { color: rgba(255, 255, 255, 0.82); font-size: 0.93rem; max-width: 20ch; font-weight: 400; }

/* 12. Split media + rows (experience, tech) ------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.2; background: var(--tint-3); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy > p { color: var(--muted); margin: 18px 0 26px; }
.rows { border-top: 1px solid var(--line-soft); margin-bottom: 30px; }
.rows li { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 10px 2px; border-bottom: 1px solid var(--line-soft); font-weight: 400; color: var(--text); }
.rows svg { width: 18px; height: 18px; color: var(--green-ink); flex: 0 0 auto; }

/* 13. Practice interior feature (Homepage 2) ----------------------------- */
.blk-feature .feature-wrap { position: relative; }
.feature-media { width: 100%; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8.4; box-shadow: var(--shadow-lg); background: var(--tint-3); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-panel {
  position: absolute; right: clamp(18px, 4vw, 48px); bottom: -44px; width: min(480px, 86%);
  padding: clamp(26px, 3vw, 42px); border-radius: var(--r-lg);
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  backdrop-filter: blur(26px) saturate(1.7); -webkit-backdrop-filter: blur(26px) saturate(1.7);
  box-shadow: var(--glass-shadow), 0 30px 70px rgba(16, 54, 82, 0.16);
}
.feature-panel h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.feature-panel p { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }
.blk-feature { padding-bottom: calc(var(--pad) + 44px); }

/* 14. Team -------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.team-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line-soft); color: var(--text); transition: transform 400ms var(--spring), box-shadow 300ms var(--ease); }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--text); }
.team-photo { aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--tint-3); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 700ms var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-body { padding: 20px 22px 24px; display: grid; gap: 4px; }
.team-body strong { font-family: var(--serif); font-weight: 500; font-size: 1.16rem; color: var(--primary-deep); }
.team-body .quals { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.team-body .role { justify-self: start; margin-top: 8px; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-deep); border: 1px solid var(--line); border-radius: var(--pill); padding: 5px 12px; }
.team-body .text-link { margin-top: 6px; }
.team-note { margin-top: 22px; font-size: 0.8rem; color: var(--muted); text-align: center; }

/* 15. Safety grid ------------------------------------------------------- */
.mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mini-card { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 18px; border-radius: 18px; background: var(--tint-1); border: 1px solid var(--line-soft); }
.mini-card .ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--primary-strong); flex: 0 0 auto; }
.mini-card .ic svg { width: 19px; height: 19px; }
.mini-card span { font-weight: 500; font-size: 0.9rem; color: var(--text); line-height: 1.35; }

/* 16. Visit / contact card + map --------------------------------------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.contact-card { padding: clamp(28px, 3.6vw, 48px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.contact-card > p { color: var(--muted); margin: 10px 0 26px; }
.c-rows { display: grid; gap: 18px; margin-bottom: 28px; }
.c-row { display: flex; gap: 14px; align-items: flex-start; }
.c-row .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-2); color: var(--primary-strong); flex: 0 0 auto; }
.c-row .ic svg { width: 19px; height: 19px; }
.c-row strong { display: block; font-weight: 600; color: var(--primary-deep); font-size: 0.92rem; }
.c-row span, .c-row a { font-size: 0.93rem; font-weight: 400; }
.contact-card .book-pair { margin-top: auto; }
.map { border-radius: var(--r-xl); overflow: hidden; min-height: 420px; background: var(--tint-2); box-shadow: var(--shadow); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map .map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font-size: 0.9rem; }

/* 17. News ------------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-card { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.8vw, 34px); border-radius: var(--r-md); background: var(--tint-1); border: 1px solid var(--line-soft); color: var(--text); transition: transform 400ms var(--spring), box-shadow 300ms var(--ease); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.news-card time { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.news-card h3 { font-size: 1.24rem; }
.news-card p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.news-card .text-link { color: var(--primary-strong); }

/* 18. FAQ (native details, one open at a time) ------------------------- */
.faq-list { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq-item { border-radius: var(--r-md); background: #fff; border: 1px solid var(--line-soft); overflow: hidden; transition: box-shadow 250ms var(--ease); }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 22px; font-family: var(--serif); font-weight: 500; font-size: 1.06rem; color: var(--primary-deep);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--tint-2); color: var(--primary-strong); flex: 0 0 auto; transition: transform 250ms var(--ease), background 250ms var(--ease), color 250ms var(--ease); }
.faq-item summary .chev svg { width: 14px; height: 14px; }
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--primary-strong); color: #fff; }
.faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 0.95rem; max-width: 66ch; }
.faq-more { text-align: center; margin-top: 26px; color: var(--muted); font-size: 0.92rem; }

/* 19. CTA banner ------------------------------------------------------- */
.cta-banner {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--r-xl); background: var(--primary-deep); color: #fff;
  padding: clamp(48px, 7vw, 92px) clamp(22px, 5vw, 80px);
}
.cta-banner h2 { color: #fff; position: relative; }
.cta-banner p { color: rgba(255, 255, 255, 0.78); max-width: 520px; margin: 14px auto 30px; position: relative; font-weight: 400; }
.cta-banner .book-pair { justify-content: center; position: relative; }

/* 20. Inner page content blocks --------------------------------------- */
.prose-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); padding: clamp(28px, 3.5vw, 44px) 0; border-top: 1px solid var(--line-soft); }
.prose-split:first-child { border-top: 0; padding-top: 0; }
.prose-split h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.prose p, .prose li { color: var(--text); }
.prose ul { margin: 14px 0 0; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.prose h3 { margin: 22px 0 8px; font-size: 1.2rem; }
.prose h3:first-child { margin-top: 0; }
.prose ul + p, .prose p + ul { margin-top: 1em; }
.prose a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps.s3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { position: relative; padding: 26px 22px 24px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line-soft); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; margin-bottom: 16px; background: var(--tint-2); color: var(--primary-deep); font-family: var(--serif); font-weight: 500; }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; color: var(--muted); }

.callout { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--tint-1); }
.callout svg { width: 24px; height: 24px; flex: 0 0 auto; color: var(--primary-strong); margin-top: 2px; }
.callout h3, .callout h2 { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--primary-deep); margin-bottom: 4px; }
.callout p { font-size: 0.93rem; color: var(--text); }
.callout.alert { background: #FFF6F2; border-color: #F3C9B8; }
.callout.alert svg { color: #B4471B; }
.callout.risk { background: #F7F9FB; border-color: #D5DEE6; }
.callout.risk svg { color: var(--muted); }
.callout + .callout { margin-top: 12px; }
.disclaimer { font-size: 0.8rem; color: var(--muted); max-width: 90ch; }
.disclaimer + .disclaimer { margin-top: 8px; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rel-card { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line-soft); color: var(--text); transition: transform 350ms var(--spring), box-shadow 250ms var(--ease); }
.rel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.rel-card img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; }
.rel-card strong { display: block; color: var(--primary-deep); font-weight: 600; }
.rel-card small { color: var(--muted); font-size: 0.8rem; }

/* Profile */
.profile { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.profile-photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); background: var(--tint-3); position: sticky; top: calc(var(--header-h) + 34px); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.cred { display: grid; grid-template-columns: 150px 1fr; gap: 10px 20px; padding: 22px 0; margin: 22px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); font-size: 0.93rem; }
.cred dt { font-weight: 600; color: var(--primary-deep); }
.cred dd { color: var(--text); }
.placeholder-copy { padding: 20px 22px; border-radius: var(--r-md); border: 1px dashed #C9D8E4; background: var(--tint-1); color: var(--muted); font-size: 0.93rem; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
.zavy-slot {
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg);
  border: 2px dashed var(--primary); background: var(--tint-1);
}
.zavy-slot .zavy-label { display: inline-block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; background: var(--primary-deep); color: #fff; border-radius: var(--pill); padding: 5px 12px; margin-bottom: 14px; }
.zavy-slot h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.zavy-slot p { color: var(--muted); margin: 10px 0 20px; }
.zavy-frame { min-height: 180px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line-soft); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font-size: 0.88rem; margin-bottom: 20px; }
.form { display: grid; gap: 16px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-soft); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.86rem; font-weight: 500; color: var(--primary-deep); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid #C9D8E4; background: #fff; color: var(--text);
  font: 400 16px/1.4 var(--sans);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--primary-strong); outline-offset: 1px; border-color: transparent; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--primary-strong); }
.form-msg { font-size: 0.88rem; color: var(--green-ink); min-height: 1.3em; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: 0.93rem; }
.hours dt { font-weight: 500; color: var(--primary-deep); }

/* Smile gallery template */
.flag-banner { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; background: #FFF4C2; border: 1px solid #F0D768; color: #5A4500; font-size: 0.9rem; margin-bottom: 26px; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.case { border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-soft); overflow: hidden; }
.case-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--tint-2); }
.case-imgs figure { position: relative; aspect-ratio: 3 / 2; background: var(--tint-1); }
.case-imgs img { width: 100%; height: 100%; object-fit: contain; }
.case-imgs figcaption { position: absolute; top: 10px; left: 10px; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(255, 255, 255, 0.9); color: var(--primary-deep); padding: 4px 10px; border-radius: var(--pill); }
.case dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 14px; padding: 20px 22px 6px; font-size: 0.9rem; }
.case dt { font-weight: 600; color: var(--primary-deep); }
.case .disclaimer { padding: 0 22px 20px; }

/* 404 */
.blk-404 { min-height: 80vh; display: grid; place-items: center; text-align: center; padding-top: calc(var(--header-h) + 60px); background: var(--tint-1); }
.blk-404 .big { font-family: var(--serif); font-size: clamp(5rem, 16vw, 11rem); line-height: 1; color: var(--tint-3); }
.blk-404 .book-pair { justify-content: center; }

/* 21. Footer --------------------------------------------------------- */
.site-footer { background: var(--primary-deep); color: rgba(255, 255, 255, 0.8); padding: clamp(52px, 7vw, 90px) 0 0; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: clamp(32px, 4vw, 52px); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-brand { max-width: 380px; }
.footer-brand .brand-word { color: #fff; font-size: 1.4rem; }
.footer-brand .brand-word small { color: var(--green-soft); }
.footer-brand p { margin-top: 14px; font-size: 0.92rem; font-weight: 400; color: rgba(255, 255, 255, 0.8); }
.newsletter { width: min(440px, 100%); }
.newsletter h2 { font-size: 1.2rem; color: #fff; margin-bottom: 14px; }
.nl-form { display: flex; gap: 6px; padding: 6px; border-radius: var(--pill); background: #fff; }
.nl-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; min-height: 46px; font: 400 16px var(--sans); color: var(--text); }
.nl-form input:focus { outline: none; }
.nl-form:focus-within { box-shadow: 0 0 0 3px rgba(159, 219, 140, 0.6); }
.nl-form .btn { min-height: 46px; padding: 0 20px; }
.nl-msg { font-size: 0.8rem; margin-top: 8px; color: var(--green-soft); min-height: 1.2em; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4vw, 64px); padding: clamp(32px, 4vw, 52px) 0; }
.footer-cols h2 { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); margin-bottom: 16px; }
.footer-cols ul { display: grid; gap: 2px; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 36px; font-size: 0.92rem; font-weight: 400; color: rgba(255, 255, 255, 0.8); }
.footer-cols a:hover { color: #fff; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; font-weight: 400; padding: 6px 0; }
.f-contact svg { width: 17px; height: 17px; color: var(--green-soft); flex: 0 0 auto; margin-top: 4px; }
.f-contact a { min-height: 44px; margin-top: -11px; color: #fff; font-weight: 500; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8rem; color: rgba(255, 255, 255, 0.8); }
.footer-bottom a { color: rgba(255, 255, 255, 0.8); }

/* Mobile sticky Call + Book */
.mobile-bar {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 130; display: none; gap: 8px; padding: 8px;
  border-radius: 20px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--glass-border);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--glass-shadow), 0 16px 40px rgba(16, 54, 82, 0.2);
}
.mobile-bar .btn { flex: 1; }

/* 22. Motion: fade and slide on scroll -------------------------------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 90ms; } .rv.d2 { transition-delay: 180ms; } .rv.d3 { transition-delay: 270ms; }
.no-js .rv { opacity: 1; transform: none; }

/* 23. Responsive ------------------------------------------------------ */
@media (max-width: 1360px) {
  .nav-link { padding: 0 8px; font-size: 0.84rem; }
  .header-phone .num { display: none; }
  .header-phone { padding: 0; width: 48px; justify-content: center; }
  .header-book { padding: 0 18px; }
}
@media (max-width: 1180px) {
  .nav, .header-book { display: none; }
  .menu-btn { display: grid; }
  .header-actions { margin-left: auto; }
  .team-grid, .card-grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-intro { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .page-hero-grid, .welcome-grid, .split, .visit-grid, .profile, .contact-layout { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .welcome-copy { order: -1; }
  .card-grid.c3, .news-grid, .svc-grid, .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose-split { grid-template-columns: 1fr; gap: 12px; }
  .feature-media { aspect-ratio: 4 / 3; }
  .feature-panel { position: relative; right: auto; bottom: auto; width: auto; margin: -70px 14px 0; }
  .blk-feature { padding-bottom: var(--pad); }
  .profile-photo { position: relative; top: 0; max-width: 460px; }
  .map { min-height: 320px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 84px; }
  .header-bar { min-height: 62px; padding-left: 16px; }
  .header-wrap { padding: 0 10px; }
  .site-header { top: 10px; }
  .mobile-menu { top: 84px; }
  .brand img { height: 34px; }
  .brand-word { font-size: 1rem; }
  .card-grid.c3, .card-grid.c2, .card-grid.c4, .news-grid, .svc-grid, .related, .team-grid, .mini-grid, .steps, .steps.s3, .case-grid, .icon-cards, .form-row { grid-template-columns: 1fr; }
  .icon-card.wide { grid-column: auto; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { min-height: 0; gap: 6px; }
  .svc-grid .svc-card { aspect-ratio: 4 / 3.6; }
  .blk-hero { min-height: 88svh; }
  .book-pair .btn { flex: 1 1 100%; }
  .book-pair .phone-link { flex: 1 1 100%; justify-content: center; }
  .cred { grid-template-columns: 1fr; gap: 2px; }
  .cred dd { margin-bottom: 10px; }
  .case dl { grid-template-columns: 1fr; gap: 2px; }
  .mobile-bar { display: flex; }
  .review-bar { bottom: 94px; }
  .footer-cols { grid-template-columns: 1fr; }
  .nl-form { flex-wrap: wrap; border-radius: 18px; }
  .nl-form .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001s !important; animation-duration: 0.001s !important; }
  .rv { opacity: 1; transform: none; }
}

/* Hero B: framed group photo. Faces fill the whole frame, so the copy sits
   beside the photo on desktop and below it on mobile, never on top of it. */
.hero-framed { position: relative; }
.photo-tag { position: absolute; top: 14px; right: 14px; z-index: 2; }
body[data-hero="b"] .blk-hero {
  min-height: 0; display: grid; align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: clamp(32px, 4.5vw, 64px);
  padding: calc(var(--header-h) + 44px) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) clamp(48px, 6vw, 80px);
}
body[data-hero="b"] .hero-scrim { display: none; }
body[data-hero="b"] .hero-framed {
  display: block; position: relative; inset: auto; grid-column: 2; grid-row: 1;
  width: 100%; aspect-ratio: 1440 / 846;
  border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 30px 70px rgba(4, 20, 34, 0.35);
}
body[data-hero="b"] .hero-inner { grid-column: 1; grid-row: 1; min-height: 0; width: auto; max-width: none; margin: 0; padding: 0; display: block; }
body[data-hero="b"] .blk-hero h1 { font-size: clamp(2.3rem, 4.3vw, 3.9rem); }
@media (max-width: 900px) {
  body[data-hero="b"] .blk-hero { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--header-h) + 22px); row-gap: 28px; }
  body[data-hero="b"] .hero-framed { grid-column: 1; grid-row: 1; border-radius: var(--r-lg); }
  body[data-hero="b"] .hero-inner { grid-column: 1; grid-row: 2; }
}

/* Hero A (supplied Homepage 2 photo): faces sit in the top half of the frame,
   so the headline runs as two lines across the bottom, as in Homepage 2. */
body[data-hero="a"] .blk-hero h1 { max-width: 22ch; font-size: clamp(2.3rem, 4.3vw, 3.7rem); }
body[data-hero="a"] .hero-sub { max-width: 52ch; margin: 14px 0 26px; }
body[data-hero="a"] .hero-scrim {
  background:
    linear-gradient(to top, rgba(8, 34, 54, 0.86) 0%, rgba(8, 34, 54, 0.6) 34%, rgba(8, 34, 54, 0.18) 56%, rgba(8, 34, 54, 0) 72%),
    linear-gradient(95deg, rgba(8, 34, 54, 0.4) 0%, rgba(8, 34, 54, 0) 55%);
}
@media (max-width: 640px) {
  body[data-hero="a"] .blk-hero h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  body[data-hero="a"] .hero-scrim { background: linear-gradient(to top, rgba(8, 34, 54, 0.88) 0%, rgba(8, 34, 54, 0.66) 46%, rgba(8, 34, 54, 0.1) 70%, rgba(8, 34, 54, 0) 80%); }
}

/* r2: client copy and structure -------------------------------------------- */
/* Services mega menu: four groups, each heading links to its category page */
.header-bar { position: relative; }
.nav > ul > li[data-mega] { position: static; }
.drop.mega { width: min(1060px, calc(100vw - 40px)); top: calc(100% + 10px); padding: 18px; }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 14px; }
.mega-col { display: grid; align-content: start; gap: 2px; padding-left: 12px; border-left: 1px solid var(--line-soft); }
.mega-col:first-child { border-left: 0; padding-left: 0; }
.mega-head { display: flex; align-items: center; min-height: 40px; padding: 0 10px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary-strong); }
.mega-head:hover { color: var(--primary-deep); }
.drop.mega .drop-item { min-height: 54px; padding: 6px 8px; }
.drop.mega .drop-item img { width: 42px; height: 42px; border-radius: 12px; }
.drop.mega .drop-item strong { font-size: 0.82rem; }
.mm-sub a.mm-cat { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary-strong); min-height: 40px; margin-top: 6px; }
.mm-hours { display: flex; align-items: center; gap: 8px; margin: 12px 14px 0; font-size: 0.86rem; color: var(--muted); }
.mm-hours svg { width: 16px; height: 16px; color: var(--green-ink); }
.header-phone .num { display: grid; line-height: 1.15; }
.header-phone .num small { font-size: 0.68rem; font-weight: 500; color: var(--muted); }

/* Category tiles, four across */
.svc-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.after-grid { margin-top: 26px; text-align: center; color: var(--muted); max-width: 70ch; margin-left: auto; margin-right: auto; }
.blk-page-hero .lead p + p { margin-top: 0.8em; }
.blk-hero .hero-sub { max-width: 60ch; }

/* Why choose: client bullets as cards */
.why6 .f-card p { color: var(--text); font-size: 0.98rem; }
.why6 .f-card svg { margin-bottom: 14px; }

/* CTA band with the standard client CTA line and no heading */
.cta-banner .cta-lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.35; color: #fff; max-width: 760px; margin: 0 auto 28px; }

/* Footer: trust line, four columns, social note */
.trust-line { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.86rem; color: rgba(255, 255, 255, 0.82); text-align: center; }
.footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.f-social { margin-top: 12px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }

/* Bios */
.cred-line { margin: 8px 0 20px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; color: var(--muted); }
.cred-line span { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary-deep); border: 1px solid var(--line); border-radius: var(--pill); padding: 5px 12px; }
.bio p { font-size: 1.02rem; }
.reg-line { margin-top: 18px; font-size: 0.86rem; color: var(--muted); }

/* Contact form extras */
.radios { border: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.radios legend { font-size: 0.86rem; font-weight: 500; color: var(--primary-deep); margin-bottom: 6px; width: 100%; }
.radios label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 0.95rem; color: var(--text); font-weight: 400; }
.radios input { width: 20px; height: 20px; accent-color: var(--primary-strong); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mini-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1360px) { .header-phone .num small { display: none; } }
@media (max-width: 1100px) {
  .svc-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .svc-grid.four, .footer-cols, .mini-grid.three { grid-template-columns: minmax(0, 1fr); }
}
/* long email addresses wrap instead of widening their column */
.c-row a, .c-row span, .f-contact a, .phone-link { overflow-wrap: anywhere; }
.visit-grid > *, .contact-layout > *, .split > *, .profile > * { min-width: 0; }
.hp input { font-size: 16px; }
/* header phone: number and hours only where there is room (after the base rules so it wins) */
@media (max-width: 1500px) {
  .header-phone .num { display: none; }
  .header-phone { padding: 0; width: 48px; justify-content: center; }
}
@media (min-width: 1501px) { .header-bar { max-width: 1420px; } }
.f-contact a, .c-row a { overflow-wrap: normal; }
.svc-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
.cta-lead a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.prose li a { font-weight: 600; }
@media (max-width: 640px) { .svc-grid.two { grid-template-columns: minmax(0, 1fr); } }

/* Hero zoom (r2.1). Home: eases in on load, drifts with the pointer, pushes in on scroll.
   Inner pages: eases in on load, soft zoom on hover. Driven by --hz / --hx / --hy from main.js. */
.blk-hero .hero-media img {
  transform: translate3d(var(--hx, 0px), var(--hy, 0px), 0) scale(var(--hz, 1.12));
  transform-origin: var(--focus, 50% 50%);
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.blk-hero.hz-live .hero-media img { transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1); }
.page-hero-media img, .profile-photo img { transform: scale(1.1); transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1); }
.page-hero-media.in img, .profile-photo.in img { transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .page-hero-media.in:hover img, .profile-photo.in:hover img { transform: scale(1.05); transition-duration: 0.9s; }
}
@media (prefers-reduced-motion: reduce) {
  .blk-hero .hero-media img, .page-hero-media img, .profile-photo img { transform: none !important; transition: none !important; }
}

/* r3: inner pages built from the homepage components -------------------------------- */
/* Navy hero with framed photo (the homepage Hero B pattern) */
.blk-inner-hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--primary-deep);
  border-radius: 0 0 clamp(26px, 4vw, 46px) clamp(26px, 4vw, 46px);
  padding: calc(var(--header-h) + 52px) 0 clamp(52px, 6vw, 84px);
}
.blk-inner-hero::before {
  content: ""; position: absolute; inset: -10%; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='460' viewBox='0 0 700 460'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1.4'%3E%3Cpath d='M-50 60 C 150 10, 350 110, 750 40'/%3E%3Cpath d='M-50 140 C 180 80, 380 200, 750 120'/%3E%3Cpath d='M-50 230 C 160 170, 420 290, 750 210'/%3E%3Cpath d='M-50 320 C 200 260, 380 380, 750 300'/%3E%3Cpath d='M-50 410 C 170 350, 420 470, 750 390'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 700px 460px;
}
.blk-inner-hero::after { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(67, 176, 229, 0.28), transparent 65%); pointer-events: none; }
.inner-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.blk-inner-hero.no-media .inner-hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.inner-hero-copy h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.7rem); }
.inner-hero-copy h1 em { color: var(--green-soft); }
.blk-inner-hero .crumbs, .blk-inner-hero .crumbs a { color: rgba(255, 255, 255, 0.7); }
.blk-inner-hero .crumbs a:hover { color: #fff; }
.blk-inner-hero .lead { margin: 18px 0 28px; max-width: 60ch; }
.blk-inner-hero .lead p { color: rgba(255, 255, 255, 0.88); font-weight: 400; font-size: clamp(1rem, 1.15vw, 1.08rem); }
.blk-inner-hero .lead p + p { margin-top: 0.8em; }
.blk-inner-hero .phone-link { color: #fff; }
.blk-inner-hero .phone-link svg { color: var(--green-soft); }
.blk-inner-hero .cred-line { color: rgba(255, 255, 255, 0.75); }
.blk-inner-hero .cred-line span { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.blk-inner-hero .reg-line { color: rgba(255, 255, 255, 0.65); margin: -8px 0 22px; }
.page-hero-media.framed { position: relative; aspect-ratio: 4 / 3.3; border-radius: var(--r-xl); box-shadow: 0 30px 70px rgba(4, 20, 34, 0.4); background: rgba(255, 255, 255, 0.06); }
.page-hero-media.framed.portrait { aspect-ratio: 4 / 4.6; max-width: 420px; justify-self: end; width: 100%; }
.page-hero-media.framed .photo-tag { position: absolute; top: 14px; right: 14px; }

/* Content sections as homepage-style cards */
.sec-cards .sec-card { display: flex; flex-direction: column; }
.sec-cards .sec-card svg { width: 30px; height: 30px; color: var(--primary-strong); margin-bottom: 16px; }
.sec-cards .sec-card h3, .sec-cards .sec-card h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); margin-bottom: 12px; }
.sec-cards .sec-card .prose p, .sec-cards .sec-card .prose li { color: var(--text); font-size: 0.97rem; }
.split-prose p { color: var(--muted); }
.split-copy .prose { margin: 16px 0 26px; }
.section-head.wide { max-width: 820px; }
.section-head.wide p { color: var(--text); }

/* Feature panel without a heading: the CTA line itself in serif */
.feature-panel .panel-lead { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; color: var(--primary-deep); margin-bottom: 22px; }
.feature-panel .panel-lead a { color: var(--primary-strong); text-decoration: underline; text-underline-offset: 4px; }
.feature-media { position: relative; }
.feature-media .photo-tag { position: absolute; top: 14px; right: 14px; }

/* Services hub: every service under the category tiles */
.svc-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 30px; padding: 24px; border-radius: var(--r-lg); background: var(--tint-1); border: 1px solid var(--line-soft); }
.svc-index-col { display: grid; align-content: start; gap: 2px; }
.svc-index-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 12px; font-size: 0.9rem; font-weight: 500; color: var(--text); }
.svc-index-link:hover { background: #fff; color: var(--primary-deep); }
.svc-index-link svg { width: 14px; height: 14px; color: var(--green-ink); flex: 0 0 auto; }

/* Team grid of three on bio pages */
.team-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Blog article cards with an image */
.post-card { padding: 0; overflow: hidden; background: #fff; }
.post-card .post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint-3); }
.post-card .post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.post-card:hover .post-img img { transform: scale(1.05); }
.post-card .post-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.post-feature { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 24px; }
.post-feature img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1100px) {
  .svc-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .inner-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .inner-hero-grid > .page-hero-media { order: -1; }
  .page-hero-media.framed.portrait { justify-self: start; max-width: 340px; }
  .blk-inner-hero { padding-top: calc(var(--header-h) + 30px); }
}
@media (max-width: 640px) {
  .svc-index, .team-grid.three { grid-template-columns: minmax(0, 1fr); }
  .blk-inner-hero .book-pair .btn { flex: 1 1 100%; }
}

/* r3.1 ---------------------------------------------------------------------- */
/* Logo */
.brand-logo { height: 44px; width: auto; }
.footer-logo { display: inline-flex; padding: 12px 18px; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(4, 20, 34, 0.25); }
.footer-logo img { height: 40px; width: auto; }
@media (max-width: 640px) { .brand-logo { height: 34px; } }

/* Dropdowns: near-solid panel so the menu reads clearly over busy heroes */
.drop, .drop.mega {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(30px) saturate(1.4); -webkit-backdrop-filter: blur(30px) saturate(1.4);
  border: 1px solid rgba(23, 97, 140, 0.1);
  box-shadow: 0 30px 70px rgba(16, 54, 82, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}
.drop-item:hover { background: var(--tint-2); }
.mobile-menu { background: rgba(255, 255, 255, 0.98); }

/* Homepage Our Approach: photo beside the six cards */
.approach-split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.approach-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.6; }
.approach-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.approach-copy .section-head { margin-bottom: 24px; }
@media (max-width: 900px) { .approach-split { grid-template-columns: minmax(0, 1fr); } .approach-media { aspect-ratio: 4 / 3; } }

/* Contact: coming-soon booking panel */
.zavy-frame span { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 0.95rem; }
.zavy-frame svg { width: 20px; height: 20px; color: var(--primary-strong); flex: 0 0 auto; }

/* Blog empty state */
.empty-feed { max-width: 640px; margin: 0 auto; text-align: center; padding: clamp(34px, 5vw, 60px); border-radius: var(--r-xl); background: var(--tint-1); border: 1px solid var(--line-soft); }
.empty-feed svg { width: 34px; height: 34px; color: var(--primary-strong); margin: 0 auto 14px; }
.empty-feed p { color: var(--muted); margin-top: 10px; }
/* fully solid panels: nothing from the hero shows through */
.drop, .drop.mega { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.mobile-menu { background: #fff; }
/* Snoring photo: wide frames show both people; narrow tiles centre on her */
.svc-card img[data-slot="svc-snoring"] { object-position: 36% 35% !important; }
/* Contact: form first, booking note below */
.form .form-title { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.form .form-intro { color: var(--muted); margin: -4px 0 6px; }
#book { scroll-margin-top: calc(var(--header-h) + 34px); }
.booking-note { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 18px 22px; border-radius: var(--r-md); background: var(--tint-1); border: 1px solid var(--line-soft); }
.booking-note .ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--primary-strong); flex: 0 0 auto; }
.booking-note .ic svg { width: 20px; height: 20px; }
.booking-note p { margin: 0; font-size: 0.95rem; color: var(--text); }
.booking-note a { font-weight: 600; white-space: nowrap; }
/* Contact: full-width map band at the bottom of the page */
.blk-map-full { margin-top: clamp(28px, 4vw, 56px); }
.blk-map-full .map { border-radius: 0; box-shadow: none; min-height: 0; height: clamp(340px, 42vw, 520px); }
@media (max-width: 640px) { .blk-map-full .map { height: 360px; } }

/* v1.1.0: Book Online page (Zavy embed) */
.blk-booking { padding-top: clamp(32px, 5vw, 64px); }
.booking-frame { max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: clamp(8px, 1.6vw, 18px); overflow: hidden; }
.booking-frame iframe { display: block; width: 100%; min-height: 600px; border: 0; }
.booking-fallback { max-width: 980px; margin: 18px auto 0; text-align: center; color: var(--muted); font-size: 0.95rem; }
.booking-fallback a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary-strong); text-decoration: underline; text-underline-offset: 3px; }
.booking-fallback svg { width: 15px; height: 15px; }

/* v1.1.0: larger phone number on the homepage (same font, weight and colour) */
.page-home .phone-link { font-size: clamp(1.18rem, 1.05rem + 0.55vw, 1.42rem); gap: 10px; letter-spacing: 0.01em; }
.page-home .phone-link svg { width: 22px; height: 22px; }
.page-home .blk-hero .phone-link { font-size: clamp(1.25rem, 1.08rem + 0.7vw, 1.6rem); }
.page-home .blk-hero .phone-link svg { width: 24px; height: 24px; }
.page-home .c-row a[href^="tel:"] { font-size: 1.22rem; font-weight: 600; }
/* v1.1.0: contact rows shrink to the card at 320px (was 33px too wide) */
.c-rows > .c-row, .c-row > div { min-width: 0; }
.c-rows { grid-template-columns: minmax(0, 1fr); }
.c-row a[href^="mailto:"] { overflow-wrap: anywhere; }

/* v1.1.0: card grids with an incomplete last row centre it (no empty slot) */
@media (min-width: 901px) {
  .card-grid.c3.why6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .card-grid.c3.why6 > * { grid-column: span 2; }
  .card-grid.c3.why6 > :nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
  .card-grid.c3.why6 > :nth-child(3n+1):last-child { grid-column: 3 / span 2; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .card-grid.c3.why6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card-grid.c3.why6 > * { grid-column: span 2; }
  .card-grid.c3.why6 > :nth-child(2n+1):last-child { grid-column: 2 / span 2; }
}

/* v1.3.0: privacy policy page */
[data-block=legal] .prose ul { margin: 0.4em 0 1em; }
[data-block=legal] .prose p + p { margin-top: 0.8em; }
.policy-updated { margin-top: 1.4em !important; color: var(--muted); font-size: 0.9rem; }

/* v1.7.1: a supporting photo or illustration inside an info card */
.sec-card .card-photo { margin: 20px 0 0; border-radius: var(--r-md); overflow: hidden; background: var(--tint-3); }
.sec-card .card-photo img { display: block; width: 100%; height: auto; }

/* v1.8.0: links inside a sentence are underlined so they stand out from the text */
.faq-more a { text-decoration: underline; text-underline-offset: 3px; }
