/* Dental Excellence — homepage styles
   Layout concept: white cards on cream grounds, coral brand fields as section punctuation,
   petal-shaped photo corners borrowed from the flower mark. Single light theme by design. */

:root {
  /* Brand (from the Dental Excellence design system) */
  --coral: #e8825c;
  --coral-deep: #d06a44;
  --coral-wash: #fdeee7;
  --teal: #3b7080;
  --teal-deep: #2c5764;
  --cream: #fff2db;
  --cream-soft: #fff8ec;
  --black: #000000;
  --white: #ffffff;
  --ink: #000000;
  --ink-muted: #4a4440;
  --line: rgba(0, 0, 0, 0.12);
  --heading: var(--coral);
  --subheading: var(--teal);
  --on-brand: #ffffff;

  /* Type */
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-header: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  --fs-sub: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  --fs-card: clamp(1.15rem, 1.05rem + 0.4vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  /* Shape & spacing */
  --radius-card: 20px;
  --radius-pill: 999px;
  --radius-petal: 120px 20px 120px 20px;
  --control-height: 48px;
  --wrap: 1240px;
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 84px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--white);
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.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: -100px; z-index: 100; background: var(--teal); color: var(--white); padding: 12px 18px; border-radius: var(--radius-pill); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 32px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: var(--section-y); }
.bg-cream { background: var(--cream); }
.bg-cream-soft { background: var(--cream-soft); }

/* Type roles */
.h-header { font-size: var(--fs-header); color: var(--heading); letter-spacing: -0.015em; }
.h-sub { font-size: var(--fs-sub); color: var(--subheading); }
.eyebrow { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); }
.lead { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center p { max-width: 62ch; }
.section-head .h-header { max-width: 18ch; }
.section-head.center .h-header { max-width: 24ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--control-height); padding: 0 28px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-teal { background: var(--teal); border-color: var(--teal); color: var(--on-brand); }
.btn-teal:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn-outline { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--on-brand); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--teal); }
.btn-light:hover { background: var(--cream); border-color: var(--cream); }
.btn-ghost-light { background: rgba(0,0,0,.18); border-color: rgba(255,255,255,.85); color: var(--white); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: var(--white); color: var(--teal); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 0.75rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.text-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(3px); }
.icon { width: 20px; height: 20px; flex: none; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); max-width: calc(1440px + 32px); margin-inline: auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.brand { display: block; flex: none; }
.brand img { height: 40px; width: auto; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-item[data-dd="treatments"] { position: static; }
.header-inner { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: var(--radius-pill);
  font-size: 0.9rem; font-weight: 500; text-decoration: none; color: var(--black); background: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.nav-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-link:hover, .nav-item.is-open > .nav-link { background: var(--coral-wash); }
.nav-link[aria-current="page"] { background: var(--coral); color: var(--white); }
.nav-item.is-open > .nav-link svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-actions .btn { min-height: 46px; padding: 0 22px; }
.header-actions .btn-phone { display: none; width: 46px; padding: 0; }
.utility-bar { background: var(--cream); font-size: .8125rem; font-weight: 500; }
.utility-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; max-width: calc(1440px + 32px); margin-inline: auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.utility-inner p { color: var(--teal); font-weight: 600; letter-spacing: .02em; }
.utility-inner ul { display: flex; gap: 24px; }
.utility-inner li { display: flex; align-items: center; gap: 6px; }
.utility-inner li svg { width: 14px; height: 14px; color: var(--coral-deep); }
.utility-inner li span { color: var(--ink-muted); }
.utility-inner a { font-weight: 700; text-decoration: none; }
.utility-inner a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 260px; padding: 12px;
  background: var(--white); border-radius: var(--radius-card); box-shadow: 0 24px 60px -20px rgba(60, 30, 10, .28), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 12px; font-size: 0.9rem; font-weight: 500; text-decoration: none; }
.dropdown a:hover { background: var(--cream-soft); color: var(--teal); }
.mega { width: min(1160px, calc(100vw - 48px)); padding: 28px; top: calc(100% - 6px); }
.mega-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 20px; }
.mega-col h3 { font-size: 0.7rem; letter-spacing: .1em; white-space: nowrap; text-transform: uppercase; color: var(--teal); padding: 0 14px 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.mega-col h3 a { padding: 0; font-size: inherit; font-weight: 600; display: inline; }
.mega-col h3 a:hover { background: none; text-decoration: underline; }
.mega-col a { padding: 7px 14px; font-size: 0.875rem; }
.mega-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 16px 20px; border-radius: 14px; background: var(--cream); }
.mega-foot p { font-size: .9rem; font-weight: 500; }

.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--teal); background: var(--white); color: var(--teal); align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 70; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.4); opacity: 0; transition: opacity .25s ease; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--white); overflow-y: auto;
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) 20px;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column; gap: 16px;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-top img { height: 34px; width: auto; }
.drawer-nav > li { border-bottom: 1px solid var(--line); }
.drawer-nav a, .drawer-nav summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-weight: 500; text-decoration: none; cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav summary svg { width: 18px; height: 18px; transition: transform .2s; }
.drawer-nav details[open] > summary svg { transform: rotate(180deg); }
.drawer-nav details ul { padding: 0 0 12px 12px; }
.drawer-nav details details summary { font-size: .95rem; color: var(--teal); padding: 10px 4px; }
.drawer-nav details ul a { padding: 9px 4px; font-size: .95rem; font-weight: 400; }
.drawer-actions { display: grid; gap: 10px; margin-top: auto; }

/* ============ Hero ============ */
.hero { position: relative; isolation: isolate; color: var(--white); background: #2b2420; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy h1, .hero-copy .eyebrow { text-shadow: 0 2px 6px rgba(0,0,0,.35), 0 4px 28px rgba(0,0,0,.45); }
.hero-inner { min-height: clamp(560px, 80vh, 820px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 120px clamp(48px, 7vw, 96px); }
.hero-copy { max-width: 820px; display: grid; gap: 24px; }
.hero .eyebrow { color: var(--white); opacity: .92; display: inline-flex; align-items: center; gap: 10px; }
.hero .eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--coral); }
.hero h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.08; color: var(--white); }
.hero-sub { font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); font-weight: 400; max-width: 54ch; opacity: .95; }
.hero-pause {
  position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: 24px; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.7); background: rgba(0,0,0,.25); color: var(--white); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(4px);
}
.hero-pause svg { width: 18px; height: 18px; }
.hero-pause:hover { background: rgba(0,0,0,.45); }

