/* Carling Harmony Dental: warm typography, natural colour, clear actions. */
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --primary: #244b3e;
  --primary-hover: #17382d;
  --primary-light: #47654f;
  --primary-subtle: #edf0e5;
  --accent-mint: #56683e;
  --accent-mint-soft: #e9eddd;
  --accent-gold: #93612e;
  --accent-wood: #c79659;
  --emergency: #964b3d;
  --emergency-soft: #f3e4dc;
  --bg-main: #faf6ee;
  --bg-surface: #fffdf7;
  --bg-subtle: #f1e6d6;
  --border: #ddd2bd;
  --border-light: #eee5d7;
  --text-primary: #243d35;
  --text-secondary: #526159;
  --text-muted: #5d695f;
  --text-white: #fffefb;
  --font-heading: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --header-height: 92px;
  --action-bar-space: 0px;
  --trans-fast: 180ms ease;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  scroll-padding-bottom: calc(var(--action-bar-space) + 24px);
  -webkit-font-smoothing: antialiased;
}
body {
  background: var(--bg-main);
  color: var(--text-primary);
  font: 400 16px/1.65 var(--font-body);
  padding-bottom: var(--action-bar-space);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
picture {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  color: inherit;
  cursor: inherit;
}
button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  opacity: 0.65;
  cursor: inherit;
}
/* Brand cursor: the clinic logo replaces the arrow and hand pointers site-wide */
html,
a,
summary,
label,
select,
input[type="checkbox"],
input[type="radio"],
[role="button"] {
  cursor: url("../images/cursor-logo.png") 12 12, auto;
  cursor: -webkit-image-set(url("../images/cursor-logo.png") 1x, url("../images/cursor-logo@2x.png") 2x) 12 12, auto;
  cursor: image-set(url("../images/cursor-logo.png") 1x, url("../images/cursor-logo@2x.png") 2x) 12 12, auto;
}
input:not([type="checkbox"], [type="radio"], [type="range"], [type="button"], [type="submit"], [type="reset"]),
textarea {
  cursor: text;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #b37a37;
  outline-offset: 5px;
}
input:focus-visible,
select:focus-visible {
  outline-offset: 2px;
}
::selection {
  background: #e0e8d3;
  color: #18362e;
}
h1,
h2,
h3,
h4 {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.12;
}
h2 {
  font-size: clamp(2.3rem, 3.8vw, 3.5rem);
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.6rem;
  letter-spacing: -0.015em;
}
p {
  text-wrap: pretty;
}
em {
  font-family: var(--font-heading);
  font-weight: 400;
}
.container {
  width: min(100% - 96px, 1280px);
  margin-inline: auto;
}
.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--primary);
  color: white;
  transform: translateY(-150%);
  border-radius: 8px;
}
.skip-link:focus {
  transform: translateY(0);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 14px 25px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.9rem;
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
  transition:
    background var(--trans-fast),
    color var(--trans-fast),
    transform var(--trans-fast);
}
.btn .icon {
  width: 19px;
  height: 19px;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary,
.btn-mint {
  background: var(--primary);
  color: var(--text-white);
}
.btn-primary:hover,
.btn-mint:hover {
  background: var(--primary-hover);
}
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary-subtle);
}
.btn-light {
  background: #f3e6d7;
  color: var(--primary);
}
.btn-light:hover {
  background: #fff6e9;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 4px;
}
.badge-mint {
  background: var(--accent-mint-soft);
  color: var(--primary);
}
.section-subtitle,
.hero-kicker {
  display: block;
  font: 600 0.71rem/1.6 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--primary-light);
}
.section-subtitle {
  margin-bottom: 17px;
}
.section-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  column-gap: 80px;
  margin-bottom: 48px;
}
.section-head .section-subtitle {
  grid-column: 1/-1;
}
.section-head .section-title {
  grid-column: 1;
}
.section-head .section-desc {
  grid-column: 2;
  align-self: end;
  max-width: 455px;
  justify-self: end;
  color: var(--text-secondary);
  font-size: 1rem;
  padding-bottom: 5px;
}
.services-section,
.insurance-section,
.booking-section,
.team-section,
.reviews-section,
.faq-section,
.location-section,
.smile-gallery-section {
  padding: 100px 0;
}

/* Navigation remains within reach at every scroll position. */
.top-urgent-bar {
  background: var(--primary);
  color: #f6f4e9;
  font-size: 0.73rem;
}
.urgent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 36px;
}
.welcome-message,
.top-address,
.urgent-link,
.urgent-link span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c7d6a3;
}
.top-address {
  color: #e1e8de;
}
.top-address .icon,
.urgent-link .icon {
  width: 13px;
  height: 13px;
}
.urgent-link span {
  border-bottom: 1px solid #90a698;
  font-weight: 600;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-main);
  color: var(--text-primary);
  border-bottom: 1px solid transparent;
  transition: background var(--trans-fast), color var(--trans-fast);
}
.site-header.scrolled,
.site-header.menu-open {
  background: var(--bg-main);
  color: var(--text-primary);
  border-color: var(--border);
  box-shadow: 0 4px 20px #25483f08;
}
.site-header .resource-menu {
  color: var(--text-primary);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  height: var(--header-height);
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-symbol {
  display: inline-flex;
  width: 64px;
  height: 70px;
  flex-shrink: 0;
  color: var(--primary);
}
.logo-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font: 400 1.6rem/1.05 var(--font-heading);
  letter-spacing: -0.055em;
}
.logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  font-weight: 500;
  margin-top: 7px;
  color: var(--primary-light);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 27px;
  list-style: none;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 14px 0;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: inherit;
}
.nav-link .icon {
  width: 13px;
  height: 13px;
}
.nav-link:hover {
  color: #6c744c;
}
.nav-resources {
  position: relative;
}
.nav-resources summary {
  list-style: none;
}
.nav-resources summary::-webkit-details-marker {
  display: none;
}
.nav-resources details[open] summary .icon {
  transform: rotate(180deg);
}
.resource-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: -20px;
  min-width: 225px;
  padding: 10px;
  list-style: none;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 14px 35px #25483f12;
}
.resource-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
}
.resource-menu a:hover {
  background: var(--primary-subtle);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}
.nav-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.nav-call-btn .icon {
  width: 16px;
  height: 16px;
}
/* English / French toggle; stays visible at every width. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background var(--trans-fast), border-color var(--trans-fast);
}
.lang-switch:hover,
.lang-switch:focus-visible {
  background: var(--primary-subtle);
  border-color: var(--primary-light);
}
.header-book {
  min-height: 46px;
  padding: 12px 19px;
  font-size: 0.8rem;
  gap: 16px;
}
.mobile-menu-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 0 8px 10px;
  border: 0;
  background: transparent;
  font-size: 0.8rem;
}

/* Full-screen welcome, with a still frame when video cannot play. */
.intro-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--primary) url("../images/intro-poster.jpg") center / cover no-repeat;
  color: #fff;
}
.intro-video,
.intro-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.intro-video {
  object-fit: cover;
  object-position: center;
}
.intro-shade {
  background: linear-gradient(90deg, rgba(15, 37, 30, 0.74) 0%, rgba(15, 37, 30, 0.50) 45%, rgba(15, 37, 30, 0.18) 100%);
}
.intro-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: calc(var(--header-height) + 36px);
  padding-bottom: 100px;
}
.intro-content h1 {
  max-width: 850px;
  margin-inline: auto;
  color: #fff;
  font: 400 clamp(1.25rem, 2vw, 1.75rem)/1.35 var(--font-body);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.intro-content h1 span {
  display: block;
  max-width: 850px;
  margin-top: 14px;
  font-size: clamp(4rem, 7.3vw, 7.25rem);
  line-height: 1.03;
  letter-spacing: -0.065em;
}
.intro-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 35px;
}
.intro-book-label-mobile {
  display: none;
}
.intro-book-btn,
.intro-call-btn {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(8px);
  font-size: 1rem;
}
.intro-book-btn:hover,
.intro-call-btn:hover {
  background: #fff;
  color: var(--primary);
}
.intro-call-btn {
  gap: 12px;
}
.intro-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 0.9rem;
}
.intro-cdcp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15, 37, 30, 0.45);
  backdrop-filter: blur(6px);
}
.intro-cdcp .icon {
  width: 18px;
  height: 18px;
}
.intro-directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-underline-offset: 4px;
}
.intro-directions .icon {
  width: 18px;
  height: 18px;
}
/* Live open/closed state from initClinicHours; the dot colour follows data-state. */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.open-status::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}
.open-status[data-state="open"]::before {
  background: #4f9d5b;
  box-shadow: 0 0 0 3px #4f9d5b33;
  opacity: 1;
}
.open-status[data-state="closing"]::before,
.open-status[data-state="appointment"]::before,
.open-status[data-state="holiday"]::before {
  background: #c9892f;
  opacity: 1;
}
.intro-info .open-status {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 37, 30, 0.45);
  backdrop-filter: blur(6px);
}
.intro-info .open-status[data-state="open"]::before {
  background: #8fd89a;
  box-shadow: 0 0 0 3px #8fd89a40;
}
.intro-scroll {
  position: absolute;
  z-index: 1;
  bottom: 30px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 2px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.75rem;
  white-space: nowrap;
}
.intro-scroll span {
  font-size: 1.8rem;
  line-height: 1;
}
.intro-lang {
  position: absolute;
  z-index: 2;
  top: calc(16px + env(safe-area-inset-top, 0px));
  right: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
  transition: background var(--trans-fast), border-color var(--trans-fast);
}
.intro-lang:hover,
.intro-lang:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}
/* First impression. */
.hero-section {
  padding: 44px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
}
.hero-content {
  padding: 20px 0 40px;
  animation: arrive 650ms ease both;
}
.hero-title {
  font-size: clamp(3.5rem, 5.1vw, 4.7rem);
  line-height: 1.055;
  letter-spacing: -0.04em;
}
.hero-kicker {
  margin-bottom: 25px;
  font-size: 0.69rem;
  letter-spacing: 0.13em;
}
.hero-title em {
  color: #6b7b56;
}
.hero-desc {
  max-width: 470px;
  margin: 27px 0 30px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}
