:root {
  color-scheme: light;
  --ivory: #f3f0e4;
  --ink: #181b17;
  --green: #153e2c;
  --line: #bcb8aa;
  --surface: #fffdf7;
  --surface-alt: #e9e8db;
  --muted: #55584f;
  --focus: #ac8350;
}

.dental {
  --ivory: #fbf6ef;
  --green: #813e32;
  --line: #cbbdb0;
  --ink: #342c28;
  --surface: #fffdfa;
  --surface-alt: #f0e6db;
  --muted: #6c4f44;
  --focus: #724600;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

.brand,
h1,
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
}

.nowrap-inline {
  white-space: nowrap;
}

section[id],
#enquiry,
#callback {
  scroll-margin-top: 18px;
}

/* Focus visibility */
.options input:focus-visible + span,
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Header & Navigation */
.header {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(16px, 3%, 48px);
  font-size: 16px;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  position: relative;
  z-index: 30;
}

.header a,
footer a {
  color: inherit;
  text-decoration: none;
}

.brand {
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.header-nav,
.header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 34px);
}

.header-nav a,
.header nav a,
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  white-space: nowrap;
}

.header-nav a:hover,
.header nav a:hover,
footer a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header .preset-link {
  border-left: 1px solid var(--line);
  padding-left: 20px;
  font-weight: 500;
}

.header-mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.preset-pill {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.nav-toggle-line {
  width: 18px;
  height: 1.75px;
  background: currentColor;
  border-radius: 1px;
  display: block;
}

/* Slide-Over Mobile Drawer */
.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(24, 27, 23, 0.48);
  backdrop-filter: blur(2px);
}

.dental .nav-drawer-backdrop {
  background: rgba(52, 44, 40, 0.48);
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: min(86vw, 320px);
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--ivory);
  color: var(--ink);
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.18);
  padding: 16px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.nav-drawer-title,
.nav-drawer-brand {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  margin: 0;
}

.nav-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-drawer-links,
.nav-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 4px;
  color: inherit;
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
}

.nav-drawer a:hover {
  color: var(--green);
}

.nav-drawer .preset-link,
.nav-drawer .nav-drawer-cta {
  margin-top: 10px;
  padding: 12px 16px;
  min-height: 48px;
  border: 1px solid var(--green);
  border-radius: 5px;
  background: var(--green);
  color: #ffffff;
  justify-content: center;
  text-align: center;
  font-weight: 500;
}

.nav-drawer .preset-link:hover,
.nav-drawer .nav-drawer-cta:hover {
  color: #ffffff;
  opacity: 0.94;
}

.nav-drawer-meta {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Aangan Hero + Qualifier Split Layout */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(390px, 460px);
  align-items: start;
}

.hero {
  position: relative;
  height: calc(100vh - 74px);
  min-height: 620px;
  max-height: 880px;
  min-width: 0;
  overflow: hidden;
  background: #28251a;
  color: #ffffff;
}

.photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 16, 12, 0.06) 0%,
    rgba(17, 16, 12, 0.24) 38%,
    rgba(14, 13, 10, 0.86) 100%
  );
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  z-index: 1;
  left: clamp(20px, 4.5%, 56px);
  right: clamp(20px, 5%, 56px);
  bottom: clamp(24px, 5%, 52px);
}