/* ============ Brand band (coral) ============ */
.brand-band { position: relative; background: var(--coral); overflow: hidden; isolation: isolate; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; }
.brand-band .petal-bg { position: absolute; z-index: -1; opacity: .14; width: clamp(280px, 34vw, 520px); pointer-events: none; }
.brand-band .petal-bg.left { left: -10%; top: -8%; }
.brand-band .petal-bg.right { right: -9%; top: 18%; }
.band-head { display: grid; justify-items: center; text-align: center; gap: 14px; }
.band-head img { width: clamp(240px, 30vw, 380px); height: auto; }
.band-head .band-label { color: var(--white); font-size: var(--fs-label); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.band-card {
  margin: clamp(2rem, 1.5rem + 2vw, 3rem) auto 0; max-width: 1140px; background: var(--white); border-radius: var(--radius-card);
  padding: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); display: grid; gap: 28px; justify-items: center; text-align: center; position: relative; z-index: 2;
}
.band-card .lead { max-width: 70ch; }
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; width: 100%; }
.stat { display: grid; gap: 2px; padding: 4px clamp(14px, 2.2vw, 32px); text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat { align-content: center; }
.stat b { font-size: clamp(1.1rem, 1rem + .45vw, 1.4rem); font-weight: 600; color: var(--black); font-variant-numeric: tabular-nums; }
.stat .stars { color: #f5a623; letter-spacing: 2px; font-size: .95rem; line-height: 1; }
.stat-google { display: flex; align-items: center; gap: 10px; }
.g-logo { width: 22px; height: 22px; flex: none; }
.stat span { font-size: var(--fs-small); font-weight: 500; color: var(--ink-muted); }
.band-photo { position: relative; z-index: 1; max-width: 1440px; margin: clamp(32px, 4vw, 64px) auto 0; padding-inline: clamp(0px, 2vw, 32px); }
.band-photo img { display: block; width: 100%; height: auto; }

/* ============ Why choose ============ */
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 5rem); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 20px; }
.why-intro .h-header span { display: block; color: var(--black); }
.why-intro img.why-mark { width: clamp(220px, 26vw, 340px); height: auto; margin-top: 4px; }
.why-count { display: flex; gap: 8px; margin-top: 8px; }
.why-count i { width: 34px; height: 4px; border-radius: 4px; background: rgba(59,112,128,.22); transition: background-color .3s ease; }
.why-count i.on { background: var(--teal); }
.why-cards { display: grid; gap: 28px; }
.why-card { background: var(--white); border-radius: var(--radius-card); overflow: hidden; display: grid; }
.why-card img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; }
.why-card-body { padding: 26px 30px 30px; display: grid; gap: 10px; }
.why-card h3 { font-size: var(--fs-card); color: var(--teal); }

/* ============ Dentists ============ */
.dentists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.dentist {
  position: relative; border-radius: var(--radius-petal); overflow: hidden; aspect-ratio: 4 / 5.2; background: var(--cream);
  color: var(--white); isolation: isolate;
}
.dentist img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; z-index: -2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.dentist-name { position: absolute; left: 16px; right: auto; bottom: 16px; max-width: calc(100% - 32px); padding: 14px 18px 14px; display: grid; gap: 2px; background: var(--white); color: var(--black); border-radius: 16px; transition: opacity .25s ease; }
.dentist-name h3 { font-size: 1.15rem; }
.dentist-name p { font-size: .85rem; font-weight: 600; color: var(--teal); }
.dentist-name .dentist-hint { color: var(--ink-muted); opacity: 1; }
.dentist-toggle { position: absolute; inset: 0; z-index: 3; background: none; border: 0; cursor: pointer; border-radius: inherit; }
.dentist-bio {
  position: absolute; inset: 0; z-index: 2; background: rgba(0, 0, 0, .9); padding: clamp(24px, 2.4vw, 36px);
  display: flex; flex-direction: column; gap: 14px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.dentist-bio::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: url("assets/logo/icon-white.webp") center/contain no-repeat; opacity: .08; pointer-events: none; }
.dentist-bio h3 { font-size: var(--fs-card); color: var(--white); text-align: center; margin-top: clamp(20px, 2vw, 32px); }
.dentist-bio .role { color: #8fc0cd; font-weight: 600; font-size: .95rem; margin-top: -6px; text-align: center; }
.dentist-bio p.bio { font-size: .95rem; line-height: 1.6; margin-top: auto; }
.dentist-bio a { position: relative; z-index: 4; color: var(--white); font-weight: 600; font-size: .9rem; text-underline-offset: 4px; }
.dentist.is-open .dentist-bio { opacity: 1; visibility: visible; transform: none; }
.dentist.is-open .dentist-name { opacity: 0; }
.dentist.is-open .dentist-toggle { inset: 0 0 auto auto; width: 56px; height: 56px; }
@media (hover: hover) and (pointer: fine) {
  .dentist:hover .dentist-bio { opacity: 1; visibility: visible; transform: none; }
  .dentist:hover .dentist-name { opacity: 0; }
  .dentist:hover img { transform: scale(1.04); }
}
.dentist-hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .85; }
.dentist-hint svg { width: 14px; height: 14px; }

/* ============ Treatments ============ */
.tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
.tab {
  position: relative; display: grid; place-items: center; text-align: center; padding: 18px 14px; min-height: 128px;
  border-radius: 18px; border: 0; cursor: pointer; font-weight: 600; font-size: clamp(.95rem, .85rem + .35vw, 1.15rem); line-height: 1.25;
  background: var(--white); color: var(--black); overflow: hidden; isolation: isolate; transition: background-color .25s ease, color .25s ease;
}
.tab .ph { position: absolute; inset: 0; z-index: -1; opacity: .55; }
.tab::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; background: var(--coral); transform: translateX(-50%) rotate(45deg) scale(0); transition: transform .25s ease; }
.tab:hover { background: var(--coral-wash); }
.tab[aria-selected="true"] { background: var(--coral); color: var(--white); overflow: visible; }
.tab[aria-selected="true"] .ph { opacity: 0; }
.tab[aria-selected="true"]::after { transform: translateX(-50%) rotate(45deg) scale(1); }
.tab-count { display: block; font-size: var(--fs-label); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; opacity: .75; }
.panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.panel[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel.is-entering { animation: panelIn .35s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.t-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-card); overflow: hidden; text-decoration: none; transition: transform .25s ease; }
.t-card:hover { transform: translateY(-4px); }
.t-card-body { padding: 24px 24px 18px; display: grid; gap: 8px; align-content: start; flex: 1; }
.t-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--black); }
.t-card p { font-size: .95rem; line-height: 1.6; }
.t-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--teal); font-weight: 600; font-size: .875rem; }
.t-card .more svg { width: 15px; height: 15px; transition: transform .2s; }
.t-card:hover .more svg { transform: translateX(3px); }
.t-img { margin: 0 8px 8px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--cream); }
.t-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.center-cta { display: flex; justify-content: center; margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); }

/* Image placeholders (to be swapped for real photography) */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, #fde3d6 0%, rgba(253,227,214,0) 60%), linear-gradient(160deg, var(--cream) 0%, #fbe1cf 100%);
}
.ph::before { content: ""; position: absolute; width: 58%; aspect-ratio: 1; right: -14%; bottom: -22%; background: url("assets/logo/icon-coral.webp") center/contain no-repeat; opacity: .16; }
.ph span { position: relative; font-size: 0.6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--coral-deep); background: rgba(255,255,255,.7); padding: 6px 12px; border-radius: var(--radius-pill); }