.hero-cta-group .btn {
  min-height: 56px;
}
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid #a1ada1;
  font-size: 0.9rem;
}
.hero-phone .icon {
  width: 17px;
  height: 17px;
}
.hero-phone:hover {
  border-color: var(--primary);
}
.hero-reassurance {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 18px;
}
.hero-reassurance .icon {
  width: 15px;
  height: 15px;
}
.hero-review {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 42px;
}
.review-score {
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.055em;
}
.review-score > span {
  font-size: 0.85rem;
  letter-spacing: 0;
  color: var(--text-muted);
  margin-left: 5px;
}
.hero-review-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--border);
  padding-left: 20px;
  font-size: 0.7rem;
  color: var(--text-secondary);
}
.stars {
  color: var(--accent-gold);
  font-size: 0.9rem;
  letter-spacing: 3px;
}
.hero-review-detail > span:last-child {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-review-detail .icon {
  width: 13px;
  height: 13px;
}
.hero-visual-card {
  position: relative;
  padding-bottom: 25px;
  animation: arrive 800ms ease both;
}
.hero-img-wrap {
  overflow: hidden;
  border-radius: 8px;
  background: #e2e5d9;
}
.hero-img {
  width: 100%;
  height: auto;
  /* The photo's own ratio, whichever srcset size loads (they round differently). */
  aspect-ratio: 1148 / 1370;
  object-fit: cover;
}
.hero-image-note {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 0;
}
.hero-image-note > .icon {
  width: 29px;
  height: 29px;
  color: #73805a;
}
.hero-image-note strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.hero-image-note span > span {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 3px;
}
.photo-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}
.quick-triage-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 55px;
  padding: 30px 0;
  border-block: 1px solid var(--border);
}
.triage-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 24px;
  border-right: 1px solid var(--border);
}
.triage-item:first-child {
  padding-left: 0;
}
.triage-item:last-child {
  padding-right: 0;
  border: 0;
}
.triage-icon {
  width: 27px;
  height: 27px;
  color: #637757;
}
.triage-content {
  flex: 1;
}
.triage-content strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
}
.triage-content > span {
  display: block;
  margin-top: 3px;
  font-size: 0.68rem;
  color: var(--text-muted);
}
.triage-arrow {
  width: 15px;
  height: 15px;
  transition: transform var(--trans-fast);
}
.triage-item:hover .triage-arrow {
  transform: translateX(4px);
}
/* Urgent care opens to two choices instead of following a single link. */
.triage-urgent {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}
.triage-urgent-toggle {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}
.triage-urgent .triage-arrow {
  transition: transform var(--trans-fast);
}
.triage-urgent:hover .triage-arrow {
  transform: translateY(2px);
}
.triage-urgent-toggle[aria-expanded="true"] .triage-arrow {
  transform: rotate(180deg);
}
.triage-urgent .triage-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  /* Line the choices up under the text, past the icon. */
  padding-left: 40px;
}
.triage-urgent .triage-options[hidden] {
  display: none;
}
.triage-options a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 4px 14px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-surface);
  transition: background var(--trans-fast), color var(--trans-fast);
}
.triage-options a:first-child {
  color: var(--text-white);
  background: var(--primary);
}
.triage-options a:hover,
.triage-options a:focus-visible {
  color: var(--text-white);
  background: var(--primary-hover);
}
.triage-options .icon {
  width: 14px;
  height: 14px;
}

/* Treatments and technology. */
.services-section {
  padding-bottom: 80px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
}
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.service-icon-box {
  margin-bottom: 24px;
}
.care-icon {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: url("#care-icon-palette");
  mix-blend-mode: multiply;
}
/* The video icons have the brand palette baked in, and their posters are the
   animation's first frame, so rest and motion line up without scaling. */
.care-icon-video {
  filter: none;
}
/* A last card alone on its row spans the full width instead of sitting orphaned. */
@media (min-width: 801px) {
  .services-grid > .service-card:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
  .services-grid > .service-card:last-child:nth-child(3n + 1) > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 36px;
    max-width: 820px;
  }
  .services-grid > .service-card:last-child:nth-child(3n + 1) .service-icon-box {
    grid-row: 1 / span 3;
    margin-bottom: 0;
  }
  .services-grid > .service-card:last-child:nth-child(3n + 1) h3 {
    max-width: none;
  }
  .services-grid > .service-card:last-child:nth-child(3n + 1) p {
    margin-bottom: 0;
  }
  .services-grid > .service-card:last-child:nth-child(3n + 1) .service-link {
    flex: 0 0 min(30%, 380px);
  }
}
/* The aligner clip is a wide 2:1 arch, so it gets the same height at double width. */
.care-icon-wide {
  width: 192px;
}
.service-category {
  display: block;
  font-size: 0.61rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 13px;
}
.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  max-width: 270px;
}
.service-card p {
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.service-perks {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}
.service-details summary {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 44px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: inherit;
  list-style: none;
}
.service-details summary::-webkit-details-marker {
  display: none;
}
.service-details summary .icon {
  width: 14px;
  height: 14px;
}
.service-details[open] summary .icon {
  transform: rotate(180deg);
}
/* Keep the interface lively when someone uses a control. */
@media (prefers-reduced-motion: no-preference) {
  .nav-call-btn .icon,
  .urgent-link .icon,
  .top-address .icon,
  .hero-phone .icon,
  .hero-review .icon,
  .btn .icon,
  .service-link .icon,
  .triage-icon,
  .faq-icon-arrow .icon,
  .mobile-menu-toggle .icon {
    transition: transform 220ms ease;
  }
  .nav-call-btn:hover .icon,
  .nav-call-btn:focus-visible .icon,
  .urgent-link:hover .icon,
  .urgent-link:focus-visible .icon,
  .hero-review:hover .icon,
  .hero-review:focus-visible .icon,
  .btn:hover .icon,
  .btn:focus-visible .icon,
  .service-link:hover .icon,
  .service-link:focus-visible .icon {
    transform: translateX(4px);
  }
  .top-address:hover .icon,
  .top-address:focus-visible .icon,
  .hero-phone:hover .icon,
  .hero-phone:focus-visible .icon,
  .triage-item:hover .triage-icon,
  .triage-item:focus-visible .triage-icon,
  .booking-contact:hover > .icon,
  .booking-contact:focus-visible > .icon,
  .mobile-menu-toggle:hover .icon,
  .mobile-menu-toggle:focus-visible .icon {
    transform: translateY(-3px);
  }
  .faq-header:hover .faq-icon-arrow .icon,
  .faq-header:focus-visible .faq-icon-arrow .icon {
    transform: scale(1.12);
  }
}
.service-details .service-perks {
  padding: 10px 0;
}
.service-perks i,
.credentials-list i,
.benefit-list i {
  margin-right: 7px;
  font-style: normal;
  color: var(--accent-mint);
}
.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  font-size: 0.76rem;
  font-weight: 600;
}
.service-link .icon {
  width: 18px;
  height: 18px;
}
/* Jump links for the swipeable treatment cards; phones only (see the phone layer). */
.service-chips {
  display: none;
}
.technology-section {
  padding: 100px 0 90px;
  background: var(--bg-surface);
}
.technology-head {
  margin-bottom: 44px;
}
.technology-head em {
  color: var(--accent-mint);
}
.technology-carousel {
  position: relative;
}
.technology-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}
.technology-viewport::-webkit-scrollbar {
  display: none;
}
.technology-track {
  display: flex;
}
.technology-slide {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  min-height: 450px;
  padding: 0 78px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.technology-slide[aria-hidden="true"] {
  pointer-events: none;
}
.technology-slide-content {
  max-width: 460px;
}
.technology-slide > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}
.technology-number {
  display: grid;
  width: 60px;
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 52px;
  border-radius: 50%;
  background: #dfe7ed;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.technology-slide h3 {
  max-width: 440px;
  font-size: clamp(2.25rem, 3.4vw, 3.5rem);
  margin-bottom: 22px;
}
.technology-slide p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
  max-width: 440px;
}
.technology-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
}
.technology-link:hover {
  color: var(--accent-gold);
}
.technology-carousel-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-primary);
  transition:
    background var(--trans-fast),
    color var(--trans-fast),
    opacity var(--trans-fast);
}
.technology-carousel-button:hover:not(:disabled) {
  background: var(--primary-subtle);
  color: var(--primary);
}
.technology-carousel-button:disabled {
  opacity: 0.32;
  cursor: inherit;
}
.technology-carousel-button .icon {
  width: 27px;
  height: 27px;
}
.technology-carousel-previous {
  left: 4px;
}
.technology-carousel-previous .icon {
  transform: rotate(180deg);
}
.technology-carousel-next {
  right: 4px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.technology-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 32px;
  padding: 26px 0 0;
  border-top: 1px solid var(--border);
}
.technology-footer p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}
.technology-footer .btn {
  flex: 0 0 auto;
}
.technology-image-note {
  margin-top: 15px;
  color: var(--text-muted);
  font-size: 0.7rem;
}
@media (prefers-reduced-motion: reduce) {
  .technology-viewport {
    scroll-behavior: auto;
  }
}

