/* ==========================================================================
   St Michael's Dental Practice — site styles
   Brand: Carto Gothic (Book / Bold), brown & cream palette, clinical teal accent
   ========================================================================== */

@font-face { font-family: "Carto Gothic"; src: url("../fonts/CartoGothicStd-Book.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Carto Gothic"; src: url("../fonts/CartoGothicStd-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Carto Gothic"; src: url("../fonts/CartoGothicStd-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Carto Gothic"; src: url("../fonts/CartoGothicStd-BoldItalic.woff") format("woff"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --espresso: #2a0c00;     /* darkest brand brown: footer, dark bands */
  --brown: #551900;        /* primary brand brown: headings, buttons */
  --brown-mid: #946040;
  --tan: #c39f87;
  --sand: #d6baa8;
  --line: #efe2d9;         /* borders */
  --line-2: #e6d5c9;
  --cream: #f4ebe4;        /* soft section background */
  --paper: #fdfcfa;        /* page background */
  --ink: #2a0c00;          /* strongest text */
  --text: #3f2a1f;         /* body text */
  --muted: #5a4234;
  --muted-2: #6e5546;
  --teal: #1f7a85;         /* clinical accent */
  --teal-dark: #145e67;
  --teal-light: #6cc3cb;   /* accent on dark backgrounds */
  --teal-tint: #e2f1f2;
  --teal-hover: #8fcfd5;
  --radius: 22px;
  --radius-lg: 28px;
  --shadow: 0 18px 40px rgba(42, 12, 0, .08);
  --font: "Carto Gothic", "Trade Gothic", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brown); color: var(--paper); padding: 12px 18px; border-radius: 0 0 12px 12px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 0; color: var(--paper); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 26px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.btn-primary { background: var(--brown); color: var(--paper); }
.btn-primary:hover { background: var(--espresso); color: var(--paper); }
.btn-outline { background: transparent; color: var(--brown); border-color: var(--tan); }
.btn-outline:hover { background: rgba(85, 25, 0, .06); color: var(--brown); }
.btn-white { background: var(--paper); color: var(--brown); border-color: var(--brown); }
.btn-white:hover { background: var(--cream); color: var(--brown); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Utility bar ---------- */
.utility { background: var(--espresso); color: var(--line); font-size: 14px; }
.utility .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-top: 10px; padding-bottom: 10px; }
.utility-info { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.utility span { display: inline-flex; align-items: center; gap: 8px; }
.utility .icon { width: 16px; height: 16px; color: var(--teal-light); }
.utility strong { color: var(--paper); }

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.logo img { height: 60px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 16px; }
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 0; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.nav-item > a:hover { color: var(--brown-mid); }
.nav-item > a[aria-current], .nav-item.is-active > a { color: var(--brown); font-weight: 700; border-bottom-color: var(--teal); }
.nav-item svg { width: 14px; height: 14px; }
.dropdown { position: absolute; top: 100%; left: -18px; padding-top: 12px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 30; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown-inner { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 44px rgba(42, 12, 0, .14); padding: 10px; min-width: 250px; display: flex; flex-direction: column; gap: 2px; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.dropdown a:hover { background: var(--cream); }
.dropdown a[aria-current] { background: var(--teal-tint); color: var(--teal-dark); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--teal); }
.header-actions .btn { min-height: 44px; padding: 11px 22px; white-space: nowrap; }

.mobile-menu { display: none; }
.mobile-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1px solid var(--sand); border-radius: 999px; cursor: pointer; font-weight: 700; color: var(--brown); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(42, 12, 0, .12); padding: 8px 24px 28px; max-height: calc(100vh - 140px); overflow-y: auto; }
.mobile-panel a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-panel a.sub { font-weight: 400; font-size: 16px; padding: 9px 0 9px 16px; color: var(--muted); border-bottom: 0; border-left: 2px solid var(--teal-tint); }
.mobile-panel a[aria-current] { color: var(--teal-dark); }
.mobile-panel .btn { margin-top: 20px; width: 100%; color: var(--paper); border: 0; font-size: 16px; }

@media (max-width: 1080px) {
  .main-nav { gap: 18px; font-size: 15px; }
  .header-phone { display: none; }
}
@media (max-width: 940px) {
  .main-nav, .header-actions .btn { display: none; }
  .mobile-menu { display: block; }
  .header-phone { display: inline-flex; font-size: 0; width: 48px; height: 48px; justify-content: center; border-radius: 999px; background: var(--teal-tint); }
  .header-phone .icon { width: 20px; height: 20px; }
  .utility-address { display: none !important; }
  .logo img { height: 50px; }
}
@media (max-width: 420px) { .logo img { height: 42px; } .site-header .wrap { gap: 12px; } .header-actions { gap: 10px; } }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 700; color: var(--teal); }
.eyebrow-line::before { content: ""; width: 32px; height: 2px; background: var(--teal); display: inline-block; }
.h-display { font-size: clamp(40px, 5.2vw, 70px); line-height: 1.03; letter-spacing: -.015em; color: var(--brown); margin: 0 0 22px; }
.h-page { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.015em; color: var(--brown); margin: 0 0 20px; max-width: 15em; }
.h-section { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; margin: 0 0 20px; }
.h-sub { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; margin: 0 0 16px; }
.accent { color: var(--teal); }
.lead { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section + .section-flush { padding-top: 0; }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--espresso); color: var(--paper); }
.bg-dark h2, .bg-dark h3 { color: var(--paper); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: 48px; }
.section-head > div { flex: 1 1 420px; min-width: 0; }
.section-head .h-section { margin: 0; }
@media (max-width: 700px) { .section { padding: 72px 0; } .section-tight { padding: 56px 0; } }

/* decorative rings */
.rings { position: relative; overflow: hidden; }
.rings::before, .rings::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.rings::before { right: -160px; top: -200px; width: 640px; height: 640px; border: 1px solid rgba(148, 96, 64, .22); }
.rings::after { right: -60px; top: -100px; width: 440px; height: 440px; border: 1px solid rgba(31, 122, 133, .28); }
.rings > .wrap { position: relative; z-index: 1; }

/* ---------- Photo placeholders (replace with real <img>) ---------- */
.ph { display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--muted-2); font-size: 15px; background: repeating-linear-gradient(135deg, var(--line) 0 14px, #eadacf 14px 28px); border: 1px solid var(--line-2); }
.ph-teal { background: repeating-linear-gradient(135deg, var(--teal-tint) 0 14px, #d8ecee 14px 28px); color: var(--teal-dark); border-color: #cfe6e8; }
.media-shape { border-radius: 28px 28px 28px 140px; overflow: hidden; }
.media-shape img, .media-shape .ph { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Home hero ---------- */
.hero { background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%); }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 152px; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.hero-copy .lead { margin-bottom: 36px; }
.hero-media { flex: 1 1 420px; min-width: 0; position: relative; }
.hero-media .media-shape { aspect-ratio: 5 / 6; max-height: 560px; }
.ticks { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--muted); list-style: none; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks .icon { color: var(--teal); }
.quote-card { position: absolute; left: -36px; bottom: 40px; max-width: 300px; margin: 0; background: var(--paper); border-radius: 20px; padding: 22px 24px; box-shadow: 0 24px 48px rgba(42, 12, 0, .14); }
.quote-card blockquote { margin: 10px 0 12px; font-size: 19px; line-height: 1.35; color: var(--ink); font-style: italic; }
.quote-card figcaption { font-size: 14px; color: var(--muted-2); }
.quote-mark { width: 28px; height: 22px; fill: var(--tan); }
@media (max-width: 900px) { .quote-card { left: 16px; right: 16px; bottom: -40px; max-width: none; } .hero-grid { padding-top: 56px; padding-bottom: 140px; } }

/* ---------- Quick links ---------- */
.quick-links { position: relative; z-index: 2; margin-top: -88px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); box-shadow: var(--shadow); border-radius: 20px; }
.ql-card { background: var(--paper); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: transform .2s, border-color .2s; }
.ql-card:first-child { border-radius: 20px 0 0 20px; }
.ql-card:last-child { border-radius: 0 20px 20px 0; }
.ql-card strong { font-size: 22px; color: var(--ink); line-height: 1.2; }
.ql-card span { color: var(--muted-2); font-size: 16px; }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-tint); display: flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0; }
.icon-tile .icon { width: 24px; height: 24px; }
@media (max-width: 1000px) { .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ql-card:first-child { border-radius: 20px 0 0 0; } .ql-card:nth-child(2) { border-radius: 0 20px 0 0; } .ql-card:nth-child(3) { border-radius: 0 0 0 20px; } .ql-card:last-child { border-radius: 0 0 20px 0; } }
@media (max-width: 560px) { .quick-grid { grid-template-columns: 1fr; } .ql-card, .ql-card:first-child, .ql-card:nth-child(2), .ql-card:nth-child(3), .ql-card:last-child { border-radius: 0; } .ql-card:first-child { border-radius: 20px 20px 0 0; } .ql-card:last-child { border-radius: 0 0 20px 20px; } }

/* hover lift for cards */
.lift { transition: transform .2s ease, border-color .2s ease; }
.lift:hover, .ql-card:hover { transform: translateY(-3px); border-color: var(--teal-hover); }

/* ---------- Split / about ---------- */
.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.illustration-panel { background: var(--cream); border-radius: var(--radius-lg); padding: 48px 40px 40px; position: relative; overflow: hidden; }
.illustration-panel::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; border-radius: 50%; background: var(--line); }
.illustration-panel img { position: relative; z-index: 1; margin: 0 auto; max-width: 460px; width: 100%; }
.badge-float { position: absolute; right: 24px; top: -28px; background: var(--brown); color: var(--paper); border-radius: 18px; padding: 18px 22px; box-shadow: 0 16px 32px rgba(42, 12, 0, .2); z-index: 2; }
.badge-float strong { display: block; font-size: 32px; line-height: 1; }
.badge-float span { display: block; font-size: 14px; color: var(--line); margin-top: 6px; }
.media-wrap { position: relative; }
.tile-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.tile-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; color: var(--ink); font-weight: 700; text-decoration: none; transition: transform .2s, border-color .2s; }
.tile-links a:hover { border-color: var(--teal-hover); transform: translateY(-3px); }
.tile-links .icon { color: var(--teal); }
@media (max-width: 520px) { .tile-links { grid-template-columns: 1fr; } }

/* ---------- Tabs ---------- */
.tablist { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 6px; }
.bg-paper-tabs .tablist, .tablist.on-paper { background: var(--cream); border-color: var(--cream); }
.tab { font: inherit; font-weight: 700; font-size: 16px; border: 0; border-radius: 999px; padding: 12px 22px; min-height: 44px; cursor: pointer; background: transparent; color: var(--muted-2); }
.tab:hover { color: var(--brown); }
.tab[aria-selected="true"] { background: var(--brown); color: var(--paper); }
.no-js .tablist { display: none; }
.tab-heading { display: none; }
.no-js .tab-heading { display: block; margin: 40px 0 20px; }
.no-js [role="tabpanel"][hidden] { display: block !important; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.svc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px 28px; display: flex; flex-direction: column; gap: 14px; min-height: 230px; text-decoration: none; transition: transform .2s, border-color .2s; }
.svc-card:hover { transform: translateY(-3px); border-color: var(--teal-hover); }
.svc-num { font-weight: 700; font-size: 15px; color: var(--teal); letter-spacing: .06em; }
.svc-card strong { font-size: 26px; line-height: 1.15; color: var(--ink); }
.svc-card .svc-text { color: var(--muted); font-size: 16px; flex-grow: 1; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brown); font-size: 15px; }
.more .icon { width: 16px; height: 16px; }
.svc-card-photo { padding: 0; overflow: hidden; }
.svc-card-photo .ph { height: 190px; border: 0; font-size: 14px; }
.svc-card-photo .svc-body { padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.svc-card-photo .svc-text { flex-grow: 1; }

/* ---------- Pillars (dark) ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: rgba(195, 159, 135, .25); border-radius: var(--radius); overflow: hidden; list-style: none; }
.pillars > * { background: var(--espresso); padding: 40px 32px; }
.pillar-num { font-size: 52px; font-weight: 700; color: var(--teal-light); line-height: 1; }
.pillars h3 { font-size: 24px; margin: 20px 0 10px; }
.pillars p { color: var(--sand); margin: 0; }
.bg-dark .lead, .bg-dark .muted { color: var(--sand); }
.bg-dark .accent { color: var(--teal-light); }

/* ---------- Testimonials ---------- */
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.t-card { margin: 0; border-radius: 24px; padding: 44px 40px; display: flex; flex-direction: column; gap: 24px; border: 1px solid var(--line); background: var(--paper); }
.t-card blockquote { margin: 0; font-size: 27px; line-height: 1.3; color: var(--ink); font-style: italic; }
.t-card figcaption { color: var(--muted-2); font-size: 15px; }
.t-card .quote-mark { width: 36px; height: 28px; }
.t-card.is-brown { background: var(--brown); border-color: var(--brown); border-radius: 24px 24px 24px 80px; }
.t-card.is-brown blockquote { color: var(--paper); }
.t-card.is-brown figcaption { color: var(--sand); }
.t-card.is-cream { background: var(--cream); border-color: var(--cream); justify-content: space-between; }
.t-card.is-cream h3 { font-size: 28px; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; list-style: none; }
.chips li { background: var(--cream); border-radius: 999px; padding: 8px 16px; font-size: 15px; color: var(--ink); font-style: italic; }

/* ---------- Book panel / forms ---------- */
.book-panel { background: var(--brown); border-radius: 32px; overflow: hidden; display: flex; flex-wrap: wrap; }
.book-info { flex: 1 1 400px; min-width: 0; padding: 64px 56px; color: var(--paper); position: relative; overflow: hidden; }
.book-info::before { content: ""; position: absolute; left: -120px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(195, 159, 135, .25); }
.book-info > * { position: relative; }
.book-info .eyebrow { color: var(--teal-light); }
.book-info h2 { color: var(--paper); }
.book-info p { color: var(--line); }
.book-phone { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--paper); margin: 32px 0 20px; }
.book-phone:hover { color: var(--paper); }
.book-phone .ring { width: 52px; height: 52px; border-radius: 50%; background: rgba(253, 252, 250, .1); display: flex; align-items: center; justify-content: center; color: var(--teal-light); }
.book-phone small { display: block; font-size: 14px; color: var(--sand); }
.book-phone strong { font-size: 26px; }
.notice-dark { display: flex; gap: 16px; align-items: flex-start; background: rgba(253, 252, 250, .08); border-radius: 16px; padding: 18px 20px; font-size: 16px; color: var(--line); }
.notice-dark .icon { color: var(--teal-light); margin-top: 3px; }
.notice-dark strong { color: var(--paper); }
.book-form-wrap { flex: 1 1 460px; min-width: 0; background: var(--paper); padding: 56px; border-radius: var(--radius-lg); margin: 8px; }
@media (max-width: 600px) { .book-info, .book-form-wrap { padding: 40px 24px; } .book-form-wrap { margin: 6px; } }