/* ============ Journey ============ */
.journey { position: relative; display: grid; gap: 28px; max-width: 1080px; margin-inline: auto; padding-block: 12px; }
.journey-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; border-radius: 4px; background: repeating-linear-gradient(to bottom, rgba(232,130,92,.35) 0 8px, transparent 8px 16px); }
.journey-line i { position: absolute; inset: 0 0 auto; height: var(--progress, 0%); background: var(--coral); border-radius: 4px; transition: height .15s linear; }
.step { position: relative; display: grid; grid-template-columns: 1fr 88px 1fr; align-items: center; }
.step-node { grid-column: 2; justify-self: center; width: 72px; height: 72px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; z-index: 1; box-shadow: 0 0 0 8px var(--white); transition: transform .4s ease; }
.step-node img { width: 44px; height: 44px; }
.step-card { grid-row: 1; background: var(--cream-soft); border-radius: var(--radius-card); padding: clamp(24px, 2.4vw, 36px); display: grid; gap: 10px; }
.step:nth-child(odd of .step) .step-card { grid-column: 1; }
.step:nth-child(even of .step) .step-card { grid-column: 3; }
.step-card .eyebrow { color: var(--coral-deep); }
.step-card h3 { font-size: var(--fs-sub); color: var(--teal); }

/* ============ Offers ============ */
.offers-photo { position: relative; border-radius: var(--radius-card); overflow: hidden; }
.offers-photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 60% 32%; }
.offers-head { margin-bottom: 28px; }
.offers-head .eyebrow { margin-bottom: 10px; }
.offer-cards { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: -110px clamp(16px, 3vw, 40px) 0; }
.offer { background: var(--white); border-radius: var(--radius-card); padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 60px -36px rgba(60, 30, 10, .35); }
.offer-price { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.offer-price b { font-size: 2.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.offer-price b sup { font-size: .5em; font-weight: 600; vertical-align: super; margin-left: 1px; }
.chip { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--radius-pill); border: 1.5px solid var(--teal); color: var(--teal); font-size: .75rem; font-weight: 600; background: rgba(59,112,128,.08); }
.offer h3 { font-size: 1.25rem; color: var(--black); }
.offer .inc { font-size: .9rem; font-weight: 500; color: var(--ink-muted); }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.45; }
.ticks li:last-child { border-bottom: 0; }
.ticks svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 1px; }
.offer .btn-row { margin-top: auto; padding-top: 6px; }
.offer .btn-row .btn { flex: 1 1 140px; padding: 0 16px; }
.offers-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 32px; margin-top: 28px; padding-inline: clamp(16px, 3vw, 40px); }
.offers-foot p { font-size: .8125rem; color: var(--ink-muted); max-width: 80ch; line-height: 1.55; }

/* ============ Complete care ============ */
.care-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.de-mark { position: relative; }
.de-mark svg { width: 100%; height: auto; display: block; }
.care-copy { display: grid; gap: 22px; }
.care-copy .h-header { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.25rem); }
.care-title { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; }
.badge-25 { flex: none; width: 118px; display: grid; justify-items: center; text-align: center; gap: 2px; padding: 14px 10px 12px; border-radius: 18px; background: var(--white); border: 2px solid var(--cream); box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--line); }
.badge-25 img { width: 26px; height: 26px; }
.badge-25 b { font-size: 2.1rem; line-height: 1; color: var(--coral); font-weight: 700; letter-spacing: -0.02em; }
.badge-25 span { font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; }

/* ============ Smiles ============ */
.smiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.smile { display: grid; gap: 14px; }
.smile-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; border-radius: var(--radius-card); overflow: hidden; }
.smile-pair figure { position: relative; margin: 0; }
.smile-pair img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.smile-pair figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 12px; border-radius: var(--radius-pill); font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: rgba(0,0,0,.6); color: var(--white); backdrop-filter: blur(4px); }
.smile-pair figure.after figcaption { background: var(--teal); }
.disclaimer { margin-top: 26px; font-size: .8125rem; color: var(--ink-muted); text-align: center; max-width: 90ch; margin-inline: auto; line-height: 1.6; }

