/* Shared plum palette, anchored to the #4e0d4e brand colour. */
:root {
  --paper: #fbf7fb;
  --ink: #332333;
  --muted: #746274;
  --brand-deep: #4e0d4e;
  --brand-dark: #360936;
  --accent: #4e0d4e;
  --line: #ead9ea;
  --sage: #efe3ef;
  --blush: #f5e7f5;
  --surface: #fefbfe;
  --surface-card: #ffffff;
  --surface-hover: #f7edf7;
  --text-inverse: #ffffff;
  --text-inverse-muted: #e3c9e3;
  --accent-soft: #c397c3;
  --border-inverse: #a873a8;
  --surface-blush: #f0dbf0;
  --surface-dark-raised: #6a246a;
  --accent-light: #e9cce9;
  --surface-dark-deep: #360936;
  --accent-rose: #ddb8dd;
  --accent-pink: #efd8ef;
  --surface-warm: #fdf7fc;
  --brand-heading: #4e0d4e;
  --surface-ivory: #fefbfe;
  --accent-plum: #4e0d4e;
  --accent-earth: #896589;
  --surface-rose: #f7ebf7;
  --text-secondary: #785e78;
  --prose-text-color: #675967;
  --focus-ring: #4e0d4e;
  --shadow-color: #360936;
  --overlay-color: color-mix(in srgb, var(--brand-dark) 70%, #260826);
  --overlay-backdrop: color-mix(in srgb, var(--overlay-color) 45%, transparent);
  --overlay-cta: linear-gradient(120deg, color-mix(in srgb, var(--overlay-color) 90%, transparent), color-mix(in srgb, var(--brand-dark) 86%, transparent));
  --plum: var(--brand-deep);
  --shadow-soft: 0 10px 40px color-mix(in srgb, var(--brand-dark) 3.137%, transparent);
  --shadow-raised: 0 22px 55px color-mix(in srgb, var(--brand-dark) 7.843%, transparent);
  --shadow-dropdown: 0 18px 40px color-mix(in srgb, var(--shadow-color) 12.549%, transparent);
  --shadow-mega-menu: 0 24px 64px color-mix(in srgb, var(--shadow-color) 14.118%, transparent), 0 2px 8px color-mix(in srgb, var(--shadow-color) 3.137%, transparent);
}

/* Website dashboard palette. Keep console contrast separate from public pages. */
:root {
  --dashboard-canvas: #f8f1f8;
  --dashboard-surface: #ffffff;
  --dashboard-text: #332333;
  --dashboard-secondary: #6e576e;
  --dashboard-border: #e8d6e8;
  --dashboard-control-border: #ae90ae;
  --dashboard-tint: #f5e7f5;
  --dashboard-purple: var(--brand-deep);
  --dashboard-danger: #b4233c;
  --dashboard-danger-hover: #961c31;
  --dashboard-danger-soft: #fff1f4;
  --dashboard-danger-border: #e9bdc8;
  --dashboard-draft-text: #75480a;
  --dashboard-draft-bg: #fff2d8;
}

/* Body text published from the rich-text editor. */
.prose div,
.prose p {
  color: var(--prose-text-color);
}

/* Headings keep the brand colour, including headings nested in rich-text divs. */
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: var(--brand-heading);
}

/* Branch photos, weekly schedules and booking actions. */
.location-card--photo .location-clinic-photo,
.location-clinic-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin-block: 22px;
}
.location-full-address { font-style: normal; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }
.location-card--photo h4 { font-size: 15px; margin-bottom: 10px; }
.location-weekly-hours { margin: 0; font-size: 13px; }
.location-weekly-hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.location-weekly-hours dd { margin: 0; color: var(--muted); text-align: right; }
.location-card--photo .location-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.location-card--photo .location-links .button { font-size: 12px; padding: 14px 18px; }
.location-card--photo .location-directions { background: transparent; color: var(--brand-deep); border: 1px solid var(--line); }
.location-hours-extra { margin-top: 12px; color: var(--muted); font-size: 13px; }

/* Photo-led branch cards with compact day and time ranges. */
.locations-grid { align-items: stretch; }
.location-card.location-card--photo {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--brand-dark) 4%, transparent);
}
.location-photo-wrap { position: relative; }
.location-card--photo .location-clinic-photo { aspect-ratio: 16 / 8; border-radius: 0; margin: 0; }
.location-card--photo .location-number {
  position: absolute;
  inset: 18px auto auto 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand-deep);
  font-size: 21px;
  box-shadow: var(--shadow-soft);
}
.location-card-content { display: flex; flex: 1; flex-direction: column; padding: 28px 30px 30px; }
.location-card-heading .eyebrow { margin-bottom: 10px; letter-spacing: 2px; }
.location-card--photo h3 { margin: 0 0 18px; font-size: clamp(28px, 2.7vw, 38px); line-height: 1.15; }
.location-card--photo .location-full-address { font-size: 13px; line-height: 1.8; margin-bottom: 14px; }
.location-card--photo .location-phone { font-size: 12px; color: var(--muted); margin: 0 0 24px; }
.location-phone a { color: var(--brand-deep); font-weight: 600; white-space: nowrap; }
.location-hours-panel { padding: 18px 20px; border-radius: 12px; background: var(--surface-hover); margin-bottom: 24px; }
.location-card--photo .location-hours-panel h4 { color: var(--brand-deep); font-size: 11px; font-weight: 650; letter-spacing: 1.2px; text-transform: uppercase; margin: 0 0 10px; }
.location-hours-panel .location-weekly-hours > div { border: 0; padding: 7px 0; font-size: 12px; align-items: baseline; }
.location-weekly-hours dt { font-weight: 500; }
.location-hours-panel .location-hours-row--open dd { color: var(--brand-deep); font-weight: 600; }
.location-hours-panel .location-hours-row--closed dd { color: var(--muted); font-weight: 600; }
.location-card--photo .location-links { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.location-card--photo .location-links .button { display: flex; justify-content: center; text-align: center; border-radius: 10px; min-height: 46px; padding: 12px; font-size: 12px; }
.location-card--photo .location-booking { background: var(--brand-deep); color: var(--text-inverse); }
.location-card--photo .location-directions:hover { background: var(--sage); }
.location-card--photo .location-booking:hover { background: var(--brand-dark); }
@media (max-width: 600px) {
  .location-card-content { padding: 24px 20px; }
  .location-hours-panel { padding: 16px; }
  .location-hours-panel .location-weekly-hours > div { flex-wrap: wrap; gap: 4px 12px; }
  .location-weekly-hours dd { text-align: left; }
}
@media (max-width: 360px) { .location-card--photo .location-links { grid-template-columns: 1fr; } }

.location-card--photo .location-full-address { display: flex; align-items: flex-start; gap: 10px; }
.location-address-icon {
  box-sizing: border-box;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--brand-deep);
  margin-top: 0;
}