.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px; background: var(--paper); }
.form-card.on-cream { border-color: var(--paper); }
@media (max-width: 600px) { .form-card { padding: 28px 22px; } }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { font-weight: 700; font-size: 15px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted-2); }
.req { color: var(--brown-mid); }
.field input, .field select, .field textarea { font: inherit; font-size: 17px; padding: 13px 16px; border: 1px solid var(--sand); border-radius: 12px; background: var(--paper); color: var(--ink); width: 100%; min-height: 50px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(31, 122, 133, .35); outline-offset: 0; border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fff8f7; }
.field-error { margin: 0; font-size: 14px; color: #b3261e; min-height: 0; }
.field-error:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.radio-row label, .check-row label { font-weight: 400; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.radio-row input, .check-row input { width: 22px; height: 22px; min-height: 0; accent-color: var(--teal); margin: 0; flex-shrink: 0; }
.check-row label { align-items: flex-start; font-size: 15px; color: var(--muted); }
.check-row input { margin-top: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: 14px; color: var(--muted-2); margin: 18px 0; }
.form-submit { width: 100%; min-height: 54px; }
.form-status { border-radius: 16px; padding: 18px 20px; margin-bottom: 20px; font-weight: 700; }
.form-status.is-success { background: var(--teal-tint); color: var(--teal-dark); }
.form-status.is-error { background: #fdecea; color: #8c1d18; }
.form-status:focus { outline: 3px solid var(--teal); outline-offset: 2px; }
.form-title { font-size: 30px; margin: 0 0 6px; }

/* ---------- Members strip ---------- */
.members { border-top: 1px solid var(--line); padding: 36px 0; }
.members .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.members-label { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 700; color: var(--teal); }
.members-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; justify-content: flex-end; flex: 1 1 600px; }
.members-list a { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 16px; color: var(--muted); font-size: 14px; text-decoration: none; }
.members-list a:hover { border-color: var(--teal-hover); color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal-tint); border-radius: 32px; padding: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -90px; top: -120px; width: 340px; height: 340px; border-radius: 50%; border: 1px solid rgba(31, 122, 133, .25); }
.cta-band > * { position: relative; }
.cta-band > div:first-child { flex: 1 1 460px; min-width: 0; }
.cta-band .eyebrow { color: var(--teal-dark); }
.cta-band h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 10px; }
.cta-band p { color: #3f4f50; font-size: 18px; margin: 0; }
@media (max-width: 600px) { .cta-band { padding: 36px 24px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--sand); padding: 80px 0 32px; font-size: 16px; }
.foot-cols { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 40px; margin-bottom: 64px; }
@media (max-width: 1000px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-cols { grid-template-columns: 1fr; } }
.foot-logo { display: inline-block; background: var(--paper); border-radius: 18px; padding: 14px 18px; margin-bottom: 20px; }
.foot-logo img { height: 52px; width: auto; }
.site-footer h2 { color: var(--paper); font-size: 19px; margin: 0 0 16px; }
.site-footer a { color: var(--sand); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.foot-col nav, .foot-links { display: flex; flex-direction: column; gap: 6px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.foot-hours { margin-top: 14px; }
.foot-phone { color: var(--paper) !important; font-weight: 700; font-size: 18px; }
.foot-email { word-break: break-word; }
.foot-base { border-top: 1px solid rgba(214, 186, 168, .2); padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; }
.foot-base nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.social { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(214, 186, 168, .4); display: inline-flex !important; align-items: center; justify-content: center; }
.social:hover { border-color: var(--paper); }

/* ---------- Inner page hero ---------- */
.page-hero { background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%); }
.page-hero .wrap { padding-top: 48px; padding-bottom: 80px; }
.page-hero.has-subnav .wrap { padding-bottom: 0; }
.page-hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.page-hero-grid > :first-child { flex: 1 1 520px; min-width: 0; }
.page-hero-grid > .media-shape { flex: 1 1 400px; min-width: 0; aspect-ratio: 4 / 3; border-radius: 28px 28px 28px 120px; }
.page-hero .lead { margin-bottom: 32px; }
.page-hero .lead:last-child { margin-bottom: 0; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted-2); margin-bottom: 28px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { color: var(--muted-2); }
.crumbs [aria-current] { color: var(--ink); }
.sub-nav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line-2); margin-top: 48px; }
.sub-nav a { padding: 14px 18px; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.sub-nav a:hover { color: var(--brown); }
.sub-nav a[aria-current] { font-weight: 700; color: var(--brown); border-bottom-color: var(--teal); }
.jump-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.jump-links a { display: inline-flex; min-height: 44px; align-items: center; background: var(--paper); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 18px; font-weight: 700; color: var(--brown); text-decoration: none; }
.jump-links a:hover { border-color: var(--teal-hover); }

/* ---------- Treatment page ---------- */
.facts { position: relative; z-index: 2; margin-top: -40px; }
.facts-bar { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 40px rgba(42, 12, 0, .07); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); overflow: hidden; }
.fact { padding: 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.fact dt { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--teal); margin-bottom: 6px; }
.fact dd { margin: 0; font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.content-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.article { flex: 999 1 600px; min-width: 0; }
.article > section + section { margin-top: 52px; }
.article p { font-size: 18px; max-width: 40em; }
.aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.check-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; background: var(--cream); border-radius: 14px; padding: 14px 16px; color: var(--ink); }
.check-list .icon { color: var(--teal); margin-top: 3px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; list-style: none; }
.info-card { border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.info-card h3 { font-size: 21px; }
.info-card p { font-size: 16px !important; color: var(--muted); margin: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 19px; color: var(--ink); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; line-height: 1; color: var(--teal); transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 40em; }
.side-card { border-radius: 24px; padding: 32px; }
.side-card.is-brown { background: var(--brown); color: var(--paper); }
.side-card.is-brown .label { color: var(--teal-light); }
.side-card.is-brown a { color: var(--paper); font-weight: 700; }
.side-card.is-teal { background: var(--teal-tint); }
.side-card.is-teal p { color: #3f4f50; }
.side-card.is-teal a { color: var(--teal-dark); }
.side-card .label { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; margin: 0 0 8px; }
.side-card h3 { font-size: 22px; margin-bottom: 10px; }
.fee-lines { list-style: none; margin: 0 0 18px; font-size: 18px; line-height: 1.5; }
.side-phone { display: block; font-weight: 700; font-size: 20px; text-decoration: none; margin-bottom: 6px; }
.side-nav { border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.side-nav h3 { font-size: 18px; margin: 0 0 10px 8px; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 12px 8px; border-radius: 12px; text-decoration: none; color: var(--ink); font-size: 16px; }
.side-nav a:hover { background: var(--cream); }
.side-nav a[aria-current] { background: var(--teal-tint); color: var(--teal-dark); font-weight: 700; }
.side-nav .icon { width: 16px; height: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.related-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; transition: transform .2s, border-color .2s; }
.related-card:hover { transform: translateY(-3px); border-color: var(--teal-hover); }
.related-card .tag { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--teal); }
.related-card strong { font-size: 24px; line-height: 1.2; color: var(--ink); }
.related-card span.txt { color: var(--muted); font-size: 16px; flex-grow: 1; }

/* ---------- Generic grids / cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--paper); }
.box h3 { font-size: 22px; margin-bottom: 8px; }
.box p { color: var(--muted); }
.box-num { font-size: 44px; font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: 16px; }
.box.on-cream { border-color: var(--paper); }
.pill { display: inline-block; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 6px 14px; margin-bottom: 16px; }
.pill-teal { background: var(--teal-tint); color: var(--teal-dark); }
.pill-cream { background: var(--cream); color: var(--brown); }
.stats { background: var(--brown); color: var(--paper); border-radius: var(--radius-lg); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); overflow: hidden; list-style: none; }
.stats li { padding: 40px 32px; border-right: 1px solid rgba(253, 252, 250, .14); }
.stats strong { display: block; font-size: 48px; line-height: 1; color: var(--teal-light); }
.stats span { display: block; margin-top: 10px; color: var(--line); }
.video-ph { aspect-ratio: 16 / 7; border-radius: var(--radius-lg); flex-direction: column; gap: 14px; }
.play { width: 72px; height: 72px; border-radius: 50%; background: var(--brown); display: flex; align-items: center; justify-content: center; }
.promise { border-radius: var(--radius-lg); padding: 48px 44px; }
.promise.is-brown { background: var(--brown); color: var(--paper); }
.promise.is-brown h2 { color: var(--paper); }
.promise.is-brown .eyebrow { color: var(--teal-light); }
.promise.is-teal { background: var(--teal-tint); }
.promise.is-teal .eyebrow { color: var(--teal-dark); }
.promise h2 { font-size: 34px; margin-bottom: 28px; }
.num-list { list-style: none; display: flex; flex-direction: column; gap: 22px; counter-reset: n; }
.num-list li { display: flex; gap: 18px; counter-increment: n; }
.num-list li::before { content: counter(n, decimal-leading-zero); font-weight: 700; font-size: 20px; min-width: 32px; }
.promise.is-brown .num-list li { color: var(--line); }
.promise.is-brown .num-list li::before { color: var(--teal-light); }
.promise.is-teal .num-list li { color: #2f3d3e; }
.promise.is-teal .num-list li::before { color: var(--teal-dark); }
.notice-box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.notice-box > div { flex: 1 1 360px; min-width: 0; }
.teal-panel { background: var(--teal-tint); border-radius: var(--radius-lg); padding: 44px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.teal-panel > div { flex: 1 1 420px; min-width: 0; }
.teal-panel p { color: #2f3d3e; }
.teal-panel .icon-tile { background: var(--paper); width: 64px; height: 64px; border-radius: 18px; }
.teal-panel a { color: var(--teal-dark); font-weight: 700; }
@media (max-width: 600px) { .promise, .notice-box, .teal-panel { padding: 32px 24px; } }

/* accordions (patient safety charter) */
.accordion { background: var(--paper); border-radius: 24px; padding: 8px 28px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 0; }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 18px; color: var(--ink); min-height: 44px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 28px; line-height: 1; color: var(--teal); transition: transform .2s; flex-shrink: 0; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; list-style: none; }
.person { border: 1px solid var(--line); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; background: var(--paper); }
.person .ph, .person img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border: 0; font-size: 14px; }
.person-body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
.person h3 { font-size: 24px; }
.person .role { color: var(--teal); font-weight: 700; font-size: 15px; }
.person .quals { font-size: 15px; color: var(--muted-2); }
.person p { color: var(--muted); font-size: 16px; margin: 6px 0 0; }
.gdc { align-self: flex-start; margin-top: auto; background: var(--teal-tint); color: var(--teal-dark); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 5px 12px; }
.person-body .gdc { margin-top: 14px; }
.clinician { display: flex; gap: 24px; align-items: flex-start; border: 1px solid var(--line); border-radius: 26px; padding: 30px; }
.clinician .ph { width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0; padding: 0; font-size: 12px; }
.clinician strong { display: block; font-size: 22px; color: var(--ink); }
.clinician .role { display: block; color: var(--teal); font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.clinician p { color: var(--muted); margin: 0; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; list-style: none; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); height: 100%; }
.gallery .ph, .gallery img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border: 0; font-size: 14px; }
.gallery figcaption { padding: 18px 22px; }
.gallery figcaption strong { display: block; color: var(--ink); font-size: 18px; }
.gallery figcaption span { color: var(--muted); font-size: 15px; }