/* The people behind the care. */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.team-img-wrap {
  overflow: hidden;
  border-radius: 8px;
  background: var(--primary-subtle);
}
.team-img {
  display: block;
  width: 100%;
  aspect-ratio: 0.95;
  height: auto;
  object-fit: cover;
  object-position: center top;
}
.team-photo-caption {
  padding: 20px 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.team-photo-caption span:first-child {
  font: 400 1.1rem var(--font-heading);
}
.team-photo-caption span:last-child {
  font-size: 0.5rem;
  letter-spacing: 0.09em;
  text-align: right;
}
.team-bio .badge,
.location-details > .badge {
  padding: 0;
  background: none;
  letter-spacing: 0.13em;
  margin-bottom: 20px;
  font-size: 0.65rem;
}
.team-bio h2 {
  margin-bottom: 22px;
}
.team-bio p {
  font-size: 0.91rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.team-bio .doctor-names {
  font-weight: 600;
  font-size: 0.87rem;
  color: var(--primary);
}
.credentials-list {
  list-style: none;
  margin: 25px 0 30px;
  display: grid;
  gap: 9px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}
.smile-gallery-section {
  background: var(--primary-subtle);
}
.smile-gallery-section > .container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: center;
}
.smile-gallery-section .section-head {
  display: block;
  margin: 0;
}
.smile-gallery-section .section-desc {
  margin-top: 24px;
}
.ba-wrapper {
  min-width: 0;
}
.ba-slider-container {
  position: relative;
  height: 390px;
  border-radius: 12px;
  overflow: hidden;
  background: #dedbcf;
  user-select: none;
  /* Vertical swipes still scroll the page; sideways drags move the slider. */
  touch-action: pan-y;
}
.ba-image,
.ba-image-after-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ba-image {
  object-fit: cover;
  object-position: 50% 46%;
}
.ba-image-after-wrap {
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fffdf5;
  z-index: 3;
  transform: translateX(-50%);
}
.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fffdf5;
  color: var(--primary);
  font-size: 1.5rem;
}
.ba-tag {
  position: absolute;
  bottom: 18px;
  padding: 5px 11px;
  border-radius: 4px;
  font-size: 0.62rem;
  background: #fffdf5;
  color: var(--primary);
  z-index: 3;
}
.ba-tag-before {
  right: 18px;
}
.ba-tag-after {
  left: 18px;
}
.ba-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
/* With script, drags anywhere on the photo move the slider (see
   initBeforeAfterSlider); the range input stays for keyboard users. */
.ba-js {
  cursor: ew-resize;
}
.ba-js .ba-range {
  pointer-events: none;
}
.ba-slider-container:focus-within {
  outline: 3px solid #b37a37;
  outline-offset: 5px;
}
.ba-slider-container:focus-within .ba-handle-btn {
  box-shadow: 0 0 0 4px #b37a37;
}
.ba-caption-box {
  margin-top: 22px;
}
.ba-caption-box h4 {
  font: 600 0.8rem/1.6 var(--font-body);
  margin-bottom: 7px;
}
.ba-caption-box p {
  font-size: 0.73rem;
  color: var(--text-secondary);
}
.ba-caption-box .slider-hint {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 0.64rem;
}

/* Coverage, booking, and fee tools. */
.insurance-section {
  padding: 72px 0 64px;
  background-color: #e9ede5;
  background-image:
    radial-gradient(ellipse at 14% 8%, #f8f8f0a8 0, transparent 42%),
    linear-gradient(135deg, #e9ede5 0%, #e3e9e2 100%);
}
.insurance-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  border-top: 1px solid #53655b75;
  border-bottom: 1px solid #53655b75;
  padding: 42px 0 48px;
}
.insurance-intro {
  padding: 0 54px 0 0;
}
.insurance-intro .section-subtitle {
  margin-bottom: 14px;
}
.insurance-title {
  margin-bottom: 12px;
  color: #182a25;
  font-size: clamp(2.7rem, 4vw, 3.35rem);
  letter-spacing: -0.035em;
}
.insurance-intro p {
  max-width: 580px;
  color: #36483f;
  font-size: 0.91rem;
  line-height: 1.7;
}
.insurance-intro p + p {
  margin-top: 16px;
}
.insurance-provider-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2px;
  list-style: none;
  padding: 2px 24px 0 32px;
  border-left: 1px solid #53655b75;
  color: #1e302a;
  font: italic 400 1.18rem/1.43 var(--font-heading);
}
.insurance-checker {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 42px;
  padding-top: 30px;
}
.insurance-checker-copy h3 {
  margin-bottom: 7px;
  font-size: 1.65rem;
}
.insurance-checker-copy p {
  color: var(--text-secondary);
  font-size: 0.83rem;
}
.insurance-checker .checker-form-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px 18px;
  padding: 0;
  background: transparent;
}
.insurance-checker .form-group {
  min-width: 0;
  margin: 0;
}
.insurance-checker .form-label {
  font-size: 0.72rem;
}
.insurance-checker .form-input {
  background-color: #f8f8f3;
}
.insurance-checker #check-insurance-btn {
  width: auto;
  min-height: 48px;
  padding: 12px 18px;
  font-size: 0.8rem;
}
.insurance-checker .coverage-result,
.insurance-checker .insurance-schedule {
  grid-column: 1 / -1;
}
.checker-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 85px;
  padding: 58px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
}
.checker-info .badge {
  margin-bottom: 25px;
}
.checker-info p {
  margin: 24px 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.benefit-list {
  list-style: none;
  display: grid;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.checker-form-box {
  background: var(--bg-surface);
  border-radius: 12px;
  padding: 34px;
}
.form-title {
  font-size: 1.8rem;
  margin-bottom: 9px;
}
.form-subtitle {
  color: var(--text-muted);
  font-size: 0.81rem;
  margin-bottom: 26px;
}
.form-group {
  margin-bottom: 22px;
}
.form-label {
  display: block;
  font-size: 0.77rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}
.form-input,
.form-select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #cdd3c6;
  border-radius: 6px;
  padding: 12px;
  font-size: 0.86rem;
  color: var(--text-primary);
  background: var(--bg-surface);
}
.form-input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}
.form-select {
  padding-right: 24px;
  text-overflow: ellipsis;
}
#check-insurance-btn {
  width: 100%;
}
.coverage-result {
  display: none;
  background: var(--primary-subtle);
  border-radius: 8px;
  padding: 18px;
  margin-top: 18px;
  font-size: 0.85rem;
}
.coverage-result p {
  margin-top: 8px;
  font-size: 0.8rem;
}
.insurance-schedule {
  margin-top: 20px;
  padding: 24px 20px;
  background: #f5e7d1;
  border: 1px solid var(--accent-wood);
  border-radius: 12px;
}
.insurance-schedule h4 {
  font: 400 1.5rem/1.2 var(--font-heading);
  margin-bottom: 10px;
}
.insurance-schedule p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-bottom: 18px;
}
.insurance-schedule-btn {
  width: 100%;
  min-height: 64px;
  font-size: 1rem;
}
.booking-section {
  background: #f0e5d9;
}
.booking-section > .container {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
  align-items: start;
}
.booking-section .section-head {
  display: block;
  margin: 25px 0 0;
}
.booking-section .section-desc {
  margin-top: 25px;
}
.booking-contact {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 35px;
  padding-top: 30px;
  border-top: 1px solid #cecbbd;
  width: 100%;
  font-size: 0.75rem;
}
.booking-contact > .icon {
  width: 27px;
  height: 27px;
}
.booking-contact strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 3px;
}
.booking-panel {
  min-width: 0;
  background: var(--bg-surface);
  padding: 38px;
  border-radius: 16px;
}
.booking-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-mint);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.booking-panel-badge .icon {
  width: 18px;
  height: 18px;
}
.booking-panel h3 {
  margin: 14px 0 10px;
  font: 400 clamp(1.5rem, 2.4vw, 1.95rem) / 1.2 var(--font-heading);
}
.booking-panel > p:not([class]) {
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.booking-steps {
  list-style: none;
  counter-reset: booking-step;
  margin: 26px 0 30px;
  border-top: 1px solid var(--border);
}
.booking-steps li {
  counter-increment: booking-step;
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 16px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.booking-steps li::before {
  content: counter(booking-step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-white);
  font-size: 0.8rem;
}
.booking-steps strong {
  font-size: 0.92rem;
  font-weight: 600;
}
.booking-steps span {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}
.booking-panel-cta {
  width: 100%;
  min-height: 60px;
  font-size: 1rem;
}
.booking-panel-lang {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: center;
}
.booking-panel-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--emergency-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}
.booking-panel-note .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--emergency);
  stroke-width: 2.2;
}
.booking-panel-note a {
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}

/* Online booking dialog: the EngageB app in an iframe (see initOnlineBooking). */
html.booking-open {
  overflow: hidden;
}
.booking-dialog {
  width: min(1100px, calc(100% - 48px));
  height: min(780px, calc(100dvh - 48px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: 0 30px 80px #17382d4d;
  overflow: hidden;
}
.booking-dialog[open] {
  display: flex;
  flex-direction: column;
}
.booking-dialog::backdrop {
  background: #17382d8c;
  backdrop-filter: blur(3px);
}
.booking-dialog-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 14px 12px 24px;
  border-bottom: 1px solid var(--border);
}
.booking-dialog-heading {
  flex: 1;
  min-width: 0;
}
.booking-dialog-heading h2 {
  font: 400 1.35rem/1.2 var(--font-heading);
}
.booking-dialog-heading h2:focus {
  outline: 0;
}
.booking-dialog-heading p {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.76rem;
}
.booking-dialog-newtab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.booking-dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background var(--trans-fast), border-color var(--trans-fast);
}
.booking-dialog-close:hover,
.booking-dialog-close:focus-visible {
  background: var(--primary-subtle);
  border-color: var(--primary-light);
}
.booking-dialog-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.booking-dialog-hint {
  padding: 9px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--accent-mint-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}
