/* =========================================================
   Loveless Dental & Facial Aesthetics: client styles.css (forked from the One-Page LP Template)
   Look and section structure follow our website starter template's
   home page. All themeable values live in :root: rebrand a client by
   changing tokens first, then per-section rules below if needed.
   ========================================================= */

:root {
  /* — Color (Loveless logo gold #B29D77 + logo black #231F20) — */
  --accent: #7d6a45;
  --accent-ink: #231f20;
  --accent-soft: #f2f2f2;
  --accent-soft-2: #d8d8d8;
  --ink: #2b2728;
  --ink-2: #5f5a55;
  --line: #e2e2e2;
  --paper: #ffffff;
  --gray: #f2f2f2;
  --star: #b29d77;
  --gold: #b29d77;

  /* — Highlight (Book Now CTA) — */
  --highlight: #b29d77;
  --highlight-ink: #c4b18c;
  --on-highlight: #231f20;

  /* — Type — */
  --font-head: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --fs-base: 16px;
  --head-weight: 400;
  --btn-transform: uppercase;
  --btn-tracking: 0.12em;

  /* — Shape — */
  --radius-card: 0px;
  --radius-media: 0px;
  --radius-btn: 0px;

  /* — Rhythm — */
  --section-pad: 104px;
  --maxw: 1140px;
  --gutter: 32px;
  --gap: 28px;

  --shadow-sm: 0 1px 0 rgba(35, 31, 32, .08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, .10);
}