/* contact / appointments */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; background: var(--paper); }
a.contact-card { transition: transform .2s, border-color .2s; }
a.contact-card:hover { transform: translateY(-3px); border-color: var(--teal-hover); }
.contact-card .k { font-size: 14px; color: var(--muted-2); }
.contact-card .v { font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.3; word-break: break-word; }
.contact-card .v.sm { font-size: 18px; }
.contact-card.is-brown { background: var(--brown); border-color: var(--brown); }
.contact-card.is-brown .k { color: var(--sand); }
.contact-card.is-brown .v { color: var(--paper); font-size: 19px; }
.contact-card.is-brown .icon-tile { background: rgba(253, 252, 250, .1); color: var(--teal-light); }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; font-size: 16px; }
.hours dt { font-weight: 700; color: var(--ink); }
.hours dd { margin: 0; text-align: right; color: var(--muted); }
.hours-card { background: var(--cream); border-radius: var(--radius-lg); padding: 36px; }
.hours-card h2 { font-size: 26px; margin-bottom: 18px; }
.hours-card .small { font-size: 15px; color: var(--muted); margin: 18px 0 0; }
.hours-card.is-brown { background: var(--brown); color: var(--paper); }
.hours-card.is-brown h2 { color: var(--paper); font-size: 22px; }
.hours-card.is-brown dt { color: var(--sand); font-weight: 400; }
.hours-card.is-brown dd { color: var(--paper); font-weight: 700; }
.hours-card.is-brown .small { color: var(--sand); }
.map-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.map-frame { height: 280px; position: relative; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-frame .ph { height: 100%; flex-direction: column; gap: 14px; }
.map-body { padding: 24px 28px; }
.map-body h3 { font-size: 20px; margin-bottom: 8px; }
.map-body p { color: var(--muted); }
.two-col { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.two-col > .main { flex: 999 1 560px; min-width: 0; }
.two-col > .side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split-head { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split-head > :first-child { flex: 1 1 360px; min-width: 0; }
.split-head > :last-child { flex: 2 1 560px; min-width: 0; }

.bands { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 18px; list-style: none; }
.band { background: var(--teal-tint); border-radius: var(--radius); padding: 30px; }
.band .label { font-weight: 700; color: var(--teal-dark); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.band strong { display: block; font-size: 44px; color: var(--ink); line-height: 1.1; margin: 8px 0; }
.band p { margin: 0; color: #2f3d3e; }
.fees-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 64px 0 24px; }
.fees-head .tab { font-size: 15px; padding: 10px 18px; }
.fee-table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.fee-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.fee-table caption { text-align: left; padding: 18px 24px 0; font-weight: 700; color: var(--ink); font-size: 18px; }
.fee-table th { text-align: left; padding: 16px 24px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); background: var(--cream); }
.fee-table th:last-child, .fee-table td:last-child { text-align: right; white-space: nowrap; }
.fee-table td { padding: 16px 24px; border-top: 1px solid var(--line); color: var(--ink); }
.fee-table td:last-child { font-weight: 700; color: var(--brown); }
.js .fee-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.no-js .fee-panel + .fee-panel { margin-top: 20px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps li { border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.steps .n { font-weight: 700; color: var(--teal); }
.steps h3 { margin: 8px 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.bodies { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; list-style: none; }
.bodies li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.bodies li:last-child { border-bottom: 0; }
.bodies strong { color: var(--ink); }
.bodies small { display: block; font-size: 15px; color: var(--muted-2); }
.bodies a { font-weight: 700; color: var(--teal); align-self: center; }
.link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; list-style: none; }
.link-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; height: 100%; transition: transform .2s, border-color .2s; }
.link-card:hover { transform: translateY(-3px); border-color: var(--teal-hover); }
.link-card .t { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.link-card .t .icon { color: var(--teal); }
.link-card .d { color: var(--muted); font-size: 16px; }
.leaflets { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.leaflets a { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--paper); border-radius: 14px; padding: 14px 18px; text-decoration: none; color: var(--ink); font-weight: 700; min-height: 44px; }
.leaflets a:hover { color: var(--teal-dark); }
.leaflets .icon { color: var(--teal); width: 16px; height: 16px; }
.policy { max-width: 820px; }
.policy h2 { font-size: 28px; margin: 48px 0 14px; }
.policy h3 { font-size: 21px; margin: 28px 0 10px; }
.policy p, .policy li { color: var(--text); }
.policy ul { padding-left: 22px; margin: 0 0 1em; }
.policy li { margin-bottom: 6px; }
.todo { background: #fff6dc; border: 1px dashed #c9a227; border-radius: 12px; padding: 14px 18px; color: #5c4700; font-size: 15px; margin: 0 0 1em; }

.redirect-page { min-height: 60vh; display: flex; align-items: center; }
.spacer-96 { height: 96px; }
@media print { .utility, .site-header, .site-footer, .members, .cta-band, .quick-links { display: none; } }

/* ---------- Layout refinements ---------- */
.nav-item > a { white-space: nowrap; }
.main-nav { gap: 22px; }
@media (max-width: 1240px) { .header-phone { display: none; } }
.section-head > .tablist { flex: 0 0 auto; }
.svc-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.foot-cols { grid-template-columns: 1.1fr 1fr 1.35fr .9fr 1fr; }
@media (max-width: 1000px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot-cols { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .quote-card { position: relative; left: auto; right: auto; bottom: auto; margin: -64px 16px 0; max-width: none; }
  .hero-grid { padding-bottom: 128px; }
}
@media (max-width: 700px) {
  .rings::before, .rings::after { display: none; }
  .members-list { justify-content: flex-start; }
  .quick-links { margin-top: -72px; }
}
@media (max-width: 380px) { .svc-grid { grid-template-columns: 1fr; } }
@media (max-width: 940px) { .header-phone { display: inline-flex; } }

/* ---------- Photography ---------- */
.svc-card-photo img { width: 100%; height: 190px; object-fit: cover; display: block; }
.media-shape { background: var(--line); }
.media-shape img { display: block; }

/* ==========================================================================
   Motion: "moving daylight"
   Everything here is decorative and switches off when the visitor's device
   asks for reduced motion. Content is fully visible without JavaScript.
   ========================================================================== */

/* Ambient light fields behind page-top sections (soft gradients, no blur filter) */
.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ambient span { position: absolute; border-radius: 50%; will-change: transform; }
.ambient span:nth-child(1) { width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; left: -18vw; top: -32vw; background: radial-gradient(closest-side, rgba(226, 241, 242, .95), rgba(226, 241, 242, 0)); }
.ambient span:nth-child(2) { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; right: -14vw; top: 10%; background: radial-gradient(closest-side, rgba(236, 215, 199, .85), rgba(236, 215, 199, 0)); }
.ambient span:nth-child(3) { width: 38vw; height: 38vw; max-width: 560px; max-height: 560px; left: 34%; bottom: -24vw; background: radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); }
.rings > .wrap, .hero > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }
.rings::before, .rings::after { z-index: 0; }

/* Teal glow drifting through the dark brown bands */
.bg-dark { position: relative; overflow: hidden; }
.bg-dark::before { content: ""; position: absolute; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; right: -20vw; top: -35vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(108, 195, 203, .16), rgba(108, 195, 203, 0)); pointer-events: none; }
.bg-dark > .wrap { position: relative; z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
  .ambient span:nth-child(1) { animation: drift-a 26s ease-in-out infinite alternate; }
  .ambient span:nth-child(2) { animation: drift-b 32s ease-in-out infinite alternate; }
  .ambient span:nth-child(3) { animation: drift-c 22s ease-in-out infinite alternate; }
  .rings::before { animation: breathe 14s ease-in-out infinite alternate; }
  .rings::after { animation: breathe 11s ease-in-out infinite alternate-reverse; }
  .bg-dark::before { animation: glow 24s ease-in-out infinite alternate; }

  /* Page entrance: hero copy rises in sequence, photo settles */
  .hero-copy > *, .page-hero .wrap > *, .page-hero-grid > :first-child > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2), .page-hero .wrap > :nth-child(2), .page-hero-grid > :first-child > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3), .page-hero .wrap > :nth-child(3), .page-hero-grid > :first-child > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4), .page-hero .wrap > :nth-child(4), .page-hero-grid > :first-child > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5), .page-hero .wrap > :nth-child(5), .page-hero-grid > :first-child > :nth-child(5) { animation-delay: .32s; }
  .hero-copy > :nth-child(6), .page-hero-grid > :first-child > :nth-child(6) { animation-delay: .4s; }
  .page-hero .wrap > .page-hero-grid { animation: none; }
  .hero-media .media-shape, .page-hero-grid > .media-shape { animation: settle 1.4s cubic-bezier(.2, .7, .2, 1) .1s both; }
  .hero-media .media-shape img, .page-hero-grid > .media-shape img { animation: slow-zoom 24s ease-in-out 1.5s infinite alternate; transform-origin: 60% 40%; }
  .quote-card { animation: rise 1s cubic-bezier(.2, .7, .2, 1) .5s both, float 7s ease-in-out 1.6s infinite alternate; }
  .quick-links .ql-card { animation: rise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
  .quick-links .ql-card:nth-child(1) { animation-delay: .35s; }
  .quick-links .ql-card:nth-child(2) { animation-delay: .43s; }
  .quick-links .ql-card:nth-child(3) { animation-delay: .51s; }
  .quick-links .ql-card:nth-child(4) { animation-delay: .59s; }

  /* Scroll reveals (site.js adds data-reveal only when it can also reveal) */
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  /* Hover details */
  .svc-card-photo img, .gallery img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
  .svc-card-photo:hover img { transform: scale(1.05); }
  .svc-card-photo { overflow: hidden; }
  .btn .icon, .more .icon, .tile-links .icon, .side-nav .icon { transition: transform .25s ease; }
  .btn:hover .icon, .svc-card:hover .more .icon, .related-card:hover .more .icon, .tile-links a:hover .icon, .side-nav a:hover .icon { transform: translateX(4px); }
  .icon-tile { transition: transform .3s ease, background-color .3s ease; }
  .ql-card:hover .icon-tile, a.contact-card:hover .icon-tile { transform: translateY(-2px) rotate(-4deg); }
  .pill, .tab { transition: background-color .25s ease, color .25s ease; }
}

@keyframes drift-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(12vw, 8vw, 0) scale(1.15); } }
@keyframes drift-b { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(-10vw, -6vw, 0) scale(.9); } }
@keyframes drift-c { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-8vw, -10vw, 0) scale(1.2); } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes glow { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-30vw, 30vw, 0) scale(1.2); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(.97) translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