/* ============ Locations ============ */
.locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.location { background: var(--white); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.map { position: relative; aspect-ratio: 16 / 9; background: #e9e4dc; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  background:
    linear-gradient(0deg, rgba(255,248,236,.55), rgba(255,248,236,.55)),
    repeating-linear-gradient(28deg, transparent 0 46px, rgba(59,112,128,.12) 46px 52px),
    repeating-linear-gradient(-62deg, transparent 0 70px, rgba(59,112,128,.1) 70px 78px),
    #f3ede3;
}
.map-fallback[hidden] { display: none !important; }
.map-fallback .pin { width: 46px; height: 46px; color: var(--coral); margin-inline: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.18)); }
.map-fallback p { font-size: .85rem; font-weight: 500; margin-top: 6px; max-width: 34ch; }
.location-body { padding: 28px 30px 30px; display: grid; gap: 18px; flex: 1; align-content: start; }
.location-body h3 { font-size: var(--fs-sub); color: var(--teal); }
.loc-facts { display: grid; gap: 12px; }
.loc-facts li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .975rem; line-height: 1.5; }
.loc-facts svg { width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }
.loc-facts .tbc { color: var(--ink-muted); font-style: italic; }
.hours { display: grid; gap: 3px; margin: 0; font-size: .95rem; }
.hours div { display: grid; grid-template-columns: minmax(6.2em, 7.5em) auto; gap: 12px; }
.hours dd { white-space: nowrap; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours .closed { color: var(--ink-muted); }
.location .btn-row { margin-top: 4px; }
.loc-direction { font-size: .875rem; }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 24px 4px; cursor: pointer; list-style: none; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); font-weight: 600; line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cream); margin-top: -3px; transition: background-color .2s; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--teal); translate: -50% -50%; transition: transform .25s ease; }
.faq-item summary .plus::after { transform: rotate(90deg); }
.faq-item[open] summary .plus { background: var(--teal); }
.faq-item[open] summary .plus::before, .faq-item[open] summary .plus::after { background: var(--white); }
.faq-item[open] summary .plus::after { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--teal); }
.faq-answer { padding: 0 54px 26px 4px; display: grid; gap: 14px; }
.parking { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.park { background: var(--cream-soft); border-radius: 16px; padding: 18px; display: grid; gap: 6px; align-content: start; font-size: .875rem; line-height: 1.5; }
.park h4 { font-size: .95rem; font-weight: 700; }
.park .addr { color: var(--ink-muted); }
.park dl { margin: 6px 0 0; display: grid; gap: 2px; }
.park dl div { display: flex; gap: 6px; }
.park dt { font-weight: 600; }
.park dd { margin: 0; }
.park a { color: var(--teal); font-weight: 600; text-underline-offset: 3px; margin-top: 4px; }
.faq-more { margin-top: 28px; }

/* ============ Help CTA ============ */
.help { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; isolation: isolate; }
.help picture { grid-column: 2 / 3; grid-row: 1; }
.help img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-petal); }
.help-card { grid-column: 1 / 2; grid-row: 1; margin-right: -120px; position: relative; z-index: 1; background: var(--coral); color: var(--white); border-radius: var(--radius-card); padding: clamp(28px, 3.4vw, 52px); display: grid; gap: 18px; }
.help-card p.more-q { font-weight: 600; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.help-card .h-header { color: var(--white); }
.help-card .lead { font-weight: 400; }
.help-card .btn-teal { background: var(--white); border-color: var(--white); color: var(--black); }
.help-card .btn-teal:hover { background: var(--cream); border-color: var(--cream); color: var(--black); }
.help-card .btn-outline { border-color: var(--white); color: var(--white); }
.help-card .btn-outline:hover { background: var(--white); color: var(--coral-deep); }
.help-card .text-link { color: var(--white); }

/* ============ Partners strip ============ */
.partners { background: var(--coral); border-radius: var(--radius-card); padding: clamp(32px, 4vw, 52px) clamp(20px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.partners::before { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -110px; bottom: -150px; background: url("assets/logo/icon-white.webp") center/contain no-repeat; opacity: .1; }
.partner-col { display: grid; gap: 18px; justify-items: center; text-align: center; align-content: start; }
.partner-col h3 { font-size: clamp(1.15rem, 1rem + .4vw, 1.35rem); color: var(--white); }
.logo-rotator { position: relative; width: 100%; height: 76px; display: grid; place-items: center; }
.logo-rotator img { position: absolute; left: 50%; top: 50%; max-width: 92%; width: auto; transform: translate(-50%, -50%) scale(.96); opacity: 0; transition: opacity .7s ease, transform .7s ease; }
.logo-rotator img.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.logo-slot { width: 100px; height: 52px; border-radius: 12px; border: 1.5px dashed rgba(255,255,255,.75); display: grid; place-items: center; font-size: .625rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: rgba(255,255,255,.08); }

/* ============ Footer ============ */
.site-footer { background: var(--black); color: var(--white); margin-top: clamp(3rem, 2rem + 3vw, 5rem); padding-block: clamp(3.5rem, 3rem + 2vw, 5rem) calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr); gap: 40px 32px; }
.footer-brand { display: grid; gap: 18px; align-content: start; justify-items: start; }
.footer-brand img { width: 210px; height: auto; }
.footer-brand p { font-size: .9rem; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 36ch; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: background-color .2s; }
.socials a:hover { background: var(--coral); }
.socials svg { width: 20px; height: 20px; }
.footer-col h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: .9rem; font-weight: 400; color: rgba(255,255,255,.82); text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-loc { display: grid; gap: 12px; }
.footer-loc + .footer-loc { margin-top: 22px; }
.footer-loc .eyebrow { color: var(--coral); }
.footer-loc li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; font-size: .95rem; font-weight: 500; line-height: 1.4; }
.footer-loc .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--coral); display: grid; place-items: center; }
.footer-loc .ico svg { width: 18px; height: 18px; color: var(--white); }
.footer-loc a { color: var(--white); text-decoration: none; }
.footer-loc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .85rem; color: rgba(255,255,255,.7); }
.footer-base nav { display: flex; gap: 22px; }
.footer-base a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-base a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ============ Mobile action bar ============ */
.action-bar { display: none; }
.call-sheet { display: none; }