h1 {
  font-size: clamp(38px, 4.4vw, 68px);
  line-height: 1.01;
  margin: 0;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-copy h1 {
  max-width: 15ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hero-copy p {
  font-size: clamp(18px, 1.65vw, 23px);
  margin: 16px 0 18px;
  color: rgba(255, 255, 255, 0.95);
}

.hero-meta,
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.hero-meta span,
.hero-pills span,
.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.25;
  background: rgba(24, 27, 23, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.hero-button,
button,
.link-button {
  font: inherit;
  cursor: pointer;
  min-height: 44px;
}

.hero-button,
.primary,
.secondary,
.link-button {
  min-height: 48px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 5px;
  background: rgba(21, 62, 44, 0.72);
  color: #ffffff;
  text-decoration: none;
  padding: 0 24px;
  font-weight: 500;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.hero-button:hover {
  background: var(--green);
  border-color: #ffffff;
}

/* Right Qualifier Panel */
.panel {
  padding: clamp(28px, 3vw, 42px) clamp(20px, 3vw, 44px) 42px;
  min-height: calc(100vh - 74px);
  min-width: 0;
  background: var(--ivory);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.panel.is-highlighted {
  box-shadow: inset 0 0 0 2px var(--green);
  background: var(--surface);
}

.demo-label {
  display: inline-block;
  color: var(--green);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 20px;
  line-height: 1.4;
}

.dental .demo-label {
  color: #704c3f;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: 0.05em;
  color: var(--green);
}

h2 {
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.05;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}

fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 18px 0;
  min-width: 0;
}

legend {
  padding: 0;
  float: left;
  width: 100%;
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 500;
}

fieldset::after {
  content: "";
  display: block;
  clear: both;
}

.options {
  display: grid;
  gap: 8px;
  width: 100%;
}

.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.options label {
  position: relative;
  min-width: 0;
}

.options input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.options span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 10px;
  min-height: 44px;
  height: 100%;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.3;
  background: var(--surface);
  border: 1px solid #969286;
  border-radius: 5px;
  cursor: pointer;
  overflow-wrap: break-word;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.dental .options span {
  border-color: var(--line);
}

.options.three span {
  padding: 8px 6px;
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.25;
}

.options label:hover input:not(:checked) + span {
  border-color: var(--green);
}

.options input:checked + span {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
  font-weight: 500;
}

.slots {
  grid-template-columns: 1fr;
  gap: 10px;
}

.slots span {
  font-size: 15px;
  padding: 10px 14px;
}

/* Optional Text Fields & Inline Error */
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #969286;
  border-radius: 5px;
  transition: border-color 0.15s ease;
}

.dental .field input {
  border-color: var(--line);
}

.field input::placeholder {
  color: #6d6f67;
  opacity: 1;
}

.field input[aria-invalid="true"] {
  border-color: #9b2226;
}

.form-error {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 5px;
  border: 1px solid #9b2226;
  border-left: 4px solid #9b2226;
  background: #fdf2f2;
  color: #6e1418;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

/* Buttons */
.primary,
.secondary {
  border-radius: 5px;
  padding: 12px 18px;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.primary {
  color: #ffffff;
  background: var(--green);
  border: 1px solid var(--green);
}

.primary:hover {
  filter: brightness(1.08);
}

.secondary {
  color: var(--ink);
  background: transparent;
  border: 1px solid #85877e;
}

.secondary:hover {
  border-color: var(--ink);
  background: var(--surface);
}

.full {
  width: 100%;
}

#next {
  margin-top: 24px;
}

.actions {
  display: grid;
  grid-template-columns: minmax(84px, 1fr) minmax(0, 2fr);
  gap: 10px;
  margin-top: 22px;
}

.section-block {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.section-block p {
  margin: 0;
  line-height: 1.5;
}

.field-title {
  font-weight: 600;
  margin-bottom: 5px !important;
}

.small-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* Summary & WhatsApp Alert Preview */
.summary-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.summary-list dt {
  color: var(--muted);
  flex: 0 1 auto;
  min-width: 0;
  max-width: 56%;
  overflow-wrap: break-word;
}

.summary-list dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.alert-preview {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  padding: 18px 20px;
  margin: 24px 0 16px;
}

.alert-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.alert-preview h3 {
  font-size: 17px;
  margin: 0;
}

.priority-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #e6efe9;
  color: #153e2c;
  border: 1px solid #b8d0c1;
}

.dental .priority-badge {
  background: #f3e4df;
  color: #6f2e22;
  border-color: #d7b7ae;
}

.priority-badge.is-high,
.priority-badge[data-level="high"],
.priority-badge.is-medium,
.priority-badge[data-level="medium"] {
  background: #f6ecd8;
  color: #5c3d0c;
  border-color: #d6ba86;
}

.priority-badge.is-urgent,
.priority-badge[data-level="urgent"] {
  background: #fbe8e6;
  color: #7c231c;
  border-color: #dfb0aa;
}

.alert-preview p {
  line-height: 1.55;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}

.alert-preview .small-note {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
  margin-bottom: 0;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 16px;
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.copy-btn:hover {
  background: var(--green);
  color: #ffffff;
}

.copy-status {
  font-size: 13px;
  color: var(--green);
  margin-top: 8px;
}

.copy-status:empty {
  display: none;
}

/* Snapshot Stats Strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.stat-cell {
  padding: clamp(20px, 3vw, 34px) clamp(16px, 2.5vw, 32px);
  border-right: 1px solid var(--line);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-cell:last-child {
  border-right: 0;
}

.stat-value {
  font-family: Georgia, serif;
  font-size: clamp(20px, 2.4vw, 36px);
  line-height: 1.1;
  color: var(--green);
  overflow-wrap: anywhere;
}

.stat-label {
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

/* Conversion Section Bands */
.section-band {
  padding: clamp(44px, 6.5vw, 92px) clamp(16px, 5vw, 84px);
  border-top: 1px solid var(--line);
}

.section-band.alt,
.section-band--alt {
  background: var(--surface-alt);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 64ch;
  margin-bottom: clamp(24px, 3.5vw, 44px);
}

.section-head .eyebrow {
  margin: 0;
}

.section-head h2 {
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.06;
  margin: 0;
}

.section-head p:not(.eyebrow) {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: var(--muted);
}

/* Configuration Cards (Aangan) */
.config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
}

.config-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  min-width: 0;
}

.config-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.config-body {
  padding: clamp(20px, 2.5vw, 30px);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.config-top,
.config-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.config-card h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(24px, 2.2vw, 32px);
  margin: 0;
  line-height: 1.15;
}

.config-area,
.config-size {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

.config-card p {
  margin: 0;
  line-height: 1.55;
  color: var(--muted);
}

.config-specs {
  list-style: none;
  padding: 12px 0 0;
  margin: 0 0 6px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--ink);
}

.config-specs li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.config-specs li::before {
  content: "—";
  color: var(--green);
  flex-shrink: 0;
}

.config-card button,
.config-cta {
  margin-top: auto;
  width: 100%;
  min-height: 48px;
}

/* Gallery Grid (Aangan 4-col / Maple 3-col) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.dental .gallery-grid,
.gallery-grid.cols-3,
.gallery-grid:has(> .gallery-card:nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  min-width: 0;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card figcaption,
.gallery-caption {
  padding: 14px 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}

.gallery-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--surface-alt);
  color: var(--green);
  border: 1px solid var(--line);
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.step-card {
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.step-number,
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  font-family: Georgia, serif;
  font-size: 15px;
  flex-shrink: 0;
}

.step-card h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 24px);
  margin: 4px 0 0;
  line-height: 1.2;
}

.step-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* Connectivity & Clinic Facts Grids */
.connectivity-grid,
.clinic-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.landmark-card,
.clinic-fact-card,
.fact-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.landmark-time {
  font-family: Georgia, serif;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--green);
  line-height: 1.15;
}

.landmark-name,
.landmark-card h3 {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.landmark-note,
.landmark-card p,
.fact-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.fact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green);
  font-weight: 600;
}

.fact-value {
  font-family: Georgia, serif;
  font-size: clamp(19px, 1.8vw, 23px);
  color: var(--ink);
  line-height: 1.25;
}

/* Maple Split Hero, Treatments & Booking */
.clinic-hero {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  min-height: clamp(500px, 42vw, 640px);
  background: #ebdbcf;
}

.clinic-intro {
  align-self: center;
  padding: clamp(30px, 5vw, 84px);
  min-width: 0;
}

.clinic-intro h1 {
  font-size: clamp(36px, 4.4vw, 72px);
  max-width: 13ch;
  line-height: 1.02;
}

.clinic-intro > p:not(.eyebrow) {
  max-width: 40ch;
  line-height: 1.6;
  margin: 16px 0 20px;
}

.clinic-intro .hours {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.clinic-points,
.hero-points {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
}

.clinic-points li,
.hero-points li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.clinic-points li::before,
.hero-points li::before {
  content: "•";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
  margin-top: 6px;
}

.clinic-hero figure {
  position: relative;
  margin: 0;
  min-height: 320px;
  overflow: hidden;
}

.clinic-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.clinic-booking {
  padding: clamp(44px, 6.5vw, 92px) clamp(16px, 5vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(24px, 3.8vw, 68px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.clinic-booking > div:first-child h2 {
  font-size: clamp(34px, 4vw, 56px);
}

.clinic-booking p {
  line-height: 1.55;
}

.callback-card {
  padding: clamp(20px, 3vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 0;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.clinic-booking .treatment-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.treatment-card {
  padding: clamp(16px, 1.8vw, 20px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.treatment-card.is-active,
.treatment-card.active,
.treatment-card[aria-current="true"] {
  border-color: var(--green);
  background: #fff8f5;
  box-shadow: inset 0 0 0 1px var(--green);
}

.treatment-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
}

.treatment-card h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(20px, 1.7vw, 24px);
  margin: 0;
  line-height: 1.2;
}

.treatment-duration,
.treatment-hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.treatment-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.treatment-card button {
  margin-top: auto;
  width: 100%;
  min-height: 44px;
  font-size: 13.5px;
  line-height: 1.3;
  padding: 10px 12px;
  white-space: normal;
  text-align: center;
}

.topic-link {
  display: block;
  width: 100%;
  padding: 14px 0;
  min-height: 44px;
  text-align: left;
  background: transparent;
  color: var(--green);
  border: 0;
  border-top: 1px solid var(--line);
  font-size: 18px;
}

#topic-links {
  margin-top: 22px;
}

/* Legacy Editorial Support */
.editorial {
  padding: clamp(44px, 6.5vw, 92px) clamp(16px, 5vw, 84px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 84px);
  align-items: center;
  background: var(--surface-alt);
}

figure {
  margin: 0;
}

.editorial figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

figcaption,
.hours {
  font-size: 14px;
  margin-top: 10px;
}

.choice-line {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

.choice-line h3 {
  font: 400 28px Georgia, serif;
  margin: 0;
}

.choice-line p {
  margin: 6px 0 0;
}

.choice-line button {
  background: transparent;
  color: var(--green);
  border: 0;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Guide Accordion */
.guide {
  padding: clamp(44px, 6.5vw, 92px) clamp(16px, 5vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: clamp(24px, 5vw, 84px);
  border-top: 1px solid var(--line);
  align-items: start;
}

.guide h2 {
  font-size: clamp(32px, 3.8vw, 54px);
  margin: 0;
}

.dental .guide {
  background: var(--surface-alt);
}

.questions details {
  border-top: 1px solid var(--line);
}

.questions details:last-child {
  border-bottom: 1px solid var(--line);
}

.questions summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  min-height: 44px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
}

.questions summary::-webkit-details-marker {
  display: none;
}

.questions summary::after {
  content: "+";
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--green);
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.questions details[open] summary::after {
  content: "−";
}

.questions p {
  margin: 0 0 20px;
  max-width: 60ch;
  line-height: 1.6;
  color: var(--muted);
}

/* Footer */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 22px clamp(16px, 5vw, 84px);
  background: #193b2b;
  color: #ffffff;
  font-size: 15px;
}

.dental footer {
  background: #59392f;
}

/* Breakpoints: Tablet & Small Desktop */
@media (max-width: 1120px) {
  .clinic-booking {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 1079px) {
  .gallery-grid,
  .treatment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .connectivity-grid,
  .clinic-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .hero {
    height: clamp(440px, 68vw, 560px);
    min-height: 420px;
    max-height: 580px;
  }

  .panel {
    min-height: 0;
    padding: 32px clamp(16px, 4vw, 36px) 42px;
    border-top: 1px solid var(--line);
  }

  .options.three span {
    font-size: 14px;
    padding: 10px 8px;
  }
}

@media (max-width: 899px) {
  .header {
    height: 64px;
    padding: 0 16px;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .brand {
    font-size: clamp(20px, 5.4vw, 26px);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header .header-nav,
  .header > nav {
    display: none;
  }

  .header-mobile-actions {
    display: flex;
  }

  .preset-pill,
  .nav-toggle-btn {
    display: inline-flex;
  }

  .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-cell:nth-child(2n) {
    border-right: 0;
  }

  .stat-cell:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .clinic-booking,
  .editorial,
  .guide {
    grid-template-columns: 1fr;
  }

  .dental .gallery-grid,
  .gallery-grid.cols-3,
  .gallery-grid:has(> .gallery-card:nth-child(3):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 849px) {
  .clinic-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .clinic-intro {
    width: 100%;
    padding: 28px 20px 24px;
  }

  .clinic-hero figure {
    width: 100%;
    height: clamp(240px, 62vw, 380px);
    min-height: 240px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .config-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .gallery-grid,
  .dental .gallery-grid,
  .gallery-grid.cols-3,
  .gallery-grid:has(> .gallery-card:nth-child(3):last-child),
  .treatment-grid,
  .clinic-booking .treatment-grid,
  .connectivity-grid,
  .clinic-facts-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile 320px–520px: Zero Squished or Orphan Option Chips */
@media (max-width: 520px) {
  .hero {
    height: auto;
    min-height: clamp(390px, 108vw, 500px);
    max-height: none;
    display: flex;
    align-items: flex-end;
  }

  .hero-copy {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    padding: 72px 16px 22px;
  }

  h1 {
    font-size: clamp(32px, 9.2vw, 44px);
  }

  .hero-copy p {
    font-size: 17px;
    margin: 12px 0 14px;
  }

  .panel {
    padding: 26px 16px 38px;
  }

  .callback-card {
    padding: 20px 16px;
  }

  .options.three,
  .three {
    grid-template-columns: 1fr;
  }

  .options.three span,
  .three span {
    font-size: 14px;
    padding: 10px 14px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .summary-list div {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .summary-list dt {
    max-width: 100%;
  }

  .summary-list dd {
    text-align: left;
  }

  .choice-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  footer a {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0 14px;
    gap: 8px;
  }

  .brand {
    font-size: clamp(16px, 4.4vw, 18.5px);
  }

  .header-mobile-actions {
    gap: 6px;
  }

  .preset-pill {
    padding: 0 10px;
    font-size: 12px;
  }
}

@media (max-width: 375px) {
  .header {
    padding: 0 12px;
    gap: 6px;
  }

  .brand {
    font-size: clamp(14.5px, 4.3vw, 17px);
  }

  .preset-pill {
    padding: 0 8px;
    max-width: 98px;
    font-size: 11.5px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .stat-cell {
    padding: 18px 14px;
  }
}

@media (max-width: 339px) {
  .options.two,
  .two {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