@media (max-width: 767px) {
  :root { --section-pad: 56px; --gutter: 16px; --gap: 20px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: var(--head-weight); line-height: 1.125; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--accent-ink); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.nowrap { white-space: nowrap; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.skip-link { position: absolute; left: 0; top: -4em; z-index: 1000; background: #000; color: #fff; padding: 1em; border-radius: 4px; }
.skip-link:focus { top: .5em; }

.section { padding: var(--section-pad) 0; }
.section-tint { background: var(--accent-soft); }
.section-gray { background: var(--gray); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head p { color: var(--ink-2); margin: 0; }
.section-head-left { text-align: left; margin-left: 0; border-top: 6px solid var(--accent-soft-2); padding-top: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 2em;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  font: inherit; font-weight: 700; line-height: 1.2;
  text-transform: var(--btn-transform); letter-spacing: var(--btn-tracking);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-highlight { background: var(--highlight); color: var(--on-highlight); }
.btn-highlight:hover { background: var(--highlight-ink); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-outline { border-color: var(--accent-ink); color: var(--accent-ink); background: transparent; }
.btn-outline:hover { background: var(--accent-ink); color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--accent-ink); }
.btn-light { background: #fff; color: var(--accent); }
.btn-light:hover { background: var(--accent-soft); }
.btn:disabled { opacity: .6; cursor: default; }

/* ---------- Top banner ---------- */
.topbar {
  display: block; padding: 8px var(--gutter);
  background: var(--accent-ink); color: #fff;
  text-align: center; text-decoration: none;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
}
.topbar::after { content: " \203A"; }

/* ---------- Header / nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand-logo img { width: 180px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-right: auto; }
.nav-links > a { color: var(--ink); font-weight: 700; text-decoration: none; }
.nav-links > a:hover { color: var(--accent); }
.nav-menu-head, .nav-menu-social { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-call { padding: .7em 1.6em; }
.call-short { display: none; }
.nav-toggle { display: none; white-space: nowrap; background: none; border: 0; font: inherit; font-weight: 700; font-size: .8rem; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.nav-toggle span { font-size: 1.4rem; vertical-align: middle; }

.social { display: flex; gap: 14px; align-items: center; }
.social a { display: inline-flex; width: 22px; height: 22px; color: inherit; }
.social svg { width: 100%; height: 100%; }

@media (max-width: 991px) {
  .nav-links {
    position: fixed; inset: 0; z-index: 60;
    flex-direction: column; align-items: flex-start; gap: 28px;
    padding: 24px var(--gutter);
    background: var(--accent-ink); color: #fff;
    transform: translateX(100%); transition: transform .3s ease;
  }
  .nav-links.open { transform: none; }
  .nav-links > a { color: #fff; font-size: 1.25rem; }
  .nav-menu-head { display: flex; width: 100%; justify-content: space-between; align-items: center; margin-bottom: 24px; }
  .nav-menu-head img { width: 160px; }
  .nav-close { background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }
  .nav-menu-social { display: block; margin-top: auto; font-weight: 700; }
  .nav-menu-social .social { margin-top: 12px; }
  .nav-toggle { display: inline-block; }
  .nav-actions { margin-left: auto; }
  .btn-book { display: none; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 479px) {
  .brand-logo img { width: 140px; }
  .call-full { display: none; }
  .call-short { display: inline; }
  .btn-call { padding: .6em 1.1em; }
  .topbar { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 82vh; padding: 120px 0; color: #fff; text-align: center; isolation: isolate; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); z-index: -1; }
.hero-content { max-width: 820px; }
.hero-logo { width: 240px; margin: 0 auto 32px; }
.hero h1 { color: #fff; }
.hero-tagline { font-size: 1.125rem; max-width: 640px; margin: 0 auto 32px; }
.hero-ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 16px; justify-content: center; }
.rating-badge { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 40px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .08em; font-size: .85rem; }
.rating-badge .stars { color: #fff; font-size: 1.25rem; letter-spacing: .1em; }
@media (max-width: 767px) {
  .hero { min-height: 0; padding: 96px 0; }
  .hero-logo { display: none; }
  .hero-ctas { grid-template-columns: 1fr; }
}

/* ---------- Sliders (reviews, tour) ---------- */
.slider { position: relative; }
.slider-track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; flex: 0 0 auto; }
.slider-arrows { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.slider-arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--accent-ink); color: #fff; font-size: 1.2rem; cursor: pointer;
}
.slider-arrow:hover { background: var(--accent); }

/* ---------- Reviews ---------- */
.reviews-track > .review-card { width: calc((100% - var(--gap) * 2) / 3); }
.review-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius-card); padding: 32px; box-shadow: var(--shadow-sm); }
.review-name { font-weight: 700; color: var(--accent-ink); }
.stars { color: var(--star); letter-spacing: .1em; margin: 4px 0 12px; }
.review-card p { flex: 1; }
.review-source { font-weight: 700; color: var(--ink-2); font-size: .85rem; }
@media (max-width: 991px) { .reviews-track > .review-card { width: calc((100% - var(--gap)) / 2); } }
@media (max-width: 767px) { .reviews-track > .review-card { width: 88%; } }

/* ---------- Office tour ---------- */
.tour-track > img { width: 100%; height: 60vh; max-height: 640px; object-fit: cover; border-radius: var(--radius-card); }
@media (max-width: 479px) { .tour-track > img { height: 16em; } }

/* ---------- Meet the team / about ---------- */
.team-card {
  display: grid; grid-template-columns: 2fr 3fr; gap: 48px; align-items: center;
  background: var(--accent-soft); border-radius: var(--radius-card); padding: 56px;
}
.team-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-media); }
.team-content { text-align: center; }
.team-quote { font-style: italic; font-weight: 700; font-size: 1.125rem; }
.team-points { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; margin-top: 24px; }
.team-points h3 { color: var(--accent-ink); font-size: 1.125rem; }
.associations { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.associations img { height: 40px; width: auto; }
@media (max-width: 991px) {
  .team-card { grid-template-columns: 1fr; padding: 32px var(--gutter); }
  .team-content { text-align: left; }
}
@media (max-width: 767px) { .team-points { grid-template-columns: 1fr; } }

/* ---------- Main services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.service-card {
  position: relative; display: flex; align-items: flex-end; min-height: 440px;
  border-radius: var(--radius-card); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate;
}
.service-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.75) 100%); z-index: -1; }
.service-card:hover > img { transform: scale(1.04); }
.service-body { display: flex; flex-direction: column; gap: 8px; padding: 28px; }
.service-body h3 { margin: 0; font-size: 1.5rem; }
.service-text { font-size: .95rem; }
.service-cta { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; margin-top: 8px; }
.special-badge {
  position: absolute; top: 20px; left: 20px;
  background: var(--accent); color: #fff; border: 4px solid var(--accent-soft-2);
  border-radius: var(--radius-media); padding: 6px 12px; font-size: .75rem; line-height: 1.3; text-transform: uppercase; font-weight: 700;
}
.special-badge strong { display: block; font-size: 1.4rem; }
@media (max-width: 991px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .service-grid { grid-template-columns: 1fr; } .service-card { min-height: 360px; } }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.location-map { min-height: 420px; border-radius: var(--radius-card); overflow: hidden; background: var(--line); }
.location-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.location-address { font-weight: 700; }
.hours-box, .directions-box { background: var(--paper); border: 1px solid var(--accent-soft-2); border-radius: var(--radius-media); padding: 20px 24px; margin: 0 0 20px; }
.hours { width: 100%; border-collapse: collapse; }
.hours th { text-align: left; font-weight: 700; padding: 4px 16px 4px 0; }
.hours td { text-align: left; padding: 4px 0; }
.hours-note { font-size: .875rem; color: var(--ink-2); margin: 8px 0 0; }
@media (max-width: 991px) { .location-grid { grid-template-columns: 1fr; } }

/* ---------- Practice highlights ---------- */
.highlights { padding-top: 0; }
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.highlight { border-top: 2px solid var(--accent-soft-2); padding-top: 20px; }
.highlight h3 { color: var(--accent-ink); }
@media (max-width: 991px) { .highlight-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .highlight-grid { grid-template-columns: 1fr; } }

/* ---------- Insurance (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { width: 100%; border-radius: var(--radius-card); object-fit: cover; }
.split-content h2 { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 24px; }
.phone-link { color: var(--accent-ink); font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 767px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Specials ---------- */
.special-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); justify-content: center; }
.special-grid > :only-child { grid-column: 2; }
.special-card {
  display: block; padding: 40px; border-radius: var(--radius-card);
  background: var(--accent-soft-2); color: var(--accent-ink); text-decoration: none;
}
.special-card h3 { text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; }
.special-price { font-size: 3.5rem; font-weight: 700; line-height: 1; margin: 8px 0 16px; }
.special-desc { font-weight: 700; }
.special-notes { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 4px; }
@media (max-width: 991px) {
  .special-grid { grid-template-columns: 1fr 1fr; }
  .special-grid > :only-child { grid-column: 1 / -1; max-width: 420px; justify-self: center; }
}
@media (max-width: 767px) { .special-grid { grid-template-columns: 1fr; } }