/* ============ Motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Preview toast */
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; z-index: 90; background: var(--black); color: var(--white); padding: 12px 20px; border-radius: var(--radius-pill); font-size: .875rem; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1559px) {
  .header-inner { gap: 16px; }
  .nav-link { padding: 9px 9px; font-size: .85rem; }
  .header-actions .btn-book { padding: 0 18px; font-size: .75rem; }
}
@media (max-width: 1319px) {
  .header-actions .btn-phone { display: inline-flex; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { justify-content: space-between; }
}
@media (max-width: 1100px) {
  .panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offer-cards { grid-template-columns: 1fr 1fr; margin-top: -80px; }
  .offer-cards .offer:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .parking { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .utility-bar { display: none; }
  .brand img { height: 34px; }
  .why-grid, .faq-grid, .care-grid { grid-template-columns: 1fr; }
  .why-intro, .faq-intro { position: static; }
  .why-count { display: none; }
  .why-cards { grid-auto-flow: column; grid-auto-columns: min(82%, 420px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r)); padding-inline: var(--gutter-l) var(--gutter-r); scroll-padding-inline: var(--gutter-l); scrollbar-width: thin; }
  .why-card { scroll-snap-align: start; }
  .dentists { grid-template-columns: repeat(3, min(80vw, 330px)); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r)); padding-inline: var(--gutter-l) var(--gutter-r); padding-bottom: 12px; scroll-padding-inline: var(--gutter-l); }
  .dentist { scroll-snap-align: start; --radius-petal: 84px 16px 84px 16px; }
  .dentist-bio { padding: 44px 24px 24px 26px; gap: 10px; }
  .dentist-bio p.bio { font-size: .875rem; display: -webkit-box; -webkit-line-clamp: 8; flex: none; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; }
  .dentist-name { padding: 22px 24px 24px; }
  .tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r)); padding: 0 var(--gutter-r) 14px var(--gutter-l); scroll-padding-inline: var(--gutter-l); }
  .tab { flex: 0 0 170px; min-height: 96px; scroll-snap-align: start; }
  .smiles { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .de-mark { max-width: 520px; width: 100%; margin-inline: auto; }
  .stat + .stat { border-left: 0; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .stat { padding-inline: 4px; justify-items: center; }
  .stat-google { justify-content: center; }
  .journey-line { left: 36px; }
  .step { grid-template-columns: 72px 1fr; gap: 0 20px; align-items: start; }
  .step-node { grid-column: 1; grid-row: 1; width: 64px; height: 64px; justify-self: start; margin-left: 4px; }
  .step-node img { width: 38px; height: 38px; }
  .step:nth-child(odd of .step) .step-card, .step:nth-child(even of .step) .step-card { grid-column: 2; }
  .partners { grid-template-columns: 1fr; }
  .help { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .help picture { grid-column: 1; grid-row: 1; }
  .help img { border-radius: var(--radius-card); }
  .help-card { grid-column: 1; grid-row: 2; margin: -60px 12px 0; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .action-bar .btn { width: 100%; padding: 0 12px; }
  .site-footer { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
  .call-sheet { position: fixed; left: var(--gutter-l); right: var(--gutter-r); bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 56; background: var(--white); border-radius: var(--radius-card); box-shadow: 0 20px 50px -20px rgba(0,0,0,.4), 0 0 0 1px var(--line); padding: 10px; }
  .call-sheet:not([hidden]) { display: grid; gap: 4px; }
  .call-sheet a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; text-decoration: none; font-weight: 600; }
  .call-sheet a span { color: var(--ink-muted); font-weight: 500; font-size: .9rem; }
  .call-sheet a:hover { background: var(--cream-soft); }
}
@media (max-width: 720px) {
  .header-actions .btn-book { display: none; }
  .panel, .panel[data-cols="3"] { grid-template-columns: 1fr; }
  .t-card { display: grid; grid-template-columns: 1fr 112px; }
  .t-img { margin: 8px 8px 8px 0; aspect-ratio: auto; grid-column: 2; grid-row: 1; }
  .t-card-body { padding: 20px 8px 20px 20px; }
  .offers-photo img { aspect-ratio: 4 / 3.4; object-position: 72% 30%; }
  .offer-cards { grid-template-columns: 1fr; margin: -64px 12px 0; }
  .offer-cards .offer:last-child { grid-column: auto; }
  .locations { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-stay { grid-column: 1 / -1; }
  .care-title { flex-direction: column; gap: 18px; }
  .badge-25 { width: auto; grid-auto-flow: column; align-items: center; gap: 10px; padding: 10px 16px; box-shadow: none; }
  .badge-25 span br { display: none; }
  .hero .eyebrow { letter-spacing: .12em; flex-wrap: wrap; }
  .hero .eyebrow::before { display: none; }
  .stats { gap: 10px 0; }
  .stat { gap: 0; }
  .faq-answer { padding-right: 4px; }
  .band-photo { margin-top: 28px; padding-inline: 0; }
  .hero-inner { min-height: 620px; padding-bottom: 72px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section-head { align-items: start; }
}
@media (max-width: 420px) {
  .stat b { font-size: 1.05rem; }
  .footer-grid { gap: 36px 20px; }
  .logo-slot { width: calc((100% - 20px) / 3); max-width: 100px; }
  .logo-slots { width: 100%; flex-wrap: nowrap; }
  .offer .btn-row .btn { flex-basis: 100%; }
}
.loc-facts a { color: inherit; text-underline-offset: 3px; overflow-wrap: anywhere; }
.footer-loc a { overflow-wrap: anywhere; }

/* ================= Inner pages: treatment template ================= */
.crumbs { background: var(--cream); border-bottom: 1px solid rgba(0,0,0,.06); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; padding-block: 14px; font-size: var(--fs-small); font-weight: 500; }
.crumbs li { display: inline-flex; align-items: center; color: var(--ink-muted); }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 12px; border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor; transform: rotate(45deg); opacity: .5; }
.crumbs a { color: var(--teal); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--black); font-weight: 600; }

.tp-hero { background: var(--cream); padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) 0; position: relative; overflow: hidden; }
.tp-hero::before { content: ""; position: absolute; width: 560px; aspect-ratio: 1; left: -220px; bottom: -260px; background: url("assets/logo/icon-coral.webp") center/contain no-repeat; opacity: .07; pointer-events: none; }
.tp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; position: relative; }
.tp-hero-text { display: grid; gap: 18px; align-content: center; }
.tp-hero-text .eyebrow { color: var(--coral-deep); }
.tp-hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.25rem); line-height: 1.05; max-width: 14ch; }
.tp-hero .h-sub { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); line-height: 1.3; font-weight: 600; max-width: 26ch; }
.tp-hero-text p:not(.eyebrow):not(.h-sub) { max-width: 62ch; }
.tp-hero .btn-row { margin-top: 8px; }
.tp-hero-img { position: relative; margin: 0; }
.tp-hero-img > img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; border-radius: var(--radius-petal); }
.tp-hero-img .badge-25 { position: absolute; left: -28px; bottom: 36px; }
.tp-facts { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); background: var(--white); border-radius: var(--radius-card) var(--radius-card) 0 0; position: relative; }
.tp-facts li { display: grid; gap: 4px; padding: clamp(18px, 1.6vw, 26px) clamp(16px, 2vw, 30px); }
.tp-facts li + li { border-left: 1px solid var(--line); }
.tp-facts b { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 700; color: var(--coral); line-height: 1.2; }
.tp-facts span { font-size: var(--fs-small); font-weight: 500; color: var(--ink-muted); }

.tp-toc { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.tp-toc .wrap { display: flex; align-items: center; gap: 20px; }
.tp-toc span { flex: none; font-size: var(--fs-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--coral-deep); }
.tp-toc ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.tp-toc ul::-webkit-scrollbar { display: none; }
.tp-toc a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: var(--radius-pill); font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--black); }
.tp-toc a:hover, .tp-toc a.is-active { background: var(--coral-wash); color: var(--coral-deep); }

.tp-head { display: grid; justify-content: start; gap: 18px; }
.tp-head .h-header, .tp-split .h-header, .tp-tips .h-header, body.inner .faq-intro .h-header { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); max-width: 22ch; }
.tp-head .lead { max-width: 70ch; }

.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feat { background: var(--cream-soft); border-radius: var(--radius-card); padding: clamp(24px, 2.2vw, 32px); display: grid; gap: 12px; align-content: start; position: relative; overflow: hidden; }
.feat.accent { border-radius: 64px 20px 20px 20px; }
.feat-num { font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--coral); letter-spacing: -.03em; }
.feat h3 { font-size: var(--fs-card); color: var(--teal); line-height: 1.25; }
.feat p { font-size: .95rem; line-height: 1.6; }

.tp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.tp-split.rev .tp-split-img { order: -1; }
.tp-split-text { display: grid; gap: 18px; }
.tp-split-text p { max-width: 60ch; }
.tp-split-img { margin: 0; }
.tp-split-img img { width: 100%; border-radius: var(--radius-petal); aspect-ratio: 4 / 3; object-fit: cover; }