@media (max-width: 700px) {
  .ambient span:nth-child(1) { width: 120vw; height: 120vw; left: -40vw; top: -50vw; }
  .ambient span:nth-child(2) { width: 100vw; height: 100vw; right: -50vw; top: 30%; }
  .ambient span:nth-child(3) { display: none; }
}
@media print { .ambient, .bg-dark::before { display: none; } .js [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* ---------- Motion, turned up (v2): more colour, more movement, orbiting dots ---------- */
.ambient span:nth-child(1) { background: radial-gradient(closest-side, rgba(108, 195, 203, .42), rgba(108, 195, 203, .12) 55%, rgba(108, 195, 203, 0)); }
.ambient span:nth-child(2) { background: radial-gradient(closest-side, rgba(214, 170, 140, .55), rgba(214, 170, 140, .15) 55%, rgba(214, 170, 140, 0)); }
.ambient span:nth-child(3) { background: radial-gradient(closest-side, rgba(31, 122, 133, .22), rgba(31, 122, 133, 0)); }
.rings::before { border-color: rgba(148, 96, 64, .38); }
.rings::after { border-color: rgba(31, 122, 133, .45); }
.bg-dark::before { background: radial-gradient(closest-side, rgba(108, 195, 203, .30), rgba(108, 195, 203, 0)); }

/* small dots travelling around the two outline circles (same geometry as .rings::before/::after) */
.orbit { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.orbit::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 6px rgba(31, 122, 133, .14); }
.orbit.o1 { right: -160px; top: -200px; width: 640px; height: 640px; }
.orbit.o2 { right: -60px; top: -100px; width: 440px; height: 440px; }
.orbit.o2::before { width: 8px; height: 8px; margin-left: -4px; top: -4px; background: var(--brown-mid); box-shadow: 0 0 0 5px rgba(148, 96, 64, .14); }
@media (max-width: 700px) { .orbit { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  .ambient span:nth-child(1) { animation: drift-a2 14s ease-in-out infinite alternate; }
  .ambient span:nth-child(2) { animation: drift-b2 17s ease-in-out infinite alternate; }
  .ambient span:nth-child(3) { animation: drift-c2 12s ease-in-out infinite alternate; }
  .rings::before { animation: breathe2 7s ease-in-out infinite alternate; }
  .rings::after { animation: breathe2 5.5s ease-in-out infinite alternate-reverse; }
  .orbit.o1 { animation: orbit 38s linear infinite; }
  .orbit.o2 { animation: orbit 26s linear infinite reverse; }
  .bg-dark::before { animation: glow 14s ease-in-out infinite alternate; }
  .js [data-reveal] { transform: translateY(40px); }
}
@keyframes drift-a2 { from { transform: translate3d(-4vw, -2vw, 0) scale(.95); } to { transform: translate3d(22vw, 14vw, 0) scale(1.25); } }
@keyframes drift-b2 { from { transform: translate3d(4vw, 0, 0) scale(1.1); } to { transform: translate3d(-24vw, -10vw, 0) scale(.85); } }
@keyframes drift-c2 { from { transform: translate3d(0, 0, 0) scale(.9); } to { transform: translate3d(-18vw, -16vw, 0) scale(1.35); } }
@keyframes breathe2 { from { transform: scale(.96); } to { transform: scale(1.1); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@media print { .orbit { display: none; } }

/* ---------- v3 tweaks: static quote card, blur-in headline ---------- */
.h-display .line { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  /* quote card: a single gentle fade in, then it stays still */
  .quote-card { animation: fade-in 1s ease .6s both; }
  /* headline: each line fades in from a soft blur */
  .hero-copy > .h-display { animation: none; }
  .h-display .line { animation: blur-in 1.3s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .h-display .line + br + .line { animation-delay: .6s; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes blur-in { from { opacity: 0; filter: blur(14px); } to { opacity: 1; filter: blur(0); } }

/* ---------- v4: blur-in for every page title ---------- */
.h-page .line { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .page-hero .wrap > .h-page, .page-hero-grid > :first-child > .h-page { animation: none; }
  .h-page .line { animation: blur-in 1.3s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .h-page .line + .line { animation-delay: .6s; }
}
/* v4.1: keep natural word wrap; third segment for titles with a teal word in the middle */
.h-page .line { display: inline; }
@media (prefers-reduced-motion: no-preference) {
  .h-page .line + .line + .line { animation-delay: 1s; }
}
.h-page, .h-display { text-wrap: balance; }

/* ---------- Appointments: contact options as horizontal rows ---------- */
.contact-rows { display: flex; flex-direction: column; gap: 14px; }
.contact-row { flex: 1 1 0; display: flex; align-items: center; gap: 20px; padding: 20px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); text-decoration: none; transition: transform .2s, border-color .2s; min-height: 96px; }
.contact-row:hover { transform: translateX(4px); border-color: var(--teal-hover); }
.contact-row .icon-tile { width: 56px; height: 56px; border-radius: 16px; }
.contact-row .txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.contact-row .k { font-size: 14px; color: var(--muted-2); }
.contact-row .v { font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.contact-row .v-email { font-size: 19px; overflow-wrap: anywhere; }
.contact-row .go { color: var(--teal); flex-shrink: 0; width: 20px; height: 20px; transition: transform .25s ease; }
.contact-row:hover .go { transform: translateX(4px); }
@media (max-width: 520px) {
  .contact-row { padding: 18px; gap: 14px; }
  .contact-row .icon-tile { width: 48px; height: 48px; }
  .contact-row .v { font-size: 19px; }
  .contact-row .v-email { font-size: 16px; }
}
.contact-row .v-email { overflow-wrap: normal; }
@media (max-width: 520px) { .contact-row .go { display: none; } }

/* ---------- Team portraits ---------- */
.person img { aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: cover; display: block; background: var(--cream); }
.clinician img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; flex-shrink: 0; background: var(--cream); }
@media (prefers-reduced-motion: no-preference) {
  .person img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
  .person { overflow: hidden; }
  .person:hover img { transform: scale(1.03); }
}

/* ---- Welcome video (Who are we) */
.video-frame { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--espresso); aspect-ratio: 16 / 9; box-shadow: 0 30px 60px -30px rgba(42, 12, 0, .45); max-width: 1040px; margin-inline: auto; }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play { display: none; }
.video-frame.is-ready .video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; border: 0; padding: 0; cursor: pointer; color: var(--paper); font: inherit; background: linear-gradient(180deg, rgba(42, 12, 0, .1), rgba(42, 12, 0, .45)); transition: background .3s ease; }
.video-frame.is-playing .video-play { display: none; }
.video-play .play { width: 88px; height: 88px; background: var(--teal); box-shadow: 0 0 0 10px rgba(108, 195, 203, .28); transition: transform .3s ease, box-shadow .3s ease; }
.video-play .video-label { font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.video-play small { font-weight: 400; opacity: .8; margin-left: 6px; }
.video-play:hover, .video-play:focus-visible { background: linear-gradient(180deg, rgba(42, 12, 0, 0), rgba(42, 12, 0, .35)); }
.video-play:hover .play, .video-play:focus-visible .play { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(108, 195, 203, .22); }
.video-play:focus-visible { outline: 3px solid var(--teal-light); outline-offset: -6px; }
@media (prefers-reduced-motion: no-preference) {
  .video-frame.is-ready:not(.is-playing) .play { animation: breathe 1.6s ease-in-out infinite alternate; }
}
@media (max-width: 560px) {
  .video-play .play { width: 64px; height: 64px; box-shadow: 0 0 0 7px rgba(108, 195, 203, .28); }
  .video-play .video-label { font-size: .95rem; }
}

/* ---- See our practice: photo tour */
.tour { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tour figure { display: grid; grid-template-rows: auto 1fr; }
.tour-link { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream); }
.tour .wide .tour-link { aspect-ratio: auto; height: 100%; min-height: 0; }
.tour .wide figure { grid-template-rows: 1fr auto; }
.tour-link img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; display: block; }
.tour .wide { grid-column: span 2; }
.tour-zoom { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(253, 252, 250, .92); color: var(--brown); box-shadow: 0 6px 18px -6px rgba(42, 12, 0, .4); opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.tour-link:hover .tour-zoom, .tour-link:focus-visible .tour-zoom { opacity: 1; transform: none; }
.tour-link:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
@media (hover: none) { .tour-zoom { opacity: 1; transform: none; } }
.tour-link:hover img { transform: scale(1.04); }
@media (max-width: 1000px) {
  .tour { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour .wide { grid-column: auto; }
  .tour .wide .tour-link { aspect-ratio: 4 / 3; height: auto; }
  .tour > li:first-child { grid-column: span 2; }
  .tour > li:first-child .tour-link { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .tour { grid-template-columns: 1fr; }
  .tour > li:first-child { grid-column: auto; }
  .tour > li:first-child .tour-link { aspect-ratio: 4 / 3; }
}

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; color: var(--paper); }
.lightbox::backdrop { background: rgba(26, 8, 0, .92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: calc(100vw - 160px); pointer-events: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); pointer-events: auto; }
.lightbox figcaption { text-align: center; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; }
.lightbox figcaption strong { font-size: 19px; }
.lightbox figcaption span { opacity: .8; font-size: 15px; }
.lightbox .lb-count { font-style: normal; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-light); }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(253, 252, 250, .25); background: rgba(253, 252, 250, .08); color: var(--paper); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s ease; }
.lb-btn:hover { background: var(--teal); border-color: var(--teal); }
.lb-btn:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 2px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 24px; top: 24px; width: 46px; height: 46px; }
html.lb-open { overflow: hidden; }
@media (max-width: 640px) {
  .lightbox figure { max-width: calc(100vw - 24px); }
  .lightbox img { max-height: calc(100vh - 220px); }
  .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
  .lb-close { top: 14px; right: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] img { animation: fade-in .35s ease both; }
}
.tour figcaption span { display: block; min-height: 2lh; }
@media (max-width: 640px) { .tour figcaption span { min-height: 0; } }

/* ---- Sticky header (added by site.js once you scroll past the main header) */
.site-header.is-stuck { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: rgba(253, 252, 250, .94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: rgba(195, 159, 135, .35); box-shadow: 0 12px 32px -18px rgba(42, 12, 0, .35); }
.site-header.is-stuck .wrap { padding-top: 9px; padding-bottom: 9px; }
.site-header.is-stuck .logo img { height: 46px; }
.site-header.is-stuck .header-actions .btn { min-height: 40px; padding: 9px 20px; }
.site-header.is-stuck .mobile-panel { max-height: calc(100vh - 70px); }
@media (max-width: 940px) { .site-header.is-stuck .logo img { height: 40px; } .site-header.is-stuck .mobile-menu summary { min-height: 42px; } .site-header.is-stuck .header-phone { width: 42px; height: 42px; } }
@media (max-width: 420px) { .site-header.is-stuck .logo img { height: 36px; } }
@media (prefers-reduced-motion: no-preference) {
  .site-header.is-stuck { animation: header-in .45s cubic-bezier(.2, .8, .2, 1) both; }
}
@keyframes header-in { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
:target { scroll-margin-top: 90px; }

/* ---- Back to top */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 55; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--brown); color: var(--paper); box-shadow: 0 14px 30px -12px rgba(42, 12, 0, .55); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: opacity .3s ease, transform .3s ease, visibility .3s, background .2s ease; }
html.no-js .to-top { display: none; }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal); }
.to-top:hover .to-top-arrow { transform: translateY(-2px); }
.to-top:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; }
.to-top-arrow { position: relative; transition: transform .2s ease; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: var(--teal-light); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.to-top:hover .to-top-ring circle { stroke: var(--paper); }
@media (max-width: 640px) { .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; } }
@media print { .to-top { display: none; } }

/* ---- "Page last reviewed" line (appointments, contact, complaints, privacy) */
.reviewed { padding: 0 0 28px; }
.reviewed p { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); letter-spacing: .01em; }
.spacer-96 + .reviewed { margin-top: -60px; }
section + .reviewed { margin-top: -48px; position: relative; }

/* ---- Home "why choose us" pillars without numbers: heading first, all left-aligned */
.pillars > li { text-align: left; }
.pillars > li > h3:first-child { margin-top: 0; }
/* numbers removed from service cards, info cards and step lists */
.svc-card > strong:first-child, .svc-body > strong:first-child, .info-card > h3:first-child { margin-top: 0; }

/* ---- Cosmetic "step by step": icon steps joined by a line */
.steps-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps-track > li { position: relative; }
.step-head { position: relative; display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.step-icon { position: relative; z-index: 1; flex: none; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--teal-light); background: rgba(108, 195, 203, .1); border: 1.5px solid rgba(108, 195, 203, .55); box-shadow: 0 0 0 6px rgba(108, 195, 203, .06); }
.step-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tan); }
/* connector: runs from each icon to the edge of its column, with an arrowhead into the next */
.steps-track > li:not(:last-child) .step-head::after { content: ""; position: absolute; left: 76px; right: -32px; top: 50%; height: 1.5px; background: linear-gradient(90deg, rgba(108, 195, 203, .55), rgba(108, 195, 203, .15)); }
.steps-track > li:not(:last-child) .step-head::before { content: ""; position: absolute; right: -33px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-top: 1.5px solid rgba(108, 195, 203, .45); border-right: 1.5px solid rgba(108, 195, 203, .45); transform: rotate(45deg); z-index: 2; }
.steps-track .step-label + * { margin-top: 0; }
.steps-track h3 { margin-top: 0; }
.steps-track > li:not(:last-child) .step-head .step-label { position: relative; z-index: 1; padding-right: 12px; background: var(--espresso); }
@media (prefers-reduced-motion: no-preference) {
  .steps-track > li[data-reveal] .step-icon { transition: transform .6s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), box-shadow .6s ease var(--d, 0s); transform: scale(.7); }
  .steps-track > li.is-in .step-icon { transform: none; box-shadow: 0 0 0 6px rgba(108, 195, 203, .08); }
}
@media (max-width: 1000px) {
  .steps-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-track > li:nth-child(2) .step-head::after, .steps-track > li:nth-child(2) .step-head::before { display: none; }
}
@media (max-width: 640px) {
  .steps-track { grid-template-columns: 1fr; }
  .steps-track > li:not(:last-child) .step-head::after, .steps-track > li:not(:last-child) .step-head::before { display: none; }
  .steps-track > li:not(:last-child)::after { content: ""; position: absolute; left: 61px; bottom: -1px; width: 1.5px; height: 40px; background: linear-gradient(180deg, rgba(108, 195, 203, .15), rgba(108, 195, 203, .55)); transform: translateY(50%); z-index: 1; }
}
/* home "why patients stay": same icon circles, no sequence line */
.pillars-icons .step-head { margin-bottom: 24px; }
.pillars-icons h3 { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) {
  .pillars-icons > li[data-reveal] .step-icon { transition: transform .6s cubic-bezier(.2, .8, .2, 1) var(--d, 0s); transform: scale(.7); }
  .pillars-icons > li.is-in .step-icon { transform: none; }
}