/* ---------- Connect + lead form ---------- */
.connect-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--accent); color: #fff; border-radius: var(--radius-card); overflow: hidden; }
.connect-media { width: 100%; height: 100%; object-fit: cover; }
.connect-content { padding: 56px; }
.connect-content h2 { color: #fff; }
.connect-content a:not(.btn) { color: #fff; font-weight: 700; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 24px; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form input, .lead-form textarea {
  width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.8); border-radius: 0;
  background: transparent; color: #fff; font: inherit;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: rgba(255,255,255,.7); }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-bottom-color: var(--highlight); }
.lead-form .btn { margin-top: 8px; }
.form-status { margin: 0; font-weight: 700; }
@media (max-width: 767px) {
  .connect-card { grid-template-columns: 1fr; }
  .connect-media { aspect-ratio: 3 / 2; height: auto; }
  .connect-content { padding: 32px var(--gutter); }
  .lead-form { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { background: var(--accent-ink); color: #fff; padding-top: 64px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); padding-bottom: 48px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer h3 { font-size: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 12px; margin-bottom: 12px; width: 100%; }
.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin: 12px 0 0; opacity: .8; }
.footer .hours th, .footer .hours td { font-size: .9rem; }
.footer .hours-note { color: rgba(255,255,255,.8); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); padding: 20px 0; font-size: .85rem; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer-legal { display: flex; gap: 20px; }
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; } .footer-legal { flex-wrap: wrap; } }

/* ---------- Sticky Book bar (mobile) + floating Google rating ---------- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px var(--gutter); background: var(--paper); box-shadow: 0 -4px 16px rgba(0,0,0,.1);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { width: 100%; }
  .footer { padding-bottom: 80px; }
}
.open-now { font-size: .7rem; background: rgba(255,255,255,.25); border-radius: 999px; padding: 2px 8px; }
.google-float {
  position: fixed; left: 16px; bottom: 16px; z-index: 30;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--paper); color: var(--ink); text-decoration: none;
  border-radius: var(--radius-media); padding: 10px 14px; box-shadow: var(--shadow-md); font-size: .8rem;
}
.google-float[hidden], .rating-badge[hidden] { display: none; }
.google-float-label { font-weight: 700; }
@media (max-width: 767px) { .google-float { bottom: 84px; } }

/* ---------- Legal / thank-you / 404 pages ---------- */
.page-hero { background: var(--accent-ink); color: #fff; padding: 88px 0 64px; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { margin: 16px 0 0; max-width: 640px; font-size: 1.125rem; }
.legal { max-width: 860px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.5em; }
.legal blockquote { margin: 0 0 1em; padding: 1em 1.5em; border-left: 5px solid var(--accent-soft-2); background: var(--gray); }
.page-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

/* =========================================================
   Client overrides: add scoped rules below this line.
   ========================================================= */

/* ---------- Loveless: shared service-page parts ---------- */
.btn { font-size: .8rem; padding: 1.1em 2em; }
.btn-outline-light:hover { color: var(--accent-ink); }
.btn-dark { background: var(--accent-ink); color: #fff; }
.btn-dark:hover { background: #3a3435; }
h1 { font-weight: 300; letter-spacing: -.01em; }
h2 { font-weight: 400; letter-spacing: -.01em; text-wrap: balance; }
.eyebrow { display: block; font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.on-dark .eyebrow, .eyebrow-light { color: var(--gold); }
.gold { color: var(--gold); }
.topbar { background: var(--accent-ink); font-weight: 500; letter-spacing: .08em; }
.topbar strong { color: var(--gold); }
.brand-logo img { width: 170px; }

/* Hero: left-aligned over the office photo */
.hero { text-align: left; min-height: 78vh; }
.hero::after { background: linear-gradient(90deg, rgba(24,20,21,.9) 0%, rgba(24,20,21,.72) 48%, rgba(24,20,21,.35) 100%); }
.hero-content { max-width: calc(var(--maxw) + var(--gutter) * 2); }
.hero-copy > * { max-width: 620px; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.08; }
.hero-tagline { margin: 0 0 32px; font-size: 1.1rem; color: rgba(255,255,255,.88); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.hero-trust span::before { content: "\2022"; color: var(--gold); margin-right: 10px; }
.rating-badge { align-items: flex-start; }
@media (max-width: 767px) { .hero-ctas .btn { width: 100%; } }

/* Stats band */
.stats { background: var(--accent-ink); color: #fff; padding: 56px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.14); }
.stat-num { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 400; line-height: 1; }
.stat-label { margin-top: 12px; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); }
@media (max-width: 767px) { .stat-grid { grid-template-columns: 1fr; gap: 28px; } .stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; } }

/* Consultation */
.consult { position: relative; color: #fff; isolation: isolate; background: var(--accent-ink); }
.consult-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.consult::after { content: ""; position: absolute; inset: 0; background: rgba(24,20,21,.86); z-index: -1; }
.consult h2 { color: #fff; }
.consult-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; }
.consult-grid p { color: rgba(255,255,255,.85); }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 18px 0 18px 34px; border-bottom: 1px solid rgba(255,255,255,.14); }
.check-list li:first-child { padding-top: 0; }
.check-list li:first-child::before { top: 0; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: 18px; color: var(--gold); font-weight: 700; }
@media (max-width: 991px) { .consult-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Implant options */
.option-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gap); }
.option-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--paper); }
.option-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f2efea; }
.option-body { display: flex; flex-direction: column; flex: 1; padding: 28px; }
.option-body h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: 12px; }
.option-body ul { list-style: none; padding: 0; margin: 4px 0 28px; flex: 1; }
.option-body li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: .95rem; }
.option-body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; background: var(--gold); }
.btn-ghost { align-self: flex-start; border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent-ink); }
@media (max-width: 991px) { .option-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Office video */
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.amenities { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 40px; border-top: 1px solid var(--line); }
.amenity { padding: 24px 28px 0 0; }
.amenity + .amenity { padding-left: 28px; border-left: 1px solid var(--line); }
.amenity h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.amenity p { font-size: .92rem; color: var(--ink-2); margin: 0; }
@media (max-width: 767px) { .amenities { grid-template-columns: 1fr; } .amenity + .amenity { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; } }

/* Comparison */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; border: 1px solid var(--line); font-size: .95rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--accent-ink); color: #fff; font-weight: 500; }
.compare thead th.us { background: var(--gold); color: var(--accent-ink); font-weight: 600; }
.compare tbody th { font-weight: 600; width: 28%; }
.compare td.us { background: #fff; }
.compare td::before { margin-right: 10px; font-weight: 700; }
.compare td.us::before { content: "\2713"; color: var(--accent); }
.compare td.them { color: var(--ink-2); }
.compare td.them::before { content: "\2715"; color: #9a948d; }

/* Doctor */
.doctor-grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 64px; align-items: start; }
.doctor-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% center; }
.doctor-grid h2 { margin-bottom: 4px; }
.doctor-creds { color: var(--accent); font-weight: 500; letter-spacing: .04em; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--accent-soft-2); padding: 8px 14px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; background: var(--paper); }
.featured { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 20px; align-items: center; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--accent-soft-2); }
.featured p { margin: 0; font-family: var(--font-head); font-size: 1.15rem; line-height: 1.4; }
@media (max-width: 991px) { .doctor-grid { grid-template-columns: 1fr; gap: 40px; } .doctor-photo { aspect-ratio: 3 / 2; } }