.tp-cond.has-fig { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
.cond-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cond-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cond-list .tick { width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: var(--white); display: grid; place-items: center; }
.cond-list .tick svg { width: 20px; height: 20px; }
.cond-list h3 { font-size: 1.1rem; color: var(--black); margin-bottom: 4px; }
.cond-list p { font-size: .975rem; line-height: 1.6; }
.tp-ba { margin: 0; position: sticky; top: calc(var(--header-h) + 80px); display: grid; gap: 12px; }
.tp-ba img { width: 100%; border-radius: var(--radius-card); }
.tp-ba figcaption { font-size: .8125rem; line-height: 1.55; color: var(--ink-muted); }

.cmp { background: var(--white); border-radius: var(--radius-card); overflow: hidden; }
.cmp-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.1fr); }
.cmp-row > div { padding: 20px clamp(18px, 2vw, 30px); font-size: .975rem; line-height: 1.55; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-headrow > div { font-size: var(--fs-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-block: 18px; color: var(--ink-muted); }
.cmp-headrow .cmp-a { background: var(--coral); color: var(--white); }
.cmp-feat { font-weight: 700; color: var(--teal); }
.cmp-a { background: var(--coral-wash); }
.cmp-a strong { color: var(--coral-deep); }
.cmp-lbl { display: none; }

.tsteps { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 20px; counter-reset: s; position: relative; }
.tsteps::before { content: ""; position: absolute; left: 28px; right: calc((100% - (var(--n) - 1) * 20px) / var(--n) - 28px); top: 28px; height: 2px; background: repeating-linear-gradient(to right, rgba(232,130,92,.5) 0 8px, transparent 8px 16px); }
.tstep { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 18px; }
.tstep-n { width: 56px; height: 56px; border-radius: 50%; background: var(--coral); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; box-shadow: 0 0 0 8px var(--white); position: relative; }
.tstep > div { background: var(--cream-soft); border-radius: var(--radius-card); padding: clamp(22px, 2vw, 30px); display: grid; gap: 10px; height: 100%; align-content: start; }
.tstep .eyebrow { color: var(--coral-deep); letter-spacing: .12em; }
.tstep h3 { font-size: var(--fs-card); color: var(--teal); line-height: 1.25; }
.tstep p:not(.eyebrow) { font-size: .95rem; line-height: 1.6; }

.tp-tips.has-img { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.tp-tips-head { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 80px); }
.tp-tips-img { width: 100%; border-radius: var(--radius-petal); aspect-ratio: 4 / 3; object-fit: cover; margin-top: 10px; }
.tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tip { background: var(--white); border-radius: var(--radius-card); padding: clamp(22px, 2vw, 30px); display: grid; gap: 10px; align-content: start; }
.tip > svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--coral-wash); color: var(--coral-deep); }
.tip h3 { font-size: 1.1rem; color: var(--teal); }
.tip p { font-size: .95rem; line-height: 1.6; }
body.inner .faq-intro .btn { margin-top: 6px; }
.panel[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel[data-cols="2"] .t-card { display: grid; grid-template-columns: 1fr minmax(160px, 42%); }
.panel[data-cols="2"] .t-img { margin: 8px 8px 8px 0; aspect-ratio: auto; grid-column: 2; grid-row: 1; min-height: 200px; }
.tp-rel-head .h-header { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); max-width: 22ch; }

@media (max-width: 1100px) {
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tsteps::before { display: none; }
}
@media (max-width: 960px) {
  .tp-hero-grid, .tp-split, .tp-cond.has-fig, .tp-tips.has-img { grid-template-columns: 1fr; }
  .tp-split.rev .tp-split-img { order: 0; }
  .tp-hero-img { max-width: 560px; }
  .tp-hero-img .badge-25 { left: 16px; bottom: 16px; }
  .tp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-facts li:nth-child(3):last-child { grid-column: 1 / -1; }
  .tp-facts li:nth-child(3) { border-left: 0; }
  .tp-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tp-ba, .tp-tips-head { position: static; }
  .tp-ba { max-width: 520px; }
}
@media (max-width: 720px) {
  .feats, .tips, .tsteps { grid-template-columns: 1fr; }
  .tp-toc span { display: none; }
  .cmp-headrow { display: none; }
  .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-feat { grid-column: 1 / -1; padding-bottom: 6px !important; }
  .cmp-row > div { padding: 14px 16px; font-size: .9rem; }
  .cmp-lbl { display: block; font-size: .625rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; color: var(--ink-muted); }
  .cmp-a .cmp-lbl { color: var(--coral-deep); }
  .tstep { grid-template-columns: 56px 1fr; gap: 16px; }
  .panel[data-cols="2"] { grid-template-columns: 1fr; }
}

