/* =========================================================
   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: #f6f3ee;
  --accent-soft-2: #e2d9c8;
  --ink: #2b2728;
  --ink-2: #5f5a55;
  --line: #e6e1d8;
  --paper: #ffffff;
  --gray: #f6f3ee;
  --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: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.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: #faf8f4; }
.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; } }