/* Team */
.team-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; }
.team-split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 991px) { .team-split { grid-template-columns: 1fr; gap: 32px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); }
.step { padding: 32px 24px 0 0; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step-num { font-size: .75rem; font-weight: 600; letter-spacing: .2em; color: var(--accent); }
.step h3 { font-size: 1.3rem; font-weight: 400; margin: 12px 0 8px; }
.step p { font-size: .93rem; color: var(--ink-2); margin: 0; }
@media (max-width: 991px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; } .step:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 479px) { .steps { grid-template-columns: 1fr; } .step + .step { padding-left: 0; border-left: 0; } }

/* Financing */
.on-dark { background: var(--accent-ink); color: rgba(255,255,255,.88); }
.on-dark h2 { color: #fff; }
.on-dark .section-head p { color: rgba(255,255,255,.8); }
.pay-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gap); }
.pay-card { border: 1px solid rgba(255,255,255,.16); padding: 32px; background: #2c2728; }
.pay-card h3 { color: #fff; font-weight: 400; font-size: 1.3rem; }
.pay-card p { margin: 0; font-size: .95rem; }
@media (max-width: 991px) { .pay-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-size: 1.2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--ink-2); max-width: 720px; }

/* Location */
.location-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 10px; }
.photo-caption { font-size: .82rem; color: var(--ink-2); margin: 0 0 16px; }
.location .btn-accent { background: var(--accent-ink); }
.location .btn-accent:hover { background: #3a3435; }

/* Final CTA */
.final-cta { text-align: center; }
.final-cta .cta-row { justify-content: center; }

/* Footer */
.footer-logo { width: 190px; margin-bottom: 16px; }
.footer h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.sticky-cta .btn { padding: 1em; }

/* ---------- Revisions: hero doctor, Google badge, reviews, credentials, seal ---------- */
.hero { padding-bottom: 0; align-items: stretch; }
.hero-grid { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 32px; align-items: end; }
.hero-copy { align-self: center; padding-bottom: 120px; }
.hero-doctor { position: relative; margin: 0; align-self: end; }
.hero-doctor img { width: 100%; max-width: 520px; margin-left: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.hero-doctor figcaption { position: absolute; left: 0; bottom: 48px; background: rgba(35,31,32,.92); border-left: 3px solid var(--gold); padding: 12px 18px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hero-doctor figcaption strong { display: block; font-family: var(--font-head); font-size: 1.1rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: #fff; }
.google-badge { display: flex; align-items: center; gap: 18px; margin-top: 36px; color: #fff; text-decoration: none; }
.google-badge img { width: 120px; height: auto; }
.google-badge-text { display: flex; flex-direction: column; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); padding-left: 18px; border-left: 1px solid rgba(255,255,255,.25); }
.google-badge-text strong { font-family: var(--font-head); font-size: 2rem; font-weight: 400; letter-spacing: 0; color: #fff; line-height: 1.1; }
.google-badge-text strong .gold { font-size: 1rem; letter-spacing: .1em; vertical-align: middle; }
.hero-trust { margin-top: 28px; }
@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; padding-top: 0; }
  .hero-doctor img { max-width: 340px; margin: 0 auto; }
  .hero-doctor figcaption { left: 50%; transform: translateX(-50%); bottom: 24px; white-space: nowrap; }
}
@media (max-width: 767px) { .hero { padding-top: 64px; } }

.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gap); align-items: start; }
.reviews .review-card { border: 1px solid var(--line); box-shadow: none; padding: 32px; }
.reviews .stars { font-size: 1.1rem; margin: 0 0 16px; }
.review-text p { font-size: .97rem; margin: 0 0 .9em; }
.reviews .review-name { margin-top: 12px; color: var(--ink); }
.reviews .review-source { font-weight: 400; }
.reviews .cta-row { margin-top: 40px; }
@media (max-width: 991px) { .review-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }

.doctor-media .featured { margin-top: 24px; }
.doctor-photo { aspect-ratio: 4 / 3; object-position: center; }
.creds-title { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 32px 0 12px; }
.creds-list { list-style: none; padding: 0; margin: 0 0 20px; }
.creds-list li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); font-size: .97rem; }
.creds-list li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 7px; height: 7px; background: var(--gold); }
.chips { margin-top: 20px; }
#doctor .associations { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); justify-content: space-between; gap: 32px 40px; }
#doctor .associations img { height: 52px; width: auto; max-width: 180px; object-fit: contain; }