/* ---- Inner pages: higher-contrast, mostly-white rhythm ---- */
body.inner .tp-sec + .tp-sec { border-top: 1px solid #ece7e1; }
body.inner .feat, body.inner .tstep > div, body.inner .tip { background: var(--white); border: 1px solid #e4ddd5; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -20px rgba(0,0,0,.18); }
body.inner .feat p, body.inner .tstep p:not(.eyebrow), body.inner .tip p, body.inner .cond-list p, body.inner .cmp-row > div, body.inner .faq-answer, body.inner .tp-split-text p, body.inner .lead { color: #111; font-weight: 400; }
body.inner .cmp { border: 1px solid #e4ddd5; }
body.inner .cmp-a { background: #fdf1eb; }
body.inner .t-card { border: 1px solid #e4ddd5; }
body.inner .tp-ba figcaption, body.inner .tp-facts span { color: #333; }
.tp-hero { background: var(--cream); padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.tp-facts { border: 1px solid #e4ddd5; border-radius: var(--radius-card); box-shadow: 0 12px 32px -22px rgba(0,0,0,.25); }

/* ---- Treatment closing call to action ---- */
.tp-cta-sec { padding-top: 0; }
.tp-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; background: var(--teal); color: var(--white); border-radius: 120px 24px 120px 24px; padding: clamp(32px, 5vw, 72px); }
.tp-cta-petal { position: absolute; width: 420px; right: -120px; top: -140px; opacity: .08; pointer-events: none; }
.tp-cta-text { display: grid; gap: 16px; position: relative; }
.tp-cta .eyebrow { color: #cfe6ec; }
.tp-cta h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.08; color: var(--white); max-width: 16ch; }
.tp-cta-text > p:not(.eyebrow) { max-width: 52ch; font-weight: 400; color: rgba(255,255,255,.94); }
.tp-cta .btn-row { margin-top: 6px; }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--cream); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.85); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.tp-cta-offers { display: grid; gap: 12px; position: relative; }
.cta-offers-label { font-size: var(--fs-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #cfe6ec; }
.cta-offer { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: var(--white); color: var(--black); border-radius: 18px; padding: 18px 20px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.cta-offer:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(0,0,0,.45); }
.cta-price { font-size: 2.4rem; font-weight: 700; color: var(--coral); line-height: 1; letter-spacing: -.02em; }
.cta-price sup { font-size: .5em; vertical-align: .9em; margin-right: 1px; }
.cta-offer-body { display: grid; gap: 2px; }
.cta-offer-body b { font-weight: 700; font-size: 1.05rem; }
.cta-offer-body span { font-size: .85rem; color: #333; line-height: 1.45; font-weight: 400; }
.cta-offer > svg { width: 20px; height: 20px; color: var(--teal); }
.cta-note { font-size: .78rem; color: rgba(255,255,255,.85); font-weight: 400; }
.cta-note a { color: inherit; }
@media (max-width: 960px) { .tp-cta { grid-template-columns: 1fr; border-radius: 72px 20px 72px 20px; } }
@media (max-width: 720px) { .tp-cta { padding: 40px 22px 28px; } .cta-price { font-size: 2rem; } .cta-offer { gap: 12px; padding: 16px; } }
/* A couple of beige accent cards for warmth */
body.inner .feat.accent, body.inner .tstep.accent > div { background: var(--cream); border-color: var(--cream); box-shadow: none; }
body.inner .cmp-row > .cmp-feat { color: var(--teal); font-weight: 700; }
body.inner .cmp-headrow > div { color: #333; font-weight: 700; }
body.inner .cmp-headrow > .cmp-a { background: var(--coral); color: var(--white); }

/* ---- Inner page blocks (generalised) ---- */
.feats { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.feat.plain { gap: 10px; }
.feat-tag { font-size: var(--fs-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-deep); }
.tp-sub { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 600; line-height: 1.3; }
.tp-outro { margin-top: 28px; max-width: 75ch; color: #111; font-weight: 400; }
.tp-prose .tp-split-text { max-width: 860px; }
.cond-list.compact li { padding: 14px 0; grid-template-columns: 32px 1fr; gap: 14px; }
.cond-list.compact .tick { width: 32px; height: 32px; }
.cond-list.compact .tick svg { width: 16px; height: 16px; }
.cond-list.compact h3 { font-size: 1.02rem; }
.tp-split-text .cond-list { margin-top: 6px; }
.tp-split-img figcaption { font-size: .8125rem; color: #333; margin-top: 10px; line-height: 1.5; }
.grps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grp { background: var(--white); border: 1px solid #e4ddd5; border-radius: var(--radius-card); padding: clamp(24px, 2.2vw, 32px); display: grid; gap: 12px; align-content: start; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -20px rgba(0,0,0,.18); }
.grp h3 { font-size: var(--fs-card); color: var(--teal); line-height: 1.25; }
.grp ul { display: grid; gap: 10px; }
.grp li { position: relative; padding-left: 18px; font-size: .95rem; line-height: 1.6; color: #111; font-weight: 400; }
.grp li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.grp li b { font-weight: 700; color: var(--black); }
.grp-note { font-size: .9rem; color: #333; }
.quiz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: q; }
.quiz li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; background: var(--white); border: 1px solid #e4ddd5; border-radius: 16px; padding: 16px 18px; font-weight: 500; color: #111; line-height: 1.45; }
.qnum { width: 36px; height: 36px; border-radius: 50%; background: var(--coral-wash); color: var(--coral-deep); display: grid; place-items: center; font-weight: 700; }
.callout { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; background: var(--cream); border-radius: 20px 64px 20px 64px; padding: clamp(22px, 2.4vw, 34px) clamp(22px, 3vw, 44px); }
.callout p { max-width: 70ch; color: #111; font-weight: 500; }
.callout.big { margin-top: 0; }
.callout.big .h-header { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: 10px; }
.callout.big > div { display: grid; gap: 10px; }
.cc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cc-col { border-radius: var(--radius-card); padding: clamp(24px, 2.4vw, 34px); border: 1px solid #e4ddd5; background: var(--white); }
.cc-col h3 { font-size: var(--fs-card); margin-bottom: 14px; color: var(--teal); }
.cc-col ul { display: grid; gap: 12px; }
.cc-col li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; color: #111; font-weight: 400; line-height: 1.55; }
.cc-col li > span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.cc-col li > span svg { width: 15px; height: 15px; }
.cc-col .yes { background: var(--coral); color: var(--white); }
.cc-col .no { background: #ece7e1; color: #555; }
.cmp-row { grid-template-columns: minmax(0, .8fr) repeat(var(--cols, 2), minmax(0, 1.1fr)); }
@media (max-width: 1100px) { .quiz { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .quiz, .cc { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
}

.tp-results { grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); }
.tp-results .smile-pair img { aspect-ratio: var(--ratio, 4 / 5); object-fit: cover; }
.smile-cap { font-size: .9rem; font-weight: 600; color: var(--teal); margin-top: 10px; }
@media (max-width: 720px) { .tp-results { grid-template-columns: 1fr; } }

.tp-split.natural .tp-split-img img { aspect-ratio: auto; object-fit: contain; border-radius: var(--radius-card); }
.tsteps.five { gap: 16px; }
.tsteps.five .tstep > div { padding: 20px; }
.tsteps.five .tstep h3 { font-size: 1.1rem; }
.tsteps:not([style*="--n:4"]):not([style*="--n:5"]):not([style*="--n:2"])::before { display: none; }
.tp-tips:not(.has-img) .tp-tips-head { margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); position: static; }
.tp-tips:not(.has-img) .tips { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (max-width: 1240px) { .tsteps.five { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tsteps.five::before { display: none; } }
@media (max-width: 1100px) { .tsteps.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .tsteps.five { grid-template-columns: 1fr; } }

/* ---- People / team ---- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.people.big { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.person { background: var(--white); border: 1px solid #e4ddd5; border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -20px rgba(0,0,0,.18); }
.person-img { aspect-ratio: 4 / 4.3; background: var(--cream); overflow: hidden; }
.person-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.person-body { padding: 22px 24px 26px; display: grid; gap: 8px; align-content: start; }
.person-body h3 { font-size: var(--fs-card); color: var(--black); }
.person-role { color: var(--teal); font-weight: 600; font-size: .95rem; }
.person-quals { font-size: .85rem; font-weight: 600; color: var(--coral-deep); letter-spacing: .02em; }
.person-body p:not(.person-role):not(.person-quals) { font-size: .93rem; line-height: 1.6; color: #111; font-weight: 400; }
.person-body .text-link { margin-top: 6px; }
.person:first-child.accent-first { background: var(--cream); }

/* ---- Link tiles ---- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; display: block; border-radius: var(--radius-petal); overflow: hidden; text-decoration: none; aspect-ratio: 4 / 3.6; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; z-index: -1; }
.tile:hover img { transform: scale(1.04); }
.tile-body { position: absolute; left: 14px; right: 14px; bottom: 14px; background: var(--white); border-radius: 16px; padding: 18px 20px; display: grid; gap: 4px; }
.tile-body b { font-size: 1.15rem; color: var(--black); }
.tile-body > span:not(.more) { font-size: .9rem; color: #333; font-weight: 400; line-height: 1.45; }
.tile-body .more { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 600; font-size: .875rem; margin-top: 4px; }
.tile-body .more svg { width: 15px; height: 15px; }

/* ---- Enquiry form ---- */
.tp-form-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.enquiry { background: var(--white); border: 1px solid #e4ddd5; border-radius: var(--radius-card); padding: clamp(24px, 3vw, 40px); display: grid; gap: 16px; box-shadow: 0 12px 32px -22px rgba(0,0,0,.25); }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .875rem; font-weight: 600; color: var(--black); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 1rem; color: var(--black); background: var(--white); border: 1.5px solid #d9d1c8; border-radius: 12px; padding: 12px 14px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(59,112,128,.18); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.enquiry .btn { justify-self: start; }
.form-note { font-size: .8125rem; color: #333; }
.form-status { font-weight: 600; color: var(--teal-deep); margin: 0; }
.form-status:empty { display: none; }
.enquiry .hp { display: none; }
.form-status { font-weight: 600; color: var(--teal); }

/* ---- Portrait hero (bios) ---- */
.tp-hero-img.portrait > img { aspect-ratio: 4 / 4.6; object-position: 50% 20%; }

@media (max-width: 960px) {
  .people.big, .tiles { grid-template-columns: 1fr 1fr; }
  .tp-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .people.big, .tiles, .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) { .panel[data-cols="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .panel[data-cols="4"] { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .cmp[style*="--cols:1"] .cmp-headrow { display: grid; }
  .cmp[style*="--cols:1"] .cmp-row { grid-template-columns: 1.4fr 1fr; }
  .cmp[style*="--cols:1"] .cmp-feat { grid-column: auto; padding-bottom: 14px !important; }
  .cmp[style*="--cols:1"] .cmp-lbl { display: none; }
}

/* ---------- Booking clinic chooser ---------- */
.book-dialog { border: 0; padding: 0; border-radius: var(--radius-card); max-width: min(760px, calc(100vw - 32px)); width: 100%; background: var(--white); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0,0,0,.45); }
.book-dialog::backdrop { background: rgba(20, 30, 35, .55); }
.bk-inner { position: relative; padding: clamp(24px, 4vw, 44px); }
.bk-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); }
.bk-close:hover { background: var(--cream-soft); }
.bk-title { color: var(--heading); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.2; margin: .25rem 2.5rem .5rem 0; }
.bk-lead { margin: 0 0 1.25rem; color: #222; }
.bk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bk-card { border: 1px solid #e4ddd5; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--white); }
.bk-card:first-child { background: var(--cream-soft); }
.bk-card h3 { color: var(--subheading); font-size: 1.25rem; margin: 0; }
.bk-addr { display: flex; gap: 8px; margin: 0; font-size: .9375rem; }
.bk-addr .icon { width: 18px; height: 18px; flex: none; color: var(--coral); margin-top: 3px; }
.bk-note { margin: 0 0 6px; font-size: .9375rem; color: #333; }
.bk-card .btn { align-self: stretch; text-align: center; justify-content: center; }
.bk-call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; color: var(--teal); text-decoration: none; min-height: 44px; }
.bk-call .icon { width: 18px; height: 18px; }
.bk-small { margin: 1.25rem 0 0; font-size: .875rem; color: #333; }
@media (max-width: 600px) { .bk-grid { grid-template-columns: 1fr; } .book-dialog { max-height: calc(100dvh - 32px); overflow: auto; } }

/* ---------- Latest news: cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid #e4ddd5; border-radius: var(--radius-card); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(0,0,0,.35); }
.post-img { aspect-ratio: 16 / 10; background: var(--cream-soft); overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body h3 { color: var(--heading); font-size: var(--fs-card); line-height: 1.3; margin: 0; }
.post-body p { margin: 0; color: #333; font-size: .9375rem; }
.post-body .more { margin-top: auto; padding-top: 6px; color: var(--teal); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.post-body .more .icon { width: 16px; height: 16px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .8125rem; color: #444; margin: 0; }
.post-topic { background: var(--coral-wash); color: var(--coral-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .6875rem; padding: 4px 10px; border-radius: var(--radius-pill); }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Article + legal pages ---------- */
.post-narrow { max-width: 780px; }
.post-wide { max-width: 1040px; }
.post-head { padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0 0; }
.post-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.12; margin: .35rem 0 1rem; }
.post-head .post-meta { font-size: .9rem; gap: 6px 18px; }
.post-head .post-meta > * + *::before { content: "·"; margin-right: 18px; color: var(--coral); }
.post-hero { margin: 2rem 0 0; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 16 / 8; background: var(--cream-soft); }
.post-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body-text { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); font-size: 1.0625rem; line-height: 1.75; }
.post-body-text h2 { color: var(--subheading); font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); line-height: 1.25; margin: 2.2rem 0 .6rem; }
.post-body-text h3 { color: var(--subheading); font-size: 1.2rem; margin: 1.6rem 0 .4rem; }
.post-body-text p, .post-body-text ul { margin: 0 0 1.1rem; }
.post-body-text ul { padding-left: 1.25rem; }
.post-body-text li { margin-bottom: .45rem; }
.post-body-text li::marker { color: var(--coral); }
.post-body-text a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.post-body-text .lead { font-size: 1.1875rem; color: #111; }
.post-body-text .disclaimer { font-size: .875rem; color: #444; font-style: italic; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }
.post-aside { margin-top: 2.25rem; background: var(--cream-soft); border-left: 4px solid var(--coral); border-radius: 0 16px 16px 0; padding: 18px 22px; }
.post-aside p { margin: 0; }
.legal .post-body-text { padding-top: 1.5rem; }

/* ---------- Featured media ---------- */
.media-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px; max-width: calc(var(--n, 4) * 420px); }
.media-card { background: var(--white); border: 1px solid #e4ddd5; border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.media-img { display: block; aspect-ratio: 3 / 4; background: var(--cream-soft); overflow: hidden; }
.media-img { padding: 16px; }
.media-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.media-ph { display: grid; place-items: center; }
.media-ph img { width: 56px; height: 56px; object-fit: contain; opacity: .6; }
.media-body { padding: 16px 18px 20px; }
.media-body h3 { font-size: 1.05rem; color: var(--heading); margin: .5rem 0 0; line-height: 1.3; }
@media (max-width: 620px) { .media-grid { grid-template-columns: 1fr; } }

.post-body-text ul { list-style: disc; }
.post-fig { float: right; width: min(260px, 42%); margin: .3rem 0 1rem 1.5rem; }
.post-fig img { width: 100%; height: auto; border-radius: 12px; display: block; }
.post-fig figcaption { font-size: .8125rem; color: #444; margin-top: .4rem; line-height: 1.4; }
.post-body-text::after { content: ""; display: block; clear: both; }
/* first article is featured full width on the news index */
.post-grid.lead-first > .post-card:first-child { grid-column: 1 / -1; flex-direction: row; }
.post-grid.lead-first > .post-card:first-child .post-img { flex: 0 0 52%; aspect-ratio: auto; min-height: 320px; }
.post-grid.lead-first > .post-card:first-child .post-body { padding: clamp(24px, 3vw, 40px); justify-content: center; }
.post-grid.lead-first > .post-card:first-child h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
@media (max-width: 760px) { .post-grid.lead-first > .post-card:first-child { flex-direction: column; } .post-grid.lead-first > .post-card:first-child .post-img { min-height: 0; aspect-ratio: 16 / 10; } }
.post-grid.lead-first > .post-card:first-child .more { margin-top: 10px; }

/* ---------- Centred text-only hero (Smile Gallery) ---------- */
.tp-hero-center .tp-hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.tp-hero-center .tp-hero-text { max-width: 820px; padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.tp-hero-center .h-header { font-size: clamp(3rem, 2rem + 4.5vw, 5.5rem); line-height: 1.04; max-width: none; margin-inline: auto; }
.tp-hero-center .h-sub { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); max-width: none; margin-inline: auto; }
.tp-hero-center .tp-hero-text p { margin-inline: auto; }
.tp-hero-center .btn-row { justify-content: center; }