/* ---- Service card icons (home page "Complete care", Cosmetic services) */
.svc-icon { flex: none; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--teal); background: var(--teal-tint); border: 1.5px solid rgba(31, 122, 133, .22); margin-bottom: 6px; transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease; }
.svc-card:hover .svc-icon, .svc-card:focus-visible .svc-icon { background: var(--teal); border-color: var(--teal); color: var(--paper); transform: scale(1.06); }
.svc-icon svg { width: 30px; height: 30px; }

/* ---- What to expect: simple tick markers instead of 01, 02, 03 (a solid circle with the tick cut out) */
.num-list li { align-items: flex-start; }
.num-list li::before { content: ""; flex: none; min-width: 0; width: 22px; height: 22px; margin-top: 3px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm4.3 8.3a1.2 1.2 0 0 1 0 1.7l-6.1 6.1a1.2 1.2 0 0 1-1.7 0L5.7 13.3a1.2 1.2 0 1 1 1.7-1.7l1.9 1.9 5.3-5.2a1.2 1.2 0 0 1 1.7 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm4.3 8.3a1.2 1.2 0 0 1 0 1.7l-6.1 6.1a1.2 1.2 0 0 1-1.7 0L5.7 13.3a1.2 1.2 0 1 1 1.7-1.7l1.9 1.9 5.3-5.2a1.2 1.2 0 0 1 1.7 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.promise.is-brown .num-list li::before { background-color: var(--teal-light); }
.promise.is-teal .num-list li::before { background-color: var(--teal-dark); }