/* Compact floating quick actions for mobile visitors. */
.mobile-action-bar { display: none; }
@media (max-width: 760px) {
  body:has(.mobile-action-bar) { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  html:has(.mobile-action-bar) { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .mobile-action-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 45;
    display: flex;
    align-items: stretch;
    gap: 4px;
    padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    box-shadow: 0 -3px 18px color-mix(in srgb, var(--brand-dark) 7%, transparent);
  }
  .mobile-action-bar--link {
    flex: 1 1 0;
    min-width: 0;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 4px 3px;
    border-radius: 16px;
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 160ms ease, color 160ms ease;
  }
  .mobile-action-bar--link svg { width: 21px; height: 21px; flex-shrink: 0; }
  .mobile-action-bar--link:hover { background: var(--surface-hover); color: var(--brand-deep); }
  .mobile-action-bar--link:active { background: var(--sage); }
  .mobile-action-bar--link:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
  .mobile-action-bar--booking { flex-grow: 1; }
  .mobile-action-bar--booking[aria-current="page"] {
    background: var(--brand-deep);
    color: var(--text-inverse);
    font-weight: 600;
    box-shadow: 0 3px 8px color-mix(in srgb, var(--brand-deep) 15%, transparent);
  }
  .mobile-action-bar--booking[aria-current="page"]:hover,
  .mobile-action-bar--booking[aria-current="page"]:active { background: var(--brand-dark); color: var(--text-inverse); }
  .mobile-action-bar--booking[aria-current="page"]:focus-visible { outline-color: var(--accent-light); outline-offset: -4px; }
}
@media print { .mobile-action-bar { display: none; } }

/* Clear-aligner campaign hero: copy left, portrait right. */
.hero--scene { background: var(--blush); color: var(--brand-deep); }
.hero--imageLayer { inset: 0; }
.hero--photograph { object-position: center; filter: none; }
.hero--shade { background: linear-gradient(90deg, var(--blush) 0%, color-mix(in srgb, var(--blush) 92%, transparent) 24%, transparent 62%); }
.hero--content { text-align: left; align-items: flex-start; width: 53%; max-width: 760px; margin: 0 auto 0 0; padding: 64px 0 64px clamp(28px, 4vw, 68px); box-sizing: border-box; }
.hero--content h1 { color: var(--brand-deep); font-size: clamp(54px, 6vw, 88px); }
.hero--content h1 em { color: var(--accent-earth); }
.hero--content > p { color: var(--text-secondary); }
.hero--eyebrow { color: var(--brand-deep); letter-spacing: 2px; }
.hero--eyebrow > span { background: var(--accent-soft); }
.hero--eyebrow > span:last-child { display: none; }
.hero--actions { justify-content: flex-start; flex-wrap: wrap; gap: 20px; }
.hero--primary { background: var(--brand-deep); color: var(--text-inverse); box-shadow: var(--shadow-soft); }
.hero--primary:hover { background: var(--brand-dark); }
.hero--primary > span { background: var(--surface-dark-raised); }
.hero--secondary { color: var(--brand-deep); border-color: var(--accent-soft); }
.hero--topline { color: var(--brand-deep); }
.hero--dot { background: var(--brand-deep); box-shadow: 0 0 0 4px var(--sage); }
.hero--bottomline { border-color: var(--line); background: color-mix(in srgb, var(--surface) 88%, transparent); margin: 0; padding: 20px clamp(28px, 4vw, 68px); }
.hero--people strong, .hero--people span, .hero--location > span, .hero--location > a, .hero--location > a > span { color: var(--brand-deep); }
.hero--scroll { color: var(--brand-deep); border-color: var(--accent-soft); }
.hero--scene a:focus-visible { outline-color: var(--brand-deep); }
@media (max-width: 1000px) and (min-width: 761px) {
  .hero--content { width: 56%; padding-left: 30px; }
  .hero--content h1 { font-size: 58px; }
  .hero--eyebrow { font-size: 8px; letter-spacing: 1px; gap: 9px; }
}
@media (max-width: 1000px) {
  .hero--scene { min-height: 0; }
  .hero--imageLayer { position: relative; inset: auto; height: clamp(250px, 70vw, 390px); flex: 0 0 auto; z-index: -1; }
  .hero--photograph { object-position: right center; }
  .hero--shade { display: none; }
  .hero--topline { margin: 20px 24px 0; }
  .hero--topline > a { display: none; }
  .hero--content { width: 100%; max-width: none; margin: 0; padding: 28px 24px 34px; align-items: flex-start; text-align: left; }
  .hero--content h1 { font-size: clamp(46px, 10.8vw, 68px); letter-spacing: -1.5px; }
  .hero--eyebrow { font-size: 8px; letter-spacing: 1.5px; margin-bottom: 20px; }
  .hero--content > p { font-size: 14px; margin-top: 20px; }
  .hero--actions { width: 100%; gap: 20px; align-items: flex-start; flex-direction: column; }
  .hero--primary { min-height: 52px; }
  .hero--bottomline { padding: 20px 24px; gap: 18px; }
}

/* Stronger typography and a plum information rail for the portrait hero. */
.hero--eyebrow { font-weight: 650; letter-spacing: 1.6px; gap: 12px; margin-bottom: 22px; }
.hero--eyebrow > span { width: 24px; background: var(--brand-deep); }
.hero--content h1 { font-size: clamp(54px, 5.8vw, 84px); line-height: 1.08; letter-spacing: -2.2px; }
.hero--content h1 em { color: var(--surface-dark-raised); }
.hero--content > p { max-width: 390px; font-size: 15px; line-height: 1.85; color: var(--prose-text-color); margin-top: 24px; }
.hero--actions { margin-top: 32px; gap: 14px; }
.hero--primary { min-height: 54px; border-radius: 12px; gap: 28px; padding: 12px 16px 12px 24px; font-weight: 550; }
.hero--primary > span { border-radius: 8px; }
.hero--secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 18px; gap: 14px; border: 1px solid var(--accent-soft); border-radius: 12px; background: color-mix(in srgb, var(--surface) 65%, transparent); font-weight: 500; }
.hero--secondary:hover { background: var(--surface); }
.hero--bottomline { background: var(--brand-deep); border: 0; padding-block: 24px; gap: 28px; }
.hero--people { gap: 16px; }
.hero--people strong { color: var(--text-inverse); font-size: 13px; font-weight: 550; }
.hero--people div > span { color: var(--text-inverse-muted); font-size: 11px; margin-top: 5px; }
.hero--people div > span > span { color: var(--text-inverse); }
.hero--avatars img { border: 2px solid var(--brand-deep); }
.hero--scroll { width: 44px; height: 44px; color: var(--text-inverse); border: 1px solid var(--border-inverse); background: var(--surface-dark-raised); }
.hero--scroll:hover { background: var(--brand-dark); }
.hero--location { border-left: 1px solid var(--border-inverse); padding-left: 28px; }
.hero--location > span { color: var(--text-inverse-muted); font-size: 8px; letter-spacing: 1.4px; }
.hero--location > a, .hero--location > a > span { color: var(--text-inverse); font-size: 13px; }
.hero--bottomline a:focus-visible { outline-color: var(--accent-light); }
@media (max-width: 1000px) {
  .hero--content h1 { font-size: clamp(46px, 8vw, 68px); letter-spacing: -1.5px; }
  .hero--actions { align-items: stretch; width: 100%; gap: 12px; }
  .hero--primary, .hero--secondary { justify-content: space-between; }
}
@media (max-width: 760px) {
  .hero--bottomline { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .hero--scroll { display: none; }
  .hero--location { border-left: 0; border-top: 1px solid var(--border-inverse); padding: 18px 0 0; justify-self: stretch; text-align: left; }
  .hero--location > a { justify-content: flex-start; }
}

/* Editorial left panel, using the shared plum palette. */
.hero--content {
  padding: 54px 0 58px clamp(30px, 4.5vw, 76px);
}
.hero--eyebrow {
  display: inline-flex;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid color-mix(in srgb, var(--brand-deep) 12%, transparent);
  border-radius: 100px;
  background: color-mix(in srgb, var(--surface) 48%, transparent);
  color: var(--brand-deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
  line-height: 1.5;
  margin-bottom: 26px;
}
.hero--eyebrow > span:first-child {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-deep);
  box-shadow: 0 0 0 4px var(--sage);
}
.hero--content h1 {
  color: var(--brand-deep);
  font-size: clamp(36px, 3.35vw, 56px);
  line-height: 1.14;
  font-weight: 400;
  letter-spacing: -1.6px;
}
.hero--content h1 em {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  color: var(--accent-earth);
  font-weight: 400;
}
.hero--content h1 em::after {
  content: "";
  position: absolute;
  left: 2%;
  bottom: 0;
  width: 94%;
  height: 12px;
  border-top: 2px solid var(--accent-soft);
  border-radius: 50%;
  transform: rotate(-3deg);
  opacity: .75;
}
.hero--content > p {
  max-width: 410px;
  margin-top: 22px;
  padding: 0;
  border: 0;
  color: var(--prose-text-color);
  font-size: 14px;
  line-height: 1.85;
  text-wrap: pretty;
}
.hero--actions { gap: 20px; margin-top: 28px; align-items: center; }
.hero--primary {
  min-height: 54px;
  padding: 13px 22px;
  border: 1px solid var(--brand-deep);
  border-radius: 100px;
  background: var(--brand-deep);
  color: var(--text-inverse);
  font-size: 12px;
  font-weight: 550;
  gap: 10px;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--brand-deep) 12%, transparent);
}
.hero--primary > span { width: 32px; height: 32px; border-radius: 50%; background: color-mix(in srgb, var(--text-inverse) 14%, transparent); }
.hero--actions > a > svg { flex-shrink: 0; }
.hero--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.hero--secondary {
  display: inline-flex;
  min-height: 54px;
  padding: 13px 20px;
  border: 1px solid var(--accent-soft);
  border-radius: 100px;
  background: transparent;
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 500;
  gap: 14px;
}
/* Keep the existing button geometry and palette; refine finish and feedback. */
.hero--actions .hero--primary,
.hero--actions .hero--secondary {
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.hero--actions .hero--primary {
  box-shadow: 0 5px 14px color-mix(in srgb, var(--brand-deep) 14%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--text-inverse) 12%, transparent);
}
.hero--actions .hero--primary:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}
.hero--actions .hero--secondary:hover {
  background: transparent;
  border-color: var(--accent-soft);
}
.hero--actions > a > svg {
  transform: scale(1.25);
  transform-origin: center;
  display: block;
  stroke: none;
  fill: currentColor;
  overflow: visible;
}
.hero--actions > a:focus-visible {
  outline: 2px solid var(--brand-deep);
  outline-offset: 5px;
}
@media (hover: hover) {
  .hero--actions .hero--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--brand-deep) 20%, transparent),
      inset 0 1px 0 color-mix(in srgb, var(--text-inverse) 12%, transparent);
  }
  .hero--actions .hero--secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px color-mix(in srgb, var(--brand-deep) 8%, transparent);
  }
}
.hero--actions .hero--primary:active,
.hero--actions .hero--secondary:active {
  transform: translateY(0);
  box-shadow: none;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero--actions .hero--primary,
  .hero--actions .hero--secondary { transition: none; transform: none; }
}