.booking-dialog-body {
  position: relative;
  flex: 1;
  min-height: 0;
  background: var(--bg-main);
}
.booking-dialog-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.booking-dialog-status {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: var(--bg-main);
  color: var(--text-secondary);
  font-size: 0.92rem;
  text-align: center;
}
.booking-dialog-status > p {
  max-width: 440px;
}
.booking-dialog.is-loaded .booking-dialog-status {
  display: none;
}
.booking-dialog-fallback {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.booking-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: booking-spin 0.9s linear infinite;
}
@keyframes booking-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .booking-dialog[open] {
    animation: arrive 220ms ease both;
  }
}
@media (prefers-reduced-motion: reduce) {
  .booking-spinner {
    animation-duration: 2.4s;
  }
}
.booking-dialog-call {
  display: none;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--primary);
}
.booking-dialog-call svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.booking-dialog-prefer {
  font-size: 0.88rem;
}
.booking-dialog-prefer a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
/* Phones get the whole screen, so the booking app has room to work. The bar
   swaps "open in a new tab" for a call button, the likelier way out there. */
@media (max-width: 700px) {
  .booking-dialog {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }
  .booking-dialog-bar {
    gap: 8px;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 8px 18px;
  }
  .booking-dialog-heading h2 {
    font-size: 1.2rem;
  }
  .booking-dialog-heading p,
  .booking-dialog-newtab {
    display: none;
  }
  .booking-dialog-call {
    display: grid;
  }
}
@media (max-width: 700px) and (prefers-reduced-motion: no-preference) {
  .booking-dialog[open] {
    animation: sheet-up 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
}
@keyframes sheet-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}
/* Community, answers, and location. */
.reviews-section {
  background: var(--primary);
}
.reviews-section h2 {
  color: #fbf6e9;
}
.reviews-section .section-subtitle {
  color: #ccd6ba;
}
.reviews-section .section-head .section-desc {
  color: #d9e0d6;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.reviews-link-wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.review-card {
  background: #ffffff09;
  border: 1px solid #ffffff26;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-stars {
  letter-spacing: 3px;
  color: #e1c592;
  font-size: 0.83rem;
  margin-bottom: 22px;
}
.review-text {
  font-size: 0.94rem;
  line-height: 1.9;
  color: #f3f3e8;
  margin-bottom: 30px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #ffffff26;
  padding-top: 22px;
}
.author-avatar {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #e2e6d4;
  color: var(--primary);
  font-size: 0.68rem;
  flex-shrink: 0;
}
.author-info strong {
  display: block;
  font-size: 0.75rem;
  color: #f3f3e8;
  font-weight: 500;
}
.author-info span {
  display: block;
  font-size: 0.61rem;
  color: #d0ddc7;
  margin-top: 3px;
}
.faq-section > .container {
  max-width: 950px;
}
.faq-section .section-head {
  text-align: center;
  display: block;
  margin-bottom: 32px;
}
.faq-section .section-desc {
  margin: 22px auto 0;
  max-width: 600px;
}
.faq-search-box {
  position: relative;
  max-width: 490px;
  margin: 0 auto 40px;
}
.faq-search-input {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px 13px 45px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-surface);
  font-size: 0.8rem;
  color: var(--text-primary);
}
.faq-search-icon {
  position: absolute;
  left: 15px;
  top: 15px;
  color: var(--text-muted);
  pointer-events: none;
}
.faq-search-icon .icon {
  width: 19px;
  height: 19px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 23px 5px;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 0.91rem;
  font-weight: 500;
}
.faq-icon-arrow {
  display: flex;
  flex-shrink: 0;
}
.faq-icon-arrow .icon {
  width: 19px;
  height: 19px;
  transition: transform var(--trans-fast);
}
.faq-item.open .faq-icon-arrow .icon {
  transform: rotate(45deg);
}
.faq-body {
  display: none;
  padding: 0 55px 27px 5px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.85;
}
.faq-item.open .faq-body {
  display: block;
}
.faq-empty {
  text-align: center;
  padding: 25px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.faq-empty a {
  text-decoration: underline;
}
.faq-more-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}
.faq-more-link p {
  color: var(--primary);
  font: 400 clamp(1.2rem, 2vw, 1.5rem)/1.25 var(--font-heading);
}
.faq-more-link .btn {
  flex-shrink: 0;
}
.faq-group-title + .faq-item {
  border-top: 1px solid var(--border);
}
.faq-accordion > .faq-group:first-child .faq-group-title {
  margin-top: 0;
}
.faq-toggle .icon {
  transition: transform var(--trans-fast);
}
.faq-toggle[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}
/* Nudge the chevron the way the list will move, not sideways like other buttons. */
@media (prefers-reduced-motion: no-preference) {
  .faq-toggle:hover .icon,
  .faq-toggle:focus-visible .icon {
    transform: translateY(3px);
  }
  .faq-toggle[aria-expanded="true"]:hover .icon,
  .faq-toggle[aria-expanded="true"]:focus-visible .icon {
    transform: translateY(-3px) rotate(180deg);
  }
}
@media (max-width: 600px) {
  .faq-more-link {
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    text-align: center;
  }
}
.location-section {
  background: #efeee5;
}
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 90px;
}
.location-details h2 {
  margin-bottom: 24px;
}
.location-details > p {
  margin-bottom: 32px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.info-card-list {
  display: grid;
  gap: 23px;
  margin-bottom: 30px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.info-icon {
  margin-top: 2px;
  color: var(--primary-light);
}
.info-text {
  min-width: 0;
}
.info-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.info-text span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.info-text a {
  overflow-wrap: anywhere;
}
.info-text a:hover {
  text-decoration: underline;
}
.info-text .open-status {
  display: flex;
  margin: 4px 0 2px;
  color: var(--primary);
  font-size: 0.8rem;
}
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.location-actions .btn {
  gap: 10px;
  font-size: 0.78rem;
}
.location-actions .icon {
  width: 17px;
  height: 17px;
}
.map-embed-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #e2e3d5;
}
.map-embed-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.site-footer {
  background: #1d3931;
  color: #d1dace;
  padding: 65px 0 30px;
}
.footer-invitation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-bottom: 50px;
  margin-bottom: 50px;
  border-bottom: 1px solid #ffffff26;
}
.footer-invitation h2 {
  color: #f6f1e5;
  font-size: clamp(2rem, 3.4vw, 3rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 50px;
}
.site-footer .logo-symbol,
.site-footer .logo-name {
  color: #e9eddc;
}
.site-footer .logo-sub {
  color: #c4ceb7;
}
.footer-col .brand-logo {
  margin-bottom: 22px;
}
.footer-col > p {
  font-size: 0.76rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-col > div:not(.brand-logo) {
  font-size: 0.76rem;
}
.footer-col h4 {
  font: 500 0.81rem var(--font-body);
  color: #f0f2e6;
  margin-bottom: 23px;
}
.footer-links {
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 0.74rem;
}
.footer-links a:hover,
.footer-bottom a:hover {
  color: white;
  text-decoration: underline;
}
.footer-hours-table {
  width: 100%;
  font-size: 0.7rem;
  border-collapse: collapse;
}
.footer-hours-table td {
  padding: 4px 0;
}
.footer-hours-table td:last-child {
  text-align: right;
}
.footer-hours-table tr.is-today td {
  color: #fff;
  font-weight: 700;
}
.footer-phone {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer .badge {
  margin-top: 22px;
  padding: 7px 9px;
  font-size: 0.55rem;
  background: #dfe8cd;
  color: #25483f;
}
.footer-bottom {
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid #ffffff26;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.62rem;
  color: #c3cebc;
}
.footer-bottom > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.mobile-sticky-bar {
  display: none;
}
.toast-notice {
  position: fixed;
  bottom: calc(var(--action-bar-space) + 20px);
  right: 25px;
  z-index: 120;
  width: max-content;
  max-width: min(480px, calc(100vw - 40px));
  background: var(--primary);
  color: white;
  padding: 18px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px #0002;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--trans-fast),
    transform var(--trans-fast);
  pointer-events: none;
}
.toast-notice.show {
  opacity: 1;
  transform: translateY(0);
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet and phone layouts retain a dedicated call and booking bar. */
@media (max-width: 1250px) {
  .container {
    width: calc(100% - 64px);
  }
  .nav-container {
    gap: 20px;
  }
  .nav-menu {
    gap: 18px;
  }
  .nav-actions {
    gap: 15px;
  }
  .nav-call-btn {
    font-size: 0.73rem;
  }
  .logo-name {
    font-size: 1.4rem;
  }
  .hero-grid {
    gap: 40px;
  }
  .hero-image-note {
    gap: 8px;
  }
  .hero-image-note > .icon {
    width: 24px;
  }
  .hero-image-note strong {
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .hero-title {
    font-size: 5.1vw;
  }
  .triage-item {
    padding-inline: 16px;
    gap: 10px;
  }
  .triage-arrow {
    display: none;
  }
  .checker-card,
  .booking-section > .container,
  .team-grid,
  .smile-gallery-section > .container,
  .location-grid {
    gap: 50px;
  }
  .service-card {
    padding: 28px 0;
  }
  .footer-grid {
    gap: 25px;
  }
}
@media (max-width: 1100px) {
  :root {
    --header-height: 80px;
    --action-bar-space: calc(80px + env(safe-area-inset-bottom, 0px));
  }
  .intro-scroll {
    bottom: calc(var(--action-bar-space) + 15px);
  }
  /* The call/book bar waits below the welcome screen, so the cue can sit low. */
  html.dock-intro .intro-scroll {
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  }
  html.menu-open {
    overflow: hidden;
  }
  .site-header nav {
    color: var(--text-primary);
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-main);
    padding: 10px 32px 22px;
    border-bottom: 1px solid var(--border);
    max-height: calc(
      100dvh - var(--header-height) - var(--action-bar-space) - 40px
    );
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 20px 30px #25483f12;
  }
  .site-header.menu-open nav {
    display: block;
  }
  /* Dim the page behind the open menu; a tap on it closes the menu. */
  .site-header.menu-open::after {
    content: "";
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: -1;
    background: #17382d59;
  }
  .nav-menu {
    display: block;
  }
  .nav-link {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 0.94rem;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .resource-menu {
    position: static;
    min-width: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 10px 0 10px 15px;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .nav-call-btn {
    font-size: 0.83rem;
  }
  .header-book {
    min-height: 44px;
  }
  .mobile-sticky-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 110;
    background: #fffdf7f5;
    padding: 10px 24px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 24px #25483f14;
    transition:
      transform 260ms ease,
      visibility 260ms;
  }
  /* Out of the way while the welcome screen shows its own call and book
     buttons, and while the on-screen keyboard is up. */
  html.dock-intro .mobile-sticky-bar,
  html.dock-typing .mobile-sticky-bar {
    transform: translateY(110%);
    visibility: hidden;
  }
  .mobile-bar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 10px;
    max-width: 660px;
    margin: 0 auto;
  }
  .mobile-bar-inner .btn {
    min-height: 58px;
    padding: 8px 12px;
    gap: 10px;
    border-radius: 12px;
  }
  .mobile-bar-inner .btn:hover {
    transform: none;
  }
  .mobile-bar-inner .icon {
    width: 20px;
    height: 20px;
  }
  /* Two-line labels: the action, then when it's available. */
  .dock-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
  }
  .dock-label small {
    display: block;
    max-width: 100%;
    margin-top: 3px;
    overflow: hidden;
    font-size: 0.75rem;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .dock-label small[data-state]::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    vertical-align: 1px;
    background: #8d978f;
  }
  .dock-label small[data-state="open"]::before {
    background: #4f9d5b;
  }
  .dock-label small[data-state="closing"]::before,
  .dock-label small[data-state="appointment"]::before,
  .dock-label small[data-state="holiday"]::before {
    background: #c9892f;
  }
  .hero-kicker {
    font-size: 0.58rem;
  }
  .hero-title {
    font-size: 5.2vw;
  }
  .hero-desc {
    font-size: 0.94rem;
  }
  .hero-image-note {
    padding: 16px 0;
  }
  .hero-image-note strong {
    font-size: 0.78rem;
    white-space: normal;
  }
  .hero-cta-group {
    gap: 18px;
  }
  .hero-cta-group .btn {
    padding-inline: 20px;
    font-size: 0.8rem;
  }
  .hero-phone {
    font-size: 0.79rem;
  }
  .hero-reassurance {
    font-size: 0.65rem;
  }
  .hero-review {
    margin-top: 30px;
  }
  .triage-item {
    align-items: flex-start;
  }
  .triage-content strong {
    font-size: 0.76rem;
  }
  .triage-content > span {
    font-size: 0.65rem;
  }
  .section-head {
    column-gap: 40px;
  }
  .services-grid {
    gap: 15px;
  }
  .service-card {
    padding: 28px 0;
  }
  .service-card h3 {
    font-size: 1.4rem;
  }
  .service-perks {
    font-size: 0.7rem;
  }
  .team-img {
    height: auto;
  }
  .team-photo-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .checker-card {
    padding: 40px;
    gap: 35px;
  }
  .checker-form-box {
    padding: 25px;
  }
  .booking-section > .container {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 40px;
  }
  .booking-panel {
    padding: 28px;
  }
  .reviews-grid {
    gap: 15px;
  }
  .review-card {
    padding: 24px;
  }
  .review-text {
    font-size: 0.84rem;
  }
  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 45px;
  }
}
@media (max-width: 900px) {
  .location-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}
@media (max-width: 800px) {
  .intro-book-label-desktop {
    display: none;
  }
  .intro-book-label-mobile {
    display: inline;
  }
  .intro-content h1 {
    font-family: var(--font-heading);
    letter-spacing: -0.015em;
  }
  .intro-content h1 span {
    line-height: 1.1;
    letter-spacing: -0.025em;
  }
  .container {
    width: calc(100% - 48px);
  }
  .top-address {
    display: none;
  }
  .nav-call-btn {
    display: none;
  }
  .services-section,
  .insurance-section,
  .booking-section,
  .team-section,
  .reviews-section,
  .faq-section,
  .location-section,
  .smile-gallery-section {
    padding: 70px 0;
  }
  .hero-section {
    padding-top: 30px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .hero-content {
    padding: 15px 0 10px;
  }
  .hero-title {
    font-size: clamp(3rem, 8.2vw, 4.5rem);
  }
  .hero-kicker {
    font-size: 0.65rem;
    margin-bottom: 20px;
  }
  .hero-desc {
    max-width: 520px;
    font-size: 1rem;
    margin: 23px 0;
  }
  .hero-cta-group .btn {
    font-size: 0.9rem;
  }
  .hero-reassurance {
    font-size: 0.73rem;
  }
  .hero-review {
    margin-top: 25px;
  }
  .hero-visual-card {
    order: -1;
    margin-top: 0;
  }
  .hero-img-wrap {
    border-radius: 8px;
  }
  .hero-image-note {
    padding: 16px 0;
  }
  .hero-image-note strong {
    font-size: 0.9rem;
    white-space: nowrap;
  }
  .quick-triage-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 30px;
    padding: 14px 0;
  }
  .triage-item {
    padding: 18px 16px;
    align-items: center;
  }
  .triage-item:nth-child(2) {
    border-right: 0;
  }
  .triage-item:nth-child(3) {
    padding-left: 0;
  }
  .triage-content strong {
    font-size: 0.82rem;
  }
  .triage-content > span {
    font-size: 0.7rem;
  }
  .section-head {
    display: block;
    margin-bottom: 32px;
  }
  .section-head .section-desc {
    margin-top: 20px;
    max-width: 520px;
  }
  .section-subtitle {
    font-size: 0.65rem;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
  }
  .service-card {
    padding: 28px 0;
  }
  .service-card h3 {
    font-size: 1.6rem;
  }
  .service-card p {
    font-size: 0.83rem;
  }
  .technology-section {
    padding: 70px 0;
  }
  .technology-carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    row-gap: 10px;
  }
  .technology-viewport {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .technology-slide {
    grid-template-columns: 1fr;
    gap: 25px;
    min-height: 0;
    padding: 0 54px;
  }
  .technology-number {
    width: 52px;
    margin-bottom: 25px;
  }
  .technology-slide h3 {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
  .technology-slide > img,
  .technology-slide-image img {
    aspect-ratio: 16 / 10;
  }
  .technology-carousel-button {
    position: static;
    transform: none;
    width: 44px;
    height: 44px;
  }
  .technology-carousel-previous {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }
  .technology-carousel-next {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
  .technology-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .team-img {
    height: auto;
    object-position: top;
  }
  .team-photo-caption {
    flex-direction: row;
    align-items: center;
  }
  .smile-gallery-section > .container {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .ba-slider-container {
    height: 400px;
  }
  .checker-card {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 35px;
  }
  .checker-form-box {
    padding: 30px;
  }
  .booking-section > .container {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .booking-section .section-head {
    margin: 0;
  }
  .booking-section .section-desc {
    max-width: 550px;
  }
  .booking-contact {
    margin-top: 23px;
    padding-top: 20px;
  }
  .booking-panel {
    padding: 32px;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .review-card {
    padding: 30px;
  }
  .review-text {
    font-size: 0.95rem;
  }
  .review-author {
    padding-top: 18px;
  }
  .author-info strong {
    font-size: 0.82rem;
  }
  .author-info span {
    font-size: 0.7rem;
  }
  .footer-invitation {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-col .logo-name {
    font-size: 1.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro-video {
    visibility: hidden;
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn:hover,
  .service-card:hover,
  .triage-item:hover .triage-arrow {
    transform: none;
  }
}

@media (max-width: 900px) {
  .insurance-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    row-gap: 0;
    padding-block: 34px;
  }
  .insurance-intro {
    grid-column: 1 / -1;
    padding: 0 0 28px;
    border-bottom: 1px solid #53655b75;
  }
  .insurance-provider-list {
    padding: 25px 22px 0 0;
    border-left: 0;
    font-size: 1.1rem;
  }
  .insurance-provider-list + .insurance-provider-list {
    padding-left: 22px;
    border-left: 1px solid #53655b75;
  }
  .insurance-checker {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Dedicated FAQ page */
.faq-page {
  min-height: 70vh;
  padding-top: 78px;
}
.faq-page .section-head {
  margin-bottom: 28px;
}
.faq-page-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto 34px;
}
.faq-group-title {
  margin: 38px 0 12px;
  color: var(--primary);
  font: 400 1.55rem/1.2 var(--font-heading);
}
.faq-page-actions-bottom { margin-top: 30px; margin-bottom: 0; }
@media (max-width: 600px) {
  .faq-page { padding-top: 46px; }
  .faq-page-actions .btn { width: 100%; justify-content: center; }
  .faq-group-title { font-size: 1.35rem; }
}

/* ==========================================================================
   BLOG: technology articles in plain language
   ========================================================================== */
.blog-page {
  padding: 78px 0 100px;
}
.blog-intro {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.blog-intro .section-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
}
.blog-intro em {
  color: var(--accent-mint);
}
.blog-intro .section-desc {
  max-width: 600px;
  margin: 22px auto 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  transition:
    transform var(--trans-fast),
    box-shadow var(--trans-fast),
    border-color var(--trans-fast);
}
.blog-card:hover,
.blog-card:focus-within {
  transform: translateY(-3px);
  border-color: var(--border);
  box-shadow: 0 18px 40px #25483f14;
}
.blog-card > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 30px 30px;
}
.blog-card-tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--accent-mint-soft);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blog-card h2,
.blog-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
}
/* The whole card is one link target, announced once by its heading. */
.blog-card h2 a::after,
.blog-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.blog-card h2 a:focus-visible,
.blog-card h3 a:focus-visible {
  outline: none;
}
.blog-card:has(a:focus-visible) {
  outline: 3px solid #b37a37;
  outline-offset: 4px;
}
.blog-card:hover h2 a,
.blog-card:hover h3 a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.blog-card p {
  margin-bottom: 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.blog-card-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}
.blog-card-more .icon {
  width: 18px;
  height: 18px;
  transition: transform var(--trans-fast);
}
.blog-card:hover .blog-card-more .icon {
  transform: translateX(4px);
}
.blog-cta,
.article-cta {
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #dfe6da;
}
.blog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 56px;
  padding: 40px 44px;
}
.blog-cta h2,
.article-body .article-cta h2 {
  margin: 0 0 8px;
  color: #f6f1e5;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}
.blog-cta p {
  max-width: 520px;
  font-size: 0.95rem;
}
.blog-cta-actions,
.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.blog-cta-actions {
  flex: 0 0 auto;
}
.blog-cta-call {
  border-color: #ffffff59;
  color: #f6f1e5;
}
.blog-cta-call:hover {
  background: #ffffff14;
}

/* Article page */
.article {
  padding: 56px 0 30px;
}
.article-header {
  max-width: 820px;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
}
.breadcrumb a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
}
.breadcrumb a:hover {
  text-decoration-color: currentColor;
}
.article-header h1 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.article-lede {
  color: var(--text-secondary);
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  line-height: 1.7;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.article-figure {
  max-width: 1080px;
  margin-top: 44px;
}
.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
}
.article-figure figcaption {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.72rem;
}
/* Photo inside the article text, placed under a section heading. */
.article-inline-figure {
  margin-bottom: 24px;
}
.article-inline-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.article-inline-figure figcaption {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.72rem;
}
.article-body {
  max-width: 740px;
  margin-top: 52px;
}
.article-body > p,
.article-body li {
  color: var(--text-primary);
  font-size: 1.06rem;
  line-height: 1.75;
}
.article-body > p + p {
  margin-top: 18px;
}
.article-body > h2,
.good-to-know h2 {
  margin: 56px 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}
.article-body a:not(.btn, .article-pager a) {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:not(.btn, .article-pager a):hover {
  color: var(--accent-gold);
}
.article-glance {
  padding: 28px 30px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}
.article-glance h2 {
  margin-bottom: 16px;
  font: 700 0.72rem/1.4 var(--font-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-light);
}
.article-glance dl {
  display: grid;
  gap: 14px;
}
.article-glance dl > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.article-glance dl > div:first-child {
  padding-top: 0;
  border-top: 0;
}
.article-glance dt {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}
.article-glance dd {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.article-steps {
  display: grid;
  gap: 16px;
  list-style: none;
  counter-reset: step;
}
.article-steps li {
  position: relative;
  padding-left: 56px;
  counter-increment: step;
}
.article-steps li::before {
  content: counter(step);
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #dfe7ed;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}
.article-steps strong,
.article-list strong {
  color: var(--primary);
}
.article-list {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}
.article-list li::marker {
  color: var(--accent-wood);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.benefit-card {
  padding: 24px 24px 26px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
}
.benefit-card h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}
.benefit-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}
.good-to-know {
  margin-top: 56px;
  padding: 30px 32px 32px;
  border-left: 4px solid var(--accent-wood);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bg-subtle);
}
.good-to-know h2 {
  margin-top: 0;
  margin-bottom: 16px;
}
.good-to-know ul {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}
.article-body .good-to-know li {
  font-size: 1rem;
}
.article-cta {
  margin-top: 56px;
  padding: 36px 36px 38px;
}
.article-cta p {
  margin-bottom: 22px;
  font-size: 0.98rem;
}
.article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.article-pager a {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.25;
  transition:
    border-color var(--trans-fast),
    background var(--trans-fast);
}
.article-pager a:hover {
  border-color: var(--primary-light);
  background: var(--primary-subtle);
}
.article-pager a span {
  font: 600 0.68rem/1.4 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.article-pager-next {
  grid-column: 2;
  text-align: right;
}
.related-posts {
  margin-top: 70px;
  padding: 70px 0 100px;
  background: var(--bg-surface);
}
.related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.related-head h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}
.related-head .technology-link {
  flex: 0 0 auto;
  margin-top: 0;
}
.related-posts .blog-card {
  background: var(--bg-main);
}
.blog-grid-related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.blog-grid-related .blog-card-body {
  padding: 22px 22px 24px;
}
.blog-grid-related .blog-card h3 {
  font-size: 1.4rem;
}
.blog-grid-related .blog-card p {
  font-size: 0.88rem;
}

/* Home page: each technology slide links to its article. */
.technology-slide h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
/* Team page: the dentist first, then the rest of the team. */
.team-bio .team-more-link {
  margin-left: 12px;
}
.team-page {
  padding: 56px 0 90px;
}
.team-page .article-header {
  margin-bottom: 52px;
  padding: 0;
}
.doctor-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.team-portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
}
.doctor-profile-body h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}
.doctor-credential {
  margin-bottom: 22px;
  color: var(--primary);
  font-weight: 600;
}
.doctor-profile-body p:not(.doctor-credential) {
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.doctor-profile-body h3 {
  margin: 30px 0 14px;
  font-size: 1.35rem;
}
.membership-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  list-style: none;
}
.membership-list li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-mint-soft);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
}
.staff-section {
  margin-top: 90px;
  padding-top: 70px;
  border-top: 1px solid var(--border);
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
}
.staff-card h3 {
  margin: 20px 0 4px;
  font-size: 1.6rem;
}
.staff-role {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.staff-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
.staff-card p + p {
  margin-top: 12px;
}
.team-page .blog-cta {
  margin-top: 90px;
}
@media (max-width: 900px) {
  .doctor-profile {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .doctor-profile .team-portrait {
    max-width: 420px;
  }
  .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .team-bio .team-more-link {
    margin: 12px 0 0;
  }
  .staff-grid {
    grid-template-columns: 1fr;
  }
  .staff-section {
    margin-top: 60px;
    padding-top: 50px;
  }
}

/* CDCP page: co-payment levels. */
.article-body > .article-list + p {
  margin-top: 18px;
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 24px;
}
.tier-card {
  padding: 20px 18px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
}
.tier-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font: 400 2rem var(--font-heading);
}
.tier-card span {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .tier-grid {
    grid-template-columns: 1fr;
  }
}

/* Keeps visually-hidden link text inside the scrolling carousel. */
.technology-slide-links {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
}
.technology-slide-image {
  display: block;
  overflow: hidden;
  border-radius: 14px;
}
.technology-slide-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 400ms ease;
}
.technology-slide-image:hover img {
  transform: scale(1.02);
}
.technology-link .icon {
  width: 16px;
  height: 16px;
}
.faq-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nav-link[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}
@media (max-width: 1100px) {
  .blog-grid-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-grid-related .blog-card:last-child {
    display: none;
  }
}
@media (max-width: 800px) {
  .blog-page {
    padding: 50px 0 70px;
  }
  .blog-grid,
  .blog-grid-related {
    grid-template-columns: 1fr;
  }
  .blog-grid-related .blog-card:last-child {
    display: flex;
  }
  .blog-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }
  .article {
    padding-top: 36px;
  }
  .article-body {
    margin-top: 36px;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .related-posts {
    margin-top: 50px;
    padding: 56px 0 70px;
  }
}
@media (max-width: 540px) {
  .blog-intro {
    margin-bottom: 36px;
    text-align: left;
  }
  .blog-intro .section-desc {
    margin-left: 0;
  }
  .blog-card-body {
    padding: 22px 22px 24px;
  }
  .blog-cta-actions,
  .article-cta-actions,
  .blog-cta-actions .btn,
  .article-cta-actions .btn {
    width: 100%;
  }
  .article-glance {
    padding: 22px;
  }
  .article-glance dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .article-steps li {
    padding-left: 50px;
  }
  .good-to-know {
    padding: 24px 22px 26px;
  }
  .article-cta {
    padding: 28px 22px 30px;
  }
  .article-pager {
    grid-template-columns: 1fr;
  }
  .article-pager-next {
    grid-column: 1;
  }
  .related-head {
    flex-direction: column;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .blog-card-more .icon,
  .technology-slide-image img {
    transition: none;
  }
  .blog-card:hover,
  .blog-card:focus-within {
    transform: none;
  }
}
.inline-link {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent-wood);
  text-underline-offset: 3px;
}
.inline-link:hover {
  color: var(--accent-gold);
}

/* Services overview: each card's heading is an h2 that links to its page. */
.benefit-card h2 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}
/* Service pages: breathing room for a button after the summary box, and for
   question lists that follow a paragraph instead of a heading. */
.article-glance + p,
.article-body > p + .faq-accordion {
  margin-top: 24px;
}

/* ==========================================================================
   PHONE EXPERIENCE (≤ 680px)
   Built for one thumb: calling and booking are always a tap away, text is
   readable without zooming, tap targets are at least 44px, and long lists
   swipe sideways instead of scrolling on for screens. This layer comes last
   so it wins over the tablet rules above.
   ========================================================================== */
@media (max-width: 680px) {
  :root {
    --header-height: 64px;
    --action-bar-space: calc(80px + env(safe-area-inset-bottom, 0px));
  }
  .container {
    width: calc(100% - 40px);
  }
  h2 {
    font-size: 2.25rem;
    line-height: 1.1;
  }
  .btn {
    font-size: 1rem;
  }
  .section-subtitle,
  .hero-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }
  .section-head {
    margin-bottom: 26px;
  }
  .section-head .section-desc {
    margin-top: 14px;
    font-size: 1rem;
  }
  .services-section,
  .technology-section,
  .team-section,
  .smile-gallery-section,
  .booking-section,
  .reviews-section,
  .faq-section,
  .location-section {
    padding: 56px 0;
  }
  /* 16px inputs stop iOS from zooming the page when they get focus. */
  .form-input,
  .form-select,
  .faq-search-input {
    min-height: 52px;
    font-size: 16px;
  }

  /* Header and menu */
  .nav-container,
  .nav-actions {
    gap: 10px;
  }
  .header-book,
  .nav-call-btn {
    display: none;
  }
  .site-header .brand-logo {
    gap: 8px;
  }
  .site-header .logo-symbol {
    width: 40px;
    height: 46px;
  }
  .site-header .logo-name {
    font-size: 1.2rem;
  }
  .mobile-menu-toggle {
    min-width: 44px;
    gap: 6px;
    padding: 8px 2px 8px 8px;
    font-size: 0.9rem;
    font-weight: 600;
  }
  .site-header nav {
    padding: 6px 20px 20px;
  }
  .nav-link {
    min-height: 56px;
    padding: 0;
    font-size: 1.125rem;
  }
  .resource-menu {
    padding: 4px 0 8px 12px;
  }
  .resource-menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 8px;
    font-size: 1rem;
  }

  /* Welcome screen: who we are and both ways to reach us, on one screen. */
  .intro-video {
    object-position: center;
  }
  .intro-shade {
    background: linear-gradient(180deg, rgba(15, 37, 30, 0.62) 0%, rgba(15, 37, 30, 0.42) 40%, rgba(15, 37, 30, 0.8) 100%);
  }
  .intro-content {
    padding-top: 32px;
    padding-bottom: calc(var(--action-bar-space) + 64px);
  }
  html.dock-intro .intro-content {
    padding-bottom: 96px;
  }
  .intro-content h1 {
    font-size: clamp(1.4rem, 6vw, 1.75rem);
  }
  .intro-content h1 span {
    margin-top: 12px;
    font-size: clamp(2.6rem, 11vw, 3.65rem);
  }
  .intro-actions {
    margin-top: 28px;
  }
  .intro-book-btn,
  .intro-call-btn {
    width: 100%;
    max-width: 360px;
    min-height: 56px;
  }
  /* The main action gets the solid, high-contrast treatment. */
  .intro-book-btn {
    border-color: #fbf6ec;
    background: #fbf6ec;
    color: var(--primary);
    font-weight: 700;
  }
  .intro-info {
    margin-top: 22px;
    font-size: 0.9375rem;
  }

  /* The team photo and its message lead directly into the introduction. */
  .hero-section {
    padding-top: 32px;
  }
  .hero-section > .container {
    display: flex;
    flex-direction: column;
  }
  .hero-grid {
    display: contents;
  }
  .hero-content {
    order: 2;
    margin-top: 32px;
    padding: 0;
  }
  .quick-triage-strip {
    order: 3;
  }
  .hero-visual-card {
    order: 1;
    margin-top: 0;
    padding-bottom: 0;
  }
  .hero-kicker {
    margin-bottom: 16px;
  }
  .hero-title {
    font-size: clamp(2.5rem, 11vw, 3.1rem);
    line-height: 1.06;
  }
  .hero-desc {
    max-width: none;
    margin: 18px 0 24px;
    font-size: 1.0625rem;
    line-height: 1.65;
  }
  .hero-cta-group {
    display: grid;
    gap: 10px;
  }
  .hero-cta-group .btn {
    min-height: 56px;
    padding: 14px 20px;
    font-size: 1rem;
  }
  .hero-phone {
    justify-content: center;
    min-height: 52px;
    border: 1px solid var(--primary);
    border-radius: 7px;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
  }
  .hero-reassurance {
    justify-content: center;
    gap: 4px 14px;
    margin-top: 16px;
    font-size: 0.875rem;
  }
  /* When the line wraps (as it does in French), a separator would dangle. */
  .hero-reassurance > span[aria-hidden="true"] {
    display: none;
  }
  .hero-review {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-surface);
  }
  .review-score {
    font-size: 1.9rem;
  }
  .hero-review-detail {
    padding-left: 16px;
    font-size: 0.875rem;
  }
  .quick-triage-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
    padding: 0;
    border: 0;
  }
  .quick-triage-strip .triage-item {
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-surface);
  }
  .quick-triage-strip .triage-item:nth-child(2) {
    border-color: #e5c9bd;
    background: var(--emergency-soft);
  }
  .quick-triage-strip .triage-item:nth-child(2) .triage-icon {
    color: var(--emergency);
  }
  .triage-icon {
    width: 28px;
    height: 28px;
  }
  .triage-content strong {
    font-size: 1rem;
  }
  .triage-content > span {
    margin-top: 2px;
    font-size: 0.875rem;
    line-height: 1.4;
  }
  .triage-arrow {
    display: block;
    width: 18px;
    height: 18px;
    color: var(--primary-light);
  }
  .triage-options a {
    min-height: 44px;
    padding: 8px 20px;
    font-size: 0.9375rem;
  }
  .quick-triage-strip .triage-urgent {
    align-items: stretch;
  }
  .quick-triage-strip .triage-urgent .triage-options {
    padding-left: 42px;
  }
  .quick-triage-strip .triage-urgent .triage-options a {
    border-color: var(--emergency);
    color: var(--emergency);
  }
  .quick-triage-strip .triage-urgent .triage-options a:first-child {
    color: var(--text-white);
    background: var(--emergency);
  }
  .hero-img-wrap {
    border-radius: 16px;
  }
  .hero-img {
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
  }
  .hero-image-note {
    padding: 14px 0 0;
  }
  .hero-image-note > .icon {
    width: 24px;
    height: 24px;
  }
  .hero-image-note strong {
    font-size: 0.9375rem;
    white-space: normal;
  }
  .hero-image-note span > span {
    font-size: 0.8125rem;
  }
  .photo-caption {
    position: static;
    display: block;
    margin-top: 10px;
    font-size: 0.75rem;
    text-align: right;
  }

  /* Treatments: seven cards in one swipeable row, with chips to jump between. */
  .service-chips {
    display: block;
    margin: -6px 0 16px;
  }
  .service-chips ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
  }
  .service-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-surface);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    transition:
      background var(--trans-fast),
      border-color var(--trans-fast),
      color var(--trans-fast);
  }
  .service-chips a[aria-current="true"] {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--text-white);
  }
  .service-chips a.is-urgent {
    border-color: #e5c9bd;
    color: var(--emergency);
  }
  .service-chips a.is-urgent[aria-current="true"] {
    border-color: var(--emergency);
    background: var(--emergency);
    color: #fff;
  }
  .services-grid,
  .reviews-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(86%, 360px);
    grid-template-columns: none;
    gap: 12px;
    margin-inline: -20px;
    padding: 2px 20px 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .services-grid::-webkit-scrollbar,
  .reviews-grid::-webkit-scrollbar {
    display: none;
  }
  .service-card {
    gap: 12px;
    padding: 22px 20px 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--bg-surface);
    scroll-snap-align: start;
  }
  .service-icon-box {
    margin-bottom: 10px;
  }
  .care-icon {
    width: 72px;
    height: 72px;
  }
  .care-icon-wide {
    width: 144px;
  }
  .service-category {
    margin-bottom: 8px;
    font-size: 0.75rem;
  }
  .service-card h3 {
    max-width: none;
    margin-bottom: 10px;
    font-size: 1.5rem;
  }
  .service-card p {
    margin-bottom: 4px;
    font-size: 0.9375rem;
    line-height: 1.6;
  }
  .service-details summary,
  .service-perks {
    font-size: 0.9375rem;
  }
  .service-link {
    min-height: 48px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    font-size: 0.9375rem;
  }

  /* Technology */
  .technology-head {
    margin-bottom: 24px;
  }
  .technology-slide {
    gap: 18px;
    padding-inline: 0;
  }
  .technology-slide-image {
    order: -1;
    border-radius: 16px;
  }
  .technology-number {
    width: 40px;
    margin-bottom: 14px;
    font-size: 0.85rem;
  }
  .technology-slide h3 {
    margin-bottom: 12px;
    font-size: 1.75rem;
  }
  .technology-slide p,
  .technology-footer p {
    font-size: 1rem;
  }
  /* A full-height tap target; the underline moves from the border to the text. */
  .technology-link {
    min-height: 44px;
    border-bottom: 0;
    font-size: 0.9375rem;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
  }
  .technology-carousel-button {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
  }
  .technology-footer {
    margin-top: 24px;
  }
  .technology-footer .btn {
    width: 100%;
  }
  .technology-image-note {
    font-size: 0.75rem;
  }

  /* Team */
  .team-grid {
    gap: 28px;
  }
  .team-img-wrap {
    border-radius: 16px;
  }
  .team-img {
    aspect-ratio: 1;
    object-position: center 35%;
  }
  .team-photo-caption {
    padding: 14px 16px;
  }
  .team-photo-caption span:first-child {
    font-size: 1.05rem;
  }
  .team-photo-caption span:last-child,
  .team-bio .badge,
  .location-details > .badge,
  .booking-panel-badge {
    font-size: 0.75rem;
  }
  .team-bio h2 {
    font-size: 2rem;
  }
  .team-bio p,
  .team-bio .doctor-names {
    font-size: 1rem;
  }
  .credentials-list {
    gap: 12px;
    font-size: 0.9375rem;
  }
  .team-bio .btn {
    width: 100%;
  }

  /* Smile comparison */
  .smile-gallery-section > .container {
    gap: 26px;
  }
  .ba-slider-container {
    height: auto;
    aspect-ratio: 1 / 1.1;
    border-radius: 16px;
  }
  .ba-handle-btn {
    width: 52px;
    height: 52px;
  }
  .ba-tag {
    bottom: 12px;
    padding: 5px 10px;
    font-size: 0.75rem;
  }
  .ba-tag-before {
    right: 12px;
  }
  .ba-tag-after {
    left: 12px;
  }
  .ba-caption-box h4 {
    font-size: 1rem;
  }
  .ba-caption-box p {
    font-size: 0.9375rem;
  }
  .ba-caption-box .slider-hint {
    font-size: 0.8125rem;
  }

  /* Insurance: accepted plans as compact chips instead of two screens of names. */
  .insurance-section {
    padding: 56px 0 48px;
  }
  .insurance-layout {
    grid-template-columns: 1fr;
    padding-block: 24px;
  }
  .insurance-intro {
    padding-bottom: 20px;
  }
  .insurance-title {
    font-size: 2.25rem;
  }
  .insurance-intro p {
    font-size: 1rem;
  }
  .insurance-provider-list,
  .insurance-provider-list + .insurance-provider-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 18px 0 0;
    border: 0;
    font: 500 0.875rem/1.2 var(--font-body);
  }
  .insurance-provider-list + .insurance-provider-list {
    padding-top: 8px;
  }
  .insurance-provider-list li {
    padding: 8px 12px;
    border: 1px solid #c9d1c5;
    border-radius: 999px;
    background: #f8f8f3;
  }
  .insurance-checker {
    gap: 14px;
    padding-top: 26px;
  }
  .insurance-checker-copy h3 {
    font-size: 1.5rem;
  }
  .insurance-checker-copy p,
  .insurance-checker .form-label,
  .coverage-result,
  .coverage-result p,
  .insurance-schedule p {
    font-size: 0.9375rem;
  }
  .insurance-checker .checker-form-box {
    grid-template-columns: 1fr;
  }
  .insurance-checker #check-insurance-btn {
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
  }

  /* Booking */
  .booking-section > .container {
    gap: 24px;
  }
  .booking-contact {
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid #d9cfbf;
    border-radius: 14px;
    background: var(--bg-surface);
    font-size: 0.9375rem;
  }
  .booking-contact strong {
    font-size: 1.125rem;
    font-weight: 700;
  }
  .booking-panel {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .booking-panel h3 {
    font-size: 1.5rem;
  }
  .booking-panel > p:not([class]),
  .booking-steps strong {
    font-size: 1rem;
  }
  .booking-steps li {
    column-gap: 14px;
    padding: 14px 0;
  }
  .booking-steps span {
    font-size: 0.875rem;
  }
  .booking-panel-cta {
    min-height: 60px;
    font-size: 1.0625rem;
  }
  .booking-panel-note,
  .booking-panel-lang {
    font-size: 0.9375rem;
  }

  /* Reviews swipe sideways, like the treatments. */
  .review-card {
    padding: 22px;
    scroll-snap-align: start;
  }
  .review-stars {
    margin-bottom: 14px;
    font-size: 0.8125rem;
  }
  .review-text {
    margin-bottom: 20px;
    font-size: 1.0625rem;
    line-height: 1.6;
  }
  .review-author {
    padding-top: 16px;
  }
  .author-info strong {
    font-size: 0.9375rem;
  }
  .author-info span {
    font-size: 0.8125rem;
  }
  .reviews-link-wrap .btn {
    width: 100%;
  }

  /* Questions */
  .faq-section .section-head {
    text-align: left;
  }
  .faq-section .section-desc {
    margin-left: 0;
  }
  .faq-search-box {
    margin-bottom: 24px;
  }
  .faq-search-icon {
    top: 16px;
  }
  .faq-header {
    gap: 16px;
    min-height: 64px;
    padding-block: 16px;
    font-size: 1rem;
    line-height: 1.45;
  }
  .faq-body {
    padding: 0 8px 22px 5px;
    font-size: 0.9375rem;
    line-height: 1.7;
  }
  .faq-more-link p {
    font-size: 1.3rem;
  }

  /* Visit us: directions first, then call. */
  .location-grid {
    gap: 28px;
  }
  .location-details h2 {
    margin-bottom: 16px;
  }
  .location-details > p {
    margin-bottom: 24px;
    font-size: 1rem;
  }
  .info-card-list {
    gap: 18px;
    margin-bottom: 24px;
  }
  .info-text strong {
    font-size: 1rem;
  }
  .info-text span,
  .info-text a,
  .info-text .open-status {
    font-size: 0.9375rem;
  }
  .info-text a {
    display: inline-block;
    padding: 6px 0;
  }
  .location-actions {
    display: grid;
    gap: 10px;
  }
  .location-actions .btn {
    width: 100%;
    font-size: 1rem;
  }
  .location-actions [data-directions] {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--text-white);
  }
  .map-embed-wrap {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  /* Footer */
  .site-footer {
    padding: 48px 0 28px;
  }
  .footer-invitation {
    gap: 22px;
    margin-bottom: 32px;
    padding-bottom: 32px;
  }
  .footer-invitation h2 {
    font-size: 2.1rem;
  }
  .footer-invitation .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }
  .footer-col:first-child,
  .footer-col:last-child {
    grid-column: 1 / -1;
  }
  .site-footer .logo-sub,
  .site-footer .badge {
    font-size: 0.75rem;
  }
  .footer-phone {
    display: inline-block;
    padding: 8px 0;
  }
  .footer-col > p,
  .footer-col > div:not(.brand-logo),
  .footer-links,
  .footer-hours-table {
    font-size: 0.9375rem;
  }
  .footer-col h4 {
    margin-bottom: 10px;
    font-size: 1rem;
  }
  .footer-links {
    gap: 0;
  }
  .footer-links a {
    display: block;
    padding: 8px 0;
  }
  .footer-hours-table td {
    padding: 6px 0;
  }
  .footer-bottom {
    gap: 14px;
    margin-top: 32px;
    font-size: 0.8125rem;
  }
  .footer-bottom > div:last-child {
    gap: 2px 18px;
  }
  .footer-bottom a {
    display: inline-block;
    padding: 8px 0;
  }

  /* Call / book bar */
  .mobile-sticky-bar {
    padding-inline: 12px;
  }
  .mobile-bar-inner {
    gap: 8px;
  }
  .mobile-bar-inner .btn {
    padding-inline: 10px;
    gap: 8px;
  }
}