.footer-seal { display: flex; align-items: center; gap: 18px; padding-bottom: 32px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.footer-seal img { width: 72px; height: 72px; }

/* ---------- Script logo watermark (beige panels) ---------- */
.watermark { position: relative; overflow: hidden; isolation: isolate; }
.watermark::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(1500px, 130vw); aspect-ratio: 287 / 90;
  right: -18%; top: 50%; transform: translateY(-40%) rotate(-6deg);
  background: url("assets/logo-watermark.svg") no-repeat center / contain;
}
.watermark-left::before { right: auto; left: -22%; transform: translateY(-45%) rotate(-6deg); }
@media (max-width: 767px) { .watermark::before { width: 200vw; right: -60%; } .watermark-left::before { left: -70%; } }

/* Hero doctor: trimmed cutout, larger and taller */
.hero { padding-top: 72px; }
.hero-grid { grid-template-columns: minmax(0,6fr) minmax(0,5fr); gap: 24px; }
.hero-doctor { display: flex; justify-content: flex-end; }
.hero-doctor img { width: auto; height: min(82vh, 760px); max-width: 100%; object-fit: contain; object-position: bottom; margin: 0; }
.hero-doctor figcaption { left: auto; right: 0; bottom: 40px; }
@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-doctor { justify-content: center; }
  .hero-doctor img { height: auto; width: 100%; max-width: 380px; }
  .hero-doctor figcaption { left: 50%; right: auto; bottom: 24px; transform: translateX(-50%); }
}

/* Meet Your Dentist: balanced two-up + full-width credentials */
#doctor .doctor-grid { grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 72px; align-items: start; }
#doctor .doctor-media { position: sticky; top: 110px; }
#doctor .doctor-photo { aspect-ratio: 4 / 5; object-position: 42% center; }
#doctor .featured { grid-template-columns: 96px minmax(0,1fr); margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
#doctor .featured p { font-size: 1.05rem; }
.doctor-bio h2 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.doctor-bio p:not(.doctor-creds) { color: var(--ink-2); }
.creds-block { margin-top: 80px; padding: 56px; background: var(--accent-soft); }
.creds-block .creds-title { margin: 0 0 28px; text-align: center; }
.cred-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--gap); }
.cred-card { display: flex; flex-direction: column; gap: 20px; background: var(--paper); padding: 28px 24px; border: 1px solid var(--accent-soft-2); }
.cred-card img, .cred-mark { height: 56px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.cred-mark { display: flex; align-items: center; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.2; color: #bf5700; border-left: 3px solid #bf5700; padding-left: 12px; }
.cred-card p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--ink-2); }
.cred-card strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.creds-closing { margin: 32px auto 0; max-width: 640px; text-align: center; font-family: var(--font-head); font-size: 1.25rem; line-height: 1.45; color: var(--ink); }
#doctor .associations { margin-top: 48px; padding-top: 0; border-top: 0; justify-content: center; gap: 32px 56px; }
.assoc-label { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 991px) {
  #doctor .doctor-grid { grid-template-columns: 1fr; gap: 40px; }
  #doctor .doctor-media { position: static; }
  #doctor .doctor-photo { aspect-ratio: 3 / 2; }
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .creds-block { padding: 40px 24px; margin-top: 56px; }
}
@media (max-width: 559px) { .cred-grid { grid-template-columns: 1fr; } }