.hero--careDetails {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  list-style: none;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--brand-deep) 12%, transparent);
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.5;
}
.hero--careDetails li { display: flex; align-items: center; gap: 7px; }
.hero--careDetails li::before { content: "✓"; color: var(--brand-deep); font-size: 12px; }
@media (max-width: 1200px) and (min-width: 1001px) {
  .hero--content { padding-left: 34px; }
  .hero--actions { gap: 16px; }
}
@media (max-width: 1000px) {
  .hero--content { padding: 34px 26px 40px; }
  .hero--eyebrow { font-size: 8px; letter-spacing: 1.4px; margin-bottom: 24px; }
  .hero--content h1 { font-size: clamp(32px, 5.5vw, 52px); letter-spacing: -1.5px; }
  .hero--content > p { max-width: 390px; margin-top: 20px; }
  .hero--actions { width: auto; align-items: flex-start; flex-direction: row; gap: 20px; margin-top: 26px; }
  .hero--careDetails { margin-top: 24px; }
}
@media (max-width: 420px) {
  .hero--actions { flex-direction: column; gap: 10px; }
  .hero--careDetails { gap: 12px 16px; font-size: 10px; }
}

/* Doctor listing actions and individual profiles. */
.doctor-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 22px; }
.doctor-profile-link, .doctor-book-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; font-weight: 550; text-decoration: none; }
.doctor-profile-link { color: var(--brand-deep); padding-block: 12px; }
.doctor-book-link { padding: 13px 19px; border: 1px solid var(--brand-deep); border-radius: 100px; background: var(--brand-deep); color: var(--text-inverse); }
.doctor-book-link:hover { background: var(--brand-dark); }
.doctor-profile-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.doctor-card-actions a:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 4px; }
.doctor-detail { padding-block: 40px 80px; }
.doctor-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: 60px; margin-top: 28px; }
.doctor-detail-photo { border-radius: 24px; overflow: hidden; background: var(--sage); }
.doctor-detail-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.doctor-detail-placeholder { display: grid; place-items: center; min-height: 300px; padding: 30px; }
.doctor-detail h1 { font-size: clamp(34px, 4vw, 60px); line-height: 1.12; color: var(--brand-deep); margin-block: 16px; }
.doctor-detail .registration { color: var(--text-secondary); font-size: 13px; }
.doctor-detail-credentials { padding-left: 20px; margin-top: 24px; color: var(--prose-text-color); line-height: 1.8; }
.doctor-detail-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; margin-top: 60px; }
.doctor-detail h2 { color: var(--brand-deep); font-size: 28px; margin-bottom: 18px; }
.doctor-detail-content p { color: var(--prose-text-color); line-height: 1.85; margin-bottom: 14px; }
.doctor-availability { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.doctor-availability dl > div { display: flex; justify-content: space-between; gap: 20px; padding-block: 14px; border-top: 1px solid var(--line); }
.doctor-availability dd { margin: 0; display: grid; gap: 6px; color: var(--text-secondary); }
@media (max-width: 760px) {
  .doctor-detail-grid, .doctor-detail-content { grid-template-columns: 1fr; gap: 28px; }
  .doctor-detail-content { margin-top: 36px; }
  .doctor-availability { padding: 20px; }
  .doctor-card-actions { gap: 10px 16px; }
}

.doctor-list-availability { margin-top: 24px; max-width: 520px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.doctor-list-availability h3 { font-family: inherit; font-size: 14px; font-weight: 600; color: var(--brand-deep); margin: 0 0 12px; }
.doctor-list-availability dl { margin: 0; }
.doctor-available-date { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 12px; align-items: baseline; padding-block: 9px; border-top: 1px solid var(--line); }
.doctor-available-date dt { color: var(--brand-deep); font-size: 12px; font-weight: 550; }
.doctor-available-date dd { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.doctor-available-date dd span { padding: 4px 9px; border-radius: 6px; background: var(--sage); color: var(--brand-deep); font-size: 11px; white-space: nowrap; }
.doctor-biography .doctor-list-availability p { font-size: 11px; line-height: 1.6; color: var(--muted); margin: 10px 0 0; }
@media (max-width: 480px) {
  .doctor-list-availability { padding: 16px; }
  .doctor-available-date { grid-template-columns: 1fr; gap: 6px; }
}

.hero--content > .booking-hours-note, .booking-hours-note { font-family: var(--font-inter), sans-serif; font-size: 11px; line-height: 1.7; color: var(--text-secondary); margin: 12px 0 0; padding: 0; border: 0; max-width: none; }
.appointment-banner .booking-hours-note { color: var(--text-inverse-muted); position: relative; }
.doctor-biography .booking-hours-note { font-size: 11px; margin-top: 12px; }

/* Two complementary treatment stories immediately below the hero. */
.treatment-focus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding-block: 26px 16px; }
.treatment-focus-card { position: relative; display: grid; grid-template-columns: 34% minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface-rose); }
.treatment-focus-photo { min-width: 0; position: relative; background: var(--blush); overflow: hidden; }
.treatment-focus-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 44% center; }
.treatment-focus-copy { min-width: 0; position: relative; z-index: 1; padding: 32px 26px; }
.treatment-focus-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 8px; letter-spacing: 1.5px; font-weight: 600; line-height: 1.6; color: var(--brand-deep); }
.treatment-focus-eyebrow > span { width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: var(--brand-deep); }
.treatment-focus-copy h2 { font-family: var(--font-recife), Georgia, serif; font-size: clamp(30px, 2.7vw, 43px); font-weight: 400; line-height: 1.08; letter-spacing: -1px; color: var(--brand-deep); margin: 18px 0 14px; }
.treatment-focus-copy h2 em { color: var(--accent-earth); font-weight: 400; }
.treatment-focus-subtitle { color: var(--brand-deep); font-size: 13px; font-weight: 550; line-height: 1.5; }
.treatment-focus-description { font-size: 12px; line-height: 1.8; color: var(--prose-text-color); margin: 14px 0 20px; text-wrap: pretty; }
.treatment-focus-features { display: grid; gap: 9px; list-style: none; padding: 0; margin: 0 0 26px; }
.treatment-focus-features li { display: flex; gap: 8px; align-items: flex-start; color: var(--text-secondary); font-size: 11px; line-height: 1.5; }
.treatment-focus-features li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-light); color: var(--brand-deep); font-size: 10px; font-weight: 650; }
.treatment-focus-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 46px; padding: 12px 16px; border: 1px solid var(--brand-deep); border-radius: 100px; background: var(--brand-deep); color: var(--text-inverse); font-size: 11px; line-height: 1.5; font-weight: 550; text-decoration: none; transition: background 180ms ease, box-shadow 180ms ease; }
.treatment-focus-link svg { flex-shrink: 0; }
.treatment-focus-link:hover { background: var(--brand-dark); box-shadow: var(--shadow-soft); }
.treatment-focus-link:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 4px; }
.treatment-focus-card--aligners { grid-template-columns: minmax(0, 1fr) 38%; background: var(--sage); }
.treatment-focus-card--aligners .treatment-focus-photo { grid-column: 2; grid-row: 1; }
.treatment-focus-card--aligners .treatment-focus-copy { grid-column: 1; grid-row: 1; }
.treatment-focus-card--aligners .treatment-focus-photo img { object-position: 55% center; }
@media (max-width: 1100px) {
  .treatment-focus { gap: 16px; }
  .treatment-focus-copy { padding: 26px 20px; }
  .treatment-focus-card, .treatment-focus-card--aligners { grid-template-columns: 1fr; }
  .treatment-focus-photo { height: 220px; }
  .treatment-focus-photo img { object-position: center 40%; }
  .treatment-focus-card--aligners .treatment-focus-photo, .treatment-focus-card--aligners .treatment-focus-copy { grid-column: auto; grid-row: auto; }
  .treatment-focus-card--aligners .treatment-focus-photo img { object-position: center 30%; }
  .treatment-focus-copy h2 br { display: none; }
}
@media (max-width: 600px) {
  .treatment-focus { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 20px 12px; }
  .treatment-focus-card { border-radius: 20px; }
  .treatment-focus-photo { height: 240px; }
  .treatment-focus-copy { padding: 26px 24px; }
  .treatment-focus-copy h2 { font-size: 36px; }
  .treatment-focus-description { max-width: 380px; font-size: 13px; }
  .treatment-focus-features li { font-size: 12px; }
  .treatment-focus-link { width: 100%; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .treatment-focus-link { transition: none; } }

/* Homepage locations: a soft blush backdrop from the shared plum palette. */
#locations.locations-section {
  background-color: var(--blush);
  background-image: linear-gradient(135deg, var(--surface-rose) 0%, var(--blush) 55%, var(--sage) 100%);
}