/* Narrow phones (iPhone SE, small Androids) */
@media (max-width: 380px) {
  h2 {
    font-size: 2rem;
  }
  .site-header .logo-symbol {
    width: 36px;
    height: 42px;
  }
  .site-header .logo-name {
    font-size: 1.08rem;
  }
  .lang-switch {
    padding: 0 8px;
  }
  /* The hamburger icon carries the button; its aria-label names it. */
  .mobile-menu-toggle .icon + span {
    display: none;
  }
  .mobile-menu-toggle {
    justify-content: flex-end;
  }
  .dock-label {
    font-size: 0.9rem;
  }
  .intro-book-btn,
  .intro-call-btn {
    gap: 12px;
    padding-inline: 16px;
  }
}
@media (max-width: 340px) {
  .mobile-bar-inner .icon {
    display: none;
  }
}

/* Phones in landscape: keep the bar slim so the page still has room. */
@media (max-width: 1100px) and (max-height: 500px) {
  :root {
    --action-bar-space: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-bar-inner .btn {
    min-height: 46px;
    padding-block: 4px;
  }
  .mobile-sticky-bar {
    padding-block: 8px calc(8px + env(safe-area-inset-bottom, 0px));
  }
}
/* Wide landscape phones already show call and book in the header. */
@media (min-width: 801px) and (max-width: 1100px) and (max-height: 500px) {
  :root {
    --action-bar-space: 0px;
  }
  .mobile-sticky-bar {
    display: none;
  }
}

/* Desktop keeps its original layout; these extras are for phones and tablets. */
@media (min-width: 1101px) {
  .intro-call-btn,
  .intro-info,
  .info-text .open-status,
  .mobile-only {
    display: none;
  }
  .footer-hours-table tr.is-today td {
    color: inherit;
    font-weight: inherit;
  }
}