/* ---- Round 2 edits ---- */
.consult-reassure { font-weight: 500; color: #fff !important; }
.consult-urgency { font-size: .95rem; border-left: 3px solid var(--gold); padding-left: 16px; }
.ba-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gap); margin-bottom: 40px; }
.ba-card { margin: 0; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ba-img { position: relative; aspect-ratio: 4 / 5; background: var(--accent-soft); border: 1px dashed var(--accent-soft-2, #d8cfbd); }
.ba-img span { position: absolute; left: 8px; top: 8px; background: var(--accent-ink); color: #fff; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; padding: 4px 8px; }
.ba-card figcaption { margin-top: 12px; font-size: .9rem; color: var(--ink-2); }
.amenity-icon { color: var(--gold); margin-bottom: 14px; }
.compare-simple { min-width: 0; }
.compare-simple thead th { background: var(--accent-ink); color: #fff; }
@media (max-width: 900px) {
  .ba-grid { grid-template-columns: 1fr; }
      .amenities { grid-template-columns: 1fr; }
  .amenity + .amenity { padding-left: 0; border-left: 0; }
}

/* ---- Design batch ---- */
.on-dark .amenities { border-top-color: rgba(255,255,255,.18); }
.on-dark .amenity + .amenity { border-left-color: rgba(255,255,255,.18); }
.on-dark .amenity h3 { color: #fff; }

/* #29 map in footer */
.location-grid { grid-template-columns: 1fr; }
.location-content { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 0 var(--gap); align-items: start; }
.location-content > .hours-box { grid-column: 1; margin: 24px 0 0; }
.location-content > .eyebrow, .location-content > h2, .location-content > .location-address { grid-column: 1; text-align: left; }
.location-content > .location-address { margin-bottom: 0; }
.location-content > .directions-box { grid-column: 2; grid-row: 1 / span 4; margin: 0; align-self: center; }
.location-content > .btn { grid-column: 1 / -1; justify-self: center; margin-top: 28px; }
@media (max-width: 767px) { .location-content { grid-template-columns: 1fr; } .location-content > .hours-box, .location-content > .directions-box { grid-column: 1; grid-row: auto; margin-bottom: 20px; } }
.footer-map { width: 100%; height: 150px; margin-top: 16px; background: rgba(255,255,255,.1); }
.footer-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.4); }

/* video placeholder */
.video-placeholder { display: flex; align-items: center; justify-content: center; background: #111; border: 1px solid rgba(255,255,255,.18); }
.video-placeholder span { color: rgba(255,255,255,.6); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }

/* reviews on black */
.reviews.on-dark .review-card { background: #fff; color: var(--ink); border-color: transparent; }
.reviews.on-dark .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.reviews.on-dark .btn-ghost:hover { border-color: #fff; background: #fff; color: var(--accent-ink); }

/* office keeps the original beige */
#office { background: #f6f3ee; }

/* credentials bar (brown) + memberships bar */
.cred-bar { background: var(--accent-ink); color: #fff; padding: 56px 0 60px; }
.cred-bar-title { font-family: var(--font-body); font-size: .85rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-align: center; color: #fff; margin: 0 0 36px; }
.cred-bar-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.cred-bar-grid li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 4px 24px; }
.cred-bar-grid li + li { border-left: 1px solid rgba(255,255,255,.28); }
.cred-bar-logo { display: flex; align-items: center; justify-content: center; height: 64px; width: 100%; }
.cred-bar-logo img { max-height: 52px; max-width: 100%; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.cred-bar-mark { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.25; color: #fff; border-left: 3px solid #fff; padding-left: 12px; text-align: left; }
.cred-bar-text { font-size: .92rem; line-height: 1.5; font-weight: 500; color: #fff; }
.cred-bar-text small { display: block; margin-top: 4px; font-size: .8rem; font-weight: 400; color: rgba(255,255,255,.8); }
.member-bar { background: #fff; border-bottom: 1px solid var(--line); padding: 36px 0; }
.member-bar-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 24px; }
.member-bar-text { margin: 0; font-size: .85rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.member-bar-logos { display: flex; align-items: center; justify-content: center; gap: 20px clamp(24px, 6vw, 72px); flex-wrap: nowrap; }
.member-bar-logos img { width: auto; max-height: 34px; filter: grayscale(1); opacity: .85; }
.member-bar-logos img[src$="tda.webp"] { max-height: 46px; }
@media (max-width: 991px) {
  .cred-bar-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .cred-bar-grid li:nth-child(odd) { border-left: 0; }
  .member-bar-inner { justify-content: center; text-align: center; }
}
@media (max-width: 559px) {
  .cred-bar-grid { grid-template-columns: 1fr; }
  .cred-bar-grid li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.28); padding-top: 28px; }
}

/* hero seal badge */
.hero-badge { position: absolute; right: 8px; bottom: 128px; width: 140px; height: auto; z-index: 2; filter: drop-shadow(0 10px 18px rgba(0,0,0,.4)); }
.hero-badge .b-small { font-family: var(--font-body); font-size: 8.5px; font-weight: 600; letter-spacing: .14em; fill: #231f20; }
.hero-badge .b-big { font-family: var(--font-head); font-size: 30px; font-weight: 500; fill: #231f20; }
@media (max-width: 767px) { .hero-badge { right: 0; bottom: auto; top: 0; width: 92px; } }
.hero-badge .b-name { font-family: var(--font-head); font-size: 12.5px; font-weight: 500; fill: #231f20; }
.hero-badge .b-small { font-size: 6.6px; letter-spacing: .08em; }
.hero-badge { width: 175px; bottom: 56px; }
@media (max-width: 767px) { .hero-badge { width: 130px; top: auto; bottom: 20px; right: 4px; } }
.hero-badge .b-name { font-size: 14.5px; }
.hero-badge .b-small { font-size: 7.6px; letter-spacing: .05em; }
.hero-badge { width: 225px; bottom: 48px; }
.hero-badge .b-name { font-size: 15.5px; }
.hero-badge .b-small { font-size: 8.2px; letter-spacing: .04em; }
@media (max-width: 767px) { .hero-badge { width: 165px; bottom: 16px; right: 0; } }
.hero-badge .b-name { font-size: 13px; }
.hero-badge .b-small { font-size: 7.4px; letter-spacing: .04em; }
.hero-badge { bottom: 70px; }
@media (max-width: 767px) { .hero-badge { bottom: 24px; } }
.hero-badge { filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)) drop-shadow(0 14px 24px rgba(0,0,0,.55)); }
@media (max-width: 1100px) { .member-bar-inner { flex-direction: column; justify-content: center; text-align: center; } }
@media (max-width: 479px) { .member-bar-logos { gap: 16px 24px; } .member-bar-logos img { max-height: 26px; } .member-bar-logos img[src$="tda.webp"] { max-height: 36px; } }

/* credentials bands belong to the doctor section */
#doctor { padding-bottom: 64px; }
.member-bar { padding: 44px 0 72px; }
#doctor { border-top: 1px solid var(--line); }
.member-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#team { background: #fff; }

/* location: two balanced columns */
.location-content { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: center; max-width: none; margin: 0; }
.location-main, .location-details { grid-column: auto; }
.location-main .btn { margin-top: 8px; }
.location-details .hours-box, .location-details .directions-box { grid-column: auto; margin: 0 0 20px; }
.location-details .directions-box { margin-bottom: 0; }
@media (max-width: 767px) { .location-content { grid-template-columns: 1fr; gap: 32px; } }
.location-main .hours-box { margin: 20px 0 24px; }
@media (min-width: 992px) { .team-split > img { order: -1; } }

.location-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.location-buttons .btn { margin: 0; }
.location-details .location-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 12px; margin-top: 20px; }
.location-details .location-buttons .btn { justify-content: center; text-align: center; }
.location-details .location-buttons .btn { padding-left: 12px; padding-right: 12px; }
.directions-box .location-buttons { margin-top: 24px; }
.location-main .hours-box { margin: 20px 0 24px; }
.location-buttons .btn { white-space: nowrap; }

/* Round 3: bold, strong headlines + hero caption */
.hero h1 { font-weight: 500; letter-spacing: -.02em; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; }
.hero h1 .gold { font-weight: 500; }
.hero-doctor figcaption { position: absolute; right: 0; bottom: 40px; left: auto; background: rgba(35,31,32,.94); border-left: 4px solid var(--gold); padding: 18px 26px; font-size: .95rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.hero-doctor figcaption strong { display: block; font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: 0; text-transform: none; color: #fff; margin-bottom: 4px; line-height: 1.1; }
@media (max-width: 767px) { .hero-doctor figcaption { left: 50%; right: auto; transform: translateX(-50%); bottom: 20px; white-space: nowrap; padding: 14px 20px; } }
.hero-copy > h1 { max-width: 800px; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
.section-head .doctor-creds { font-weight: 700; font-size: 1.1rem; letter-spacing: .08em; }

/* #32 consultation headline */

/* ===== Heading system (one scale for every section headline) =====
   H1 hero: 500 / up to 4.1rem. H2 sections: 500 / up to 3.1rem.
   Light sections: ink headline + brown eyebrow.
   Dark sections:  gold headline + white eyebrow. */
h2, .doctor-bio h2 { font-weight: 500; letter-spacing: -.015em; font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.1; text-wrap: balance; }
.section-head { max-width: 1000px; }
.section-head p { max-width: 720px; margin-left: auto; margin-right: auto; }
.consult h2, .on-dark h2 { color: var(--gold); }
.consult .eyebrow, .on-dark .eyebrow, .on-dark .eyebrow-light { color: #fff; }

/* #43 footer: logo fills its column so there is no dead gap before the menus */
.footer-logo { width: 100%; max-width: 100%; margin-bottom: 20px; }
@media (max-width: 991px) { .footer-logo { max-width: 280px; } }
@media (max-width: 479px) { .footer-logo { max-width: 240px; } }

/* #37/#38 why-table: light header with dark bottom line + icons */
.compare-simple thead th, .compare-simple thead th.us { background: #f4f3f1; color: var(--ink); border-bottom: 2px solid var(--accent-ink); padding: 20px 28px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.compare-simple thead th.us { border-left: 1px solid var(--line); }
.th-label { display: inline-flex; align-items: center; gap: 12px; }
.th-icon { color: var(--accent); flex: none; }
.compare-simple thead th.us .th-icon { color: var(--accent); }
@media (max-width: 559px) { .compare-simple thead th, .compare-simple thead th.us { padding: 16px 14px; letter-spacing: .1em; } .th-label { gap: 8px; } .th-icon { width: 18px; height: 18px; } }

/* #37/#38 why-table: back to black header with gold text and icons */
.compare-simple thead th, .compare-simple thead th.us { background: var(--accent-ink); color: var(--gold); border-bottom: 3px solid var(--gold); }
.compare-simple thead th.us { border-left: 1px solid rgba(255,255,255,.14); }
.th-icon, .compare-simple thead th.us .th-icon { color: var(--gold); }

/* #37/#38 align header columns with the table body (same cell padding) */
.compare-simple thead th, .compare-simple thead th.us { padding: 20px 22px; vertical-align: middle; }
.compare-simple tbody th, .compare-simple tbody td { padding-left: 22px; padding-right: 22px; }
.compare-simple thead th .th-label { margin-left: 0; }
.compare-simple tbody td.us::before { margin-right: 10px; }
.compare-simple thead .th-icon { margin-left: -3px; }
.compare-simple thead .th-label { display: flex; line-height: 1; }
.compare-simple thead th, .compare-simple thead th.us { padding-top: 22px; padding-bottom: 22px; }

/* smaller asterisk in the hero headline */
.hero h1 .ast { font-size: .45em; font-weight: 500; vertical-align: top; position: relative; top: .35em; margin-left: .06em; line-height: 1; }

/* gallery: real photos, before above after */
.ba-pair { grid-template-columns: 1fr; gap: 6px; }
.ba-img { aspect-ratio: 3 / 2; overflow: hidden; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.ba-img:has(img) { border: 0; background: #111; }

/* gallery video (thumbnail + play, swaps to a <video> on click) */
.video-embed { max-width: 960px; margin: 0 auto 48px; }
.video-thumb, .video-embed video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #231f20; }
.video-thumb { position: relative; padding: 0; border: 0; cursor: pointer; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.video-thumb:hover img, .video-thumb:focus-visible img { transform: scale(1.02); }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--accent-ink); box-shadow: 0 0 0 8px rgba(178,157,119,.28); transition: transform .2s ease, background .2s ease; }
.video-play svg { margin-left: 4px; }
.video-thumb:hover .video-play, .video-thumb:focus-visible .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--highlight-ink); }
.video-thumb:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 767px) { .video-embed { margin-bottom: 32px; } .video-play { width: 60px; height: 60px; box-shadow: 0 0 0 6px rgba(178,157,119,.28); } }
.video-thumb img { object-position: 50% 30%; }
.video-play { background: rgba(35,31,32,.55); color: #fff; border: 2px solid var(--gold); box-shadow: 0 0 0 8px rgba(178,157,119,.18); backdrop-filter: blur(2px); }
.video-thumb:hover .video-play, .video-thumb:focus-visible .video-play { background: var(--gold); color: var(--accent-ink); }
/* play button below the logo lockup, solid gold so it stays legible */
.video-play { top: 88%; background: var(--gold); color: var(--accent-ink); border: 0; box-shadow: 0 0 0 8px rgba(178,157,119,.28); backdrop-filter: none; width: 64px; height: 64px; }
.video-thumb:hover .video-play, .video-thumb:focus-visible .video-play { background: var(--highlight-ink); color: var(--accent-ink); }
.video-thumb img { object-position: 50% 8%; }
@media (max-width: 767px) { .video-play { top: 86%; width: 48px; height: 48px; box-shadow: 0 0 0 5px rgba(178,157,119,.28); } .video-play svg { width: 20px; height: 20px; } }

/* #63 intro video band above Meet Your Dentist */
.video-band { background: #f2f2f2; padding: 72px 0; }
.video-band .video-embed { max-width: 1040px; margin: 0 auto; box-shadow: 0 24px 60px rgba(35,31,32,.25); }
.video-thumb--photo img { object-position: 50% 30%; }
.video-thumb--photo .video-play { top: 50%; width: 84px; height: 84px; background: var(--gold); color: var(--accent-ink); box-shadow: 0 0 0 10px rgba(255,255,255,.28); }
.video-thumb--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35)); pointer-events: none; }
.video-thumb--photo .video-play { z-index: 1; }
@media (max-width: 767px) { .video-band { padding: 40px 0; } .video-thumb--photo .video-play { width: 60px; height: 60px; box-shadow: 0 0 0 6px rgba(255,255,255,.28); } }
/* intro video: keep his face clear — no dark wash, play button in the lower corner */
.video-thumb--photo::after { display: none; }
.video-thumb--photo .video-play { left: 28px; top: auto; bottom: 28px; transform: none; width: 76px; height: 76px; box-shadow: 0 0 0 8px rgba(255,255,255,.35); }
.video-thumb--photo:hover .video-play, .video-thumb--photo:focus-visible .video-play { transform: scale(1.08); }
@media (max-width: 767px) { .video-thumb--photo .video-play { left: 14px; bottom: 14px; width: 52px; height: 52px; box-shadow: 0 0 0 5px rgba(255,255,255,.35); } .video-thumb--photo .video-play svg { width: 20px; height: 20px; } }
.video-head { margin-bottom: 36px; }
@media (max-width: 767px) { .video-head { margin-bottom: 24px; } }
.video-band { padding: var(--section-pad) 0; }

/* ---------- Warranty page: centered hero ---------- */
.page-hero-center { text-align: center; }

/* ---------- Office amenities: centered icon and text ---------- */
.amenity { padding-right: 28px; text-align: center; }
.amenity-icon { display: block; margin-left: auto; margin-right: auto; }