/* Google-style review cards, retaining the clinic palette and original stories. */
.google-style-reviews { padding: 80px 0; background: var(--surface-rose); }
.google-style-reviews--heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 30px; }
.google-style-reviews--heading h2 { font-family: var(--font-recife), Georgia, serif; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.15; font-weight: 400; letter-spacing: -1.2px; color: var(--brand-deep); margin: 16px 0 12px; }
.google-style-reviews--heading h2 em { color: var(--accent-earth); }
.google-style-reviews--heading p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); }
.google-style-reviews--googleLink { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex-shrink: 0; border: 1px solid var(--accent-soft); border-radius: 100px; padding: 13px 20px; font-size: 12px; font-weight: 550; color: var(--brand-deep); background: var(--surface); text-decoration: none; }
.google-style-reviews--googleLink:hover { background: var(--sage); }
.google-style-reviews--summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; }
.google-style-reviews--score { display: flex; align-items: center; gap: 14px; }
.google-style-reviews--score > strong { font-size: 40px; font-weight: 600; line-height: 1; color: var(--ink); letter-spacing: -1.5px; }
.google-style-reviews--score > div { display: grid; gap: 6px; }
.google-style-reviews .review-rating--stars { display: inline-flex; gap: 3px; color: #e6a21a; }
.google-style-reviews .review-rating--stars svg { width: 16px; height: 16px; }
.google-style-reviews--summaryStars { display: inline-flex; }
.google-style-reviews--summaryLabel { color: var(--muted); font-size: 11px; }
.google-style-reviews--summary > a { font-size: 12px; color: var(--brand-deep); text-decoration: none; }
.google-style-reviews--summary > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.google-style-reviews--track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; scroll-padding-inline: 2px; }
.google-style-reviews--track::-webkit-scrollbar { display: none; }
.google-style-review { min-width: 0; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-card); scroll-snap-align: start; box-shadow: 0 3px 10px color-mix(in srgb, var(--brand-deep) 3%, transparent); }
.google-style-review > header { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.google-style-review--avatar { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-deep); color: white; font-size: 13px; font-weight: 600; }
.google-style-review--avatar-1 { background: #896589; }
.google-style-review--avatar-2 { background: #b77b6c; }
.google-style-review h3 { font-family: inherit; color: var(--ink); font-weight: 600; font-size: 13px; line-height: 1.5; margin: 0; }
.google-style-review header p { font-size: 11px; color: var(--muted); margin-top: 3px; }
.google-style-review--quote { margin-left: auto; flex-shrink: 0; color: var(--accent-soft); }
.google-style-review--rating { display: inline-flex; margin-bottom: 14px; }
.google-style-review blockquote { font-family: inherit; font-size: 13px; line-height: 1.85; color: var(--prose-text-color); margin: 0 0 22px; padding: 0; border: 0; }
.google-style-review > footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 10px; line-height: 1.6; color: var(--muted); }
.google-style-reviews--bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; }
.google-style-reviews--bottom > p { color: var(--muted); font-size: 11px; line-height: 1.7; }
.google-style-reviews--controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.google-style-reviews--controls > span { color: var(--muted); font-size: 11px; margin-right: 8px; }
.google-style-reviews--controls button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--brand-deep); font-size: 18px; cursor: pointer; }
.google-style-reviews--controls button:hover:not(:disabled) { background: var(--brand-deep); color: white; }
.google-style-reviews--controls button:disabled { opacity: .4; cursor: default; }
.google-style-reviews a:focus-visible, .google-style-reviews button:focus-visible, .google-style-reviews--track:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 3px; }
@media (max-width: 1000px) { .google-style-reviews--track { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 600px) {
  .google-style-reviews { padding: 50px 0; }
  .google-style-reviews--heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .google-style-reviews--heading h2 { letter-spacing: -.6px; }
  .google-style-reviews--summary { align-items: flex-start; flex-direction: column; gap: 16px; }
  .google-style-reviews--track { grid-auto-columns: calc(100% - 20px); gap: 12px; }
  .google-style-review { padding: 22px; }
  .google-style-reviews--bottom { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
  .google-style-reviews--controls { align-self: flex-end; }
}

/* Google widget snapshot: business summary plus original reviewer details. */
.google-style-reviews--body { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 22px; align-items: start; }
.google-style-reviews--body > .google-style-reviews--summary { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 18px; background: var(--surface-card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.review-google-wordmark { display: block; width: 74px; height: auto; flex-shrink: 0; }
.google-style-reviews--summary .review-clinic-name { font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--brand-deep); }
.google-style-reviews--summary .google-style-reviews--score { gap: 12px; }
.google-style-reviews--summary .google-style-reviews--score > strong { font-size: 34px; }
.review-google-count { font-size: 12px; color: var(--muted); line-height: 1.7; margin-top: -8px; }
.google-style-reviews--summary > .review-google-write { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; border-radius: 100px; background: var(--brand-deep); color: white; font-size: 11px; font-weight: 550; line-height: 1.6; text-decoration: none; }
.google-style-reviews--summary > .review-google-write:hover { background: var(--brand-dark); text-decoration: none; }
.google-style-reviews--carousel { min-width: 0; }
.google-style-review { padding: 22px; }
.google-style-review--avatar { position: relative; overflow: hidden; }
.google-style-review--avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.google-style-review h3 a { color: inherit; text-decoration: none; }
.google-style-review h3 a:hover { text-decoration: underline; }
.google-style-review time { display: block; font-size: 10px; line-height: 1.5; margin-top: 3px; color: var(--muted); }
.google-style-reviews .review-star { display: inline-flex; }
.google-style-reviews .review-star--empty { color: #dadce0; }
.google-style-review .review-rating-only { font-size: 12px; line-height: 1.8; color: var(--muted); font-style: italic; margin: 0 0 22px; }
.google-style-review > footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.google-style-review > footer .review-google-wordmark { width: 54px; height: auto; }
.google-style-review > footer > a { font-size: 10px; color: var(--text-secondary); text-decoration: none; }
.google-style-review > footer > a:hover { text-decoration: underline; }
@media (max-width: 1200px) {
  .google-style-reviews--body .google-style-reviews--track { grid-auto-columns: calc((100% - 18px) / 2); }
}
@media (max-width: 800px) {
  .google-style-reviews--body { grid-template-columns: minmax(0, 1fr); }
  .google-style-reviews--body > .google-style-reviews--summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; }
  .google-style-reviews--summary .review-clinic-name { grid-column: 1; }
  .google-style-reviews--summary .google-style-reviews--score { grid-column: 2; grid-row: 1 / 3; }
  .google-style-reviews--summary .review-google-count { margin-top: 0; }
}
@media (max-width: 600px) {
  .google-style-reviews--body .google-style-reviews--track { grid-auto-columns: calc(100% - 20px); gap: 12px; }
  .google-style-reviews--body > .google-style-reviews--summary { display: flex; padding: 24px; }
  .google-style-reviews--summary .review-clinic-name { max-width: 280px; }
}

.treatment-goals { margin: 44px 0; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-rose); }
.treatment-goals h2 { color: var(--brand-deep); font-size: clamp(30px, 3vw, 42px); font-weight: 400; line-height: 1.15; margin: 14px 0; }
.treatment-goals h2 em { color: var(--accent-earth); }
.treatment-goals > p { font-size: 13px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 22px; }
.treatment-goals-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.treatment-goal-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: var(--surface-card); color: var(--brand-deep); }
.treatment-goal-card img { display: block; width: 100%; aspect-ratio: 1.65; height: auto; object-fit: cover; }
.treatment-goal-card > span { display: flex; justify-content: space-between; gap: 12px; padding: 16px; font-size: 13px; font-weight: 550; line-height: 1.6; }
.treatment-goal-card:hover { border-color: var(--accent-soft); box-shadow: var(--shadow-soft); }
.treatment-goal-card:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 3px; }
@media (max-width: 760px) { .treatment-goals { padding: 22px; } .treatment-goals-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } .treatment-goal-card > span { padding: 12px; font-size: 12px; } }
@media (max-width: 359px) { .treatment-goals { padding: 16px; } .treatment-goals-grid { grid-template-columns: 1fr; } }

