/* ═══════════════════════════════════════════
   SKETCH TRADES — ONE PAGE SITES
   Frontend stylesheet
   All selectors scoped to .ttd to avoid theme bleed.
   ═══════════════════════════════════════════ */

/* ─── Karin (display / headings) — self-hosted from /wp-content/uploads ───
   Paths are relative to this file (…/plugins/treetops-dental/assets/css/). */
@font-face {
  font-family: 'Karin';
  src: url('../../../../uploads/2026/06/KarinLight.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Karin';
  src: url('../../../../uploads/2026/06/KarinRegular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Karin';
  src: url('../../../../uploads/2026/06/KarinMedium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Karin';
  src: url('../../../../uploads/2026/06/KarinBold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ─── Reset within .ttd ─── */
.ttd, .ttd * { box-sizing: border-box; }
/* overflow-x:clip contains the full-bleed hero's horizontal bleed WITHOUT
   creating a scroll container — so position:sticky descendants still work. */
.ttd { font-family: var(--ttd-font-body, sans-serif); color: var(--ttd-body); line-height: 1.6; overflow-x: clip; max-width: 100%; }
.ttd h1, .ttd h2, .ttd h3, .ttd h4, .ttd h5, .ttd h6 { font-family: var(--ttd-font-headings, sans-serif); color: var(--ttd-heading); margin: 0 0 0.6em; line-height: 1.2; font-weight: var(--ttd-font-headings-weight, 700); }
.ttd p { margin: 0 0 1em; }
.ttd img { max-width: 100%; height: auto; display: block; }
.ttd a { color: inherit; text-decoration: none; }
.ttd button { cursor: pointer; font-family: inherit; }

/* Highlight spans inside headings (two-tone copy) */
.ttd h1 span, .ttd h2 span, .ttd h3 span,
.ttd h4 span, .ttd h5 span, .ttd h6 span { color: var(--ttd-secondary) !important; }

/* Eyebrow label */
.ttd .eyebrow_label { font-size: 16px; line-height: 1em; font-weight: 400; color: var(--ttd-secondary); margin-bottom: 8px; }

/* ═══════════════════════════════════════════
   GLOBAL BUTTONS
   ═══════════════════════════════════════════ */
.ttd a.primary-cta,
.ttd a.secondary-cta {
  min-width: 220px;
  text-align: center;
  display: inline-block;
  background: linear-gradient(to right, var(--ttd-cta-from) 50%, var(--ttd-cta-to) 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  color: var(--ttd-cta-text);
  margin-top: 20px;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: background-position 0.3s ease;
}
.ttd a.primary-cta:hover,
.ttd a.secondary-cta:hover { background-position: left bottom; }
.ttd a.secondary-cta::after {
  content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  font-size: 18px; margin-left: 0.6em; display: inline-block;
}
.ttd .tile-cta-btn { display: inline-block; padding: 10px 0; font-weight: 400; color: var(--ttd-secondary); }

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.ttd-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ttd-header-bg, rgba(255,255,255,0.92));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--ttd-font-body, sans-serif);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.ttd-header.is-scrolled { background: var(--ttd-header-bg, rgba(255,255,255,0.97)); box-shadow: 0 4px 24px rgba(0,0,0,0.10); }
.ttd-header-inner {
  max-width: 1450px; margin: 0 auto; padding: 12px 36px;
  display: flex; align-items: center; gap: 24px;
}
.ttd-header-logo { max-height: 50px; width: auto; transition: opacity 0.2s ease; }
.ttd-header-logo:hover { opacity: 0.85; }
.ttd-header-logo-text { font-family: var(--ttd-font-headings, sans-serif); font-weight: 800; font-size: 22px; color: var(--ttd-header-link, var(--ttd-primary)); }
.ttd-header-logo-link { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }

/* Menu — centered between logo and right-side actions */
.ttd-mhb-menu { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.ttd-mhb-menu .ttd-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.ttd-mhb-menu .menu-item { position: relative; }
.ttd-mhb-menu .menu-item > a { display: block; text-decoration: none; color: var(--ttd-header-link, var(--ttd-heading)); font-weight: 400; font-size: 15px; }
.ttd-mhb-menu .menu-item > a span {
  display: inline-block;
  padding: 10px 16px !important;
  line-height: 1 !important;
  border-radius: 100px;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.ttd-mhb-menu .menu-item > a:hover span { background-color: rgba(255,255,255,0.12); }

/* Mega menu */
.ttd-mhb-menu .ttd-has-mega .wpba-mega-menu-top {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 10px;
  z-index: 9999;
}
.ttd-mhb-menu .ttd-has-mega:hover .wpba-mega-menu-top,
.ttd-mhb-menu .ttd-has-mega:focus-within .wpba-mega-menu-top { display: block; }
.ttd-mhb-menu .ttd-has-mega .wpba-mega-menu { background: white; box-shadow: 0 12px 48px rgba(0,0,0,0.14); border-radius: 14px; overflow: hidden; }
.ttd .services-submenu {
  background: white;
  padding: 20px 10px 10px;
  width: min(400px, calc(100vw - 30px));
  box-sizing: border-box;
}
.ttd .services-submenu .sub-menu-inner { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.ttd .service-sub-block {
  padding: 20px;
  border-radius: 10px;
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.2s ease;
}
.ttd .service-sub-block:hover { background: #F7F9FC; }
.ttd .service-sub-block h4 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; color: var(--ttd-heading); }
.ttd .service-sub-block p { margin: 0; color: #6e6e6e; line-height: 1.5; font-size: 15px; }

/* Header right-side actions */
.ttd-header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

/* Phone CTA — shared base (reused in section CTAs) */
.ttd .quote_cta_link { text-decoration: none; display: inline-block; }
.ttd .quote_cta {
  display: inline-grid;
  grid-template-columns: 44px auto;
  grid-auto-rows: min-content;
  column-gap: 12px;
  align-items: center;
  border-radius: 100px;
  padding: 10px 18px;
  background: transparent;
  transition: background-color 0.2s ease;
}
.ttd .quote_cta:hover { background-color: rgba(255,255,255,0.95); }
.ttd .quote_cta img,
.ttd .quote_cta i {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  float: none !important;
  max-height: 36px;
  align-self: center;
}
.ttd .quote_cta i { font-size: 26px; color: var(--ttd-secondary); justify-self: center; }
.ttd .quote_cta p,
.ttd .quote_cta h2 {
  grid-column: 2;
  margin: 0 !important;
  white-space: nowrap;
}
.ttd .quote_cta p {
  grid-row: 1;
  font-size: 14px;
  line-height: 1.2em;
  color: var(--ttd-body);
}
.ttd .quote_cta h2 {
  grid-row: 2;
  font-size: 22px !important;
  line-height: 1em !important;
  color: var(--ttd-secondary) !important;
  font-family: var(--ttd-font-headings, sans-serif);
}

/* Phone CTA — header-specific: compact white pill with shadow */
.ttd-header-actions .quote_cta_link { transition: transform 0.2s ease; }
.ttd-header-actions .quote_cta_link:hover { transform: translateY(-1px); }
.ttd-header-actions .quote_cta {
  grid-template-columns: 36px auto;
  column-gap: 10px;
  padding: 10px 20px 10px 14px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.ttd-header-actions .quote_cta:hover { background-color: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.ttd-header-actions .quote_cta i { font-size: 22px; }
.ttd-header-actions .quote_cta img { max-height: 30px; }
.ttd-header-actions .quote_cta p { font-size: 12px; line-height: 1.2em; color: #666; }
.ttd-header-actions .quote_cta h2 { font-size: 18px !important; line-height: 1.1em !important; letter-spacing: -0.01em; }

/* Action buttons */
.ttd .action_button {
  color: var(--ttd-cta-text);
  font-size: 14px;
  font-weight: 400;
  padding: 14px 28px;
  letter-spacing: 0.2px;
  border-radius: 100px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--ttd-cta-from), var(--ttd-cta-to));
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.ttd .action_button:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,0,0,0.16); opacity: 0.92; }

.ttd .responsive-cta {
  display: none;
  background: linear-gradient(135deg, var(--ttd-cta-from), var(--ttd-cta-to));
  color: var(--ttd-cta-text);
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.ttd .responsive-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,0,0,0.16); opacity: 0.92; }

/* Header-scoped colour overrides (only when header colour overrides are set) */
.ttd-header .action_button {
  color: var(--ttd-header-cta-text, var(--ttd-cta-text));
  background: var(--ttd-header-cta, linear-gradient(135deg, var(--ttd-cta-from), var(--ttd-cta-to)));
}
.ttd-header .responsive-cta {
  color: var(--ttd-header-cta-text, var(--ttd-cta-text));
  background: var(--ttd-header-cta, linear-gradient(135deg, var(--ttd-cta-from), var(--ttd-cta-to)));
}
.ttd-header .quote_cta i { color: var(--ttd-header-phone, var(--ttd-secondary)); }
.ttd-header .quote_cta h2 { color: var(--ttd-header-phone, var(--ttd-secondary)) !important; }

/* Burger */
.ttd-burger { display: none; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: 10px; cursor: pointer; border-radius: 8px; transition: background-color 0.2s ease; }
.ttd-burger:hover { background-color: rgba(255,255,255,0.1); }
.ttd-burger span { display: block; width: 24px; height: 2.5px; background: var(--ttd-header-link, var(--ttd-heading)); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.ttd-burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.ttd-burger.is-open span:nth-child(2) { opacity: 0; }
.ttd-burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu drawer */
.ttd-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  padding: 24px 30px 30px;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 999;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-radius: 0 0 16px 16px;
}
.ttd-mobile-menu.is-open { display: block; }
.ttd-mobile-menu ul { list-style: none; padding: 0; margin: 0 0 20px; }
.ttd-mobile-menu li a { display: block; padding: 14px 0; font-size: 17px; font-weight: 400; color: var(--ttd-heading); border-bottom: 1px solid rgba(0,0,0,0.05); transition: color 0.2s ease; }
.ttd-mobile-menu li a:hover { color: var(--ttd-secondary); }
.ttd-mobile-mm-label { padding: 14px 0 6px; font-size: 12px; text-transform: uppercase; color: var(--ttd-secondary); font-weight: 400; letter-spacing: 1.5px; }
.ttd-mobile-mm-item a { padding-left: 16px !important; }
.ttd-mobile-menu .action_button { display: block; text-align: center; margin: 20px auto; max-width: 320px; }
.ttd-mobile-menu .quote_cta_link { display: block; text-align: center; margin: 16px auto; }
.ttd-mobile-menu .quote_cta { margin: 0 auto; }

/* Header CTA collapse below 1340px (matches snippet 20) */
@media (max-width: 1340px) {
  .ttd-header-actions .quote_cta_link { display: none; }
}
@media (max-width: 1080px) {
  .ttd-mhb-menu { display: none; }
  .ttd-burger { display: flex; }
  .ttd-header-actions .action_button { display: none; }
  .ttd .responsive-cta { display: inline-block; }
}
@media (max-width: 650px) {
  .ttd .responsive-cta { display: none; }
}

/* CTA-only mobile mode — no burger, responsive CTA stays visible at all sizes */
.ttd-header--cta-only .ttd-header-actions { margin-left: auto; }
.ttd-header--cta-only .ttd-burger { display: none !important; }
@media (max-width: 1080px) {
  .ttd-header--cta-only .responsive-cta { display: inline-block; }
}
@media (max-width: 650px) {
  .ttd-header--cta-only .responsive-cta { display: inline-block; }
}

/* ═══════════════════════════════════════════
   GDPR BANNER
   ═══════════════════════════════════════════ */
.ttd-gdpr {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 1450px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 14px 24px;
  z-index: 99999999;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
@media (max-width: 865px) { .ttd-gdpr { border-radius: 20px; padding: 16px 20px; } }
.ttd-gdpr-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.ttd-gdpr .mfn-gdpr-content,
.ttd-gdpr .mfn-gdpr-content a { color: var(--ttd-primary); margin: 0; font-size: 14px; }
.ttd-gdpr .mfn-gdpr-content a { font-weight: 400; text-decoration: underline; }
.ttd-gdpr .mfn-gdpr-content a:hover { color: var(--ttd-secondary); }
.ttd-gdpr-actions { display: flex; align-items: center; gap: 8px; }
.ttd-gdpr .mfn-gdpr-readmore { padding: 5px 20px 8px; border-radius: 100px; color: var(--ttd-primary); text-decoration: none; }
.ttd-gdpr .mfn-gdpr-readmore:hover { font-weight: 400; background-color: rgba(0,0,0,0.03); }
.ttd-gdpr .mfn-gdpr-button {
  background: linear-gradient(to right, var(--ttd-cta-from) 50%, var(--ttd-cta-to) 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  color: white;
  padding: 14px 30px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 0;
  border-radius: 100px;
  transition: background-position 0.3s ease;
}
.ttd-gdpr .mfn-gdpr-button:hover { background-position: left bottom; }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.ttd .hero-section {
  position: relative;
  padding: 180px 40px;
  color: #fff;
  overflow: hidden;
}
.ttd .hero-section .hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  z-index: 0;
}
.ttd .hero-section .hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.2); z-index: 1; }
.ttd .hero-section .hero-gradient { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.5) 35%, rgba(0,0,0,0) 100%); z-index: 2; }
.ttd .hero-section .hero-inner {
  position: relative; z-index: 3;
  max-width: 1400px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center;
}
.ttd .hero-section .hero-col { flex: 1 1 48%; min-width: 320px; }
.ttd .hero-left { width: min(100%, 500px); margin: 0 auto; padding: 30px; text-align: left; }
.ttd .hero-left .eyebrow_label { color: rgba(255,255,255,0.85); }
.ttd .hero-left .hero-title {
  max-width: 500px; line-height: 1; margin: 10px 0 30px;
  font-size: clamp(36px, 4.5vw, 56px); color: #fff;
}
.ttd .hero-left .hero-title span { color: var(--ttd-secondary) !important; }
.ttd .hero-left .hero-description { font-weight: 400; max-width: 500px; line-height: 1.5em; margin-bottom: 20px; }
.ttd .hero-left .hero-google-rating img { margin-top: 20px; max-height: 50px; }

/* Hero — 50/50 split layout */
.ttd .hero-section.hero-split { padding: 0; background: none; min-height: 0; }
.ttd .hero-split .hero-inner {
  max-width: none; gap: 0; flex-wrap: nowrap;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: max(700px, 80vh);
}
.ttd .hero-split .hero-col { flex: none; min-width: 0; min-height: 100%; }
.ttd .hero-split .hero-left {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 80px 50px; margin: 0;
}
.ttd .hero-split .hero-split-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  z-index: 0;
}
.ttd .hero-split .hero-split-overlay {
  position: absolute; inset: 0;
  z-index: 1;
}
.ttd .hero-split .hero-left-content { position: relative; z-index: 2; max-width: 520px; }
.ttd .hero-split .hero-right {
  display: flex; align-items: center; justify-content: center;
  padding: 60px 40px; color: #333;
}
.ttd .hero-split .hero-right .form-card {
  box-shadow: none; background: transparent;
  width: min(100%, 500px);
}

.ttd .hero-section .form-card {
  background: #fff; color: #333;
  width: min(100%, 550px); margin: 0 auto;
  padding: 50px 20px 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  text-align: center;
}
.ttd .form-card .form-heading { margin-bottom: 8px; color: var(--ttd-heading); }
.ttd .form-card .form-subheading { margin-bottom: 20px; color: var(--ttd-body); }
.ttd .form-card .form-disclaimer { font-size: 13px; margin-top: 15px; color: var(--ttd-body); }
.ttd .form-card .form-verification img { margin-top: 15px; display: inline-block; max-height: 50px; }

/* Built-in form */
.ttd .ttd-builtin-form { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.ttd .ttd-form-row { margin: 0; }
.ttd .ttd-form-row input[type="text"],
.ttd .ttd-form-row input[type="email"],
.ttd .ttd-form-row input[type="tel"],
.ttd .ttd-form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #E5E5E5;
  background: #F5F5F5;
  border-radius: 0;
  font-size: 15px;
  font-family: inherit;
  color: var(--ttd-heading);
  box-sizing: border-box;
  transition: border-color 0.15s, background 0.15s;
}
.ttd .ttd-form-row input:focus,
.ttd .ttd-form-row textarea:focus { outline: none; border-color: var(--ttd-secondary); background: #fff; }
.ttd .ttd-form-row textarea { resize: vertical; min-height: 100px; }
.ttd .ttd-form-row.ttd-form-submit { margin-top: 4px; }
.ttd .ttd-form-row.ttd-form-submit button {
  width: 100%;
  padding: 18px;
  background: linear-gradient(to right, var(--ttd-cta-from) 50%, var(--ttd-cta-to) 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  color: var(--ttd-cta-text);
  border: 0;
  border-radius: 0;
  font-size: 15px;
  font-weight: 400;
  text-transform: none;
  cursor: pointer;
  transition: background-position 0.3s ease;
}
.ttd .ttd-form-row.ttd-form-submit button:hover { background-position: left bottom; }
.ttd .ttd-honeypot { position: absolute !important; left: -9999px !important; height: 0 !important; overflow: hidden !important; }
.ttd .ttd-form-success { background: #E6F4EA; border-left: 4px solid #34A853; padding: 14px 16px; margin-bottom: 14px; color: #1E5631; font-size: 14px; }
.ttd .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

@media (max-width: 1080px) {
  .ttd .hero-section { background: none !important; padding: 0; }
  .ttd .hero-section .hero-inner { flex-direction: column; gap: 0; }
  .ttd .hero-section .hero-col { flex: 1 1 100%; width: 100%; margin: 0; }
  .ttd .hero-section .hero-bg,
  .ttd .hero-section .hero-overlay,
  .ttd .hero-section .hero-gradient { display: none; }
  .ttd .hero-section .hero-left {
    position: relative; color: #fff;
    background-size: cover; background-position: center;
    padding: 200px 20px 100px; text-align: center;
  }
  .ttd .hero-section .hero-left::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.2); z-index: 0; }
  .ttd .hero-section .hero-left::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.5) 35%, rgba(0,0,0,0) 100%); z-index: 0; }
  .ttd .hero-section .hero-left > * { position: relative; z-index: 1; }
  /* Split layout — stack on mobile */
  .ttd .hero-split .hero-inner { display: flex; grid-template-columns: none; }
  .ttd .hero-split .hero-split-bg,
  .ttd .hero-split .hero-split-overlay { display: none; }
  .ttd .hero-split .hero-right { padding: 40px 20px; }
  .ttd .hero-section .hero-left .hero-title,
  .ttd .hero-section .hero-left .hero-description { margin: 20px auto; }
  .ttd .hero-section .form-card { box-shadow: none; }
}

/* ═══════════════════════════════════════════
   SERVICE TILES (services_grid)
   ═══════════════════════════════════════════ */
.ttd .vc_row.services-row { padding: 60px 0 40px; background: transparent; }
.ttd .service-tiles-section { max-width: 1450px; width: calc(100% - 60px); margin: 0 auto; }
.ttd .services-grid-header { text-align: center; margin-bottom: 50px; }
.ttd .services-grid-header h2 { margin: 0 0 12px; }
.ttd .services-grid-subtitle { font-size: 18px; color: var(--ttd-body, #6e6e6e); max-width: 600px; margin: 0 auto; }
.ttd .service-tiles-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; justify-content: center; }
.ttd .service-tile {
  flex: 1 1 360px; max-width: 420px;
  display: flex; flex-direction: column;
  cursor: pointer; background: transparent;
  transition: background 0.25s ease;
  text-decoration: none;
  color: var(--ttd-body);
  overflow: hidden; padding: 5px;
}
.ttd .service-tile:hover { background: #f9f9f9; }
.ttd .service-tiles-grid.tiles-count-2 .service-tile { flex: 1 1 calc(50% - 20px); max-width: none; }
.ttd .service-tile .tile-media { position: relative; }
.ttd .service-tile .tile-image { display: block; width: 100%; height: 400px; object-fit: cover; object-position: center; }
.ttd .service-tile .tile-icon-badge {
  position: absolute; left: 10px; bottom: -28px;
  width: 85px; height: 85px;
  border-radius: 20px;
  background: var(--ttd-secondary);
  display: grid; place-items: center;
}
.ttd .service-tile .tile-icon-badge img { display: block; width: 56px; height: 56px; object-fit: contain; }
.ttd .tile-content { padding: 50px 16px 30px; }
.ttd .service-tile .tile-title {
  margin-top: 12px; margin-bottom: 8px;
  color: var(--ttd-heading);
  font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2;
}
.ttd .service-tile .tile-desc { margin-bottom: 0; font-size: 15px; line-height: 1.5em; }
.ttd .service-tile .tile-cta { margin-top: 14px; display: inline-block; }
.ttd .service-tile .tile-cta-btn::after {
  content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  font-size: 16px; margin-left: 0.4em; display: inline-block;
}

@media (max-width: 1080px) {
  .ttd .vc_row.services-row { background: #fafafa; padding: 50px 0; }
  .ttd .service-tile { background: #ffffff; }
  .ttd .service-tile:hover { background: #ffffff; }
  .ttd .service-tile .tile-image { height: 300px; }
  .ttd .service-tile .tile-icon-badge { width: 76px; height: 76px; bottom: -24px; }
  .ttd .service-tile .tile-icon-badge img { width: 48px; height: 48px; }
  .ttd .service-tiles-grid.tiles-count-2 .service-tile,
  .ttd .service-tile { flex: 1 1 100%; max-width: 700px; margin: 0 auto; padding: 15px; }
}

/* ═══════════════════════════════════════════
   SERVICES BREAKDOWN
   ═══════════════════════════════════════════ */
.ttd .services-breakdown-wrapper { width: 100%; }
.ttd .services-breakdown-inner {
  display: flex; flex-wrap: wrap; align-items: stretch;
  min-height: 400px; gap: 0;
}
.ttd .breakdown-image-column {
  flex: 1 1 50%; min-height: 400px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.ttd .breakdown-content-column {
  flex: 1 1 50%;
  background: var(--ttd-section-bg);
  display: flex; align-items: center; justify-content: center;
  padding: 80px 30px;
}
.ttd .breakdown-content-inner { max-width: 650px; width: 100%; }
.ttd .breakdown-header { margin: 0 0 30px; }
.ttd .breakdown-header h2 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 40px); }
.ttd .breakdown-header p { margin: 0; }

.ttd .service-group { display: flex; align-items: flex-start; gap: 15px; margin: 0 0 30px; }
.ttd .service-group .service-icon {
  flex: 0 0 60px; width: 60px; height: 60px;
  border-radius: 999px;
  background-color: var(--ttd-secondary);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ttd .service-group .service-icon img { max-width: 60%; max-height: 60%; object-fit: contain; display: block; }
.ttd .service-group .service-text h3 { font-size: 20px; margin: 0 0 4px; }
.ttd .service-group .service-text p { margin: 0; line-height: 1.7em; }

.ttd .cta-button-container { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.ttd .cta-button-container .cta-primary { flex: 0 0 auto; }
.ttd .cta-button-container .cta-primary a { margin-top: 0; }

@media (max-width: 1300px) {
  .ttd .services-breakdown-inner { flex-direction: column; }
  .ttd .breakdown-content-column { order: 1; padding: 60px 24px; }
  .ttd .breakdown-image-column { order: 2; min-height: 500px; }
  .ttd .breakdown-content-inner { max-width: 100%; width: calc(100% - 60px); }
}
@media (max-width: 1300px) and (min-width: 1001px) {
  .ttd .breakdown-content-inner { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  .ttd .breakdown-content-inner .breakdown-header,
  .ttd .breakdown-content-inner .cta-button-container { grid-column: 1 / -1; justify-self: center; text-align: center; }
}
@media (max-width: 1000px) {
  .ttd .breakdown-content-inner { display: block; max-width: 650px; text-align: center; margin: 0 auto; }
  .ttd .service-group { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .ttd .cta-button-container { flex-direction: column; align-items: center; gap: 16px; }
}

/* ═══════════════════════════════════════════
   CTA + BENEFITS
   ═══════════════════════════════════════════ */
.ttd .cta-row { padding: 80px 0 40px; }
.ttd .cta-section-wrapper { width: calc(100% - 60px); margin: 0 auto; padding: 0 0 50px; }
.ttd .cta-section-innter { max-width: 800px; margin: 0 auto; text-align: center; }
.ttd .cta-section-innter h3 { margin: 0 0 40px; font-size: clamp(24px, 2.6vw, 36px); }
.ttd .cta-section-wrapper .cta-button-container { justify-content: center; }

.ttd .benefits-grid-section { max-width: 1400px; width: calc(100% - 60px); margin: 0 auto; padding: 50px 0 0; }
.ttd .cta-section-wrapper + .benefits-grid-section { padding-top: 0; margin-top: -20px; }
.ttd .benefits-grid-section + .cta-section-wrapper { padding-bottom: 0; }
.ttd .benefits-grid-section + .cta-section-wrapper + *:last-child { margin-bottom: 0; }
.ttd .benefits-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; justify-content: center; }
.ttd .benefit-card {
  flex: 1 1 320px; max-width: 400px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 10px 10px 0;
}
.ttd .benefit-icon-box {
  width: 95px; height: 95px;
  border-radius: 20px;
  background: #f5f5f5;
  display: grid; place-items: center;
  margin-bottom: 18px;
  overflow: hidden;
}
.ttd .benefit-icon-box img { display: block; max-width: 66%; max-height: 66%; }
.ttd .benefit-title { font-size: 25px; max-width: 330px; margin-bottom: 10px; }
.ttd .benefit-desc { line-height: 1.5; max-width: 330px; margin: 0; }

@media (max-width: 1200px) { .ttd .benefit-card { flex: 1 1 42%; } }
@media (max-width: 700px) {
  .ttd .benefit-card { flex: 1 1 100%; }
  .ttd .benefits-grid { gap: 30px; }
}
@media (max-width: 655px) {
  .ttd .cta-row { padding: 50px 0; }
  .ttd .cta-section-innter h3 { margin-bottom: 25px; }
  .ttd .cta-button-container { flex-direction: column; align-items: center; gap: 18px; }
}

/* ═══════════════════════════════════════════
   COMMERCIAL CALLOUT
   ═══════════════════════════════════════════ */
.ttd .commercial-services-callout-section { width: 100%; padding: 80px 0; }
.ttd .commercial-services-callout-inner {
  max-width: 1450px; margin: 0 auto;
  background-color: #fafafa;
  display: flex; align-items: stretch; justify-content: center; gap: 0;
}
.ttd .commercial-callout-col { flex: 0 0 50%; max-width: 50%; }
.ttd .commercial-callout-image {
  position: relative;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  min-height: 400px;
}
.ttd .commercial-callout-content { display: flex; align-items: center; }
.ttd .commercial-callout-content-inner { width: 100%; padding: 60px; }
.ttd .commercial-callout-title { margin: 0 0 20px; font-size: clamp(26px, 2.6vw, 36px); }
.ttd .commercial-callout-desc p { margin: 0 0 12px; }

@media (max-width: 1200px) {
  .ttd .commercial-services-callout-section { padding: 10px; background-color: #fff; }
  .ttd .commercial-services-callout-inner { max-width: 700px; flex-wrap: wrap; }
  .ttd .commercial-callout-col { flex: 0 0 100%; max-width: 100%; }
  .ttd .commercial-callout-image { min-height: 400px; order: 1; }
  .ttd .commercial-callout-content { order: 2; }
  .ttd .commercial-callout-content-inner { padding: 40px 20px; text-align: center; }
  .ttd .commercial-services-callout-section .cta-button-container { justify-content: center; }
}

/* ═══════════════════════════════════════════
   ABOUT + VIDEO
   ═══════════════════════════════════════════ */
.ttd .about-section-wrapper { background-color: var(--ttd-section-bg); padding: 0; }
.ttd .about-section-inner {
  max-width: 1920px; margin: 0 auto;
  display: flex; flex-wrap: nowrap; align-items: stretch; gap: 0;
}
.ttd .about-col { flex: 0 0 50%; max-width: 50%; min-width: 0; display: flex; flex-direction: column; }
.ttd .about-left { padding: 100px 30px; }
.ttd .about-left-inner { max-width: 550px; margin: 0 auto; text-align: left; }
.ttd .about-left h2 { margin: 10px 0 30px; line-height: 1.2; font-size: clamp(28px, 3vw, 42px); }
.ttd .about-left .about-desc { margin-bottom: 20px; }
.ttd .about-left .about-signature { margin-top: 20px; font-weight: 400; color: var(--ttd-primary); }

.ttd .about-right { position: relative; padding: 0; }
.ttd .about-right .about-video-wrap {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: stretch; justify-content: center;
  overflow: hidden;
}
.ttd .about-right .about-video-wrap::before {
  content: "";
  position: absolute; inset: -20px;
  background-image: var(--ttd-about-bg);
  background-size: cover; background-position: center;
  filter: blur(24px);
  transform: scale(1.08);
  z-index: 0;
}
.ttd .about-right .video-embed { position: relative; width: 100%; height: 100%; z-index: 1; }
.ttd .about-right .video-embed > div { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ttd .about-right .video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

.ttd .about-right .video-cover {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: #000; cursor: pointer;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  opacity: 1; visibility: visible;
}
.ttd .about-right .video-cover img { width: 100%; height: 100%; object-fit: cover; }
.ttd .about-right .video-cover:not(.is-visible) { opacity: 0; pointer-events: none; visibility: hidden; }

.ttd .about-right .video-toggle {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0,0,0,0.1);
  backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.ttd .about-right .video-toggle:hover { background: rgba(0,0,0,0.6); }
.ttd .about-right .about-video-wrap.is-playing .video-toggle { opacity: 0; visibility: hidden; pointer-events: none; }
.ttd .about-right .about-video-wrap.is-playing:hover .video-toggle { opacity: 1; visibility: visible; pointer-events: auto; }
.ttd .about-right .video-toggle .play-icon {
  width: 0; height: 0;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 6px;
}
.ttd .about-right .video-toggle[data-state="playing"] .play-icon {
  width: 16px; height: 22px; border: 0;
  background: linear-gradient(to right, #fff 0 6px, transparent 6px 10px, #fff 10px 16px);
  margin-left: 0;
}

@media (max-width: 1180px) {
  .ttd .about-section-inner { flex-wrap: wrap; }
  .ttd .about-col { flex: 0 0 100%; max-width: 100%; }
  .ttd .about-col.about-left { padding: 80px 30px; background: white; }
  .ttd .about-left-inner { max-width: 750px; text-align: center; }
  .ttd .about-right .about-video-wrap { aspect-ratio: 11/9; height: auto; display: block; }
  .ttd .about-right .video-embed,
  .ttd .about-right .video-embed > div { position: absolute; top: 0; left: 0; transform: none; width: 100%; height: 100%; }
  .ttd .about-right .video-toggle { width: 64px; height: 64px; }
}
@media (max-width: 960px) { .ttd .about-left { padding: 40px 24px; } }

/* ═══════════════════════════════════════════
   LATEST WORK
   ═══════════════════════════════════════════ */
.ttd .latest-work-section-wrapper { max-width: 1400px; margin: 0 auto; padding: 60px 0; width: calc(100% - 20px); }
.ttd .latest-work-header { text-align: center; margin-bottom: 30px; }
.ttd .latest-work-header h2 { margin: 0 0 10px; }
.ttd .latest-work-header .latest-work-subtitle { margin: 0; }
.ttd .latest-work-header .latest-work-subtitle a { color: var(--ttd-primary); font-weight: 400; text-decoration: none; }
.ttd .latest-work-header .latest-work-subtitle a:hover { color: var(--ttd-secondary); text-decoration: underline; }

.ttd .latest-work-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  justify-items: center;
  align-items: start;
}
.ttd .latest-work-gallery-grid .lw-item {
  display: block; position: relative;
  width: 100%; max-width: 450px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: hidden;
}
.ttd .latest-work-gallery-grid .lw-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1); transition: transform 0.35s ease;
}
.ttd .latest-work-gallery-grid .lw-item:hover img { transform: scale(1.03); }

.lw-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px; z-index: 9999;
}
.lw-lightbox.is-open { display: flex; }
.lw-lightbox .lw-lightbox-image { max-width: 90vw; max-height: 90vh; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.lw-lightbox .lw-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px;
  border: 0; border-radius: 100px;
  background: rgba(255,255,255,0.15);
  color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
}
.lw-lightbox .lw-close:hover { background: rgba(255,255,255,0.25); }
.lw-no-scroll { overflow: hidden; }

@media (max-width: 950px) { .ttd .latest-work-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .ttd .latest-work-gallery-grid { grid-template-columns: 1fr; }
  .ttd .latest-work-section-wrapper { padding: 40px 0; }
}

/* ═══════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════ */
.ttd .reviews-section { background-color: #f5f5f5; padding: 70px 0; }
.ttd .reviews-section-inner { max-width: 1450px; margin: 0 auto; width: calc(100% - 60px); }
.ttd .reviews-header { margin-bottom: 30px; text-align: center; }
.ttd .reviews-header h2 { margin-bottom: 10px; }
.ttd .reviews-header h5 { margin: 0; font-weight: 400; color: var(--ttd-body); }

/* Embed widget tweaks (Elfsight Google Reviews selectors) */
.ttd .EmbedRoot__Root-sc-690b399b-0 { max-width: 1450px !important; }
.ttd .es-review-background-container { background-color: white !important; }

/* Manual reviews grid */
.ttd .ttd-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.ttd .ttd-review-card {
  background: white; padding: 28px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.ttd .ttd-review-stars { color: #FFB400; font-size: 18px; margin-bottom: 12px; display: flex; gap: 2px; }
.ttd .ttd-review-text { font-size: 15px; line-height: 1.6; margin: 0 0 16px; }
.ttd .ttd-review-meta { display: flex; align-items: center; gap: 12px; }
.ttd .ttd-review-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ttd .ttd-review-name { display: block; color: var(--ttd-heading); font-size: 15px; }
.ttd .ttd-review-source { font-size: 13px; color: #999; }

@media (max-width: 950px) { .ttd .ttd-reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 650px) { .ttd .ttd-reviews-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   OUR PROCESS
   ═══════════════════════════════════════════ */
.ttd .our-process-section { padding: 100px 0 120px; background: var(--ttd-section-bg, #F5F5F5); }
@media (max-width: 900px) { .ttd .our-process-section { padding: 60px 0; } }
.ttd .our-process-inner { max-width: 1400px; margin: 0 auto; width: calc(100% - 60px); }
.ttd .our-process-header { text-align: center; margin-bottom: 60px; }
.ttd .our-process-header h2 { margin: 0 0 12px; }
.ttd .our-process-subtitle { font-size: 18px; color: var(--ttd-body, #6e6e6e); max-width: 600px; margin: 0 auto; }
.ttd .our-process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto; }
.ttd .our-process-step { text-align: center; padding: 40px 24px; background: #fff; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; }
.ttd .our-process-step:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.ttd .our-process-step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ttd-primary, #154C61); color: #fff;
  font-size: 24px; font-weight: 700; margin-bottom: 20px;
  font-family: var(--ttd-font-headings, 'Poppins', sans-serif);
}
.ttd .our-process-step-title { font-size: 20px; margin: 0 0 10px; color: var(--ttd-heading, #003A49); }
.ttd .our-process-step-desc { font-size: 16px; line-height: 1.6; color: var(--ttd-body, #6e6e6e); margin: 0; }

/* ═══════════════════════════════════════════
   WHY CHOOSE US
   ═══════════════════════════════════════════ */
.ttd .wcu-section { padding: 100px 0 120px; background: #fff; position: relative; overflow: hidden; }
@media (max-width: 900px) { .ttd .wcu-section { padding: 60px 0; } }
.ttd .wcu-bg {
  position: absolute; inset: -10px; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.ttd .wcu-overlay { position: absolute; inset: 0; z-index: 1; }
.ttd .wcu-inner { max-width: 1400px; margin: 0 auto; width: calc(100% - 60px); position: relative; z-index: 2; }
.ttd .wcu-has-bg .wcu-header h2,
.ttd .wcu-has-bg .wcu-subtitle,
.ttd .wcu-has-bg .eyebrow_label { color: #fff; }
.ttd .wcu-header { text-align: center; margin-bottom: 60px; }
.ttd .wcu-header h2 { margin: 0 0 12px; }
.ttd .wcu-subtitle { font-size: 18px; color: var(--ttd-body, #6e6e6e); max-width: 600px; margin: 0 auto; }

/* Grid layout — card style */
.ttd .wcu-items.wcu-layout-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.ttd .wcu-layout-grid .wcu-item {
  background: var(--ttd-section-bg, #F5F5F5);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.ttd .wcu-layout-grid .wcu-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.ttd .wcu-layout-grid .wcu-item-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--ttd-primary, #154C61); color: #fff;
  font-size: 26px; margin-bottom: 20px;
}
.ttd .wcu-layout-grid .wcu-item-title { font-size: 20px; margin: 0 0 10px; color: var(--ttd-heading, #003A49); }
.ttd .wcu-layout-grid .wcu-item-desc { font-size: 16px; line-height: 1.6; color: var(--ttd-body, #6e6e6e); margin: 0; }

/* List layout — horizontal icon + text rows */
.ttd .wcu-items.wcu-layout-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.ttd .wcu-layout-list .wcu-item {
  display: flex; align-items: flex-start; gap: 24px;
  background: var(--ttd-section-bg, #F5F5F5);
  border-radius: 14px; padding: 28px 30px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.ttd .wcu-layout-list .wcu-item:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.ttd .wcu-layout-list .wcu-item-icon {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ttd-primary, #154C61); color: #fff;
  font-size: 22px;
}
.ttd .wcu-layout-list .wcu-item-content { flex: 1; }
.ttd .wcu-layout-list .wcu-item-title { font-size: 18px; margin: 0 0 6px; color: var(--ttd-heading, #003A49); }
.ttd .wcu-layout-list .wcu-item-desc { font-size: 15px; line-height: 1.6; color: var(--ttd-body, #6e6e6e); margin: 0; }

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.ttd .faq-section-container { max-width: 1400px; margin: 0 auto; width: calc(100% - 60px); padding: 20px 0 60px; }
@media (max-width: 900px) { .ttd .faq-section-container { padding: 40px 0; } }
.ttd .faq-section-header { text-align: center; margin-bottom: 60px; }
.ttd .simple-faq-accordion { max-width: 1000px; margin: 0 auto; }
.ttd .simple-faq-accordion .faq-item { border-top: 1px solid #EFEAE2; }
.ttd .simple-faq-accordion .faq-item:last-child { border-bottom: 1px solid #EFEAE2; }
.ttd .simple-faq-accordion .faq-q { margin: 0; }
.ttd .simple-faq-accordion .faq-toggle {
  width: 100%;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 1rem;
  padding: 22px 0;
  background: none; border: 0;
  text-align: left; cursor: pointer; font: inherit;
}
.ttd .simple-faq-accordion .faq-question-text { line-height: 1.4; font-size: 20px; color: var(--ttd-primary); transition: color 0.2s, font-size 0.2s; }
.ttd .faq-item.is-open .faq-question-text { font-size: 18px; color: var(--ttd-secondary); margin-bottom: -20px; }
.ttd .simple-faq-accordion .faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.ttd .simple-faq-accordion .faq-icon::before,
.ttd .simple-faq-accordion .faq-icon::after {
  content: ""; position: absolute; inset: 50% auto auto 0;
  width: 18px; height: 3px; border-radius: 100px;
  background: var(--ttd-secondary);
  transform: translateY(-50%);
}
.ttd .simple-faq-accordion .faq-icon::after { transform: translateY(-50%) rotate(90deg); transition: opacity 0.2s ease; }
.ttd .simple-faq-accordion .faq-item.is-open .faq-icon::after { opacity: 0; }
.ttd .simple-faq-accordion .faq-a { height: 0; overflow: hidden; transition: height 220ms ease; }
.ttd .simple-faq-accordion .faq-a-inner { padding: 0 0 20px; max-width: 90%; line-height: 1.5; }
.ttd .simple-faq-accordion .faq-toggle:hover .faq-question-text { color: var(--ttd-secondary); }

/* ═══════════════════════════════════════════
   FOOTER FORM (Footer Hero)
   ═══════════════════════════════════════════ */
.ttd .footer-hero-section { position: relative; padding: 60px 40px; color: #fff; overflow: hidden; }
.ttd .footer-hero-section .footer-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; z-index: 0; }
.ttd .footer-hero-section .footer-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.25); z-index: 1; }
.ttd .footer-hero-section .footer-hero-gradient { position: absolute; inset: 0; background: linear-gradient(to left, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%); z-index: 2; }
.ttd .footer-hero-section .footer-hero-inner {
  position: relative; z-index: 3;
  max-width: 1400px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center;
}
.ttd .footer-hero-section .footer-hero-col { flex: 1 1 48%; min-width: 320px; }
.ttd .footer-hero-left .form-card {
  background: #fff; color: #333;
  width: min(100%, 550px); margin: 0 auto;
  padding: 50px 20px 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  text-align: center; position: relative; z-index: 3;
}
.ttd .footer-hero-right { width: min(100%, 560px); margin: 0 auto; padding: 30px 0; text-align: left; }
.ttd .footer-hero-right .footer-hero-title {
  font-weight: var(--ttd-font-headings-weight, 300); font-size: 50px;
  color: #fff; line-height: 1em;
  margin: 10px 0 30px; max-width: 500px;
}
.ttd .footer-hero-right .footer-hero-title span { color: var(--ttd-secondary) !important; }
.ttd .footer-hero-right .footer-hero-body { font-weight: 400; line-height: 1.5em; max-width: 460px; }
.ttd .footer-hero-right .footer-cta-row { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 26px; }
.ttd .footer-hero-right .footer-google-rating img { height: 42px; width: auto; display: block; }

/* Footer Form — 50/50 split layout */
.ttd .footer-hero-section.footer-hero-split { padding: 0; background: none; }
.ttd .footer-hero-split .footer-hero-inner {
  max-width: none; gap: 0; flex-wrap: nowrap;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: max(600px, 70vh);
}
.ttd .footer-hero-split .footer-hero-col { flex: none; min-width: 0; min-height: 100%; }
.ttd .footer-hero-split .footer-hero-left {
  display: flex; align-items: center; justify-content: center;
  padding: 60px 40px; color: #333;
}
.ttd .footer-hero-split .footer-hero-left .form-card {
  box-shadow: none; background: transparent;
  width: min(100%, 500px);
}
.ttd .footer-hero-split .footer-hero-right {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  width: 100%; margin: 0; padding: 80px 50px;
}
.ttd .footer-hero-split .footer-hero-split-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  z-index: 0;
}
.ttd .footer-hero-split .footer-hero-split-overlay {
  position: absolute; inset: 0;
  z-index: 1;
}
.ttd .footer-hero-split .footer-hero-right-content { position: relative; z-index: 2; max-width: 520px; }

@media (max-width: 1080px) {
  .ttd .footer-hero-section { padding: 0; background-image: none !important; }
  .ttd .footer-hero-section .footer-hero-inner { flex-direction: column; gap: 0; }
  .ttd .footer-hero-section .footer-hero-col { flex: 0 0 100%; min-width: 100%; }
  .ttd .footer-hero-section .footer-hero-overlay,
  .ttd .footer-hero-section .footer-hero-gradient { display: none; }
  .ttd .footer-hero-left { padding: 30px 0; }
  .ttd .footer-hero-left .form-card { box-shadow: none; }
  .ttd .footer-hero-right {
    position: relative;
    padding: 120px 20px;
    color: #fff; text-align: center;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    overflow: hidden;
  }
  .ttd .footer-hero-right::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.25); z-index: 0; }
  .ttd .footer-hero-right::after  { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%); z-index: 0; }
  .ttd .footer-hero-right > * { position: relative; z-index: 1; max-width: 560px; margin-left: auto; margin-right: auto; }
  .ttd .footer-hero-right .footer-cta-row { justify-content: center; }
  /* Split — stack on mobile */
  .ttd .footer-hero-split .footer-hero-inner { display: flex; grid-template-columns: none; }
  .ttd .footer-hero-split .footer-hero-split-bg,
  .ttd .footer-hero-split .footer-hero-split-overlay { display: none; }
  .ttd .footer-hero-split .footer-hero-left { padding: 40px 20px; }
  .ttd .footer-hero-split .footer-hero-right { padding: 40px 20px; }
}
@media (max-width: 520px) { .ttd .footer-hero-right .footer-hero-title { font-size: 40px; } }
@media (max-width: 700px) {
  .ttd .footer-hero-right .footer-cta-row { flex-direction: column; align-items: center; gap: 20px; }
}

/* ═══════════════════════════════════════════
   FOOTER BAR
   ═══════════════════════════════════════════ */
/* Figma: #545652 bg. Four columns — Useful Links · Our Policies ·
   Find Us (address + map) · stacked logo — over a darker copyright bar. */
.ttd .site-footer-bar {
  background-color: #545652;
  color: #fff;
  font-size: 16px;
  padding: 60px 40px 56px;
}
.ttd .footer-inner {
  width: 100%; max-width: 1450px; margin: 0 auto;
}
.ttd .footer-columns {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 1.5fr auto;
  gap: 44px 56px;
  align-items: start;
  text-align: left;
}

/* Column headings — Karin caps in the cream/gold secondary tone */
.ttd .footer-col-title {
  font-family: var(--ttd-font-headings, sans-serif);
  color: var(--ttd-secondary);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 22px;
}

/* Column 1 — Useful Links (Instrument Sans, sentence case) */
.ttd .footer-link-list { display: flex; flex-direction: column; align-items: flex-start; }
.ttd .footer-link-list .footer-link {
  font-family: var(--ttd-font-body, sans-serif);
  letter-spacing: -0.16px;
  font-size: 15px;
  line-height: 1.3;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s ease;
}
.ttd .footer-link-list .footer-link:hover,
.ttd .footer-link-list .footer-link:focus-visible { color: var(--ttd-secondary); }

/* Column 2 — Our Policies (sentence-case pills) */
.ttd .footer-legal-links {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 2px 0; margin-left: -18px;
}
.ttd .footer-legal-links .legal-link {
  color: #fff;
  font-size: 16px;
  letter-spacing: -0.16px;
  line-height: 1.3;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 100px;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.ttd .footer-legal-links .legal-link:hover,
.ttd .footer-legal-links .legal-link:focus-visible {
  background-color: rgba(255,255,255,0.08);
  color: var(--ttd-secondary);
}

/* Column 3 — Find Us (address + embedded map) */
.ttd .footer-address {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  max-width: 340px;
}
.ttd .footer-map {
  position: relative;
  width: 100%;
  max-width: 370px;
  aspect-ratio: 370 / 175;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.20);
}
.ttd .footer-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Column 4 — stacked logo (+ optional socials) */
.ttd .footer-col--logo { justify-self: end; align-self: center; text-align: center; }
.ttd .footer-logo { display: block; line-height: 0; }
.ttd .footer-logo img { width: 210px; max-width: 100%; height: auto; margin: 0 auto; }
.ttd .footer-social-icons { display: flex; gap: 10px; margin-top: 20px; justify-content: center; }
.ttd .footer-social-icons .social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.05);
  transition: background-color 0.3s ease;
  text-decoration: none;
  color: #fff;
}
.ttd .footer-social-icons .social-icon:hover { background-color: var(--ttd-secondary); }
.ttd .footer-social-icons .social-icon i { font-size: 20px; }

/* Darker full-width copyright bar */
.ttd .footer-copyright-bar {
  background-color: #43453f;
  padding: 20px 40px;
}
.ttd .footer-copyright-inner { width: 100%; max-width: 1450px; margin: 0 auto; }
.ttd .footer-copyright {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.15px;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
}
.ttd .footer-copyright a { color: var(--ttd-secondary); text-decoration: underline; font-weight: inherit; }

/* Staggered entrance — fired by IntersectionObserver adding .is-revealed.
   Uses keyframe animations (not transitions) so the legal-link hover
   transition is left untouched. The hidden state is scoped to
   .ttd-footer-anim (added by JS) so the footer stays fully visible if
   JavaScript is unavailable. Disabled under prefers-reduced-motion. */
@keyframes ttd-footer-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .ttd .site-footer-bar.ttd-footer-anim:not(.is-revealed) .footer-col { opacity: 0; }
  .ttd .site-footer-bar.ttd-footer-anim.is-revealed .footer-col {
    animation: ttd-footer-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .ttd .site-footer-bar.ttd-footer-anim.is-revealed .footer-col:nth-child(1) { animation-delay: 0.05s; }
  .ttd .site-footer-bar.ttd-footer-anim.is-revealed .footer-col:nth-child(2) { animation-delay: 0.14s; }
  .ttd .site-footer-bar.ttd-footer-anim.is-revealed .footer-col:nth-child(3) { animation-delay: 0.23s; }
  .ttd .site-footer-bar.ttd-footer-anim.is-revealed .footer-col:nth-child(4) { animation-delay: 0.32s; }
}

/* Tablet — two columns, logo drops full-width below */
@media (max-width: 980px) {
  .ttd .site-footer-bar { padding: 48px 28px 44px; }
  .ttd .footer-columns { grid-template-columns: 1fr 1fr; gap: 40px 40px; }
  .ttd .footer-col--logo { grid-column: 1 / -1; justify-self: center; }
}

@media (max-width: 600px) {
  .ttd .site-footer-bar { padding: 40px 22px 36px; }
  .ttd .footer-columns { grid-template-columns: 1fr; gap: 34px; }
  .ttd .footer-address, .ttd .footer-map { max-width: 100%; }
  .ttd .footer-copyright-bar { padding: 18px 22px; }
}


/* ═══════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════ */
.ttd .ttd-trust-strip { padding: 50px 0; background: #fff; border-bottom: 1px solid rgba(0,0,0,0.05); }
.ttd .ttd-trust-inner { max-width: 1450px; margin: 0 auto; width: calc(100% - 60px); text-align: center; }
.ttd .ttd-trust-title { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ttd-body); margin-bottom: 24px; font-weight: 400; }
.ttd .ttd-trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 60px; }
.ttd .ttd-trust-logo img { max-height: 60px; width: auto; opacity: 0.7; transition: opacity 0.2s; filter: grayscale(0.3); }
.ttd .ttd-trust-logo:hover img { opacity: 1; filter: none; }
@media (max-width: 768px) {
  .ttd .ttd-trust-logos { gap: 24px 36px; }
  .ttd .ttd-trust-logo img { max-height: 48px; }
}

/* ═══════════════════════════════════════════
   PRICING PACKAGES
   ═══════════════════════════════════════════ */
.ttd .ttd-packages-section { padding: 80px 0; background: var(--ttd-section-bg); }
.ttd .ttd-packages-inner { max-width: 1400px; margin: 0 auto; width: calc(100% - 60px); }
.ttd .ttd-packages-header { text-align: center; margin-bottom: 50px; }
.ttd .ttd-packages-header h2 { margin: 12px 0 16px; font-size: clamp(28px, 3vw, 42px); }
.ttd .ttd-packages-header p { max-width: 600px; margin: 0 auto; }

.ttd .ttd-packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.ttd .ttd-package-card {
  position: relative;
  background: #fff;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ttd .ttd-package-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.ttd .ttd-package-card.is-featured {
  border: 2px solid var(--ttd-secondary);
  transform: scale(1.04);
  box-shadow: 0 10px 40px rgba(var(--ttd-secondary-rgb), 0.18);
}
.ttd .ttd-package-card.is-featured:hover { transform: scale(1.04) translateY(-4px); }
.ttd .ttd-pkg-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--ttd-secondary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.ttd .ttd-pkg-title { font-size: 24px; margin: 0 0 8px; color: var(--ttd-heading); }
.ttd .ttd-pkg-desc { font-size: 14px; color: var(--ttd-body); margin: 0 0 20px; min-height: 42px; }
.ttd .ttd-pkg-price { font-size: 32px; font-weight: 800; color: var(--ttd-primary); margin: 0 0 24px; font-family: var(--ttd-font-headings); }
.ttd .ttd-pkg-features { list-style: none; padding: 0; margin: 0 0 32px; flex: 1 1 auto; }
.ttd .ttd-pkg-features li { padding: 8px 0; font-size: 14px; display: flex; align-items: flex-start; gap: 10px; }
.ttd .ttd-pkg-features li i { color: var(--ttd-secondary); margin-top: 4px; flex-shrink: 0; }
.ttd .ttd-pkg-cta { margin-top: auto; }
.ttd .ttd-pkg-cta a { width: 100%; min-width: 0; margin-top: 0; }

@media (max-width: 1080px) {
  .ttd .ttd-packages-grid { grid-template-columns: 1fr; gap: 30px; max-width: 500px; margin: 0 auto; }
  .ttd .ttd-package-card.is-featured { transform: none; }
  .ttd .ttd-package-card.is-featured:hover { transform: translateY(-4px); }
}

/* ═══════════════════════════════════════════
   SERVICE AREA MAP
   ═══════════════════════════════════════════ */
.ttd .ttd-map-section { padding: 80px 0; }
.ttd .ttd-map-inner { max-width: 1400px; margin: 0 auto; width: calc(100% - 60px); }
.ttd .ttd-map-header { text-align: center; margin-bottom: 40px; }
.ttd .ttd-map-header h2 { margin: 12px 0 16px; font-size: clamp(28px, 3vw, 42px); }
.ttd .ttd-map-header p { max-width: 600px; margin: 0 auto; }
.ttd .ttd-map-frame { position: relative; padding-bottom: 50%; height: 0; overflow: hidden; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.ttd .ttd-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ttd .ttd-map-areas { margin-top: 24px; text-align: center; padding: 20px; background: var(--ttd-section-bg); border-radius: 12px; }
.ttd .ttd-map-areas strong { color: var(--ttd-heading); margin-right: 8px; }
@media (max-width: 768px) { .ttd .ttd-map-frame { padding-bottom: 75%; } }

/* ═══════════════════════════════════════════
   FLOATING MOBILE CTA BAR
   ═══════════════════════════════════════════ */
.ttd .ttd-mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9998;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  padding: 10px;
  gap: 10px;
}
.ttd .ttd-mcta {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}
.ttd .ttd-mcta-call {
  background: var(--ttd-section-bg);
  color: var(--ttd-heading);
  border: 1px solid #e0e0e0;
}
.ttd .ttd-mcta-call i { font-size: 16px; color: var(--ttd-secondary); }
.ttd .ttd-mcta-quote {
  background: linear-gradient(to right, var(--ttd-cta-from) 50%, var(--ttd-cta-to) 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  color: var(--ttd-cta-text);
  transition: background-position 0.3s ease;
}
.ttd .ttd-mcta-quote:hover { background-position: left bottom; }
@media (max-width: 768px) {
  .ttd .ttd-mobile-cta-bar { display: flex; }
  /* Reserve space at the bottom of the page so content isn't covered */
  body.ttd-site { padding-bottom: 76px; }
}

/* ═══════════════════════════════════════════
   EDIT-IN-PLACE PENCILS (admin only)
   ═══════════════════════════════════════════ */
.ttd .hero-section,
.ttd .vc_row.services-row,
.ttd .services-breakdown-wrapper,
.ttd .cta-row,
.ttd .commercial-services-callout-section,
.ttd .about-section-wrapper,
.ttd .latest-work-section-wrapper,
.ttd .reviews-section,
.ttd .faq-section-container,
.ttd .footer-hero-section,
.ttd .ttd-trust-strip,
.ttd .ttd-packages-section,
.ttd .wcu-section,
.ttd .our-process-section,
.ttd .ttd-map-section { position: relative; }

.ttd .ttd-edit-pencil {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 50;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--ttd-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s, background 0.15s;
  pointer-events: none;
}
.ttd .hero-section:hover .ttd-edit-pencil,
.ttd .vc_row.services-row:hover .ttd-edit-pencil,
.ttd .services-breakdown-wrapper:hover .ttd-edit-pencil,
.ttd .cta-row:hover .ttd-edit-pencil,
.ttd .commercial-services-callout-section:hover .ttd-edit-pencil,
.ttd .about-section-wrapper:hover .ttd-edit-pencil,
.ttd .latest-work-section-wrapper:hover .ttd-edit-pencil,
.ttd .reviews-section:hover .ttd-edit-pencil,
.ttd .faq-section-container:hover .ttd-edit-pencil,
.ttd .footer-hero-section:hover .ttd-edit-pencil,
.ttd .ttd-trust-strip:hover .ttd-edit-pencil,
.ttd .ttd-packages-section:hover .ttd-edit-pencil,
.ttd .our-process-section:hover .ttd-edit-pencil,
.ttd .wcu-section:hover .ttd-edit-pencil,
.ttd .ttd-map-section:hover .ttd-edit-pencil { opacity: 1; transform: translateY(0); pointer-events: auto; }
.ttd .ttd-edit-pencil:hover { background: var(--ttd-secondary); color: #fff; }

/* ═══════════════════════════════════════════
   THEME OVERRIDE GUARD
   When the .ttd shortcode is on a page, hide common theme chrome
   so the dental site renders standalone.
   ═══════════════════════════════════════════ */
body.ttd-site #Header,
body.ttd-site #Footer,
body.ttd-site #Subheader,
body.ttd-site .header-stack,
body.ttd-site .header-classic { display: none !important; }
body.ttd-site #Wrapper,
body.ttd-site #Content,
body.ttd-site .section_wrapper,
body.ttd-site .the_content_wrapper { padding: 0 !important; margin: 0 !important; max-width: none !important; overflow: visible !important; }
body.ttd-site #Content > .content_wrapper,
body.ttd-site .content_wrapper { padding: 0 !important; overflow: visible !important; }
body.ttd-site .post_content,
body.ttd-site article.post,
body.ttd-site .entry-content { overflow: visible !important; padding: 0 !important; margin: 0 !important; }
/* Block-theme wrappers (Twenty Twenty-* etc.) — drop root padding, width
   constraints and any container radius so the dental site is truly full-bleed. */
body.ttd-site .wp-site-blocks,
body.ttd-site .wp-block-group,
body.ttd-site .wp-block-post-content,
body.ttd-site .is-layout-constrained {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

/* ═══════════════════════════════════════════════════════════
   TREETOPS DENTAL SURGERY — DESIGN SYSTEM
   Source: Figma file SsA60Y74j14IEEGkcJPG1p
           frame 1:2 "Wellness - Home" (design context 2026-05-28)

   Palette tokens (exact from Figma design context):
     --ttd-dark:    #41433f   (bg-[#41433f] — main dark sections)
     --ttd-dark-b:  #545652   (bg-[#545652] — footer/news sections)
     --ttd-gold:    #f1d5ae   (text/bg-[#f1d5ae] — champagne accent)
     --ttd-cream:   #FAF5EE   (≈ rgba(241,213,174,0.30) over white)
     --ttd-text-d:  #41433f   (text-[#41433f] — body on light bg)

   Fonts (from Figma design context):
     Display  → Karin (Figma, self-hosted @font-face from /wp-content/uploads)
     Body/UI  → Instrument Sans (Google Fonts, regular weight throughout)

   Button shape: border-radius: 100px (pill, from Figma rounded-[100px])
   ═══════════════════════════════════════════════════════════ */

/* ─── Root tokens ─── */
.ttd {
  background: #FAF5EE;
  --ttd-dark:   #41433f;
  --ttd-dark-b: #545652;
  --ttd-gold:   #f1d5ae;
  --ttd-cream:  #FAF5EE;
}

/* ─── Global typography adjustments ─── */
.ttd h1, .ttd h2, .ttd h3, .ttd h4 {
  font-weight: 400;      /* Karin/Cormorant SC is elegant at normal weight */
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ttd h1 span, .ttd h2 span, .ttd h3 span { color: var(--ttd-gold) !important; }

/* ─── Global button overhaul — pill shape ─── */
.ttd a.primary-cta,
.ttd a.secondary-cta,
.ttd .tile-cta-btn,
.ttd a.action_button {
  border-radius: 100px !important;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 32px;
  font-weight: 400;
}
/* Dark-bg primary: champagne fill (from Figma btn on dark: bg-[#f1d5ae] text-[#41433f]) */
.ttd .about-section-wrapper a.primary-cta,
.ttd .cta-row a.primary-cta,
.ttd .latest-work-section a.primary-cta {
  background: var(--ttd-gold) !important;
  color: #41433f !important;
  background-image: none !important;
}
/* Dark-bg outline: gold border (from Figma btn: border-[#f1d5ae] text-[#f1d5ae]) */
.ttd .about-section-wrapper a.secondary-cta,
.ttd .cta-row a.secondary-cta {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid var(--ttd-gold) !important;
  color: var(--ttd-gold) !important;
}
/* Light-bg primary: dark fill (from Figma btn on light: bg-[#41433f] text-white) */
.ttd .reviews-section a.primary-cta,
.ttd .vc_row.services-row a.primary-cta,
.ttd .benefit-area a.primary-cta {
  background: #41433f !important;
  color: #fff !important;
  background-image: none !important;
}
/* Treatment tile button */
.ttd .tile-cta-btn {
  border: 1px solid #41433f;
  color: #41433f;
  padding: 10px 24px;
  display: inline-block;
}
.ttd .tile-cta-btn:hover { background: #41433f; color: #fff; }
/* Header action button — transparent on hero bg */
.ttd .ttd-header .action_button {
  border-radius: 100px !important;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── Header — transparent over hero ─── */
.ttd-header {
  background: transparent !important;
  border-bottom: none !important;
  position: absolute;
  width: 100%;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.ttd-header.is-scrolled {
  position: fixed;
  background: rgba(65,67,63,0.95) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}
/* Logo text from Figma — champagne gold on transparent header */
.ttd-header-logo-text {
  color: var(--ttd-gold) !important;
  font-family: var(--ttd-font-headings), serif !important;
  font-size: 20px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ttd-header .ttd-mhb-menu .menu-item > a span { color: #fff; }
.ttd-header .ttd-mhb-menu .menu-item > a span:hover { color: var(--ttd-gold); }
.ttd-header .quote_cta_link,
.ttd-header .quote_cta { color: #fff; }
.ttd-header .action_button {
  border: 1px solid var(--ttd-gold) !important;
  color: var(--ttd-gold) !important;
  background: transparent !important;
}
.ttd-header .action_button:hover {
  background: var(--ttd-gold) !important;
  color: #41433f !important;
}

/* ─── Hero — full-width photographic overlay ─── */
/* Figma node 1:5: full-width bg image, dark overlay, centered white text */
.ttd .hero-section:not(.hero-split) {
  position: relative;
  background-color: #41433f;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 40px 100px;
}
.ttd .hero-section:not(.hero-split) .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ttd .hero-section:not(.hero-split) .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(41,42,38,0.50);
  z-index: 1;
}
.ttd .hero-section:not(.hero-split) .hero-gradient { display: none; }
.ttd .hero-section:not(.hero-split) .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1060px;
  margin: 0 auto;
  width: 100%;
}
/* Hero heading — from Figma node 1:198: uppercase, wide-tracked, Karin font */
.ttd .hero-section:not(.hero-split) .hero-title,
.ttd .hero-section:not(.hero-split) h1,
.ttd .hero-section:not(.hero-split) h2 {
  font-family: var(--ttd-font-headings), serif !important;
  font-size: clamp(22px, 2.9vw, 44px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.5em;
}
/* Hero-left: override 500px width cap for fullwidth layout */
.ttd .hero-section:not(.hero-split) .hero-left {
  background: transparent !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  text-align: center !important;
  margin: 0 auto !important;
}
/* Hero-left title: override 500px max-width */
.ttd .hero-section:not(.hero-split) .hero-left .hero-title,
.ttd .hero-section:not(.hero-split) .hero-title {
  max-width: none !important;
}
/* Hero-col: take full row width since hero-right is hidden */
.ttd .hero-section:not(.hero-split) .hero-col {
  background: transparent !important;
  flex: 1 1 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}
.ttd .hero-section:not(.hero-split) .hero-right { display: none !important; }
.ttd .hero-section:not(.hero-split) .eyebrow_label { display: none; }
.ttd .hero-section:not(.hero-split) .hero-desc { color: rgba(255,255,255,0.82); font-size: 17px; max-width: 700px; margin: 0 auto 2em; }

/* ─── 3-column strip (CTA+Benefits repurposed) ─── */
/* Figma: light bg, 3 columns separated by lines, serif titles */
.ttd .cta-row {
  background: #fff !important;
  color: #41433f !important;
  padding: 60px 40px !important;
  border-top: 1px solid rgba(65,67,63,0.12);
}
.ttd .cta-section-innter h3 { display: none; } /* no big CTA heading */
.ttd .benefit-area { margin-top: 0; }
.ttd .benefit-cards-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid rgba(65,67,63,0.15);
}
.ttd .benefit-card {
  padding: 32px 40px;
  border-right: 1px solid rgba(65,67,63,0.12);
  background: transparent !important;
  color: #41433f !important;
}
.ttd .benefit-card:last-child { border-right: none; }
.ttd .benefit-icon-box { display: none !important; }
.ttd .benefit-title {
  font-family: var(--ttd-font-headings), serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #41433f !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ttd .benefit-desc {
  color: #5a5b57 !important;
  font-size: 15px;
  line-height: 1.6;
}
.ttd .cta-btn-area { display: none; } /* no separate CTA button in this mode */
@media (max-width: 768px) {
  .ttd .benefit-cards-wrap { grid-template-columns: 1fr; }
  .ttd .benefit-card { border-right: none; border-bottom: 1px solid rgba(65,67,63,0.12); }
}

/* ─── About section — dark olive split ─── */
/* Figma node 240:5302: bg-[#41433f], left text, right photos */
.ttd .about-section-wrapper {
  background: #41433f !important;
  color: #fff !important;
}
.ttd .about-left { color: #fff; }
.ttd .about-left .eyebrow_label {
  color: rgba(255,255,255,0.50) !important;
  letter-spacing: 0.1em;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 400;
}
.ttd .about-left h2 {
  font-family: var(--ttd-font-headings), serif !important;
  font-size: clamp(28px, 3vw, 50px) !important;
  font-weight: 400 !important;
  color: #fff !important;
  letter-spacing: 0.04em;
}
.ttd .about-left h2 span { color: var(--ttd-gold) !important; }
.ttd .about-left p { color: rgba(255,255,255,0.85); font-size: 16px; line-height: 1.8; }
.ttd .about-left .about-signature { display: none; }
.ttd .about-right { background: #41433f; }

/* ─── Services grid (Popular Treatments) ─── */
/* Figma node 5:52: cream/light bg, 4-tile grid, uppercase serif titles */
/* Force 4-column layout to match Figma's side-by-side 4-tile strip */
.ttd .service-tiles-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  flex-wrap: unset !important;
  gap: 24px !important;
}
.ttd .service-tiles-grid .service-tile {
  flex: none !important;
  max-width: none !important;
}
.ttd .vc_row.services-row {
  background: #FAF5EE !important;
  padding: 100px 0 80px !important;
  position: relative;
}
.ttd .services-grid-header h2 {
  font-family: var(--ttd-font-headings), serif !important;
  font-size: clamp(28px, 3vw, 50px) !important;
  font-weight: 400 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #41433f;
}
.ttd .services-grid-header p { color: #5a5b57; font-size: 16px; }
.ttd .service-tile {
  background: #fff !important;
  border-radius: 15px !important;  /* Figma: rounded-[15px] */
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(65,67,63,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ttd .service-tile:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(65,67,63,0.12); }
.ttd .service-tile .tile-image {
  height: 240px !important;
  border-radius: 0 !important;
  background-color: #e8e5e0;
}
.ttd .service-tile .tile-icon-badge { display: none; }
.ttd .service-tile .tile-body { padding: 28px 24px 24px; }
.ttd .service-tile .tile-title {
  font-family: var(--ttd-font-headings), serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #41433f !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.ttd .service-tile .tile-desc { color: #5a5b57; font-size: 15px; line-height: 1.6; }
.ttd .service-tile .tile-cta-btn {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 16px;
}

/* ─── Reviews — warm cream background ─── */
/* Figma node 5:180: bg rgba(241,213,174,0.30) ≈ #FAF5EE, centered layout */
.ttd .reviews-section {
  background: #FAF5EE !important;
}
.ttd .reviews-header { text-align: center; }
.ttd .reviews-header h2 {
  font-family: var(--ttd-font-headings), serif !important;
  font-size: clamp(28px, 3vw, 50px) !important;
  font-weight: 400 !important;
  color: #41433f !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ttd .reviews-header p { color: #5a5b57; }
.ttd .ttd-review-card {
  background: #fff !important;
  border-radius: 15px !important;
  box-shadow: 0 2px 16px rgba(65,67,63,0.07);
}
.ttd .ttd-review-card .review-stars { color: #f5a623; }
.ttd .ttd-review-text { color: #41433f; font-style: normal; font-size: 15px; }
.ttd .ttd-review-name { color: #41433f; font-weight: 400; }
.ttd .ttd-review-source { color: #5a5b57; font-size: 13px; }

/* ─── Latest News & Updates — dark olive ─── */
/* Figma node 84:882: bg ~#41433f, ghost watermark "LATEST NEWS" */
/* Class: latest-work-section-wrapper (from PHP renderer) */
.ttd .latest-work-section-wrapper { background: #41433f !important; padding: 80px 0 !important; }
.ttd .latest-work-section-wrapper .latest-work-header h2,
.ttd .latest-work-section-wrapper h2 {
  font-family: var(--ttd-font-headings), serif !important;
  font-size: clamp(28px, 3vw, 50px) !important;
  font-weight: 400 !important;
  color: #fff !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ttd .latest-work-section-wrapper p,
.ttd .latest-work-section-wrapper .latest-work-header p { color: rgba(255,255,255,0.75); }
.ttd .latest-work-section-wrapper a { color: var(--ttd-gold); }
.ttd .work-tile {
  background: rgba(255,255,255,0.08) !important;
  border-radius: 15px !important;
  overflow: hidden;
}
.ttd .work-tile .work-tile-title { color: #fff !important; font-family: var(--ttd-font-headings), serif !important; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; }
.ttd .work-tile .work-tile-desc { color: rgba(255,255,255,0.75) !important; }

/* Footer styling lives in the "FOOTER BAR" block above — it renders the real
   stacked logo image (Figma node 5:288) plus the centred legal links and
   copyright. The earlier CSS-pseudo-element monogram has been removed so the
   real Stacked-Logo.png is the only logo. */

/* ─── Misc overrides ─── */
/* Body page background */
body.ttd-site { background: #FAF5EE; }
/* Eyebrow labels on light bg */
.ttd .eyebrow_label { color: #5a5b57; letter-spacing: 0.1em; font-size: 13px; text-transform: uppercase; font-weight: 400; }
/* FAQ (if enabled) */
.ttd .faq-section-container { background: #FAF5EE; }
.ttd .simple-faq-accordion .faq-question-text { font-family: var(--ttd-font-headings), serif; font-size: 19px; letter-spacing: 0.04em; }
/* Services breakdown (if enabled) */
.ttd .services-breakdown-wrapper { background: var(--ttd-primary); }
.ttd .breakdown-header h2 span { color: var(--ttd-gold) !important; }

/* ─── Team section (inherited, matches cream bg) ─── */
.ttd .ttd-team-section { padding: 100px 0; background: #FAF5EE; }
.ttd .ttd-team-header h2 { font-family: var(--ttd-font-headings), serif; font-weight: 400; letter-spacing: 0.06em; }
.ttd .ttd-team-card { border-radius: 15px; }
.ttd .ttd-team-photo { background: #e8e5e0; }
.ttd .ttd-team-name { font-family: var(--ttd-font-headings), serif; font-weight: 400; letter-spacing: 0.04em; }
.ttd .ttd-team-role { color: var(--ttd-gold); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .ttd .hero-section:not(.hero-split) { padding: 120px 24px 80px; min-height: 80vh; }
  .ttd .cta-row { padding: 48px 24px !important; }
  .ttd .site-footer-bar { padding: 48px 24px 32px !important; }
}
@media (max-width: 480px) {
  .ttd .site-footer-bar .footer-legal-links { gap: 6px 12px; }
  .ttd .site-footer-bar .footer-legal-links .legal-link { font-size: 12px; }
}

/* Edit pencil hover (inherited) */
.ttd .ttd-team-section:hover .ttd-edit-pencil { opacity: 1; transform: translateY(0); pointer-events: auto; }
.ttd .ttd-team-section { position: relative; }

/* ═══════════════════════════════════════════════════════════
   SPLIT-LOGO HEADER
   Figma: Dental Home (108:1154), Our Practice (84:923), etc.
   LEFT:   DENTAL | WELLNESS | OUR PRACTICE …
   CENTER: TREETOPS logo
   RIGHT:  … | CONTACT | phone | BOOK APPOINTMENT

   Layout: 3-column grid — minmax(0,1fr) | auto | minmax(0,1fr).
   The two side tracks are *always* equal width, so the centre
   logo stays perfectly centred regardless of how many items are
   on the left or the right.
   ═══════════════════════════════════════════════════════════ */

.ttd-header--split-logo {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: none;
}
.ttd-header--split-logo.is-scrolled {
  position: fixed;
  background: rgba(65,67,63,0.95) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ttd-header-split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  padding: 0 48px;
  height: 90px;
}

/* Left nav hugs the left edge; right group hugs the right edge.
   minmax(0,1fr) lets each side shrink below its content width so
   the tracks stay equal and the logo never drifts off-centre. */
.ttd-header-nav-left {
  justify-self: start;
  min-width: 0;
}
.ttd-header-split-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  justify-self: end;
  min-width: 0;
}

/* Left / Right nav lists */
.ttd-header-nav-left,
.ttd-header-nav-right {
  display: flex;
  align-items: center;
}
.ttd-header-nav-left ul,
.ttd-header-nav-right ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ttd-header-nav-left ul li a,
.ttd-header-nav-right ul li a {
  color: #fff;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.ttd-header-nav-left ul li a:hover,
.ttd-header-nav-right ul li a:hover { opacity: 1; color: var(--ttd-gold); }
.ttd-header-nav-left ul li.is-active a,
.ttd-header-nav-right ul li.is-active a { color: var(--ttd-gold); opacity: 1; }

/* Center logo */
.ttd-header-split-logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 0 32px;
  flex-shrink: 0;
}
.ttd-header-split-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 60px;
  border: 1.5px solid var(--ttd-gold);
  border-radius: 50% / 50%;
  font-family: var(--ttd-font-headings), serif;
  font-size: 22px;
  color: var(--ttd-gold);
  line-height: 1;
}
.ttd-header-split-wordmark {
  font-family: var(--ttd-font-headings), serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--ttd-gold);
  text-transform: uppercase;
  margin-top: 4px;
}
.ttd-header-split-logo-img {
  max-height: 64px;
  width: auto;
}

/* Right actions: phone + book.
   Spacing from the right-nav is handled by .ttd-header-split-right's gap. */
.ttd-header-split-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.ttd-header-split-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}
/* Gold circular phone badge with a dark glyph (matches the Figma header). */
.ttd-header-split-phone i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ttd-gold);
  color: var(--ttd-dark, #41433f);
  font-size: 14px;
  flex-shrink: 0;
}
.ttd-header-split-phone span { transition: color 0.2s; }
.ttd-header-split-phone:hover span { color: var(--ttd-gold); }
.ttd-header-split-book {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Two underlines sit close together below the label. */
  gap: 2px;
}
.ttd-header-split-book-line {
  display: block;
  width: 100%;
  /* 2px so the rule renders as solid white pixels — a 1px hairline gets
     anti-aliased on non-Retina screens and reads as gray even at #fff. */
  height: 2px;
  background: #fff;
}
.ttd-header-split-book-label {
  /* A touch more breathing room between the label and the pair of lines below it. */
  margin-bottom: 4px;
  color: #fff;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.ttd-header-split-book-label:hover { color: var(--ttd-gold); }

/* Mobile burger: hidden on desktop */
.ttd-header--split-logo .ttd-burger {
  display: none;
  margin-left: 16px;
}

@media (max-width: 1100px) {
  .ttd-header-nav-left ul,
  .ttd-header-nav-right ul { gap: 16px; }
  .ttd-header-split-right { gap: 20px; }
  .ttd-header-split-phone span { display: none; }
  .ttd-header-split-logo-link { padding: 0 16px; }
}
@media (max-width: 800px) {
  /* Collapse to logo + burger; drop back to flex so they sit at the edges. */
  .ttd-header-split-inner {
    display: flex;
    justify-content: space-between;
  }
  .ttd-header-nav-left,
  .ttd-header-split-right { display: none !important; }
  .ttd-header--split-logo .ttd-burger { display: flex; }
}

/* ── Entrance animation: centre-out bloom on load ──────────────
   The logo settles in first (brand anchor), then the nav items
   cascade OUTWARD from the centre on both sides. Using
   nth-last-child on the left and nth-child on the right keeps the
   bloom correct for any number of items. animation-fill-mode:both
   holds the hidden "from" state during the delay (no flash) yet
   leaves the header fully visible if animations are unsupported. */
@keyframes ttdHeaderItemIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ttdHeaderLogoIn {
  from { opacity: 0; transform: translateY(8px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0)  scale(1); }
}

.ttd-header--split-logo .ttd-header-split-logo-link,
.ttd-header--split-logo .ttd-header-nav-left li,
.ttd-header--split-logo .ttd-header-nav-right li,
.ttd-header--split-logo .ttd-header-split-phone,
.ttd-header--split-logo .ttd-header-split-book,
.ttd-header--split-logo .ttd-burger {
  animation: ttdHeaderItemIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Logo leads the bloom */
.ttd-header--split-logo .ttd-header-split-logo-link {
  animation-name: ttdHeaderLogoIn;
  animation-duration: 0.9s;
  animation-delay: 0.06s;
}

/* Left nav: item nearest the logo first, then outward to the edge */
.ttd-header--split-logo .ttd-header-nav-left li:nth-last-child(1) { animation-delay: 0.20s; }
.ttd-header--split-logo .ttd-header-nav-left li:nth-last-child(2) { animation-delay: 0.28s; }
.ttd-header--split-logo .ttd-header-nav-left li:nth-last-child(3) { animation-delay: 0.36s; }
.ttd-header--split-logo .ttd-header-nav-left li:nth-last-child(4) { animation-delay: 0.44s; }
.ttd-header--split-logo .ttd-header-nav-left li:nth-last-child(5) { animation-delay: 0.52s; }
.ttd-header--split-logo .ttd-header-nav-left li:nth-last-child(6) { animation-delay: 0.60s; }

/* Right side: Contact -> phone -> book, blooming away from the logo */
.ttd-header--split-logo .ttd-header-nav-right li:nth-child(1) { animation-delay: 0.20s; }
.ttd-header--split-logo .ttd-header-nav-right li:nth-child(2) { animation-delay: 0.28s; }
.ttd-header--split-logo .ttd-header-nav-right li:nth-child(3) { animation-delay: 0.36s; }
.ttd-header--split-logo .ttd-header-nav-right li:nth-child(4) { animation-delay: 0.44s; }
.ttd-header--split-logo .ttd-header-split-phone { animation-delay: 0.28s; }
.ttd-header--split-logo .ttd-header-split-book  { animation-delay: 0.36s; }

/* Mobile: burger fades in alongside the logo */
.ttd-header--split-logo .ttd-burger { animation-delay: 0.20s; }

/* Respect users who prefer reduced motion - show everything at rest */
@media (prefers-reduced-motion: reduce) {
  .ttd-header--split-logo .ttd-header-split-logo-link,
  .ttd-header--split-logo .ttd-header-nav-left li,
  .ttd-header--split-logo .ttd-header-nav-right li,
  .ttd-header--split-logo .ttd-header-split-phone,
  .ttd-header--split-logo .ttd-header-split-book,
  .ttd-header--split-logo .ttd-burger {
    animation: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   MEGA MENU  (Figma "Dental Mega Menu" — node 170:2273)
   Drops down on hover/focus of a left-nav item that has a mega
   config (Dental, Wellness). Header turns white, a blurred
   backdrop dims the page, and the panel's contents bloom in
   with a staggered entrance.
   ═══════════════════════════════════════════════════════════ */

/* Trigger item carries an invisible pill (negative margin keeps the
   nav baseline from shifting); the pill becomes visible while open. */
.ttd-header--split-logo .ttd-mega-parent { position: static; }
.ttd-header--split-logo .ttd-mega-parent > a {
  padding: 10px 16px;
  margin: -10px -16px;
  border-radius: 9px;
  transition: background 0.25s ease, color 0.2s ease;
}

/* ── Header open state: white bar, dark nav text ───────────── */
.ttd-header--split-logo.is-mega-open {
  background: #fff !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.is-mega-open .ttd-header-nav-left ul li a,
.is-mega-open .ttd-header-nav-right ul li a {
  color: #7b7b7b;
  opacity: 1;
}
.is-mega-open .ttd-header-nav-left ul li a:hover,
.is-mega-open .ttd-header-nav-right ul li a:hover { color: var(--ttd-gold); }
.is-mega-open .ttd-mega-parent.is-open > a {
  color: #322f2e;
  background: #fdf9f3;
}
.is-mega-open .ttd-header-split-phone span { color: #7b7b7b; }
.is-mega-open .ttd-header-split-phone:hover span { color: var(--ttd-gold); }
.is-mega-open .ttd-header-split-book-label { color: #7b7b7b; }
.is-mega-open .ttd-header-split-book-line { background: var(--ttd-gold); }

/* ── Backdrop ──────────────────────────────────────────────── */
.ttd-mega-backdrop {
  position: fixed;
  left: 0; right: 0; top: 90px; bottom: 0;
  background: rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1;
}
.is-mega-open .ttd-mega-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ── Panel ─────────────────────────────────────────────────── */
.ttd-mega-panel {
  position: absolute;
  top: 90px;
  left: 50%;
  /* 1606px wide at the 1728px reference (61px inset each side). */
  width: min(1606px, calc(100% - 122px));
  background: #fff;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 34px 64px rgba(0, 0, 0, 0.20);
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s ease;
}
.ttd-mega-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.ttd-mega-inner {
  position: relative;
  height: 324px;
}

/* Heading (Karin, renders uppercase) */
.ttd-mega-heading {
  position: absolute;
  top: 24px;
  left: 59px;
  margin: 0;
  font-family: var(--ttd-font-headings), serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.26px;
  color: #322f2e;
}

/* Columns of treatment links */
.ttd-mega-cols {
  position: absolute;
  top: 84px;
  left: 59px;
  right: 541px;       /* leaves room for the 490px photo + gap */
  display: flex;
  gap: 21px;
}
.ttd-mega-col {
  flex: 1 1 0;
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ttd-mega-row + .ttd-mega-row { border-top: 1px solid rgba(65, 67, 63, 0.12); }
.ttd-mega-row a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 58px;
  padding: 0 9px 0 21px;
  text-decoration: none;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: #322f2e;
  border-radius: 9px;
  transition: color 0.2s ease, background 0.2s ease;
}
.ttd-mega-row a:hover { color: #000; background: rgba(241, 213, 174, 0.18); }

/* Featured (first) row — gold pill + circular arrow badge */
.ttd-mega-row.is-featured a {
  background: rgba(241, 213, 174, 0.15);
}
.ttd-mega-row.is-featured a:hover { background: rgba(241, 213, 174, 0.30); }
.ttd-mega-row-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--ttd-gold);
  color: #41433f;
}
.ttd-mega-row-arrow svg { width: 17px; height: 17px; display: block; }

/* Photo tile + VIEW ALL button */
.ttd-mega-media {
  position: absolute;
  top: 10px;
  right: 16px;
  width: 490px;
  height: 298px;
  border-radius: 23px;
  overflow: hidden;
  display: block;
  background: #41433f;
  text-decoration: none;
}
.ttd-mega-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ttd-mega-media:hover .ttd-mega-media-img { transform: scale(1.04); }
/* Crossfade layer sits above the base photo; JS swaps its src per hovered item. */
.ttd-mega-media-img-hover {
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ttd-mega-media-img-hover.is-shown { opacity: 1; }
.ttd-mega-media-btn {
  position: absolute;
  right: 14px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 253px;
  height: 55px;
  border-radius: 100px;
  background: var(--ttd-gold);
  color: #1f1f1f;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ttd-mega-media:hover .ttd-mega-media-btn {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ── Staggered entrance ────────────────────────────────────── */
.ttd-mega-heading,
.ttd-mega-row,
.ttd-mega-media {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ttd-mega-panel.is-open .ttd-mega-heading,
.ttd-mega-panel.is-open .ttd-mega-row,
.ttd-mega-panel.is-open .ttd-mega-media {
  opacity: 1;
  transform: translateY(0);
}
.ttd-mega-panel.is-open .ttd-mega-heading { transition-delay: 0.06s; }
/* Cascade rows: column by column, top to bottom */
.ttd-mega-panel.is-open .ttd-mega-col:nth-child(1) .ttd-mega-row:nth-child(1) { transition-delay: 0.12s; }
.ttd-mega-panel.is-open .ttd-mega-col:nth-child(1) .ttd-mega-row:nth-child(2) { transition-delay: 0.18s; }
.ttd-mega-panel.is-open .ttd-mega-col:nth-child(1) .ttd-mega-row:nth-child(3) { transition-delay: 0.24s; }
.ttd-mega-panel.is-open .ttd-mega-col:nth-child(2) .ttd-mega-row:nth-child(1) { transition-delay: 0.16s; }
.ttd-mega-panel.is-open .ttd-mega-col:nth-child(2) .ttd-mega-row:nth-child(2) { transition-delay: 0.22s; }
.ttd-mega-panel.is-open .ttd-mega-col:nth-child(2) .ttd-mega-row:nth-child(3) { transition-delay: 0.28s; }
.ttd-mega-panel.is-open .ttd-mega-col:nth-child(3) .ttd-mega-row:nth-child(1) { transition-delay: 0.20s; }
.ttd-mega-panel.is-open .ttd-mega-col:nth-child(3) .ttd-mega-row:nth-child(2) { transition-delay: 0.26s; }
.ttd-mega-panel.is-open .ttd-mega-col:nth-child(3) .ttd-mega-row:nth-child(3) { transition-delay: 0.32s; }
.ttd-mega-panel.is-open .ttd-mega-media { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  .ttd-mega-panel,
  .ttd-mega-heading,
  .ttd-mega-row,
  .ttd-mega-media { transition: opacity 0.2s ease; transform: none; }
  .ttd-mega-panel.is-open { transform: translateX(-50%); }
  .ttd-mega-media-img { transition: none; }
}

/* Hide mega menus on mobile (mobile drawer lists items instead) */
@media (max-width: 800px) {
  .ttd-mega-panel,
  .ttd-mega-backdrop { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   LANDING PAGE
   Figma: node 108:1144 — split-screen dental/wellness chooser
   ═══════════════════════════════════════════════════════════ */

.ttd-landing-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--ttd-font-body), sans-serif;
  color: #fff;
  background: #1e1a16;
  overflow: hidden;
}

/* Centre brand logo (top 53px in Figma) */
.ttd-landing-logo-bar {
  position: absolute;
  top: 53px; left: 0; right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.ttd-landing-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  pointer-events: auto;
}
.ttd-landing-logo-img {
  width: 296px;
  height: auto;
  display: block;
}
/* Fallback monogram (only used if no header logo is set) */
.ttd-landing-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 76px;
  border: 1.5px solid var(--ttd-gold);
  border-radius: 50% / 50%;
  font-family: var(--ttd-font-headings), serif;
  font-size: 28px;
  color: var(--ttd-gold);
}
.ttd-landing-wordmark {
  font-family: var(--ttd-font-headings), serif;
  font-size: 16px;
  letter-spacing: 0.35em;
  color: var(--ttd-gold);
  text-transform: uppercase;
}

/* Split panels */
.ttd-landing-split {
  display: flex;
  flex: 1 1 auto;
  min-height: 100vh;
}
.ttd-landing-panel {
  flex: 1 1 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
}
/* Photo layer — the solid tint colour shows through at the set opacity */
.ttd-landing-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 0.6s ease, opacity 0.4s ease;
}
.ttd-landing-panel--dental { background: #28241f; }
.ttd-landing-panel--dental .ttd-landing-panel-bg {
  background-image: url('../img/landing-dental.jpg');
  background-position: 69% center; /* matches Figma crop window (pixel-diff optimum) */
  opacity: 0.66;
}
.ttd-landing-panel--wellness { background: #000; }
.ttd-landing-panel--wellness .ttd-landing-panel-bg {
  background-image: url('../img/landing-wellness.jpg');
  background-position: 12% center;
  opacity: 0.44;
  filter: blur(10px);
  inset: -40px; /* expand so the blur never reveals panel edges */
}
.ttd-landing-panel:hover .ttd-landing-panel-bg { transform: scale(1.04); }
.ttd-landing-panel--dental:hover .ttd-landing-panel-bg { opacity: 0.78; }
.ttd-landing-panel--wellness:hover .ttd-landing-panel-bg { opacity: 0.56; }
.ttd-landing-panel-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  color: #fff;
  transform: translateY(-20px); /* match Figma upper-centre placement */
}
.ttd-landing-panel-title {
  font-family: var(--ttd-font-headings), serif;
  font-size: 55px;
  line-height: 0.9 !important;
  font-weight: 400;
  letter-spacing: -0.45px;
  margin: 0 0 30px;
  color: #fff;
}
.ttd-landing-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 217px;
  height: 55px;
  padding: 0 28px;
  background: var(--ttd-gold);
  color: #000;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border-radius: 100px;
  font-weight: 400;
  transition: background 0.2s, color 0.2s;
}
.ttd-landing-panel:hover .ttd-landing-cta-btn { background: #fff; color: #000; }

/* Floating info cards */
.ttd-landing-infobar {
  position: absolute;
  left: 4.4%;
  right: 4.4%;
  bottom: 4.8%;
  z-index: 15;
  display: flex;
  gap: 28px;
}
.ttd-landing-infocard {
  flex: 1 1 0;
  min-width: 0;
  min-height: 135px;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 20px 36px;
  background: rgba(0,0,0,0.10);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: 20px;
  color: #fff;
}
.ttd-landing-infocard-heading {
  font-family: var(--ttd-font-headings), serif;
  font-size: 24px;
  line-height: 30px;
  font-weight: 400;
  letter-spacing: -0.24px;
  margin: 0 0 6px;
  color: #fff;
}
.ttd-landing-infocard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
}
.ttd-landing-infocard-body {
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: -0.14px;
  margin: 0;
  max-width: 180px;
  color: #fff;
}
.ttd-landing-infocard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: none;
  height: 45px;
  padding: 0 22px;
  border: 1px solid var(--ttd-gold);
  border-radius: 100px;
  color: #fff;
  text-decoration: none;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.ttd-landing-infocard-btn .fa-phone { font-size: 13px; }
.ttd-landing-infocard-btn:hover { background: var(--ttd-gold); color: #1e1a16; }

/* ─── Entrance animations — staggered reveal on load (sleek, high-end) ───
   fill-mode: backwards holds the hidden state during each element's delay,
   then reverts to the natural cascade so hover transitions keep working. */
@keyframes ttd-rise   { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ttd-logoin { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ttd-photo-dental   { from { opacity: 0; transform: scale(1.08); } to { opacity: 0.66; transform: scale(1); } }
@keyframes ttd-photo-wellness { from { opacity: 0; transform: scale(1.08); } to { opacity: 0.44; transform: scale(1); } }

.ttd-landing-page .ttd-landing-panel--dental .ttd-landing-panel-bg   { animation: ttd-photo-dental   1.5s cubic-bezier(.16,1,.3,1) 0s backwards; }
.ttd-landing-page .ttd-landing-panel--wellness .ttd-landing-panel-bg { animation: ttd-photo-wellness 1.5s cubic-bezier(.16,1,.3,1) 0s backwards; }
.ttd-landing-page .ttd-landing-logo-link { animation: ttd-logoin 1s cubic-bezier(.16,1,.3,1) .2s backwards; }
.ttd-landing-page .ttd-landing-panel--dental  .ttd-landing-panel-title { animation: ttd-rise .9s cubic-bezier(.16,1,.3,1) .50s backwards; }
.ttd-landing-page .ttd-landing-panel--dental  .ttd-landing-cta-btn     { animation: ttd-rise .9s cubic-bezier(.16,1,.3,1) .64s backwards; }
.ttd-landing-page .ttd-landing-panel--wellness .ttd-landing-panel-title { animation: ttd-rise .9s cubic-bezier(.16,1,.3,1) .64s backwards; }
.ttd-landing-page .ttd-landing-panel--wellness .ttd-landing-cta-btn     { animation: ttd-rise .9s cubic-bezier(.16,1,.3,1) .78s backwards; }
.ttd-landing-page .ttd-landing-infocard:nth-child(1) { animation: ttd-rise .9s cubic-bezier(.16,1,.3,1) .95s backwards; }
.ttd-landing-page .ttd-landing-infocard:nth-child(2) { animation: ttd-rise .9s cubic-bezier(.16,1,.3,1) 1.07s backwards; }
.ttd-landing-page .ttd-landing-infocard:nth-child(3) { animation: ttd-rise .9s cubic-bezier(.16,1,.3,1) 1.19s backwards; }

@media (prefers-reduced-motion: reduce) {
  .ttd-landing-page .ttd-landing-panel-bg,
  .ttd-landing-page .ttd-landing-logo-link,
  .ttd-landing-page .ttd-landing-panel-title,
  .ttd-landing-page .ttd-landing-cta-btn,
  .ttd-landing-page .ttd-landing-infocard { animation: none; }
}


/* Tablet — let the cards wrap */
@media (max-width: 1100px) {
  .ttd-landing-infobar { left: 24px; right: 24px; flex-wrap: wrap; gap: 18px; }
  .ttd-landing-infocard { flex: 1 1 240px; }
}

@media (max-width: 768px) {
  .ttd-landing-split { flex-direction: column; min-height: auto; }
  .ttd-landing-panel { min-height: 60vh; }
  .ttd-landing-panel-content { transform: none; }
  .ttd-landing-logo-img { width: 220px; }
  .ttd-landing-infobar { position: static; flex-direction: column; padding: 16px; gap: 12px; }
  .ttd-landing-infocard { min-height: 0; }
}

/* ═══════════════════════════════════════════════════════════
   INNER PAGE — SHARED COMPONENTS
   ═══════════════════════════════════════════════════════════ */

/* Section base */
.ttd .ttd-section { position: relative; }

/* Shared button variants */
.ttd-page-btn-gold {
  display: inline-block;
  background: var(--ttd-gold);
  color: #41433f;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.ttd-page-btn-gold:hover { background: #fff; color: #41433f; }
.ttd-page-btn-dark {
  display: inline-block;
  background: #41433f;
  color: #fff;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s;
}
.ttd-page-btn-dark:hover { background: #2b2c28; }
.ttd-page-btn-outline-dark {
  display: inline-block;
  border: 1px solid #41433f;
  color: #41433f;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.ttd-page-btn-outline-dark:hover { background: #41433f; color: #fff; }
.ttd-page-btn-outline-white {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.80);
  color: #fff;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.ttd-page-btn-outline-white:hover { background: rgba(255,255,255,0.12); }
.ttd-page-btn-outline-gold {
  display: inline-block;
  border: 1px solid var(--ttd-gold);
  color: var(--ttd-gold);
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.ttd-page-btn-outline-gold:hover { background: var(--ttd-gold); color: #41433f; }

/* Shared heading styles */
.ttd-page-section-heading {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(28px, 3vw, 50px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #41433f;
  text-align: center;
  margin-bottom: 12px;
}
.ttd-page-section-sub {
  font-size: 16px;
  color: #5a5b57;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.ttd-page-section-heading-light {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(28px, 3vw, 50px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
}
.ttd-page-section-sub-light {
  font-size: 16px;
  color: rgba(255,255,255,0.70);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Shared hero */
.ttd-page-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #41433f;
  padding: 120px 40px 60px;
}
.ttd-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(41,42,38,0.55);
  z-index: 1;
}
.ttd-page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.ttd-page-hero-title {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(28px, 3.5vw, 55px);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 32px;
}
.ttd-page-hero-title span { color: var(--ttd-gold); }
.ttd-page-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.80);
  margin-bottom: 32px;
  line-height: 1.6;
}
.ttd-page-hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero 3-col info strip (Dental home only) */
.ttd-page-hero-strip {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.25);
  margin-top: 60px;
  padding-top: 40px;
}
.ttd-page-hero-strip-col {
  flex: 1;
  padding: 0 32px;
}
.ttd-page-hero-strip-divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 4px;
}
.ttd-page-hero-strip-title {
  font-family: var(--ttd-font-headings), serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 8px;
  text-transform: none;
}
.ttd-page-hero-strip-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* Intro section */
.ttd-page-intro {
  padding: 100px 40px;
}
.ttd-page-intro-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.ttd-page-intro-heading {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(24px, 3vw, 45px);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #41433f;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: none;
}
.ttd-page-intro-body {
  font-size: 16px;
  color: #5a5b57;
  line-height: 1.75;
  margin-bottom: 32px;
}
.ttd-page-intro-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 3-photo tile strip */
.ttd-page-tiles {
  display: flex;
  min-height: 450px;
}
.ttd-page-tile {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  background: #41433f;
  overflow: hidden;
  transition: flex 0.4s ease;
}
.ttd-page-tile:hover { flex: 1.2; }
.ttd-page-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(181deg, rgba(0,0,0,0) 28%, rgba(0,0,0,0.80) 99%);
}
.ttd-page-tile-content {
  position: relative;
  z-index: 2;
  padding: 32px 28px;
}
.ttd-page-tile-title {
  font-family: var(--ttd-font-headings), serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 8px;
  text-transform: none;
}
.ttd-page-tile-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* About section (dark olive) */
.ttd-page-about {
  background: #41433f;
  padding: 0;
}
.ttd-page-about-inner {
  display: flex;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 100px 60px;
  gap: 80px;
}
.ttd-page-about-left { flex: 1; }
.ttd-page-about-right {
  flex: 1;
  display: flex;
  justify-content: center;
}
.ttd-page-about-eyebrow {
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  margin-bottom: 16px;
}
.ttd-page-about-heading {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(24px, 3vw, 48px);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: none;
}
.ttd-page-about-heading span { color: var(--ttd-gold); }
.ttd-page-about-body {
  font-size: 16px;
  color: rgba(255,255,255,0.80);
  line-height: 1.75;
  margin-bottom: 32px;
}
.ttd-page-about-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.ttd-page-about-video-placeholder {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16 / 10;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.40);
  font-size: 14px;
}
.ttd-page-about-video-placeholder .fa-circle-play {
  font-size: 56px;
  color: rgba(241,213,174,0.50);
}

/* Marquee */
.ttd-page-marquee {
  background: #41433f;
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ttd-page-marquee--light {
  background: #FAF5EE;
}
.ttd-page-marquee span {
  display: inline-block;
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  letter-spacing: -0.5px;
  color: rgba(255,255,255,0.08);
  animation: ttd-marquee 22s linear infinite;
  padding-right: 80px;
}
.ttd-page-marquee--light span {
  color: rgba(65,67,63,0.06);
}
@keyframes ttd-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Treatments grid */
.ttd-page-treatments {
  background: #FAF5EE;
  padding: 100px 40px 80px;
}
.ttd-page-treatments-inner { max-width: 1300px; margin: 0 auto; }
.ttd-page-treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.ttd-page-treatment-tile {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(65,67,63,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.ttd-page-treatment-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(65,67,63,0.12);
}
.ttd-page-treatment-img {
  height: 200px;
  background: #e8e5e0;
}
.ttd-page-treatment-body { padding: 24px; }
.ttd-page-treatment-title {
  font-family: var(--ttd-font-headings), serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #41433f;
  margin-bottom: 8px;
}
.ttd-page-treatment-desc {
  font-size: 14px;
  color: #5a5b57;
  line-height: 1.6;
  margin-bottom: 16px;
}
@media (max-width: 1024px) { .ttd-page-treatment-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .ttd-page-treatment-grid { grid-template-columns: 1fr; } }

/* Shared reviews strip */
.ttd-page-reviews {
  padding: 100px 40px;
}
.ttd-page-reviews-inner { max-width: 1200px; margin: 0 auto; }
.ttd-page-review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.ttd-page-review-card {
  background: #fff;
  border-radius: 15px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(65,67,63,0.07);
}
.ttd-page-review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ttd-page-review-avatar {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #2f6fd6;
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 19px;
  font-weight: 500;
}
.ttd-page-review-id { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.ttd-page-review-id strong { display: block; color: #41433f; font-size: 15px; font-weight: 600; }
.ttd-page-review-source { font-size: 13px; color: #8a8b86; }
.ttd-page-review-logo { flex: 0 0 auto; font-size: 22px; color: #4285f4; }
.ttd-page-review-stars { color: #fbbc05; margin-bottom: 12px; font-size: 15px; letter-spacing: 1px; }
.ttd-page-review-text {
  font-size: 15px;
  color: #5a5b57;
  line-height: 1.7;
  margin: 0;
}
.ttd-page-reviews-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
@media (max-width: 900px) { .ttd-page-review-cards { grid-template-columns: 1fr; } }

/* Shared news strip */
.ttd-page-news {
  background: #41433f;
  padding: 100px 40px;
}
.ttd-page-news-inner { max-width: 1200px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════
   DENTAL HOME  (Figma "Dental - Home" 108:1154 — rebuilt pixel-perfect)
   Namespaced .ttd-dh-* so it never collides with the shared page
   helpers used by /wellness and other templates.
   ═══════════════════════════════════════════════════════════ */

/* ── Shared pill button (Figma "Primary-Btn", 217×55, radius 100) ── */
.ttd-dh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 0 30px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.ttd .ttd-dh-btn--dark, .ttd a.ttd-dh-btn--dark { background: #41433f; color: #fff; border-color: #41433f; }
.ttd .ttd-dh-btn--dark:hover, .ttd a.ttd-dh-btn--dark:hover { background: #2b2c28; border-color: #2b2c28; }
.ttd .ttd-dh-btn--outline-dark, .ttd a.ttd-dh-btn--outline-dark { background: transparent; color: #41433f; border-color: #41433f; }
.ttd .ttd-dh-btn--outline-dark:hover, .ttd a.ttd-dh-btn--outline-dark:hover { background: #41433f; color: #fff; }
.ttd .ttd-dh-btn--gold, .ttd a.ttd-dh-btn--gold { background: var(--ttd-gold); color: #41433f; border-color: var(--ttd-gold); }
.ttd .ttd-dh-btn--gold:hover, .ttd a.ttd-dh-btn--gold:hover { background: #fff; color: #41433f; border-color: #fff; }
.ttd .ttd-dh-btn--outline-gold, .ttd a.ttd-dh-btn--outline-gold { background: transparent; color: var(--ttd-gold); border-color: var(--ttd-gold); }
.ttd .ttd-dh-btn--outline-gold:hover, .ttd a.ttd-dh-btn--outline-gold:hover { background: var(--ttd-gold); color: #41433f; }
.ttd .ttd-dh-btn--outline-light, .ttd a.ttd-dh-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.8); }
.ttd .ttd-dh-btn--outline-light:hover, .ttd a.ttd-dh-btn--outline-light:hover { background: #fff; color: #41433f; border-color: #fff; }

/* ── Carousel arrows (plain glyphs, Figma right-arrow icons) ── */
.ttd-dh-arrows { display: flex; gap: 18px; flex: 0 0 auto; align-items: center; }
.ttd-dh-arrow {
  background: none;
  border: 0;
  padding: 4px;
  font-size: 22px;
  line-height: 1;
  color: #41433f;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.ttd-dh-arrow:hover { transform: translateX(2px); }
.ttd-dh-arrow[data-dir="prev"]:hover { transform: translateX(-2px); }
.ttd-dh-arrow--light { color: #fff; }
.ttd-dh-arrow:disabled { opacity: 0.3; cursor: default; transform: none; }

/* ── INTRO (Figma 108:1182 / 108:1184) ── */
.ttd-dh-intro {
  background: #fff;
  padding: 118px 64px 90px;
  position: relative;
  overflow: hidden;
}
.ttd-dh-intro-mono {
  position: absolute;
  top: 70px;
  right: -90px;
  width: 560px;
  height: auto;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.ttd-dh-intro-inner { position: relative; z-index: 1; max-width: 1010px; margin: 0 auto; text-align: center; }
.ttd-page--cine .ttd-dh-intro-heading {
  font-family: var(--ttd-font-headings), serif;
  font-size: 45px;
  line-height: 50px;
  font-weight: 400;
  letter-spacing: -0.45px;
  text-transform: none;
  color: #41433f;
  max-width: 820px;
  margin: 0 auto;
}
/* `.ttd-page--cine` prefix beats the global `.ttd p { margin:0 0 1em }`
   (0,1,1) so the auto side-margins survive and the block stays centred. */
.ttd-page--cine .ttd-dh-intro-body {
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 16px;
  line-height: 29px;
  color: #5a5b57;
  max-width: 671px;
  margin: 31px auto 0;
  text-align: center;
}
.ttd-dh-intro-btns { display: flex; gap: 25px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ── THREE PHOTO TILES (Figma 108:1187-1189, 496×650, radius 16) ── */
.ttd-dh-tiles { background: #fff; padding: 0 0 108px; }
.ttd-dh-tiles-inner {
  max-width: 1728px;
  margin: 0 auto;
  padding: 0 81px;
  display: flex;
  gap: 39px;
}
.ttd-dh-tile {
  position: relative;
  flex: 1 1 0;
  aspect-ratio: 496 / 650;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  background: #41433f;
}
.ttd-dh-tile-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ttd-dh-tile:hover .ttd-dh-tile-media { transform: scale(1.05); }
.ttd-dh-tile-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(181deg, rgba(0,0,0,0) 28%, rgba(0,0,0,0.78) 99%);
}
.ttd-dh-tile-body {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 36px;
  display: block;
}
.ttd-page--cine .ttd-dh-tile-title {
  display: block;
  font-family: var(--ttd-font-headings), serif;
  font-size: 45px;
  line-height: 50px;
  letter-spacing: -0.45px;
  color: #fff;
  margin-bottom: 6px;
}
.ttd-dh-tile-desc {
  display: block;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #fff;
  max-width: 410px;
}

/* ── ABOUT BAND (Figma Group 7 / 240:5301, 1728×1620) ── */
.ttd-dh-about { background: #41433f; padding: 0; overflow: hidden; }
.ttd-dh-about-stage { position: relative; max-width: 1728px; height: 1620px; margin: 0 auto; }
.ttd-dh-about-stage > * { position: absolute; }
.ttd-dh-about-eyebrow {
  left: 81px; top: 100px;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 16px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  z-index: 2;
}
.ttd-page--cine .ttd-dh-about-heading {
  left: 81px; top: 156px;
  width: 720px;
  margin: 0;
  font-family: var(--ttd-font-headings), serif;
  font-size: 50px;
  line-height: 55px;
  font-weight: 400;
  letter-spacing: -0.5px;
  text-transform: none;
  color: #fff;
  z-index: 2;
}
.ttd-dh-about-rule { left: 206px; top: 376px; width: 1px; height: 578px; background: rgba(255,255,255,0.28); z-index: 2; }
.ttd-dh-about-body {
  left: 272px; top: 402px;
  width: 540px;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 16px;
  line-height: 29px;
  color: rgba(255,255,255,0.92);
  z-index: 2;
}
.ttd-dh-about-btns { left: 272px; top: 624px; display: flex; gap: 25px; z-index: 2; }
.ttd-dh-about-photo {
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  z-index: 1;
  display: block;
}
.ttd-dh-about-photo--top { left: 905px; top: 90px; width: 800px; height: 740px; }
.ttd-dh-about-photo--btm { left: 262px; top: 856px; width: 1100px; height: 586px; z-index: 1; }
.ttd-dh-about-play {
  position: absolute;
  right: 36px; bottom: 28px;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
  background: rgba(0,0,0,0.15);
  transition: background 0.2s;
}
.ttd-dh-about-photo--btm:hover .ttd-dh-about-play { background: rgba(0,0,0,0.35); }
.ttd-dh-about-marquee {
  left: 0; top: 905px;
  width: 100%;
  overflow: hidden;
  z-index: 3;
}
.ttd-dh-about-marquee-track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  animation: ttd-marquee 32s linear infinite;
}
.ttd-page--cine .ttd-dh-about-marquee-track span {
  display: inline-block;
  font-family: var(--ttd-font-headings), serif;
  font-size: 85px;
  line-height: 68px;
  letter-spacing: -0.85px;
  color: #fff;
  text-transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .ttd-dh-about-marquee-track { animation: none; }
}
.ttd-page--cine .ttd-dh-about-watermark {
  left: 166px; bottom: -34px;
  font-family: var(--ttd-font-headings), serif;
  font-size: 250px;
  line-height: 1;
  letter-spacing: -2.5px;
  color: rgba(255,255,255,0.10);
  white-space: nowrap;
  z-index: 0;
}

/* ── POPULAR TREATMENTS (Figma 108:1183 + Treatment-Tile carousel) ── */
.ttd-dh-treat { background: #fff; padding: 85px 0 108px; }
.ttd-dh-treat-inner { max-width: 1728px; margin: 0 auto; padding: 0 86px; }
.ttd-dh-treat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.ttd-page--cine .ttd-dh-treat-heading {
  font-family: var(--ttd-font-headings), serif;
  font-size: 50px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.5px;
  text-transform: none;
  color: #41433f;
  margin: 0;
}
.ttd-dh-treat-sub {
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 16px;
  line-height: 29px;
  color: #5a5b57;
  max-width: 450px;
  margin: 14px 0 0;
}
.ttd-dh-treat-track {
  display: flex;
  gap: 30px;
  margin-top: 44px;
  /* Full-bleed track: left edge aligns with the padded heading, right edge
     runs off the screen edge (no right margin). */
  padding-left: calc((100% - min(1728px, 100%)) / 2 + 86px);
  padding-right: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: calc((100% - min(1728px, 100%)) / 2 + 86px);
  scroll-behavior: smooth;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.ttd-dh-treat-track::-webkit-scrollbar { display: none; }
.ttd-dh-treat-tile {
  flex: 0 0 450px;
  scroll-snap-align: start;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.ttd-dh-treat-media {
  display: block;
  width: 100%;
  height: 450px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
}
.ttd-page--cine .ttd-dh-treat-title {
  display: block;
  font-family: var(--ttd-font-headings), serif;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.32px;
  color: #41433f;
  margin: 26px 0 0;
}
.ttd-dh-treat-desc {
  display: block;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #41433f;
  max-width: 356px;
  margin: 12px 0 0;
}
.ttd-dh-treat-btn { align-self: flex-start; margin-top: 22px; }

/* ── LATEST NEWS (Figma Group 21 / 108:1224, dark band 914 tall) ── */
.ttd-dh-news { background: #41433f; padding: 90px 0 0; position: relative; overflow: hidden; min-height: 914px; }
.ttd-dh-news-inner { position: relative; z-index: 2; max-width: 1728px; margin: 0 auto; padding: 0 166px; }
.ttd-dh-news-head { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.ttd-dh-news-more { flex: 0 0 auto; }
.ttd-page--cine .ttd-dh-news-heading {
  font-family: var(--ttd-font-headings), serif;
  font-size: 55px;
  line-height: 68px;
  font-weight: 400;
  letter-spacing: -0.55px;
  text-transform: none;
  color: #fbf2e7;
  margin: 0;
}
.ttd-dh-news-sub {
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 16px;
  line-height: 29px;
  color: #fff;
  max-width: 450px;
  margin: 8px 0 0;
}
.ttd-dh-news-track { display: flex; gap: 35px; margin-top: 48px; }
.ttd-dh-post { flex: 0 0 450px; text-decoration: none; display: flex; flex-direction: column; }
.ttd-dh-post-media {
  position: relative;
  display: block;
  width: 100%;
  height: 300px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
}
.ttd-dh-post-read {
  position: absolute;
  left: 15px; bottom: 15px;
  background: rgba(65,67,63,0.56);
  color: #fff;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 12px;
  letter-spacing: -0.12px;
  padding: 6px 14px;
  border-radius: 1000px;
  backdrop-filter: blur(2px);
}
.ttd-page--cine .ttd-dh-post-title {
  display: block;
  font-family: var(--ttd-font-headings), serif;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.32px;
  color: #fff;
  margin: 18px 0 0;
}
.ttd-dh-post-desc {
  display: block;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #fff;
  max-width: 354px;
  margin: 10px 0 0;
}
.ttd-page--cine .ttd-dh-news-watermark {
  position: absolute;
  left: 60px; bottom: -38px;
  font-family: var(--ttd-font-headings), serif;
  font-size: 250px;
  line-height: 1;
  letter-spacing: -2.5px;
  color: rgba(255,255,255,0.10);
  white-space: nowrap;
  z-index: 1;
}

/* ── Dental-home responsive fallback (below the 1728 design width) ── */
@media (max-width: 1727px) {
  .ttd-dh-about-stage { height: auto; max-width: 1300px; padding: 90px 60px; }
  .ttd-dh-about-stage > * { position: static; }
  .ttd-dh-about-eyebrow, .ttd-page--cine .ttd-dh-about-heading,
  .ttd-dh-about-body, .ttd-dh-about-btns { left: auto; top: auto; width: auto; max-width: 620px; }
  .ttd-page--cine .ttd-dh-about-heading { margin: 14px 0; }
  .ttd-dh-about-body { margin: 0 0 28px; }
  .ttd-dh-about-rule, .ttd-page--cine .ttd-dh-about-marquee,
  .ttd-page--cine .ttd-dh-about-watermark { display: none; }
  .ttd-dh-about-photo { position: relative; width: 100% !important; height: auto !important; aspect-ratio: 16/10; left: auto !important; top: auto !important; margin-top: 30px; }
  .ttd-dh-tiles-inner { flex-wrap: wrap; }
  .ttd-dh-tile { flex: 1 1 280px; }
  .ttd-page--cine .ttd-dh-news-watermark { display: none; }
}
@media (max-width: 900px) {
  .ttd-dh-intro { padding: 80px 28px 56px; }
  .ttd-page--cine .ttd-dh-intro-heading { font-size: 32px; line-height: 1.15; }
  .ttd-dh-tiles-inner { padding: 0 28px; }
  .ttd-dh-treat-inner, .ttd-dh-news-inner { padding: 0 28px; }
  .ttd-dh-treat-track { padding-left: 28px; scroll-padding-left: 28px; }
  .ttd-dh-treat-head, .ttd-dh-news-head { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════
   OUR PRACTICE PAGE  (Figma 84:923 — rebuilt pixel-perfect)
   ═══════════════════════════════════════════════════════════ */

.ttd-practice { background: #fff; }

/* Shared button row */
.ttd-prac-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.ttd-prac-btn-row--center { justify-content: center; }

/* ── HERO ── full-bleed rounded photo banner; header overlays the top ── */
.ttd-prac-hero { background: #fff; padding: 0; }
.ttd-prac-hero-media {
  position: relative;
  height: clamp(440px, 45vw, 612px);
  margin: 13px 13px 0;
  border-radius: 30px;
  overflow: hidden;
}
.ttd-prac-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.ttd-prac-hero-grad {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 45%),
    linear-gradient(90deg, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0) 62%);
}
.ttd-prac-hero-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 clamp(32px, 5vw, 84px) clamp(38px, 5vw, 68px);
  z-index: 1;
}
.ttd-prac-hero-title,
.ttd .ttd-prac-hero-title {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(34px, 4.4vw, 65px);
  font-weight: 400; letter-spacing: 0.02em;
  color: #fff !important; line-height: 1.28;
  max-width: 1180px; margin: 0; text-transform: uppercase;
}
.ttd-prac-hero-title span { color: var(--ttd-gold); }

/* Hero entrance — pure-CSS on-load cascade so it fires on first paint
   (above the fold, so not gated behind .ttd-anim-ready / scroll reveal).
   Reuses the site-wide ttd-hero-* keyframes + signature easing. */
.ttd-prac-hero-img   { animation: ttd-hero-zoom 1.9s cubic-bezier(0.16, 0.84, 0.44, 1) backwards; }
.ttd-prac-hero-grad  { animation: ttd-hero-fade 1.5s ease-out backwards; }
.ttd-prac-hero-title { animation: ttd-hero-rise 0.95s cubic-bezier(0.16, 0.84, 0.44, 1) 0.4s backwards; }
@media (prefers-reduced-motion: reduce) {
  .ttd-prac-hero-img,
  .ttd-prac-hero-grad,
  .ttd-prac-hero-title { animation: none; }
}

/* ── INTRO (editorial) ── heading upper-left, body indented, buttons + rule;
   two photos offset (left-lower, right-upper). Mirrors Figma 84:1823. ── */
.ttd-prac-intro { background: #fff; padding: clamp(60px, 7vw, 104px) 40px clamp(36px, 4vw, 64px); }
.ttd-prac-intro-inner { position: relative; max-width: 1500px; margin: 0 auto; }
.ttd-prac-intro-heading {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(28px, 3.4vw, 48px); font-weight: 400;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: #41433f; line-height: 1.28; margin: 0; text-align: left;
}
.ttd-prac-intro-body { font-size: 16px; color: #5a5b57; line-height: 1.85; margin: 0; text-align: left; }
.ttd-prac-intro-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ttd-prac-intro-rule { flex: 0 0 auto; width: 90px; height: 1px; background: var(--ttd-gold); }
.ttd-prac-intro-photo {
  margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 284 / 375;
  box-shadow: 0 22px 48px rgba(65,67,63,0.18);
}
.ttd-prac-intro-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 1100px) {
  .ttd-prac-intro-inner { min-height: 600px; }
  .ttd-prac-intro-heading { position: absolute; top: 16px;  left: 9%;  width: 66%; }
  .ttd-prac-intro-body    { position: absolute; top: 208px; left: 26%; width: 45%; }
  .ttd-prac-intro-actions { position: absolute; top: 392px; left: 33%; }
  .ttd-prac-intro-photo   { position: absolute; width: 19%; }
  .ttd-prac-intro-photo--left  { left: 0;  bottom: 0; }
  .ttd-prac-intro-photo--right { right: 0; top: 0; }
}
@media (max-width: 1099px) {
  .ttd-prac-intro-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; max-width: 700px; }
  .ttd-prac-intro-photo { display: none; }
}

/* ── VIDEO + overlapping marquee ── */
.ttd-prac-video { background: #fff; padding: 0 40px; }
.ttd-prac-video-inner { position: relative; max-width: 1120px; margin: 0 auto; }
.ttd-prac-video-card {
  position: relative;
  aspect-ratio: 1120 / 776;
  border-radius: 26px; overflow: hidden;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.ttd-prac-video-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(28,27,23,0.5) 0%, rgba(28,27,23,0) 26%), rgba(0,0,0,0.06);
}
.ttd-prac-video-play {
  position: relative; z-index: 1;
  width: 76px; height: 76px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.94); color: #41433f;
  font-size: 22px; padding-left: 5px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 34px rgba(0,0,0,0.24);
  transition: transform 0.2s, background 0.2s;
}
.ttd-prac-video-play:hover { transform: scale(1.08); background: #fff; }
.ttd-prac-video-marquee {
  position: absolute; left: 0; right: 0; bottom: 7%; z-index: 2;
  overflow: hidden; white-space: nowrap; pointer-events: none;
}
.ttd-prac-video-marquee span {
  display: inline-block;
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(30px, 3.6vw, 60px); font-weight: 400; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.94); text-transform: uppercase;
  animation: ttd-marquee 30s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .ttd-prac-video-marquee span { animation: none; } }

/* ── WATERMARK ── giant faint "About Treetops" below the video ── */
.ttd-prac-band { position: relative; background: #fff; text-align: center; padding: clamp(18px,3vw,42px) 20px clamp(20px,3vw,40px); overflow: hidden; }
.ttd-prac-band-watermark {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(54px, 12.5vw, 210px); line-height: 0.95;
  color: rgba(65,67,63,0.05); white-space: nowrap; user-select: none; text-transform: none;
}

/* ── EXPLORE OUR TREATMENTS ── photo left, olive panel right ── */
.ttd-prac-explore { display: flex; min-height: clamp(420px, 36vw, 627px); background: #41433f; }
.ttd-prac-explore-photo { flex: 0 0 50%; margin: 0; overflow: hidden; }
.ttd-prac-explore-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ttd-prac-explore-text {
  flex: 1; position: relative; overflow: hidden;
  padding: clamp(48px, 6vw, 92px) clamp(40px, 5vw, 92px);
  display: flex; flex-direction: column; justify-content: center;
}
.ttd-prac-explore-mark {
  position: absolute; right: -34px; top: 50%; transform: translateY(-50%);
  height: 78%; width: auto; aspect-ratio: 138 / 171; opacity: 0.06;
  filter: brightness(0) invert(1); pointer-events: none;
}
.ttd-prac-explore-heading {
  position: relative; z-index: 1;
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(34px, 4vw, 58px); font-weight: 400; letter-spacing: 0.04em;
  line-height: 1.06; color: #f4ede1 !important; text-transform: uppercase; margin: 0 0 22px;
}
.ttd-prac-explore-heading span { color: var(--ttd-gold); }
.ttd-prac-explore-body {
  position: relative; z-index: 1;
  font-size: 16px; color: rgba(255,255,255,0.78); line-height: 1.85;
  max-width: 460px; margin: 0 0 32px;
}
.ttd-prac-explore .ttd-prac-btn-row { position: relative; z-index: 1; }
@media (max-width: 820px) {
  .ttd-prac-explore { flex-direction: column; }
  .ttd-prac-explore-photo { flex: none; min-height: 300px; }
}

/* ── MEET OUR TEAM ── 4-column grid of portrait tiles ── */
.ttd-prac-team { background: #fff; padding: clamp(70px, 7vw, 104px) 40px; }
.ttd-prac-team-inner { max-width: 1500px; margin: 0 auto; }
.ttd-prac-team-heading {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(30px, 3.4vw, 52px); font-weight: 400;
  letter-spacing: 0.05em; text-transform: uppercase; color: #41433f;
  margin: 0 0 44px;
}
.ttd-prac-team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 30px 30px;
}
.ttd-prac-team-tile { transition: transform 0.25s; }
.ttd-prac-team-tile:hover { transform: translateY(-5px); }
.ttd-anim-ready .ttd-prac-team-tile.is-visible:hover { transform: translateY(-5px); }
.ttd-prac-team-photo {
  aspect-ratio: 353 / 442; border-radius: 16px; overflow: hidden;
  background: #e9e5df center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.ttd-prac-team-photo.is-placeholder {
  background: linear-gradient(160deg, #4a4c47 0%, #41433f 100%);
}
.ttd-prac-team-ph-mark { width: 42%; opacity: 0.16; filter: brightness(0) invert(1); }
.ttd-prac-team-name {
  font-family: var(--ttd-font-headings), serif;
  font-size: 21px; font-weight: 400; color: #41433f;
  letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 6px;
}
.ttd-prac-team-role { font-size: 13px; color: #7c7b76; line-height: 1.5; margin: 0; }
@media (max-width: 1024px) { .ttd-prac-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .ttd-prac-team-grid { grid-template-columns: 1fr; } }

/* Team tile is a button that opens the member profile panel */
.ttd-prac-team-tile {
  -webkit-appearance: none; appearance: none; border: 0; background: none;
  padding: 0; margin: 0; font: inherit; color: inherit; text-align: left;
  width: 100%; cursor: pointer; display: block;
}
.ttd-prac-team-tile:focus-visible { outline: 2px solid var(--ttd-gold); outline-offset: 4px; border-radius: 18px; }
.ttd-prac-team-name, .ttd-prac-team-role { display: block; }
.ttd-prac-team-photo { position: relative; }
.ttd-prac-team-view {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 16px 14px; text-align: center;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
  background: linear-gradient(0deg, rgba(20,21,18,0.82), rgba(20,21,18,0));
  opacity: 0; transform: translateY(10px); transition: opacity 0.35s ease, transform 0.4s ease;
}
.ttd-prac-team-tile:hover .ttd-prac-team-view,
.ttd-prac-team-tile:focus-visible .ttd-prac-team-view { opacity: 1; transform: translateY(0); }

/* ── TEAM MEMBER SLIDE-IN PANEL (Figma 237:2796) ── */
body.ttd-team-panel-lock { overflow: hidden; }
.ttd-team-panel-root { position: fixed; inset: 0; z-index: 1000; visibility: hidden; pointer-events: none; }
.ttd-team-panel-root.is-open { visibility: visible; pointer-events: auto; }
.ttd-team-panel-scrim { position: absolute; inset: 0; background: rgba(26,27,24,0.45); opacity: 0; transition: opacity 0.4s ease; }
.ttd-team-panel-root.is-open .ttd-team-panel-scrim { opacity: 1; }
.ttd-team-panel {
  position: absolute; top: 50%; left: 50%;
  width: min(560px, calc(100% - 20px));
  height: auto; max-height: 80vh;
  background: #fff; border-radius: 24px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 40px 90px rgba(26,27,24,0.32);
  transform: translate(-50%, -50%) scale(0.97);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(.16, 1, .3, 1);
  will-change: transform, opacity;
}
.ttd-team-panel-root.is-open .ttd-team-panel { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.ttd-team-panel-close {
  position: absolute; top: 16px; right: 16px; z-index: 4;
  width: 46px; height: 46px; border: 0; cursor: pointer;
  background: var(--ttd-gold); color: #41433f; border-radius: 12px;
  font-size: 19px; display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, transform 0.35s cubic-bezier(.16, 1, .3, 1);
}
.ttd-team-panel-close:hover { background: #e7c79b; transform: rotate(90deg); }
.ttd-team-panel-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: clamp(26px,3vw,40px); }
.ttd-team-panel-photo {
  aspect-ratio: 600 / 414; border-radius: 18px; overflow: hidden;
  background: #e9e5df center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; margin-bottom: 26px;
}
.ttd-team-panel-photo.is-placeholder { background: linear-gradient(160deg, #4a4c47 0%, #41433f 100%); }
.ttd-team-panel-photo .ttd-team-panel-ph { width: 34%; opacity: 0.18; filter: brightness(0) invert(1); }
.ttd-team-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.ttd-team-panel-name {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(22px,2.4vw,28px); font-weight: 400; letter-spacing: 0.1em;
  text-transform: uppercase; color: #41433f; margin: 0;
}
.ttd-team-panel-emblem { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.ttd-team-panel-emblem img { width: 42px; height: 52px; display: block; }
.ttd-team-panel-role { margin: 0 0 22px; }
.ttd-team-panel-role span { display: block; font-size: 14px; color: #7c7b76; line-height: 1.5; }
.ttd-team-panel-role span:first-child { color: #41433f; }
.ttd-team-panel-bio p { font-size: 14px; color: #5a5b57; line-height: 1.75; margin: 0 0 16px; }
.ttd-team-panel-accred { margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(65,67,63,0.12); }
.ttd-team-panel-accred-label {
  display: block; font-family: var(--ttd-font-body), sans-serif;
  font-size: 13px; letter-spacing: 0.04em; color: #41433f; margin-bottom: 16px;
}
.ttd-team-panel-accred-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; min-height: 30px; }
.ttd-team-panel-accred-item { font-family: var(--ttd-font-headings), serif; font-size: 26px; letter-spacing: 0.04em; color: rgba(65,67,63,0.32); }
.ttd-team-panel-accred-row:empty::before { content: "Coming soon"; font-size: 13px; color: rgba(65,67,63,0.4); font-family: var(--ttd-font-body), sans-serif; }
.ttd-team-panel-actions {
  flex: 0 0 auto; display: flex; gap: 14px;
  padding: clamp(20px,2vw,28px) clamp(26px,3vw,40px);
  border-top: 1px solid rgba(65,67,63,0.12); background: #faf7f2;
}
.ttd-team-panel-actions a { flex: 1; text-align: center; }
@media (max-width: 600px) {
  .ttd-team-panel { width: calc(100% - 20px); }
  .ttd-team-panel-actions { flex-direction: column; }
}

/* ── FEATURE INTRO + 1/3 IMAGE TILES ── */
.ttd-prac-feature { background: #fff; padding: clamp(50px, 6vw, 80px) 40px clamp(70px, 8vw, 110px); }
.ttd-prac-feature-inner { max-width: 1500px; margin: 0 auto; }
.ttd-prac-feature-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 60px; align-items: start; margin-bottom: 56px;
}
.ttd-prac-feature-heading {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(26px, 2.8vw, 42px); font-weight: 400;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: #41433f; line-height: 1.22; margin: 0;
}
.ttd-prac-feature-cols { columns: 2; column-gap: 36px; }
.ttd-prac-feature-cols p { font-size: 15px; color: #5a5b57; line-height: 1.8; margin: 0 0 16px; break-inside: avoid; }
.ttd-prac-feature-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
/* ── GLOBAL IMAGE TILE COMPONENT (reusable site-wide) ──
   Slick hover: image zoom, gradient deepen, CTA slide-in reveal, gold ring. */
.ttd-tile {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 496 / 650; border-radius: 22px;
  text-decoration: none; isolation: isolate; background: #41433f;
}
.ttd-tile-media {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transform: scale(1.001);
  transition: transform 0.85s cubic-bezier(.16,.84,.44,1);
}
.ttd-tile-grad {
  position: absolute; inset: 0; z-index: 1; opacity: 0.92;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(20,21,18,0.30) 62%, rgba(13,14,11,0.86) 100%);
  transition: opacity 0.5s ease;
}
.ttd-tile-body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 30px 30px 34px; display: flex; flex-direction: column;
  transform: translateY(0); transition: transform 0.55s cubic-bezier(.16,.84,.44,1);
}
.ttd-tile-title {
  font-family: var(--ttd-font-headings), serif;
  font-size: 30px; font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase;
  color: #fff; margin-bottom: 10px;
}
.ttd-tile-desc { font-size: 14px; color: rgba(255,255,255,0.82); line-height: 1.6; max-width: 320px; }
.ttd-tile-cta {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 0; max-height: 0; overflow: hidden;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ttd-gold);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(.16,.84,.44,1), max-height 0.5s ease, margin-top 0.5s ease;
}
.ttd-tile-cta i { transition: transform 0.4s ease; }
.ttd-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; border: 1px solid rgba(241,213,174,0); transition: border-color 0.5s ease;
}
.ttd-tile:hover .ttd-tile-media,
.ttd-tile:focus-visible .ttd-tile-media { transform: scale(1.09); }
.ttd-tile:hover .ttd-tile-grad,
.ttd-tile:focus-visible .ttd-tile-grad { opacity: 1; }
.ttd-tile:hover .ttd-tile-body,
.ttd-tile:focus-visible .ttd-tile-body { transform: translateY(-4px); }
.ttd-tile:hover .ttd-tile-cta,
.ttd-tile:focus-visible .ttd-tile-cta { opacity: 1; transform: translateY(0); margin-top: 16px; max-height: 40px; }
.ttd-tile:hover .ttd-tile-cta i,
.ttd-tile:focus-visible .ttd-tile-cta i { transform: translateX(5px); }
.ttd-tile:hover::after,
.ttd-tile:focus-visible::after { border-color: rgba(241,213,174,0.55); }
@media (prefers-reduced-motion: reduce) {
  .ttd-tile *, .ttd-tile::after { transition: none !important; }
}
@media (max-width: 900px) {
  .ttd-prac-feature-head { grid-template-columns: 1fr; gap: 20px; }
  .ttd-prac-feature-cols { columns: 1; }
  .ttd-prac-feature-tiles { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/* ── PATIENT REVIEWS ── cream band with Google-style cards ── */
.ttd-prac-reviews { background: #FAF5EE; padding: clamp(70px, 8vw, 110px) 40px; }
.ttd-prac-reviews-inner { max-width: 1320px; margin: 0 auto; }
.ttd-prac-reviews-heading {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(28px, 3.2vw, 48px); font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase; color: #41433f;
  text-align: center; margin: 0 0 14px;
}
.ttd-prac-reviews-sub { font-size: 16px; color: #6a6b66; text-align: center; max-width: 720px; margin: 0 auto 52px; line-height: 1.7; }
.ttd-prac-reviews-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 52px; }
.ttd-prac-review-card { background: #fff; border-radius: 14px; padding: 28px 30px; box-shadow: 0 10px 30px rgba(65,67,63,0.07); }
.ttd-prac-review-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.ttd-prac-review-avatar {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: #2c5fc4; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 600;
}
.ttd-prac-review-id { flex: 1; min-width: 0; }
.ttd-prac-review-id strong { display: block; color: #2c5fc4; font-size: 16px; font-weight: 600; line-height: 1.2; }
.ttd-prac-review-when { font-size: 13px; color: #8a8a86; }
.ttd-prac-review-g { flex: 0 0 auto; width: 22px; height: 22px; }
.ttd-prac-review-g svg { width: 100%; height: 100%; display: block; }
.ttd-prac-review-stars { color: #f5a623; font-size: 15px; letter-spacing: 1px; margin-bottom: 14px; }
.ttd-prac-review-text { font-size: 15px; color: #54554f; line-height: 1.7; margin: 0; }
@media (max-width: 900px) { .ttd-prac-reviews-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 52px; } }

/* ── OUR MISSION ── full-bleed photo, quote + cream card + play pill ── */
.ttd-prac-mission {
  position: relative; min-height: clamp(560px, 50vw, 782px);
  background-size: cover; background-position: center;
  display: flex; align-items: center;
  padding: clamp(60px, 6vw, 90px) clamp(40px, 6vw, 114px);
}
.ttd-prac-mission-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.05) 60%); }
.ttd-prac-mission-inner { position: relative; z-index: 1; max-width: 660px; }
.ttd-prac-mission-quote {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(17px, 1.6vw, 23px); font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase; color: #3a3c37;
  line-height: 1.5; margin: 0 0 26px; max-width: 560px;
}
.ttd-prac-mission-card {
  background: rgba(251,242,231,0.94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: 24px; padding: clamp(34px, 3vw, 54px);
}
.ttd-prac-mission-heading {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(30px, 3.2vw, 50px); font-weight: 400;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: #41433f; line-height: 1.12; margin: 0 0 18px;
}
.ttd-prac-mission-body { font-size: 16px; color: #5a5b57; line-height: 1.8; margin: 0 0 28px; }
.ttd-prac-mission-play {
  position: absolute; top: clamp(40px, 6vw, 88px); right: clamp(40px, 6vw, 114px); z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.9); border: none; cursor: pointer;
  border-radius: 100px; padding: 8px 16px 8px 12px;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 12px; letter-spacing: 0.14em; color: #41433f;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18); transition: background 0.2s;
}
.ttd-prac-mission-play:hover { background: #fff; }
.ttd-prac-mission-play .fa-play { font-size: 10px; }
.ttd-prac-mission-play-dot { width: 8px; height: 8px; border-radius: 50%; background: #3fae6a; }
@media (max-width: 600px) { .ttd-prac-mission-play span:last-child { display: none; } }

/* ── LATEST NEWS ── olive band, 3 post tiles, faint word watermark ── */
.ttd-prac-news { position: relative; background: #41433f; padding: clamp(70px, 8vw, 104px) 40px clamp(120px, 14vw, 200px); overflow: hidden; }
.ttd-prac-news-inner { position: relative; z-index: 1; max-width: 1500px; margin: 0 auto; }
.ttd-prac-news-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.ttd-prac-news-heading {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(28px, 3vw, 46px); font-weight: 400;
  letter-spacing: 0.05em; text-transform: uppercase; color: #f4ede1 !important; margin: 0 0 12px;
}
.ttd-prac-news-sub { font-size: 15px; color: rgba(255,255,255,0.62); line-height: 1.7; max-width: 440px; margin: 0; }
.ttd-prac-news-head .ttd-page-btn-outline-gold { flex: 0 0 auto; white-space: nowrap; margin-top: 6px; }
.ttd-prac-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ttd-prac-news-tile { text-decoration: none; display: block; }
.ttd-prac-news-thumb {
  position: relative; display: block; aspect-ratio: 450 / 300;
  border-radius: 16px; overflow: hidden;
  background-size: cover; background-position: center; margin-bottom: 18px;
}
.ttd-prac-news-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(40,42,38,0.28); }
.ttd-prac-news-tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: var(--ttd-gold); color: #41433f;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
}
.ttd-prac-news-emblem {
  position: absolute; inset: 0; z-index: 1; margin: auto;
  width: 58px; height: 58px; transform: rotate(45deg);
  border: 1.5px solid rgba(255,255,255,0.85); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.ttd-prac-news-emblem img { width: 46%; transform: rotate(-45deg); filter: brightness(0) invert(1); opacity: 0.9; }
.ttd-prac-news-title {
  font-family: var(--ttd-font-headings), serif;
  font-size: 21px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase;
  color: #f4ede1 !important; margin: 0 0 10px;
}
.ttd-prac-news-excerpt { font-size: 14px; color: rgba(255,255,255,0.62); line-height: 1.7; margin: 0; }
.ttd-prac-news-watermark {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); z-index: 0;
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(70px, 15vw, 240px); line-height: 1; white-space: nowrap;
  color: rgba(255,255,255,0.05); user-select: none; text-transform: uppercase;
}
@media (max-width: 900px) {
  .ttd-prac-news-head { flex-direction: column; }
  .ttd-prac-news-grid { grid-template-columns: 1fr; max-width: 430px; margin: 0 auto; }
}

/* ═══════════════════════════════════════════════════════════
   PLANS & FEES PAGE
   ═══════════════════════════════════════════════════════════ */

/* ── Hero banner — Figma 84:453: rounded photo banner, bottom-left title.
   Mirrors the dental hero's break-out rounded-card technique.            */
.ttd-page-hero--fees {
  min-height: 0;
  height: clamp(340px, 30vw, 480px);
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0;
  overflow: hidden;
  background: #41433f;
  width: calc(100vw - 10px);
  max-width: calc(100vw - 10px);
  margin: 5px calc(50% - 50vw + 5px) 0;
  border-radius: 24px;
}
.ttd-page-hero--fees::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../images/fees-hero-bg.jpg') center center / cover no-repeat;
}
.ttd-page-hero--fees .ttd-page-hero-overlay { background: rgba(41,42,38,0.42); z-index: 1; }
.ttd-page-hero--fees .ttd-page-hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.62) 100%);
}
.ttd-page-hero--fees .ttd-page-hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  width: 100%;
  max-width: 1648px;
  margin: 0 auto;
  padding: 0 clamp(28px, 6vw, 116px) clamp(36px, 4.5vw, 62px);
}
.ttd-page-hero--fees .ttd-page-hero-title {
  font-size: clamp(40px, 4.6vw, 65px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}

/* ── Intro — Figma: heading left, paragraph right, on a white field ── */
.ttd-page-fees-intro {
  background: #fff;
  padding: clamp(56px, 7vw, 96px) clamp(28px, 6vw, 116px) clamp(36px, 4vw, 56px);
}
.ttd-page-fees-intro-inner {
  max-width: 1648px;
  margin: 0 auto;
  display: flex;
  gap: clamp(40px, 6vw, 96px);
  align-items: flex-start;
  justify-content: space-between;
}
.ttd-page-fees-intro-heading {
  flex: 0 0 42%;
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(30px, 3.4vw, 45px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #41433f;
  margin: 0;
  text-transform: none;
}
.ttd-page-fees-intro-body {
  flex: 1 1 0;
  max-width: 680px;
  font-size: 17px;
  line-height: 1.78;
  color: #5a5b57;
  margin: 0;
}

/* ── Section wrapper ── */
.ttd-page-fees-section {
  background: #fff;
  padding: 0 0 clamp(72px, 8vw, 120px);
}

/* ── Category filter pills — Figma 7 × Primary-Btn (217 × 55).
   Becomes a sticky bar that parks just beneath the sticky site header
   as the tables scroll past (--ttd-sticky-top is set from JS to the
   live header height).                                                   */
.ttd-page-fees-filters {
  position: sticky;
  top: var(--ttd-sticky-top, 74px);
  z-index: 40;
  max-width: 1648px;
  margin: 0 auto clamp(40px, 4.5vw, 64px);
  padding: 12px clamp(28px, 6vw, 116px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #fff;
  transition: box-shadow 0.3s ease;
}
.ttd-page-fees-filters.is-stuck {
  box-shadow: 0 12px 26px -14px rgba(65, 67, 63, 0.28);
}
/* zero-height marker used to detect the stuck state without layout shift */
.ttd-fees-sentinel { height: 1px; margin-bottom: -1px; width: 100%; pointer-events: none; }
.ttd-fees-pill {
  flex: 0 0 auto;
  text-align: center;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1;
  color: #41433f;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid #41433f;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.ttd-fees-pill:hover { background: rgba(241,213,174,0.45); transform: translateY(-2px); }
.ttd-fees-pill--active {
  background: #f1d5ae;
  border-color: #f1d5ae;
  color: #41433f;
}

/* ── Content layout ── */
.ttd-page-fees-layout {
  display: flex;
  gap: clamp(40px, 4vw, 72px);
  max-width: 1648px;
  margin: 0 auto;
  padding: 0 clamp(28px, 6vw, 116px);
  align-items: flex-start;
}
.ttd-page-fees-tables { flex: 1 1 0; min-width: 0; }
.ttd-fees-table { margin-bottom: clamp(40px, 4vw, 60px); }
.ttd-fees-table:last-child { margin-bottom: 0; }
.ttd-fees-table[hidden] { display: none; }
.ttd-fees-table-title {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(26px, 2.3vw, 32px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #41433f;
  margin: 0 0 18px;
  text-transform: none;
}
.ttd-fees-table-body {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.ttd-fees-head-row { background: #fcf6ee; }
.ttd-fees-head-row th {
  text-align: left;
  font-family: var(--ttd-font-body), sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #41433f;
  height: 54px;
  padding: 0 24px;
  vertical-align: middle;
}
.ttd-fees-table-body tbody tr { border-bottom: 1px solid rgba(65,67,63,0.12); }
.ttd-fees-treatment, .ttd-fees-price {
  padding: 18px 24px;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 18px;
  line-height: 1.45;
  color: #41433f;
  vertical-align: middle;
}
.ttd-fees-treatment { width: 67%; }
.ttd-fees-price { text-align: left; white-space: nowrap; }

/* ── Booking / enquiry card — Figma 84:743 (cream, centred) ── */
.ttd-page-fees-sidebar { flex: 0 0 clamp(360px, 27vw, 470px); position: sticky; top: var(--ttd-fees-card-top, 180px); }
.ttd-fees-booking-card {
  background: #fcf6ee;
  color: #41433f;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  overflow: hidden;
}
.ttd-fees-booking-block { display: flex; flex-direction: column; align-items: center; }
.ttd-fees-booking-eyebrow {
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #41433f;
  margin-bottom: 8px;
}
.ttd-fees-booking-title {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(28px, 2.4vw, 35px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #41433f;
  margin: 0 0 24px;
  text-transform: none;
}
.ttd-fees-booking-btn {
  display: inline-block;
  min-width: 217px;
  padding: 18px 28px;
  border-radius: 100px;
  background: #41433f;
  color: #fff;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}
.ttd-fees-booking-btn:hover { background: #2f312d; transform: translateY(-2px); }
.ttd-fees-booking-hr {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(65,67,63,0.15);
  margin: 36px 0;
}
.ttd-fees-booking-phone {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  margin-bottom: 20px;
}
.ttd-fees-booking-phone-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #41433f;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.ttd-fees-booking-phone-num {
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(28px, 2.4vw, 35px);
  color: #41433f;
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.ttd-fees-booking-text {
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #5a5b57;
  max-width: 330px;
  margin: 0 auto 28px;
}
.ttd-fees-booking-illustration {
  display: block;
  width: 100%;
  max-width: 389px;
  height: auto;
  margin: 36px auto 0;
}

@media (max-width: 1024px) {
  .ttd-page-fees-intro-inner { flex-direction: column; gap: 20px; }
  .ttd-page-fees-intro-heading { flex: none; }
  .ttd-page-fees-layout { flex-direction: column; }
  .ttd-page-fees-sidebar { position: static; flex: none; width: 100%; max-width: 470px; }
  /* Stacked layout — drop the sticky behaviours so nothing pins awkwardly. */
  .ttd-page-fees-filters,
  .ttd-page-fees-filters.is-stuck { position: static; box-shadow: none; padding-top: 0; padding-bottom: 0; }
}
@media (max-width: 560px) {
  .ttd-fees-treatment, .ttd-fees-price, .ttd-fees-head-row th { padding-left: 16px; padding-right: 16px; }
  .ttd-fees-treatment { width: 60%; }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL / ENTRANCE ANIMATIONS (opt-in via .ttd-reveal)
   Gated behind .ttd-anim-ready so content is fully visible
   when JavaScript is unavailable.
   ═══════════════════════════════════════════════════════════ */
.ttd-anim-ready .ttd-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.ttd-anim-ready .ttd-reveal--right { transform: translateX(40px); }
.ttd-anim-ready .ttd-reveal--left  { transform: translateX(-40px); }
.ttd-anim-ready .ttd-reveal--scale { transform: scale(0.96); }
.ttd-anim-ready .ttd-reveal.is-visible { opacity: 1; transform: none; }

/* Hero headline — a touch more travel + a slow image zoom-in on load. */
.ttd-anim-ready .ttd-page-hero-content.ttd-reveal { transform: translateY(44px); }
@keyframes ttd-hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.ttd-page-hero--fees::before { animation: ttd-hero-zoom 1.8s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* Group triggers — the container holds position; its children animate off
   the container's .is-visible state to produce a staggered cascade. */
.ttd-anim-ready .ttd-reveal--group { opacity: 1; transform: none; }

/* Price-table cascade: title → header row → each price row in sequence. */
.ttd-anim-ready .ttd-fees-table .ttd-fees-table-title,
.ttd-anim-ready .ttd-fees-table .ttd-fees-head-row,
.ttd-anim-ready .ttd-fees-table tbody tr {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.ttd-anim-ready .ttd-fees-table.is-visible .ttd-fees-table-title,
.ttd-anim-ready .ttd-fees-table.is-visible .ttd-fees-head-row,
.ttd-anim-ready .ttd-fees-table.is-visible tbody tr {
  opacity: 1;
  transform: none;
}
.ttd-anim-ready .ttd-fees-table.is-visible .ttd-fees-table-title { transition-delay: 0s; }
.ttd-anim-ready .ttd-fees-table.is-visible .ttd-fees-head-row    { transition-delay: 0.07s; }
.ttd-anim-ready .ttd-fees-table.is-visible tbody tr:nth-child(1) { transition-delay: 0.14s; }
.ttd-anim-ready .ttd-fees-table.is-visible tbody tr:nth-child(2) { transition-delay: 0.20s; }
.ttd-anim-ready .ttd-fees-table.is-visible tbody tr:nth-child(3) { transition-delay: 0.26s; }
.ttd-anim-ready .ttd-fees-table.is-visible tbody tr:nth-child(4) { transition-delay: 0.32s; }
.ttd-anim-ready .ttd-fees-table.is-visible tbody tr:nth-child(5) { transition-delay: 0.38s; }
.ttd-anim-ready .ttd-fees-table.is-visible tbody tr:nth-child(6) { transition-delay: 0.44s; }
.ttd-anim-ready .ttd-fees-table.is-visible tbody tr:nth-child(7) { transition-delay: 0.50s; }

@media (prefers-reduced-motion: reduce) {
  .ttd-anim-ready .ttd-reveal,
  .ttd-anim-ready .ttd-fees-table .ttd-fees-table-title,
  .ttd-anim-ready .ttd-fees-table .ttd-fees-head-row,
  .ttd-anim-ready .ttd-fees-table tbody tr {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .ttd-page-hero--fees::before { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════ */

.ttd-page-hero--contact {
  min-height: 50vh;
  background: linear-gradient(180deg, rgba(65,67,63,0.75) 0%, rgba(65,67,63,0.92) 100%), #41433f;
}

/* Info section */
.ttd-page-contact-info {
  background: #FAF5EE;
  padding: 80px 40px;
}
.ttd-page-contact-info-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.ttd-page-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 200px;
}
.ttd-page-contact-detail .fa-solid,
.ttd-page-contact-detail .fa-regular {
  font-size: 20px;
  color: var(--ttd-gold);
  margin-top: 4px;
  flex-shrink: 0;
}
.ttd-page-contact-detail strong {
  display: block;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #5a5b57;
  margin-bottom: 4px;
}
.ttd-page-contact-detail p {
  font-size: 15px;
  color: #41433f;
  line-height: 1.5;
  margin: 0;
}
.ttd-page-contact-detail a { color: #41433f; text-decoration: none; }
.ttd-page-contact-detail a:hover { color: var(--ttd-gold); }
.ttd-page-contact-info-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Form + sidebar layout */
.ttd-page-contact-form-section {
  background: #fff;
  padding: 80px 40px;
}
.ttd-page-contact-form-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.ttd-page-contact-sidebar { flex: 0 0 320px; }
.ttd-contact-booking-card {
  background: #41433f;
  color: #fff;
  padding: 40px 28px;
  border-radius: 20px;
  position: sticky;
  top: 100px;
}
.ttd-contact-booking-card h3 {
  font-family: var(--ttd-font-headings), serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 10px;
  text-transform: none;
}
.ttd-contact-booking-card p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.6; }
.ttd-contact-booking-card strong { color: #fff; }
.ttd-page-contact-form { flex: 1; }
.ttd-page-contact-form-heading {
  font-family: var(--ttd-font-headings), serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #41433f;
  margin-bottom: 28px;
  text-transform: none;
}
.ttd-contact-form .ttd-contact-form-row { margin-bottom: 20px; }
.ttd-contact-form-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ttd-contact-form-field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #5a5b57;
  margin-bottom: 6px;
  font-weight: 400;
}
.ttd-contact-form-field input,
.ttd-contact-form-field select,
.ttd-contact-form-field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(65,67,63,0.20);
  border-radius: 10px;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 15px;
  color: #41433f;
  background: #fafaf9;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.ttd-contact-form-field input:focus,
.ttd-contact-form-field select:focus,
.ttd-contact-form-field textarea:focus {
  border-color: #41433f;
  background: #fff;
}
.ttd-contact-form-field textarea { resize: vertical; }
.ttd-contact-form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #5a5b57;
}
.ttd-contact-form-privacy input { margin-top: 3px; flex-shrink: 0; }
.ttd-contact-form-privacy a { color: #41433f; }
.ttd-contact-form-submit {
  background: #41433f;
  color: #fff;
  border: none;
  padding: 16px 48px;
  border-radius: 100px;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.ttd-contact-form-submit:hover { background: #2b2c28; }

@media (max-width: 900px) {
  .ttd-page-contact-form-layout { flex-direction: column; }
  .ttd-page-contact-sidebar { flex: none; width: 100%; }
  .ttd-contact-booking-card { position: static; }
  .ttd-contact-form-row--2col { grid-template-columns: 1fr; }
}

/* Map */
.ttd-page-map { line-height: 0; }

/* Explore tiles (contact bottom) */
.ttd-page-explore-tiles {
  display: flex;
  min-height: 360px;
}
.ttd-explore-tile {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  background: #41433f;
  overflow: hidden;
  transition: flex 0.4s;
}
.ttd-explore-tile:hover { flex: 1.15; }
.ttd-explore-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.70) 100%);
}
.ttd-explore-tile-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  color: #fff;
}
.ttd-explore-tile-content h3 {
  font-family: var(--ttd-font-headings), serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 8px;
  text-transform: none;
}
.ttd-explore-tile-cta {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--ttd-gold);
  text-transform: uppercase;
}
/* Dental/Wellness divider */
.ttd-page-explore-tiles .ttd-explore-tile:first-child {
  border-right: 1px solid rgba(255,255,255,0.12);
}

/* Practice intro hero adjustment */
.ttd-page-practice-intro-center { text-align: center; }

/* ─── CINEMATIC HERO — shared by Dental + Wellness (Figma node 108:1154) ─────
   Styling, layout and entrance animation are identical across pages; only the
   background photo (.ttd-page-hero--{dental,wellness}::before) differs. */
.ttd-page-hero--cine {
  height: 900px;
  min-height: 0;
  justify-content: center;
  background: #41433f;
  padding: 150px 64px 48px;
  overflow: hidden;
  /* Break out of any constrained container, then inset 5px on every side so the
     hero reads as a rounded card framed by a 5px gap (overflow:hidden above
     clips the bg image / overlay to the rounded corners). */
  width: calc(100vw - 10px);
  max-width: calc(100vw - 10px);
  margin: 5px calc(50% - 50vw + 5px);
  border-radius: 24px;
}
/* Shared bg layer; image set per page below (paths relative to this CSS file) */
.ttd-page-hero--cine::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.ttd-page-hero--dental::before   { background-image: url('../images/dental-hero-bg.jpg'); }
.ttd-page-hero--wellness::before { background-image: url('../images/wellness-hero-bg.jpg'); }
.ttd-page-hero--cine .ttd-page-hero-overlay {
  background: rgba(0, 0, 0, 0.56);
}
/* Bottom-up darkening gradient so the strip text stays legible */
.ttd-page-hero--cine .ttd-page-hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,0.78) 99%);
}

/* Headline — auto margins centre it in the space above the pinned strip */
.ttd-page-hero--cine .ttd-page-hero-content {
  max-width: 780px;
  margin-top: auto;
  margin-bottom: auto;
}
.ttd-page-hero--cine .ttd-page-hero-title {
  color: #fff;
  font-size: clamp(30px, 3.35vw, 50px);
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

/* Hero buttons — Figma 217 × 55, 24px gap */
.ttd-page-hero--cine .ttd-page-hero-btns {
  gap: 24px;
}
.ttd-page-hero--cine .ttd-page-hero-btns a {
  min-width: 217px;
  padding: 18px 24px;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-align: center;
}
/* Explicit button text colours — beat `.ttd a { color: inherit }` */
.ttd-page-hero--cine .ttd-page-btn-gold { color: #41433f; }
.ttd-page-hero--cine .ttd-page-btn-outline-white { color: #fff; }
.ttd a.ttd-page-btn-dark, .ttd a.ttd-page-btn-dark:hover { color: #fff; }
.ttd a.ttd-page-btn-gold, .ttd a.ttd-page-btn-gold:hover { color: #41433f; }
.ttd a.ttd-page-btn-outline-gold { color: #fff; }
.ttd a.ttd-page-btn-outline-gold:hover { color: #41433f; }
.ttd a.ttd-fees-booking-btn, .ttd a.ttd-fees-booking-btn:hover { color: #fff; }

/* Pause / play control (Figma node 108:1173) */
.ttd-page-hero--cine .ttd-page-hero-pause {
  position: absolute;
  top: 50%;
  right: clamp(24px, 4vw, 60px);
  transform: translateY(-50%);
  z-index: 3;
  width: 58px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.ttd-page-hero--cine .ttd-page-hero-pause:hover { background: rgba(255, 255, 255, 0.16); }

/* 3-col info strip — per-column top rule, no vertical dividers (Figma) */
.ttd-page-hero--cine .ttd-page-hero-strip {
  max-width: 1600px;
  gap: 35px;
  border-top: none;
  margin-top: 0;
  padding-top: 0;
  align-items: stretch;
}
.ttd-page-hero--cine .ttd-page-hero-strip-col {
  flex: 1;
  max-width: 510px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}
.ttd-page-hero--cine .ttd-page-hero-strip-title {
  color: #fff;
  font-size: 32px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.ttd-page-hero--cine .ttd-page-hero-strip-desc {
  font-size: 14px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 297px;
}

/* Floating CTAs (Figma nodes 108:1234 book pill + 114:1505 WhatsApp) */
.ttd-page-fab {
  position: fixed;
  bottom: 28px;
  z-index: 1100;
  display: flex;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ttd-page-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}
.ttd-page-fab--book {
  left: 28px;
  gap: 12px;
  padding: 9px 30px 9px 9px;
  border-radius: 100px;
  background: var(--ttd-gold);
  color: #41433f;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ttd-page-fab--book .ttd-page-fab-logo {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  font-family: var(--ttd-font-headings), serif;
  font-size: 26px;
  color: #41433f;
}
.ttd-page-fab--whatsapp {
  right: 28px;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ttd-gold);
  color: #2b2c28;
  font-size: 30px;
}

/* ─── DENTAL HERO responsive ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .ttd-page-hero--cine { height: auto; min-height: 700px; padding: 130px 32px 100px; }
  .ttd-page-hero--cine .ttd-page-hero-strip {
    flex-direction: column;
    gap: 0;
    margin-top: 56px;
  }
  .ttd-page-hero--cine .ttd-page-hero-strip-col {
    max-width: none;
    padding: 28px 0;
  }
  .ttd-page-hero--cine .ttd-page-hero-strip-desc { max-width: none; }
  .ttd-page-hero--cine .ttd-page-hero-pause { display: none; }
}
@media (max-width: 600px) {
  .ttd-page-hero--cine .ttd-page-hero-btns { flex-direction: column; align-items: stretch; }
  .ttd-page-hero--cine .ttd-page-hero-btns a { min-width: 0; width: 100%; }
  .ttd-page-fab--book .ttd-page-fab-label { display: none; }
  .ttd-page-fab--book { padding: 9px; }
}

/* ─── DENTAL HERO — staggered entrance (first view after the landing split) ──
   Pure CSS so it fires on first paint. fill-mode: backwards holds the start
   state during each delay (no flash) and reverts to the element's own styles
   when done, so hover transforms (FABs) and the pause control's translateY
   centring are preserved. */
@keyframes ttd-hero-rise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ttd-hero-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ttd-hero-zoom {
  from { opacity: 0; transform: scale(1.12); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ttd-hero-drop {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ttd-page-hero--cine::before {
  animation: ttd-hero-zoom 1.8s cubic-bezier(0.16, 0.84, 0.44, 1) backwards;
}
.ttd-page-hero--cine .ttd-page-hero-overlay,
.ttd-page-hero--cine .ttd-page-hero-gradient {
  animation: ttd-hero-fade 1.5s ease-out backwards;
}

/* Header cascades in with the hero on the dental page only */
.ttd-page--cine .ttd-header {
  animation: ttd-hero-drop 0.9s cubic-bezier(0.16, 0.84, 0.44, 1) 0.15s backwards;
}

.ttd-page-hero--cine .ttd-page-hero-title {
  animation: ttd-hero-rise 0.95s cubic-bezier(0.16, 0.84, 0.44, 1) 0.35s backwards;
}
.ttd-page-hero--cine .ttd-page-hero-btns a {
  animation: ttd-hero-rise 0.8s cubic-bezier(0.16, 0.84, 0.44, 1) backwards;
}
.ttd-page-hero--cine .ttd-page-hero-btns a:nth-child(1) { animation-delay: 0.55s; }
.ttd-page-hero--cine .ttd-page-hero-btns a:nth-child(2) { animation-delay: 0.67s; }

/* Pause uses opacity only — keeps its translateY(-50%) centring intact */
.ttd-page-hero--cine .ttd-page-hero-pause {
  animation: ttd-hero-fade 0.8s ease-out 0.75s backwards;
}

.ttd-page-hero--cine .ttd-page-hero-strip-col {
  animation: ttd-hero-rise 0.75s cubic-bezier(0.16, 0.84, 0.44, 1) backwards;
}
.ttd-page-hero--cine .ttd-page-hero-strip-col:nth-child(1) { animation-delay: 0.80s; }
.ttd-page-hero--cine .ttd-page-hero-strip-col:nth-child(2) { animation-delay: 0.92s; }
.ttd-page-hero--cine .ttd-page-hero-strip-col:nth-child(3) { animation-delay: 1.04s; }

.ttd-page-hero--cine ~ .ttd-page-fab,
.ttd-page-hero--cine .ttd-page-fab,
.ttd-page--cine .ttd-page-fab {
  animation: ttd-hero-rise 0.7s cubic-bezier(0.16, 0.84, 0.44, 1) backwards;
}
.ttd-page--cine .ttd-page-fab--book { animation-delay: 1.15s; }
.ttd-page--cine .ttd-page-fab--whatsapp { animation-delay: 1.27s; }

@media (prefers-reduced-motion: reduce) {
  .ttd-page-hero--cine::before,
  .ttd-page-hero--cine .ttd-page-hero-overlay,
  .ttd-page-hero--cine .ttd-page-hero-gradient,
  .ttd-page--cine .ttd-header,
  .ttd-page-hero--cine .ttd-page-hero-title,
  .ttd-page-hero--cine .ttd-page-hero-btns a,
  .ttd-page-hero--cine .ttd-page-hero-pause,
  .ttd-page-hero--cine .ttd-page-hero-strip-col,
  .ttd-page--cine .ttd-page-fab {
    animation: none;
  }
}



/* ═══════════════════════════════════════════════════════════════════════
   CONTACT PAGE — rebuilt pixel-to-Figma (node 84:1473)
   All rules scoped under .ttd-page--contact so they out-specify the global
   .ttd h1–h4 / link rules and stay isolated to this page.
   ═══════════════════════════════════════════════════════════════════════ */

.ttd.ttd-page--contact { background: #fff; overflow-x: clip; }

/* Shared centred container (Figma content spans x136–1605 of a 1728 frame) */
.ttd-page--contact .ttd-contact-wrap,
.ttd-page--contact .ttd-contact-engage-inner { width: min(100% - 48px, 1470px); margin-inline: auto; }

/* ── Shared pill buttons (Figma "Primary-Btn": 217×55, r100, 14px / 0.7px) ── */
.ttd-page--contact .ttd-contact-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 217px; height: 55px; padding: 0 26px; box-sizing: border-box;
  border-radius: 100px;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px; font-weight: 400; letter-spacing: 0.7px; text-transform: uppercase;
  line-height: 1; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.ttd-page--contact .ttd-contact-btn:hover { transform: translateY(-2px); }
.ttd-page--contact .ttd-contact-btn--dark    { background: #41433f; color: #fff; border-color: #41433f; }
.ttd-page--contact .ttd-contact-btn--dark:hover    { background: #2f312d; border-color: #2f312d; color: #fff; }
.ttd-page--contact .ttd-contact-btn--outline { background: transparent; color: #41433f; border-color: #41433f; }
.ttd-page--contact .ttd-contact-btn--outline:hover { background: #41433f; color: #fff; }
.ttd-page--contact .ttd-contact-btn--gold    { background: transparent; color: var(--ttd-gold); border-color: var(--ttd-gold); }
.ttd-page--contact .ttd-contact-btn--gold:hover    { background: var(--ttd-gold); color: #41433f; }

/* ── Hero banner ─────────────────────────────────────────────────────────── */
.ttd-page--contact .ttd-contact-hero { padding: 12px; background: #fff; }
.ttd-page--contact .ttd-contact-hero-banner {
  position: relative; min-height: 452px;
  border-radius: 30px; overflow: hidden;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
}
.ttd-page--contact .ttd-contact-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,30,26,0.55) 0%, rgba(28,30,26,0.16) 38%, rgba(28,30,26,0.55) 100%);
}
.ttd-page--contact .ttd-contact-hero-inner { position: relative; z-index: 2; padding: 0 0 64px 105px; }
.ttd-page--contact .ttd-contact-hero-title {
  margin: 0; color: #fff; text-transform: none;
  font-family: var(--ttd-font-headings), serif; font-weight: 400;
  font-size: 65px; line-height: 70px; letter-spacing: -0.65px;
}

/* ── Intro ───────────────────────────────────────────────────────────────── */
.ttd-page--contact .ttd-contact-intro { padding: 92px 0 70px; }
.ttd-page--contact .ttd-contact-intro-grid { display: flex; gap: 55px; align-items: flex-start; }
.ttd-page--contact .ttd-contact-intro-main { flex: 1; min-width: 0; }
.ttd-page--contact .ttd-contact-intro-heading {
  margin: 0 0 56px; max-width: 775px; text-transform: none;
  font-family: var(--ttd-font-headings), serif; font-weight: 400;
  font-size: 45px; line-height: 50px; letter-spacing: -0.45px; color: #41433f;
}
.ttd-page--contact .ttd-contact-intro-row { display: flex; gap: 80px; align-items: flex-start; }
.ttd-page--contact .ttd-contact-intro-body { flex: 1; min-width: 0; }
.ttd-page--contact .ttd-contact-intro-cols {
  display: grid; grid-template-columns: 350px 1fr; gap: 94px; align-items: start;
}
.ttd-page--contact .ttd-contact-intro-text {
  margin: 0;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 16px; line-height: 29px; letter-spacing: -0.16px; color: #41433f;
}
.ttd-page--contact .ttd-contact-intro-details {
  display: flex; flex-direction: column;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 16px; line-height: 29px; letter-spacing: -0.16px; color: #41433f;
}
.ttd-page--contact .ttd-contact-intro-details a {
  color: #41433f; text-decoration: underline; text-underline-offset: 2px; font-weight: 500;
}
.ttd-page--contact .ttd-contact-intro-details a:hover { color: #6a6c64; }
.ttd-page--contact .ttd-contact-intro-details p { margin: 16px 0 0; }
.ttd-page--contact .ttd-contact-intro-btns {
  display: flex; gap: 25px; margin-top: 56px; flex-wrap: wrap; justify-content: center;
}

/* Photo cards — Figma 284×375, dark fill, r20. The right card top-aligns with the
   heading while the left card sits below it, creating the staggered look. */
.ttd-page--contact .ttd-contact-photo {
  width: 284px; height: 375px; flex: 0 0 284px;
  border-radius: 20px; background: #41433f center / cover no-repeat;
  box-shadow: 0 24px 48px -28px rgba(41,43,39,0.45);
}

/* ── Booking card + message form ─────────────────────────────────────────── */
.ttd-page--contact .ttd-contact-engage { padding: 30px 0 96px; }
.ttd-page--contact .ttd-contact-engage-inner { display: flex; gap: 55px; align-items: flex-start; }

/* Booking / enquire card (cream, 470 wide) */
.ttd-page--contact .ttd-contact-bookcard {
  flex: 0 0 470px;
  margin-top: 91px;   /* Figma: form panel (top 1018) sits ~91px above the card (top 1109) */
  background: #fcf6ee; border-radius: 20px;
  padding: 60px 48px 0; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
}
.ttd-page--contact .ttd-contact-eyebrow {
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px; letter-spacing: 0.7px; text-transform: uppercase; color: #41433f;
}
.ttd-page--contact .ttd-contact-card-title {
  margin: 14px 0 0; text-transform: none;
  font-family: var(--ttd-font-headings), serif; font-weight: 400;
  font-size: 35px; line-height: 1.1; letter-spacing: -0.35px; color: #41433f;
}
.ttd-page--contact .ttd-contact-card-btn { margin-top: 26px; }
.ttd-page--contact .ttd-contact-card-divider {
  width: 367px; max-width: 100%; height: 0; border: 0;
  border-top: 1px solid rgba(65,67,63,0.18); margin: 46px 0 44px;
}
.ttd-page--contact .ttd-contact-card-phone {
  display: inline-flex; align-items: center; gap: 18px; margin-top: 22px; text-decoration: none;
}
.ttd-page--contact .ttd-contact-card-phone-icon {
  width: 44px; height: 44px; border-radius: 50%; background: #41433f; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0;
}
.ttd-page--contact .ttd-contact-card-phone-num {
  font-family: var(--ttd-font-headings), serif; font-weight: 400;
  font-size: 35px; letter-spacing: -0.35px; color: #41433f;
  text-decoration: underline; text-underline-offset: 3px;
}
.ttd-page--contact .ttd-contact-card-phone:hover .ttd-contact-card-phone-icon { background: #2f312d; }
.ttd-page--contact .ttd-contact-card-desc {
  margin: 28px auto 0; max-width: 367px;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px; line-height: 22px; color: #41433f;
}
.ttd-page--contact .ttd-contact-bookcard .ttd-contact-card-btn + .ttd-contact-card-divider { margin-top: 46px; }
.ttd-page--contact .ttd-contact-card-desc + .ttd-contact-card-btn { margin-top: 30px; }
.ttd-page--contact .ttd-contact-card-building {
  display: block; width: 100%; max-width: 367px; height: auto; margin: 48px auto 0;
}

/* Message form panel — cream, full-bleed off the right viewport edge, r20 left only */
.ttd-page--contact .ttd-contact-formwrap { flex: 1; min-width: 0; }
.ttd-page--contact .ttd-contact-form-panel {
  position: relative; z-index: 0;
  padding: 58px 0 68px 78px;
}
.ttd-page--contact .ttd-contact-form-panel::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 100vw;
  background: #fcf6ee; border-radius: 20px 0 0 20px; z-index: 0;
}
.ttd-page--contact .ttd-contact-form-panel > * { position: relative; z-index: 1; }
.ttd-page--contact .ttd-contact-form-title {
  margin: 0 0 30px; text-transform: none;
  font-family: var(--ttd-font-headings), serif; font-weight: 400;
  font-size: 55px; line-height: 60px; letter-spacing: -0.55px; color: #41433f;
}

/* Fields — Figma: flat rects, 0.4px #c2b199 border, 94%-white fill, label inside top-left */
.ttd-page--contact .ttd-cform-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 9px;
}
.ttd-page--contact .ttd-cform-field { position: relative; }
.ttd-page--contact .ttd-cform-field label {
  position: absolute; top: 12px; left: 22px; z-index: 2; pointer-events: none;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 13px; letter-spacing: 0.52px; text-transform: uppercase; color: #41433f;
}
.ttd-page--contact .ttd-cform-field input,
.ttd-page--contact .ttd-cform-field select,
.ttd-page--contact .ttd-cform-field textarea {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,0.94);
  border: 0.4px solid #c2b199; border-radius: 0;
  font-family: var(--ttd-font-body), sans-serif; font-size: 15px; color: #41433f;
  padding: 30px 22px 8px; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ttd-page--contact .ttd-cform-field input,
.ttd-page--contact .ttd-cform-field select { height: 57px; }
.ttd-page--contact .ttd-cform-field textarea { height: 107px; resize: vertical; line-height: 1.5; }
.ttd-page--contact .ttd-cform-field select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2341433f' stroke-width='1.5' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center;
}
.ttd-page--contact .ttd-cform-field input:focus,
.ttd-page--contact .ttd-cform-field select:focus,
.ttd-page--contact .ttd-cform-field textarea:focus {
  border-color: #41433f; box-shadow: 0 0 0 1px rgba(65,67,63,0.22);
}
.ttd-page--contact .ttd-cform-field--full { margin-bottom: 22px; }

.ttd-page--contact .ttd-cform-privacy {
  display: flex; align-items: flex-start; gap: 14px; margin: 22px 0 30px;
}
.ttd-page--contact .ttd-cform-privacy input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; flex-shrink: 0; margin: 1px 0 0;
  background: #fff; border: 0.25px solid rgba(65,67,63,0.32); border-radius: 3px;
  cursor: pointer; position: relative;
}
.ttd-page--contact .ttd-cform-privacy input[type="checkbox"]:checked { background: #41433f; border-color: #41433f; }
.ttd-page--contact .ttd-cform-privacy input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 5.5px; top: 1.5px; width: 4px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ttd-page--contact .ttd-cform-privacy label {
  font-family: var(--ttd-font-body), sans-serif; font-size: 14px; line-height: 1.5; color: #41433f;
}
.ttd-page--contact .ttd-cform-privacy a { color: #41433f; text-decoration: underline; }
.ttd-page--contact .ttd-cform-submit { margin-top: 4px; }
.ttd-page--contact .ttd-form-success {
  background: #41433f; color: #fff; border-radius: 10px; padding: 14px 20px; margin-bottom: 22px;
  font-family: var(--ttd-font-body), sans-serif; font-size: 15px;
}

/* Tree monogram + pull-quote beneath the form */
.ttd-page--contact .ttd-contact-form-quote {
  display: flex; align-items: center; gap: 56px; padding: 60px 0 0 14px;
}
.ttd-page--contact .ttd-contact-form-mono { width: 138px; height: auto; flex-shrink: 0; }
.ttd-page--contact .ttd-contact-form-quote blockquote {
  margin: 0; max-width: 688px;
  font-family: var(--ttd-font-headings), serif; font-weight: 400;
  font-size: 32px; line-height: 41px; letter-spacing: -0.32px; color: #41433f;
}

/* ── Map ─────────────────────────────────────────────────────────────────── */
.ttd-page--contact .ttd-contact-map { line-height: 0; }
.ttd-page--contact .ttd-contact-map iframe { display: block; width: 100%; height: 560px; border: 0; }

/* ── Explore our treatments ──────────────────────────────────────────────── */
.ttd-page--contact .ttd-contact-explore { display: flex; min-height: 627px; background: #41433f; overflow: hidden; }
.ttd-page--contact .ttd-contact-explore-photo { flex: 1 1 50%; background: #2a2c28 center / cover no-repeat; }
.ttd-page--contact .ttd-contact-explore-panel {
  flex: 1 1 50%; position: relative; background: #41433f;
  display: flex; align-items: center; padding: 60px 80px; overflow: hidden;
}
.ttd-page--contact .ttd-contact-explore-mono {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 300px; height: auto; opacity: 0.06; pointer-events: none;
}
.ttd-page--contact .ttd-contact-explore-content { position: relative; z-index: 1; max-width: 520px; }
.ttd-page--contact .ttd-contact-explore-title {
  margin: 0 0 24px; text-transform: none;
  font-family: var(--ttd-font-headings), serif; font-weight: 400;
  font-size: 55px; line-height: 55px; letter-spacing: -0.55px; color: #fff;
}
.ttd-page--contact .ttd-contact-explore-title span { color: var(--ttd-gold); }
.ttd-page--contact .ttd-contact-explore-text {
  margin: 0 0 36px;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 16px; line-height: 29px; letter-spacing: -0.16px; color: #fff;
}
.ttd-page--contact .ttd-contact-explore-btns { display: flex; gap: 24px; flex-wrap: wrap; }

/* ── Entrance animations ────────────────────────────────────────
   Scroll reveals piggyback on the site-wide system: .ttd-reveal elements are
   hidden by the global `.ttd-anim-ready .ttd-reveal` rule and shown on
   `.is-visible` (added by initReveal()'s IntersectionObserver). We only add the
   page-specific on-load hero motion and per-element stagger (via --d) here. */
@media (prefers-reduced-motion: no-preference) {
  /* On-load hero (reuses shared ttd-hero-* keyframes) */
  .ttd-page--contact .ttd-contact-hero-banner { animation: ttd-hero-fade 1.1s ease-out backwards; }
  .ttd-page--contact .ttd-contact-hero-title  { animation: ttd-hero-rise 1s cubic-bezier(0.16,0.84,0.44,1) 0.3s backwards; }
  .ttd-page--contact .ttd-header              { animation: ttd-hero-drop 0.9s cubic-bezier(0.16,0.84,0.44,1) 0.15s backwards; }

  /* Gentle stagger inside the intro (global rule reads transition-delay: var(--d)) */
  .ttd-page--contact .ttd-contact-photo--a      { --d: .08s; }
  .ttd-page--contact .ttd-contact-intro-text    { --d: .12s; }
  .ttd-page--contact .ttd-contact-intro-details { --d: .18s; }
  .ttd-page--contact .ttd-contact-intro-btns    { --d: .24s; }
  .ttd-page--contact .ttd-contact-photo--b      { --d: .12s; }

  /* Cascade the form fields once the panel reveals */
  .ttd-page--contact.ttd-anim-ready .ttd-contact-form-panel .ttd-cform-field {
    opacity: 0; transform: translateY(16px);
    transition: opacity .55s ease, transform .55s ease;
  }
  .ttd-page--contact.ttd-anim-ready .ttd-contact-form-panel.is-visible .ttd-cform-field { opacity: 1; transform: none; }
  .ttd-page--contact.ttd-anim-ready .ttd-contact-form-panel.is-visible .ttd-cform-grid:first-of-type .ttd-cform-field:nth-child(1) { transition-delay: .10s; }
  .ttd-page--contact.ttd-anim-ready .ttd-contact-form-panel.is-visible .ttd-cform-grid:first-of-type .ttd-cform-field:nth-child(2) { transition-delay: .16s; }
  .ttd-page--contact.ttd-anim-ready .ttd-contact-form-panel.is-visible .ttd-cform-grid:nth-of-type(2) .ttd-cform-field:nth-child(1) { transition-delay: .22s; }
  .ttd-page--contact.ttd-anim-ready .ttd-contact-form-panel.is-visible .ttd-cform-grid:nth-of-type(2) .ttd-cform-field:nth-child(2) { transition-delay: .28s; }
  .ttd-page--contact.ttd-anim-ready .ttd-contact-form-panel.is-visible .ttd-cform-field--full { transition-delay: .34s; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ttd-page--contact .ttd-contact-intro { padding: 64px 0 50px; }
  .ttd-page--contact .ttd-contact-intro-grid { flex-direction: column; }
  .ttd-page--contact .ttd-contact-intro-heading { font-size: 38px; line-height: 44px; margin-bottom: 40px; }
  .ttd-page--contact .ttd-contact-intro-row { flex-direction: column; gap: 32px; }
  .ttd-page--contact .ttd-contact-photo { width: 100%; flex-basis: auto; height: 340px; }
  .ttd-page--contact .ttd-contact-intro-cols { grid-template-columns: 1fr; gap: 24px; }
  .ttd-page--contact .ttd-contact-intro-btns { justify-content: flex-start; margin-top: 36px; }

  .ttd-page--contact .ttd-contact-engage-inner { flex-direction: column; }
  .ttd-page--contact .ttd-contact-bookcard { flex-basis: auto; width: 100%; padding-bottom: 40px; margin-top: 0; }
  .ttd-page--contact .ttd-contact-card-building { max-width: 320px; }
  .ttd-page--contact .ttd-contact-formwrap { width: 100%; }
  .ttd-page--contact .ttd-contact-form-panel { padding: 48px 32px 56px; }
  .ttd-page--contact .ttd-contact-form-panel::before { border-radius: 20px; width: 100%; }
  .ttd-page--contact .ttd-contact-form-quote { flex-direction: column; align-items: center; text-align: center; gap: 24px; padding: 48px 0 0; }
  .ttd-page--contact .ttd-contact-form-quote blockquote { font-size: 26px; line-height: 34px; }

  .ttd-page--contact .ttd-contact-explore { flex-direction: column; }
  .ttd-page--contact .ttd-contact-explore-photo { min-height: 320px; }
  .ttd-page--contact .ttd-contact-explore-panel { padding: 56px 40px; }
}
@media (max-width: 640px) {
  .ttd-page--contact .ttd-contact-hero { padding: 8px; }
  .ttd-page--contact .ttd-contact-hero-banner { min-height: 360px; border-radius: 22px; }
  .ttd-page--contact .ttd-contact-hero-inner { padding: 0 0 36px 28px; }
  .ttd-page--contact .ttd-contact-hero-title { font-size: 44px; line-height: 48px; }
  .ttd-page--contact .ttd-contact-intro-heading { font-size: 30px; line-height: 36px; }
  .ttd-page--contact .ttd-contact-form-title { font-size: 38px; line-height: 44px; }
  .ttd-page--contact .ttd-cform-grid { grid-template-columns: 1fr; }
  .ttd-page--contact .ttd-contact-btn { min-width: 0; width: 100%; }
  .ttd-page--contact .ttd-contact-intro-btns,
  .ttd-page--contact .ttd-contact-explore-btns { flex-direction: column; }
  .ttd-page--contact .ttd-contact-explore-title { font-size: 42px; line-height: 44px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   DENTAL TREATMENTS OVERVIEW  (Figma node 81:77 — [ttd_dental_treatments])
   Karin headings, Instrument Sans body. Built to the 1728-wide design frame.
   ════════════════════════════════════════════════════════════════════════════ */
.ttd-page--treatments .ttd-section { padding: 0; }
.ttd-tx-wrap  { width: min(100% - 48px, 1420px); margin: 0 auto; }
.ttd-tx-wide  { width: min(100% - 48px, 1566px); margin: 0 auto; }

/* ── Hero banner ─────────────────────────────────────────────────────────── */
.ttd-tx-hero { padding: 0 13px !important; }
.ttd-tx-hero-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 1703 / 452;
  max-height: 452px;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 0 clamp(20px, calc((100% - 1420px) / 2), 160px) 46px;
}
.ttd-tx-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,28,30,0.55) 0%, rgba(20,28,30,0.18) 55%, rgba(20,28,30,0.05) 100%);
}
.ttd-tx-hero-title {
  position: relative;
  margin: 0;
  font-family: var(--ttd-font-headings), serif;
  font-weight: 400;
  font-size: 65px;
  line-height: 70px;
  letter-spacing: -0.65px;
  color: #fff;
}

/* ── Intro: heading left / body right + rule + filter pills ───────────────── */
.ttd-tx-intro { background: #fff; padding-top: 64px !important; }
.ttd-tx-intro-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}
.ttd-tx-intro-heading {
  flex: 0 0 600px;
  margin: 0;
  font-family: var(--ttd-font-headings), serif;
  font-weight: 400;
  font-size: 45px;
  line-height: 50px;
  letter-spacing: -0.45px;
  color: #41433f;
}
.ttd-tx-intro-body {
  flex: 0 1 671px;
  margin: 6px 0 0;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.16px;
  color: #5a5b57;
}
.ttd-tx-rule { border: 0; border-top: 1px solid #e0dbd2; margin: 56px 0 0; }
.ttd-tx-filters { display: flex; gap: 20px; margin-top: 30px; }
.ttd-tx-pill {
  flex: 1 1 0; min-width: 0;
  height: 55px;
  border: 1px solid #41433f;
  border-radius: 100px;
  background: transparent;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px;
  letter-spacing: 0.7px;
  color: #41433f;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .2s ease;
  white-space: nowrap;
}
.ttd-tx-pill:hover { background: rgba(241,213,174,0.4); transform: translateY(-2px); }
.ttd-tx-pill--active { background: var(--ttd-gold, #f1d5ae); border-color: var(--ttd-gold, #f1d5ae); color: #41433f; }

/* ── Treatment grid ──────────────────────────────────────────────────────── */
.ttd-tx-grid-section { background: #fff; padding-top: 62px !important; }
.ttd-tx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 35px;
  row-gap: 60px;
}
.ttd-tx-tile { display: flex; flex-direction: column; }
.ttd-tx-tile[hidden] { display: none; }
.ttd-tx-tile-media {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.ttd-tx-tile:hover .ttd-tx-tile-media { transform: scale(1.02); }
.ttd-tx-tile-title {
  margin: 31px 0 0;
  font-family: var(--ttd-font-headings), serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.32px;
  color: #41433f;
}
.ttd-tx-tile-desc {
  margin: 11px 0 0;
  max-width: 360px;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.16px;
  color: #41433f;
}
.ttd-tx-tile-btn {
  align-self: flex-start;
  margin-top: 26px;
  display: inline-block;
  padding: 0 32px;
  height: 55px;
  line-height: 53px;
  border: 1px solid #41433f;
  border-radius: 100px;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px;
  letter-spacing: 0.7px;
  color: #41433f;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}
.ttd a.ttd-tx-tile-btn:hover { background: #41433f; color: #fff; }

/* ── Three wide category tiles ───────────────────────────────────────────── */
.ttd-tx-wide-section { background: #fff; padding-top: 88px !important; }
.ttd-tx-wide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 39px; }
.ttd-tx-wtile {
  position: relative;
  display: block;
  aspect-ratio: 496 / 650;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
}
.ttd-tx-wtile-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.ttd-tx-wtile:hover .ttd-tx-wtile-media { transform: scale(1.05); }
.ttd-tx-wtile-grad {
  position: absolute; inset: 0;
  background: linear-gradient(181deg, rgba(0,0,0,0) 28%, rgba(0,0,0,0.78) 99%);
}
.ttd-tx-wtile-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: block;
  padding: 0 36px 44px;
}
.ttd-tx-wtile-title {
  display: block;
  font-family: var(--ttd-font-headings), serif;
  font-weight: 400;
  font-size: 45px;
  line-height: 50px;
  letter-spacing: -0.45px;
  color: #fff;
}
.ttd-tx-wtile-desc {
  display: block;
  margin-top: 12px;
  max-width: 78%;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.16px;
  color: #fff;
}

/* ── Meet our team (carousel) ────────────────────────────────────────────── */
.ttd-tx-team { background: #fff; padding-top: 84px !important; }
.ttd-tx-team-inner { width: min(100% - 48px, 1502px); margin: 0 auto; }
.ttd-tx-team-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.ttd-tx-team-heading {
  margin: 0;
  font-family: var(--ttd-font-headings), serif;
  font-weight: 400;
  font-size: 55px;
  line-height: 58px;
  letter-spacing: -0.55px;
  color: #111;
}
.ttd-tx-team-nav { display: flex; gap: 16px; }
.ttd-tx-team-arrow {
  width: 52px; height: 52px;
  border: 1px solid #c9c4bb;
  border-radius: 50%;
  background: #fff;
  color: #41433f;
  font-size: 17px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.ttd-tx-team-arrow:hover { background: #41433f; border-color: #41433f; color: #fff; }
.ttd-tx-team-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.ttd-tx-team-track::-webkit-scrollbar { display: none; }
.ttd-tx-team-tile {
  flex: 0 0 calc((100% - 96px) / 4);
  scroll-snap-align: start;
}
.ttd-tx-team-photo {
  display: block;
  aspect-ratio: 353 / 442;
  border-radius: 30px;
  background-size: cover;
  background-position: center top;
}
.ttd-tx-team-name {
  margin: 18px 0 0;
  font-family: var(--ttd-font-headings), serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.32px;
  color: #111;
}
.ttd-tx-team-role {
  margin: 8px 0 0;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.18px;
  color: #111;
}

/* Premium "About" band — layered overlapping composition, positioned to the
   1728×1620 Figma frame (252:2340 / 240:5380). The stage scales proportionally
   so it's pixel-perfect at the design width; a stacked fallback kicks in <1024px. */
.ttd-tx-band {
  position: relative;
  margin-top: 96px;
  background: #41433f;
  padding: 0 !important;
  overflow: hidden;
}
.ttd-tx-band-stage {
  position: relative;
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
  aspect-ratio: 1728 / 1620;
}
.ttd-tx-band-eyebrow {
  position: absolute; left: 4.69%; top: 6.2%; margin: 0;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: clamp(12px, 0.93vw, 16px);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.ttd-tx-band-heading {
  position: absolute; left: 4.69%; top: 9.3%; width: 47.5%; margin: 0;
  font-family: var(--ttd-font-headings), serif;
  font-weight: 400;
  font-size: clamp(30px, 3.0vw, 52px);
  line-height: 1.28;
  letter-spacing: -0.6px;
  color: #f3efe9;
}
.ttd-tx-band-heading span { color: var(--ttd-gold, #f1d5ae); }
.ttd-tx-band-lead {
  position: absolute; left: 11.92%; top: 27.5%;
  width: 36%; min-height: 35.7%;
  padding-left: 9.43%;
  border-left: 1px solid rgba(255,255,255,0.22);
  box-sizing: border-box;
}
.ttd-tx-band-body {
  margin: 0; max-width: 443px;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: clamp(14px, 0.93vw, 16px);
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
}
.ttd-tx-band-btns { display: flex; gap: 16px; margin-top: 14%; }
.ttd-tx-band-photo {
  position: absolute; margin: 0;
  border-radius: 20px; overflow: hidden;
}
.ttd-tx-band-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ttd-tx-band-photo--top { left: 52.43%; top: 6.2%; width: 42.36%; height: 61%; z-index: 1; }
.ttd-tx-band-photo--bottom { left: 17.65%; top: 52.7%; width: 63.83%; height: 35.9%; z-index: 2; }
.ttd-tx-band-play {
  position: absolute; right: 3.2%; bottom: 9%;
  width: 56px; height: 56px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #41433f; font-size: 16px; cursor: pointer;
  display: grid; place-items: center;
  transition: transform .25s ease, background .25s ease;
}
.ttd-tx-band-play:hover { transform: scale(1.08); background: #fff; }
.ttd-tx-band-marquee {
  position: absolute; left: 0; right: 0; top: 55.6%;
  white-space: nowrap; overflow: hidden;
  pointer-events: none; z-index: 3;
}
.ttd-tx-band-marquee span {
  display: inline-block; padding-left: 19.79%;
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(40px, 4.92vw, 85px);
  line-height: 1; letter-spacing: -0.5px;
  color: #fff;
  animation: ttd-marquee 34s linear infinite;
}
.ttd-tx-band-watermark {
  position: absolute; left: 9.6%; top: 85.5%; margin: 0;
  font-family: var(--ttd-font-headings), serif;
  font-size: clamp(90px, 14.47vw, 250px);
  line-height: 0.78; letter-spacing: -2px;
  color: rgba(255,255,255,0.10);
  user-select: none; white-space: nowrap; overflow: hidden;
  z-index: 0;
}
@media (max-width: 1023px) {
  .ttd-tx-band-stage { aspect-ratio: auto; padding: 60px 24px 40px; }
  .ttd-tx-band-eyebrow, .ttd-tx-band-heading, .ttd-tx-band-lead,
  .ttd-tx-band-photo, .ttd-tx-band-marquee, .ttd-tx-band-watermark {
    position: static; width: auto; max-width: none;
  }
  .ttd-tx-band-heading { font-size: clamp(28px, 6vw, 44px); margin: 14px 0 0; }
  .ttd-tx-band-lead { padding-left: 20px; margin: 26px 0 0; min-height: 0; }
  .ttd-tx-band-photo { margin: 26px 0 0; height: auto; aspect-ratio: 16 / 11; }
  .ttd-tx-band-marquee { margin: 30px 0 0; }
  .ttd-tx-band-marquee span { font-size: 34px; padding-left: 0; }
  .ttd-tx-band-watermark { margin: 22px 0 0; font-size: clamp(54px, 13vw, 120px); }
  .ttd-tx-band-btns { margin-top: 24px; }
}

/* ── Patient reviews ─────────────────────────────────────────────────────── */
.ttd-tx-reviews { background: #faf5ee; padding: 90px 0 100px !important; }
.ttd-tx-reviews-inner { width: min(100% - 48px, 1300px); margin: 0 auto; text-align: center; }
.ttd-tx-reviews-heading {
  margin: 0;
  font-family: var(--ttd-font-headings), serif;
  font-weight: 400;
  font-size: 45px;
  line-height: 1.05;
  letter-spacing: -0.45px;
  color: #41433f;
}
.ttd-tx-reviews-sub {
  margin: 14px auto 0;
  max-width: 620px;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #5a5b57;
}
.ttd-tx-review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 46px;
}
.ttd-tx-review-card {
  background: #fff;
  border: 1px solid #ece6dc;
  border-radius: 16px;
  padding: 26px 28px 30px;
  text-align: left;
  box-shadow: 0 14px 40px rgba(65,67,63,0.05);
}
.ttd-tx-review-top { display: flex; align-items: center; gap: 12px; }
.ttd-tx-review-avatar {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: #41433f; color: #fff;
  display: grid; place-items: center;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 18px; font-weight: 600;
}
.ttd-tx-review-id { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.ttd-tx-review-id strong { font-family: var(--ttd-font-body), sans-serif; font-size: 16px; color: #2c2d29; }
.ttd-tx-review-id span { font-family: var(--ttd-font-body), sans-serif; font-size: 13px; color: #8d8b85; }
.ttd-tx-review-g { width: 22px; height: 22px; flex-shrink: 0; }
.ttd-tx-review-g svg { width: 100%; height: 100%; display: block; }
.ttd-tx-review-stars { display: flex; gap: 3px; margin: 16px 0 0; color: #fbbc05; font-size: 15px; }
.ttd-tx-review-text {
  margin: 12px 0 0;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 15px;
  line-height: 23px;
  color: #5a5b57;
}
.ttd-tx-reviews-btns { display: flex; justify-content: center; gap: 16px; margin-top: 48px; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ttd-tx-intro-row { flex-direction: column; gap: 28px; }
  .ttd-tx-grid { grid-template-columns: repeat(2, 1fr); column-gap: 24px; row-gap: 44px; }
  .ttd-tx-wide { grid-template-columns: 1fr; gap: 24px; max-width: 560px; }
  .ttd-tx-wtile { aspect-ratio: 16 / 11; }
  .ttd-tx-team-tile { flex: 0 0 calc((100% - 32px) / 2); }
  .ttd-tx-review-cards { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  .ttd-tx-hero-title { font-size: 44px; line-height: 48px; }
  .ttd-tx-intro-heading { font-size: 34px; line-height: 38px; }
  .ttd-tx-filters { flex-wrap: wrap; }
  .ttd-tx-pill { flex: 1 1 40%; }
  .ttd-tx-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .ttd-tx-team-tile { flex: 0 0 78%; }
  .ttd-tx-team-heading { font-size: 38px; line-height: 42px; }
  .ttd-tx-band-btns { flex-wrap: wrap; }
}

/* Heading colour/margin overrides — beat the global `.ttd h1,h2,h3` rule
   (specificity 0,1,1) by prefixing with the page class (same element as .ttd). */
.ttd-page--treatments .ttd-tx-hero-title { color: #fff; margin: 0; }
.ttd-page--treatments .ttd-tx-intro-heading { color: #41433f; margin: 0; }
.ttd-page--treatments .ttd-tx-tile-title { color: #41433f; margin: 31px 0 0; }
.ttd-page--treatments .ttd-tx-wtile-title { color: #fff; }
.ttd-page--treatments .ttd-tx-team-heading { color: #111; margin: 0; }
.ttd-page--treatments .ttd-tx-team-name { color: #111; margin: 18px 0 0; }
.ttd-page--treatments .ttd-tx-band-heading { color: #f3efe9; margin: 0; }
.ttd-page--treatments .ttd-tx-band-heading span { color: var(--ttd-gold, #f1d5ae); }
.ttd-page--treatments .ttd-tx-reviews-heading { color: #41433f; margin: 0; }

/* ── Treatment detail pop-up (Figma 84:1943) ─────────────────────────────── */
.ttd-tx-modal-root { position: fixed; inset: 0; z-index: 1000; visibility: hidden; pointer-events: none; }
.ttd-tx-modal-root.is-open { visibility: visible; pointer-events: auto; }
.ttd-tx-modal-scrim {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.18);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0; transition: opacity .4s ease;
}
.ttd-tx-modal-root.is-open .ttd-tx-modal-scrim { opacity: 1; }
.ttd-tx-modal {
  position: absolute; top: 50%; left: 50%;
  width: min(992px, calc(100% - 32px));
  max-height: 92vh;
  background: #fff;
  border-radius: 30px 0 30px 30px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(26,27,24,0.32);
  transform: translate(-50%, -50%) scale(0.97);
  opacity: 0;
  transition: opacity .4s ease, transform .55s cubic-bezier(.16,1,.3,1);
  will-change: transform, opacity;
}
.ttd-tx-modal-root.is-open .ttd-tx-modal { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ttd-tx-modal-scroll { max-height: 92vh; overflow-y: auto; padding: 31px 31px 44px; }
.ttd-tx-modal-head, .ttd-tx-modal-body, .ttd-tx-modal-prices-title, .ttd-tx-modal-table, .ttd-tx-modal-actions { margin-inline: 24px; }
.ttd-tx-modal-close {
  position: absolute; top: 0; right: 0; z-index: 3;
  width: 70px; height: 70px;
  border: 0; background: #f1d5ae;
  color: #41433f; font-size: 22px; cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s ease;
}
.ttd-tx-modal-close:hover { background: #e8c592; }

.ttd-tx-modal-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ttd-tx-modal-img { display: block; aspect-ratio: 445 / 414; border-radius: 20px; background-size: cover; background-position: center; }

.ttd-tx-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; }
.ttd-tx-modal-title { margin: 0; font-family: var(--ttd-font-headings), serif; font-weight: 400; font-size: 42px; line-height: 1.05; letter-spacing: -0.42px; color: #41433f; }
.ttd-tx-modal-pill {
  flex-shrink: 0;
  min-width: 217px; height: 55px; line-height: 55px;
  padding: 0 28px; text-align: center;
  border-radius: 100px;
  background: rgba(241,213,174,0.18);
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px; letter-spacing: 0.7px; color: #41433f;
}

.ttd-tx-modal-body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 24px; }
.ttd-tx-modal-body p { margin: 0; font-family: var(--ttd-font-body), sans-serif; font-size: 16px; line-height: 22px; letter-spacing: -0.16px; color: #41433f; }

.ttd-tx-modal-prices-title { margin: 42px 0 0; font-family: var(--ttd-font-headings), serif; font-weight: 400; font-size: 32px; line-height: 1.05; letter-spacing: -0.32px; color: #41433f; }
.ttd-tx-modal-table { margin-top: 18px; }
.ttd-tx-modal-table-head {
  display: grid; grid-template-columns: 1fr 230px;
  align-items: center; height: 54px; padding: 0 22px;
  background: rgba(241,213,174,0.21);
}
.ttd-tx-modal-table-head span { font-family: var(--ttd-font-body), sans-serif; font-size: 18px; color: #41433f; }
.ttd-tx-modal-row {
  display: grid; grid-template-columns: 1fr 230px;
  padding: 16px 22px;
  border-bottom: 1px solid #e7e1d6;
}
.ttd-tx-modal-row:last-child { border-bottom: 0; }
.ttd-tx-modal-row span { font-family: var(--ttd-font-body), sans-serif; font-size: 18px; line-height: 1.4; color: #41433f; }

.ttd-tx-modal-actions { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 44px; }
.ttd-tx-modal-btns { display: flex; flex-direction: row; gap: 16px; flex: 1; min-width: 0; }
.ttd-tx-modal-btn {
  display: block; flex: 1 1 0; min-width: 0;
  height: 55px; line-height: 53px; text-align: center;
  border-radius: 100px;
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 14px; letter-spacing: 0.7px;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}
.ttd-tx-modal-btn--outline { border: 1px solid #41433f; color: #41433f; background: transparent; }
.ttd .ttd-tx-modal-btn--outline:hover { background: #41433f; color: #fff; }
.ttd-tx-modal-btn--dark, .ttd a.ttd-tx-modal-btn--dark { border: 1px solid #41433f; background: #41433f; color: #fff; }
.ttd a.ttd-tx-modal-btn--dark:hover { background: #2b2c28; }
.ttd-tx-modal-mark { width: 116px; height: auto; align-self: flex-end; flex-shrink: 0; }

/* heading margins (beat global .ttd h2,h3) */
.ttd-page--treatments .ttd-tx-modal-title { margin: 0; }
.ttd-page--treatments .ttd-tx-modal-prices-title { margin: 42px 0 0; }

@media (max-width: 720px) {
  .ttd-tx-modal-scroll { padding: 24px 24px 32px; }
  .ttd-tx-modal-images { gap: 12px; }
  .ttd-tx-modal-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 28px; }
  .ttd-tx-modal-title { font-size: 32px; }
  .ttd-tx-modal-body { grid-template-columns: 1fr; gap: 16px; }
  .ttd-tx-modal-table-head, .ttd-tx-modal-row { grid-template-columns: 1fr 120px; padding-left: 14px; padding-right: 14px; }
  .ttd-tx-modal-table-head span, .ttd-tx-modal-row span { font-size: 15px; }
  .ttd-tx-modal-actions { flex-direction: column-reverse; align-items: stretch; }
  .ttd-tx-modal-btns { flex-direction: column; }
  .ttd-tx-modal-mark { align-self: flex-start; }
  .ttd-tx-modal-btn { width: 100%; }
}

/* Staggered build-in for the pop-up contents (on open) */
@media (prefers-reduced-motion: no-preference) {
  .ttd-tx-modal-scroll > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
  }
  .ttd-tx-modal-root.is-open .ttd-tx-modal-scroll > * { opacity: 1; transform: none; }
  .ttd-tx-modal-root.is-open .ttd-tx-modal-scroll > *:nth-child(1) { transition-delay: .10s; }
  .ttd-tx-modal-root.is-open .ttd-tx-modal-scroll > *:nth-child(2) { transition-delay: .17s; }
  .ttd-tx-modal-root.is-open .ttd-tx-modal-scroll > *:nth-child(3) { transition-delay: .24s; }
  .ttd-tx-modal-root.is-open .ttd-tx-modal-scroll > *:nth-child(4) { transition-delay: .31s; }
  .ttd-tx-modal-root.is-open .ttd-tx-modal-scroll > *:nth-child(5) { transition-delay: .38s; }
  .ttd-tx-modal-root.is-open .ttd-tx-modal-scroll > *:nth-child(6) { transition-delay: .45s; }
  .ttd-tx-modal-close { opacity: 0; transition: opacity .4s ease .5s, background .2s ease; }
  .ttd-tx-modal-root.is-open .ttd-tx-modal-close { opacity: 1; }
}

/* Wellness treatments — bright spa hero needs a bottom-left darkening so the
   white "Wellness" title stays legible (vs the dental hero's dark photo). */
.ttd-tx-hero-shade--light {
  background: linear-gradient(58deg, rgba(28,24,20,0.62) 0%, rgba(28,24,20,0.22) 34%, rgba(28,24,20,0.04) 58%, rgba(28,24,20,0) 78%);
}
/* No filter pills on the wellness grid — tighten the gap below the rule. */
.ttd-tx-grid-section--nopills { padding-top: 56px !important; }

/* ─────────────────────────────────────────────────────────────
   Legal / content pages (Privacy, Terms, Complaints, Data
   Protection, GDC, CQC Report). Editable body wrapped in chrome
   via the_content filter — see includes/legal-pages.php.
   ───────────────────────────────────────────────────────────── */
.ttd-page-hero--legal {
  min-height: 44vh;
  background: #41433f;
  padding: 160px 40px 70px;
}
.ttd-page-hero--legal .ttd-page-hero-overlay { display: none; }
.ttd-page-hero--legal .ttd-page-hero-title { margin-bottom: 0; }

.ttd-legal-section {
  background: var(--ttd-section-bg, #FAF5EE);
  padding: 80px 40px 100px;
}
.ttd-legal-body {
  max-width: 820px;
  margin: 0 auto;
  color: var(--ttd-body, #5a5b57);
  font-family: var(--ttd-font-body), sans-serif;
  font-size: 17px;
  line-height: 1.75;
}
.ttd-legal-body > *:first-child { margin-top: 0; }
.ttd-legal-body h2,
.ttd-legal-body h3,
.ttd-legal-body h4 {
  font-family: var(--ttd-font-headings), serif;
  font-weight: 400;
  color: var(--ttd-heading, #41433f);
  line-height: 1.3;
  margin: 1.8em 0 0.5em;
}
.ttd-legal-body h2 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: 0.02em; }
.ttd-legal-body h3 { font-size: clamp(20px, 1.9vw, 26px); }
.ttd-legal-body h4 { font-size: 19px; }
.ttd-legal-body p { margin: 0 0 1.1em; }
.ttd-legal-body ul,
.ttd-legal-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.ttd-legal-body li { margin-bottom: 0.5em; }
.ttd-legal-body a {
  color: var(--ttd-primary, #41433f);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ttd-legal-body a:hover { color: var(--ttd-gold, #b9924e); }
.ttd-legal-body img { max-width: 100%; height: auto; border-radius: 10px; }
.ttd-legal-body hr { border: 0; border-top: 1px solid rgba(65,67,63,0.18); margin: 2.4em 0; }
.ttd-legal-body blockquote {
  margin: 1.6em 0;
  padding: 0.4em 0 0.4em 1.2em;
  border-left: 3px solid var(--ttd-gold, #b9924e);
  font-style: italic;
}
@media (max-width: 600px) {
  .ttd-page-hero--legal { padding: 130px 22px 50px; }
  .ttd-legal-section { padding: 54px 22px 70px; }
  .ttd-legal-body { font-size: 16px; }
}