/* Homepage goal navigation and separate treatment-list pages. */
.treatment-goals--home { margin: 34px auto 56px; padding: 40px; }
.treatment-goals--home .treatment-goals-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.goal-results { padding-block: 36px 80px; }
.goal-results-back { color: var(--brand-deep); font-size: 13px; text-decoration: none; }
.goal-results-hero { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); align-items: center; gap: 56px; margin: 28px 0 54px; }
.goal-results-hero h1 { color: var(--brand-deep); font-size: clamp(36px,4.5vw,64px); font-weight: 400; line-height: 1.1; margin-block: 20px; }
.goal-results-hero p { color: var(--prose-text-color); font-size: 15px; line-height: 1.8; margin-bottom: 24px; max-width: 530px; }
.goal-results-hero > img { display: block; width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; border-radius: 24px; }
.goal-results h2 { color: var(--brand-deep); font-size: 32px; font-weight: 400; margin-bottom: 12px; }
.goal-results-count { font-size: 13px; color: var(--muted); }
.goal-treatment-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.goal-treatment-list > li { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 24px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.goal-treatment-number { align-self: start; color: var(--accent-earth); font-size: 18px; padding-top: 4px; }
.goal-treatment-list .eyebrow { font-size: 9px; }
.goal-treatment-list h3 { font-family: var(--font-recife),Georgia,serif; font-weight: 400; font-size: 27px; margin-block: 10px; }
.goal-treatment-list h3 a { text-decoration: none; color: var(--brand-deep); }
.goal-treatment-list p { font-size: 13px; line-height: 1.8; color: var(--prose-text-color); max-width: 750px; }
.goal-treatment-view { color: var(--brand-deep); font-size: 12px; text-decoration: none; white-space: nowrap; padding: 12px 16px; border: 1px solid var(--accent-soft); border-radius: 100px; }
.goal-treatment-view:hover { background: var(--sage); }
.goal-results a:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 4px; }
@media (max-width: 900px) { .treatment-goals--home .treatment-goals-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
 .treatment-goals--home { padding: 22px; margin-block: 24px 38px; }
 .treatment-goals--home .treatment-goals-grid { gap: 12px; }
 .goal-results-hero { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
 .goal-treatment-list > li { grid-template-columns: auto minmax(0,1fr); padding: 20px; gap: 16px; }
 .goal-treatment-view { grid-column: 2; justify-self: start; }
 .goal-treatment-list h3 { font-size: 25px; }
}
.treatment-goals--home { scroll-margin-top: 110px; }
.goal-results-hero .booking-hours-note { font-size: 11px; margin: 12px 0 0; }

/* Editorial homepage goal cards, with soft surfaces and plum details. */
.treatment-goals--home {
  margin-block: 46px 68px;
  padding: clamp(24px, 3.8vw, 50px);
  border: 1px solid color-mix(in srgb, var(--accent-soft) 28%, transparent);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--surface-rose), var(--blush) 65%, var(--sage));
}
.treatment-goals-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.treatment-goals-heading .eyebrow { display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: 2px; }
.treatment-goals-heading h2 { font-family: var(--font-recife), Georgia, serif; font-size: clamp(36px, 4.1vw, 59px); line-height: 1.08; letter-spacing: -1.5px; margin: 22px 0 0; }
.treatment-goals-heading h2 em { position: relative; display: inline-block; padding-bottom: 7px; }
.treatment-goals-heading h2 em::after { content: ""; position: absolute; left: 1%; bottom: 0; width: 97%; height: 9px; border-top: 1px solid var(--accent-soft); border-radius: 50%; transform: rotate(-3deg); }
.treatment-goals-intro { max-width: 280px; padding-bottom: 7px; }
.treatment-goals-intro p { font-size: 14px; line-height: 1.85; color: var(--prose-text-color); text-wrap: pretty; }
.treatment-goals-intro > span { display: flex; gap: 12px; align-items: center; color: var(--brand-deep); font-size: 10px; line-height: 1.7; margin-top: 18px; }
.treatment-goals-intro > span > span { font-size: 18px; }
.treatment-goals--home .treatment-goals-grid { gap: 20px; }
.treatment-goals--home .treatment-goal-card { border: 1px solid color-mix(in srgb, var(--accent-soft) 18%, transparent); border-radius: 18px; background: var(--surface); box-shadow: 0 3px 10px color-mix(in srgb, var(--brand-deep) 2%, transparent); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.treatment-goal-photo { position: relative; overflow: hidden; margin: 7px 7px 0; border-radius: 12px; }
.treatment-goal-photo img { display: block; width: 100%; aspect-ratio: 1.5; object-fit: cover; transition: transform 450ms ease; }
.treatment-goal-index { position: absolute; top: 10px; left: 10px; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid color-mix(in srgb, var(--surface) 70%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--brand-deep); font-size: 9px; font-weight: 550; }
.treatment-goal-caption { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 12px; padding: 19px 16px 21px; }
.treatment-goal-caption > div { min-width: 0; }
.treatment-goal-caption h3 { font-family: inherit; font-size: 14px; font-weight: 550; color: var(--brand-deep); line-height: 1.55; margin: 0; text-wrap: pretty; }
.treatment-goal-caption > div > span { display: block; color: var(--text-secondary); font-size: 10px; line-height: 1.6; margin-top: 7px; }
.treatment-goal-arrow { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--brand-deep); background: var(--sage); transition: background 220ms ease, color 220ms ease; }
.treatment-goals-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 22px; font-size: 11px; line-height: 1.7; color: var(--text-secondary); }
.treatment-goals-footer a { color: var(--brand-deep); text-decoration: none; }
.treatment-goals-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) {
 .treatment-goals--home .treatment-goal-card:hover { transform: translateY(-4px); border-color: var(--accent-soft); box-shadow: 0 12px 26px color-mix(in srgb, var(--brand-deep) 8%, transparent); }
 .treatment-goal-card:hover .treatment-goal-photo img { transform: scale(1.04); }
 .treatment-goal-card:hover .treatment-goal-arrow { color: white; background: var(--brand-deep); }
}
@media (max-width: 900px) { .treatment-goals-heading { gap: 28px; } .treatment-goals-intro { max-width: 240px; } }
@media (max-width: 600px) {
 .treatment-goals--home { padding: 24px 18px; border-radius: 22px; margin-block: 30px 44px; }
 .treatment-goals-heading { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
 .treatment-goals-heading h2 { font-size: clamp(34px, 8.8vw, 48px); letter-spacing: -1px; margin-top: 18px; }
 .treatment-goals-intro { max-width: 330px; padding: 0; }
 .treatment-goals-intro p { font-size: 13px; }
 .treatment-goals-intro > span { margin-top: 10px; }
 .treatment-goals--home .treatment-goals-grid { gap: 12px; }
 .treatment-goals--home .treatment-goal-card { border-radius: 14px; }
 .treatment-goal-photo { margin: 5px 5px 0; border-radius: 9px; }
 .treatment-goal-photo img { aspect-ratio: 1.15; }
 .treatment-goal-index { width: 23px; height: 23px; font-size: 8px; top: 7px; left: 7px; }
 .treatment-goal-caption { align-items: flex-start; gap: 7px; padding: 13px 10px 16px; }
 .treatment-goal-caption h3 { font-size: 12px; }
 .treatment-goal-caption > div > span { font-size: 9px; margin-top: 6px; }
 .treatment-goal-arrow { width: 26px; height: 26px; flex-basis: 26px; }
 .treatment-goal-arrow svg { width: 14px; height: 14px; }
 .treatment-goals-footer { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 10px; margin-top: 24px; padding-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { .treatment-goals--home .treatment-goal-card, .treatment-goal-photo img, .treatment-goal-arrow { transition: none; } .treatment-goals--home .treatment-goal-card:hover, .treatment-goal-card:hover .treatment-goal-photo img { transform: none; } }

.pricing-calculator { margin: 32px 0 48px; padding: clamp(22px,4vw,44px); background: var(--surface-rose); border: 1px solid var(--line); border-radius: 26px; }
.pricing-calculator h2 { font-size: clamp(30px,3.4vw,46px); line-height: 1.12; font-weight: 400; color: var(--brand-deep); margin: 16px 0; }
.pricing-calculator h2 em { color: var(--accent-earth); }
.pricing-calculator header > p { font-size: 14px; line-height: 1.8; color: var(--prose-text-color); }
.pricing-calculator-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 30px; margin-top: 30px; align-items: start; }
.pricing-calculator-form { display: grid; gap: 20px; min-width: 0; }
.pricing-calculator label { display: grid; gap: 9px; color: var(--brand-deep); font-size: 13px; font-weight: 550; }
/* Keep native, accessible controls while giving every field the same visual rhythm. */
.pricing-calculator select, .pricing-calculator input {
 box-sizing: border-box; display: block; width: 100%; min-width: 0; height: 56px;
 padding: 0 18px; background-color: var(--surface); border: 1px solid var(--line);
 border-radius: 14px; font-family: inherit; font-size: 16px; font-weight: 400;
 line-height: normal; color: var(--ink); box-shadow: 0 2px 4px rgb(78 13 78 / 2%);
 transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.pricing-calculator select {
 appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234e0d4e' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
 background-position: right 17px center; background-size: 20px; background-repeat: no-repeat;
}
.pricing-calculator select:enabled:hover, .pricing-calculator input:hover { border-color: var(--accent-soft); }
.pricing-calculator select:focus-visible, .pricing-calculator input:focus-visible {
 outline: none; border-color: var(--brand-deep); box-shadow: 0 0 0 4px rgb(78 13 78 / 8%);
}
.pricing-calculator input { max-width: 160px; padding-right: 12px; }
.pricing-calculator input::-webkit-inner-spin-button { opacity: 1; cursor: pointer; }
.pricing-calculator select:disabled {
 opacity: 1; color: var(--text-secondary); background-color: var(--blush);
 border-color: var(--line); box-shadow: none; cursor: not-allowed;
}
.pricing-calculator [type="submit"] { justify-self: start; cursor: pointer; }
.pricing-calculator [type="submit"]:disabled { opacity: .55; cursor: not-allowed; }
.calculator-price-hint, [data-calculator-status] { margin: 0; font-size: 12px; line-height: 1.8; color: var(--text-secondary); }
.calculator-price-hint { margin-top: -8px; }
[data-calculator-status]:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .pricing-calculator select, .pricing-calculator input { transition: none; } }
.pricing-calculator-estimate { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; min-width: 0; }
.pricing-calculator-estimate h3 { font-family: inherit; color: var(--brand-deep); font-size: 17px; margin-bottom: 20px; }
.pricing-calculator-estimate > p { font-size: 12px; line-height: 1.8; color: var(--muted); }
[data-calculator-items] { list-style: none; padding: 0; margin: 0; }
[data-calculator-items] li { display: flex; justify-content: space-between; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
[data-calculator-items] strong { display: block; color: var(--brand-deep); font-size: 13px; line-height: 1.6; }
[data-calculator-items] span { display: block; margin-top: 6px; color: var(--text-secondary); font-size: 11px; line-height: 1.7; }
[data-calculator-items] button { background: none; border: 0; color: var(--brand-deep); text-decoration: underline; font-size: 11px; cursor: pointer; }
.calculator-total { margin-top: 24px; padding-block: 20px; display: grid; gap: 12px; color: var(--brand-deep); }
.calculator-total > span { font-size: 12px; }
.calculator-total strong { font-size: clamp(24px,2.4vw,34px); font-weight: 550; overflow-wrap: anywhere; }
.calculator-total p { font-size: 11px; line-height: 1.8; color: var(--text-secondary); }
.pricing-calculator .calculator-disclaimer { margin-bottom: 22px; }
.pricing-calculator :focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 3px; }
@media (max-width:760px) { .pricing-calculator-layout { grid-template-columns: 1fr; gap: 22px; } .pricing-calculator-estimate { padding: 20px; } }

/* Goal navigation shares the homepage treatment card and section system. */
@media (max-width: 600px) {
  #services { display: none; }
  .footer--connection > p,
  .not-found--footer > span { display: none; }
  .footer--booking {
    min-height: 44px;
    padding: 8px 12px 8px 18px;
    gap: 14px;
    font-size: 12px;
  }
  .footer--booking > span {
    width: 26px;
    height: 26px;
  }
}
.smile-goals-section { scroll-margin-top: 110px; }
.smile-goals-section h2 em { color: var(--accent-earth); }
.smile-goals-section .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .smile-goals-section .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .smile-goals-section .services-grid { grid-template-columns: 1fr; } }
.smile-goals-section .services-grid { gap: 16px; }
@media (max-width: 600px) { .smile-goals-section .services-grid { gap: 12px; } }
.smile-goals-section .treatment-card--content h3 { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.2; letter-spacing: -.3px; }
