/*
Theme Name: Missouri City Dentistry
Theme URI: https://missouricitydentistry.net/
Author: Aster Smiles
Author URI: https://missouricitydentistry.net/
Description: Photo Calm theme for Missouri City Dentistry — full-bleed photo hero, glass booking card, cream/gold/deep-green palette. Fraunces + Inter typography.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: missouri-city-dentistry
*/

/* ========= Design tokens ========= */
:root {
  --bg: #FAF8F5;
  --bg-warm: #F3EEE5;
  --ink: #1d2a30;
  --ink-muted: #647881;
  --ink-soft: #46565e;
  --accent: #1E3A5F;
  --accent-soft: #2E4E7A;
  --accent-light: #f0ddbc;
  --gold: #c9a36a;
  --champagne: #f0ddbc;
  --footer-bg: #152840;
  --hairline: #e9e4dc;
  --success: #3F7A4E;
  --error: #A33;
  --serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --measure: 1440px;
}

*,*::before,*::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .3s ease, border-color .3s ease; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px;
}
em { font-style: italic; }

/* Skip link */
.skip-link { position: absolute; top: -100px; left: 0; background: var(--ink); color: var(--bg); padding: 12px 20px; z-index: 999; border-radius: 0 0 2px 0; }
.skip-link:focus { top: 0; }

/* ========= Typography helpers ========= */
.label, .eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
}
.section-title,
h1.serif, h2.serif, h3.serif {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
em.accent, .accent-em { font-style: italic; color: var(--accent); font-weight: 300; }

/* ========= Header / Nav ========= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--hairline);
}
/* Dual logo markup support (light variant currently unused — light hero) */
.logo-pic-light { display: none; }
.home .site-header {
  position: absolute; top: 0; left: 0; right: 0;
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(29,42,48,0.08);
}
.nav {
  max-width: var(--measure); margin: 0 auto;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.logo, .brand { display: inline-flex; align-items: center; }
.logo img, .brand img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  color: var(--ink); font-size: 14px; letter-spacing: 0.02em; font-weight: 400;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-cta {
  background: var(--ink); color: var(--bg);
  padding: 12px 24px; border-radius: 30px;
  font-size: 13px; letter-spacing: 0.05em; font-weight: 500;
  transition: all .3s ease;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* Breadcrumb */
.breadcrumb {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 32px;
}
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span[aria-current="page"] { color: var(--ink); font-weight: 500; }
.breadcrumb .sep { margin: 0 10px; opacity: .5; }

/* ========= Buttons ========= */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 18px 36px; border-radius: 40px;
  font-size: 14px; letter-spacing: 0.03em; font-weight: 500;
  font-family: var(--sans);
  transition: all .3s ease; cursor: pointer; border: none; text-align: center;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn-light { background: var(--champagne); color: #27352f; }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--bg); }
.btn-accent:hover { background: var(--accent-soft); transform: translateY(-2px); }
.btn-secondary,
.btn-underline {
  background: transparent; color: var(--ink);
  padding: 18px 8px; border-radius: 0;
  border-bottom: 1px solid var(--ink);
  gap: 8px;
}
.btn-secondary:hover, .btn-underline:hover { color: var(--accent); border-color: var(--accent); }

/* ========= Page sections ========= */
main { display: block; }
.section { padding: 90px 48px; max-width: var(--measure); margin: 0 auto; }
.section-tight { padding-top: 100px; padding-bottom: 100px; }
.section-narrow { max-width: 900px; }

.section-header { max-width: 720px; margin: 0 auto 80px; text-align: center; }
.section-header.left { text-align: left; margin-left: 0; }
.section-header .label { display: block; margin-bottom: 20px; }
.section-header h2, h2.section-title {
  font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); line-height: 1.08;
  font-weight: 300; letter-spacing: -0.02em; margin-bottom: 24px;
}
.section-header h2 em, h2.section-title em { font-style: italic; color: var(--accent); font-weight: 300; }
.section-header p, .section-sub { font-size: 18px; color: var(--ink-muted); font-weight: 300; }

/* ========= HOME: Photo Calm hero (full-bleed photo + glass card) ========= */
.hero {
  position: relative; min-height: 780px; color: var(--ink); overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(250,248,245,.96) 30%, rgba(250,248,245,.82) 58%, rgba(250,248,245,.55));
}
.hero-body {
  position: relative; z-index: 2;
  max-width: var(--measure); margin: 0 auto; width: 100%;
  padding: 160px 48px 90px;
  display: grid; grid-template-columns: 1.25fr .85fr; gap: 64px; align-items: center;
}
.hero-text .eyebrow { margin-bottom: 24px; color: var(--gold); }
.hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 4.6vw, 66px); line-height: 1.08;
  font-weight: 300; letter-spacing: -0.01em;
  margin-bottom: 24px; color: var(--ink);
}
.hero-text h1 em { font-style: italic; font-weight: 400; color: var(--accent); }
.hero-text p.lead,
.hero-text .hero-lead {
  font-size: 18px; color: var(--ink-soft); line-height: 1.7;
  max-width: 500px; margin-bottom: 30px; font-weight: 300;
}
.hero-text .hero-lead strong { color: var(--accent); font-weight: 600; }
.hero-ctas { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.hero-rating {
  margin-top: 28px; display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--ink-muted);
}
.hero-rating .stars { color: var(--gold); letter-spacing: 3px; }

/* Frosted booking card (light) */
.glass {
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(29,42,48,0.08);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 24px; padding: 36px;
  box-shadow: 0 24px 50px rgba(29,42,48,0.12);
}
.glass h2, .glass h3 {
  font-family: var(--serif); font-size: 26px; font-weight: 400;
  margin-bottom: 6px; color: var(--ink); letter-spacing: 0;
}
.glass .sub { font-size: 14px; color: var(--ink-muted); margin-bottom: 22px; }
.g-row {
  display: flex; justify-content: space-between; font-size: 14px;
  padding: 13px 2px; border-bottom: 1px solid rgba(29,42,48,0.1);
  color: var(--ink-soft);
}
.g-row span:last-child { color: var(--accent); font-weight: 600; }
/* Self-pay discount disclosure (hero request-a-visit card) — cash prices reveal on click */
.g-selfpay > summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 14px; padding: 13px 2px; color: var(--ink-soft);
  border-bottom: 1px solid rgba(29,42,48,0.1);
  cursor: pointer; list-style: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.g-selfpay > summary::-webkit-details-marker { display: none; }
.g-selfpay > summary:hover { color: var(--ink); }
.g-selfpay-toggle { color: var(--accent); font-weight: 600; font-size: 13px; white-space: nowrap; }
.g-selfpay-toggle::after { content: '\00A0\203A'; display: inline-block; transition: transform .25s ease; }
.g-selfpay[open] .g-selfpay-toggle::after { transform: rotate(90deg); }
.g-selfpay .sp-open { display: none; }
.g-selfpay[open] .sp-closed { display: none; }
.g-selfpay[open] .sp-open { display: inline; }
.g-selfpay-note { font-size: 12px; color: var(--ink-muted); line-height: 1.5; padding: 10px 2px 2px; }
.g-btn {
  display: block; text-align: center; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 15px; padding: 16px; border-radius: 999px;
  margin-top: 26px; transition: all .3s ease;
}
.g-btn:hover { background: var(--accent-soft); transform: translateY(-1px); }
.g-call { display: block; text-align: center; font-size: 14px; color: var(--ink-muted); margin-top: 14px; }
.g-call b, .g-call a { color: var(--ink); font-weight: 600; }

/* ========= Trust strip ========= */
.trust-strip {
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  padding: 48px; max-width: var(--measure); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.trust-item { text-align: center; }
.trust-item + .trust-item { border-left: 1px solid var(--hairline); }
.trust-number {
  font-family: var(--serif); font-size: 34px; font-weight: 500; color: var(--ink);
  line-height: 1; margin-bottom: 8px; letter-spacing: -0.01em;
}
.trust-label {
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 500;
}

/* ========= Signed promise ========= */
.signed-promise {
  max-width: var(--measure); margin: 0 auto;
  padding: 90px 48px;
  display: grid; grid-template-columns: 7fr 5fr; gap: 80px; align-items: center;
}
.signed-promise-mark {
  background: var(--bg-warm);
  aspect-ratio: 9 / 5;
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 40px;
}
.signature {
  display: block; width: 100%; height: auto; overflow: visible;
}
.sig-script {
  font-family: 'Allura', 'Great Vibes', 'Dancing Script', cursive;
  font-size: 200px; font-weight: 400;
}
.sig-block {
  font-family: 'DM Sans', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 28px; font-weight: 800; letter-spacing: 14px;
}
.sig-est {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 12px; letter-spacing: 4px; opacity: 0.7;
}
.sig-content {
  clip-path: inset(0 100% 0 0);
  animation: sig-ink-reveal 1.9s cubic-bezier(0.45, 0, 0.15, 1) 0.25s forwards;
}
@keyframes sig-ink-reveal {
  to { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  .sig-content { clip-path: none; animation: none; }
}
.signed-promise-text .label { margin-bottom: 24px; }
.signed-promise-text h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 4vw, 56px); line-height: 1.1;
  letter-spacing: -0.015em; color: var(--ink); margin-bottom: 24px;
}
.signed-promise-text h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.signed-promise-text p {
  font-size: 17px; color: var(--ink-muted); font-weight: 300;
  line-height: 1.7; margin-bottom: 20px;
}
.signed-promise-text .signed-by {
  display: flex; align-items: center; gap: 16px;
  margin-top: 32px; font-size: 13px; color: var(--ink-muted);
  letter-spacing: 0.08em; font-style: normal;
}
.signed-promise-text .signed-by em {
  font-family: var(--serif); font-style: italic; color: var(--accent);
  font-size: 16px; letter-spacing: 0;
}
.signed-promise-text .signed-by .rule {
  display: block; width: 32px; height: 1px; background: var(--accent); flex: 0 0 auto;
}

/* ========= Editorial split sections ========= */
.editorial {
  padding: 90px 48px; max-width: var(--measure); margin: 0 auto;
  display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center;
}
.editorial.reverse { grid-template-columns: 7fr 5fr; }
.editorial.reverse > :first-child { order: 2; }
.editorial-img { aspect-ratio: 4/5; overflow: hidden; position: relative; border-radius: 2px; }
.editorial-img img { width: 100%; height: 100%; object-fit: cover; }
.editorial-text .label { margin-bottom: 24px; }
.editorial-text h2 {
  font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); line-height: 1.1;
  font-weight: 300; letter-spacing: -0.02em; margin-bottom: 32px;
}
.editorial-text h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.editorial-text p { font-size: 17px; color: var(--ink-muted); margin-bottom: 20px; font-weight: 300; }
.editorial-text .readmore,
.editorial-text a.readmore {
  display: inline-block; margin-top: 24px; font-size: 13px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 4px;
}
.editorial-text .readmore:hover { color: var(--accent); border-color: var(--accent); }

/* ========= Services grid (Photo Calm photo cards) ========= */
.services-section { padding: 90px 48px; max-width: var(--measure); margin: 0 auto; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.service-tile {
  position: relative; display: block; border-radius: 18px; overflow: hidden;
  height: 320px; text-decoration: none; color: #fff;
}
.service-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.service-tile:hover img { transform: scale(1.05); }
.service-tile .tile-caption {
  position: absolute; inset: auto 0 0 0; padding: 56px 24px 20px;
  background: linear-gradient(transparent, rgba(13,26,30,.88));
}
.service-tile h3 {
  font-family: var(--serif); font-size: 21px; line-height: 1.15;
  font-weight: 500; letter-spacing: 0; margin-bottom: 4px; color: #fff;
}
.service-tile p { color: rgba(255,255,255,0.82); font-size: 13.5px; line-height: 1.5; font-weight: 300; }
.services-footer {
  margin-top: 48px; text-align: center;
}

/* ========= Doctors strip ========= */
.doctors { padding: 90px 48px; background: var(--bg-warm); }
.doctors.bg-light { background: var(--bg); }
.doctors-inner { max-width: var(--measure); margin: 0 auto; }
.doctors-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px;
}
.doctor-card { }
.doctor-img {
  aspect-ratio: 3/4; overflow: hidden; margin-bottom: 24px; background: var(--hairline);
  border-radius: 2px;
}
.doctor-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(15%); transition: filter .6s ease;
}
.doctor-card:hover .doctor-img img { filter: grayscale(0); }
.doctor-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; letter-spacing: -0.01em; margin-bottom: 6px; color: var(--ink); }
.doctor-card .role {
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; font-weight: 600;
}
.doctor-card p { font-size: 15px; color: var(--ink-muted); line-height: 1.6; font-weight: 300; }

/* ========= Testimonial (centered large quote) ========= */
.testimonial-section {
  padding: 100px 48px; max-width: 1100px; margin: 0 auto; text-align: center;
}
.testimonial-section .label { margin-bottom: 40px; }
.testimonial-section blockquote {
  font-family: var(--serif); font-size: clamp(32px, 3.8vw, 52px); line-height: 1.25;
  font-weight: 300; letter-spacing: -0.01em; margin-bottom: 48px;
}
.testimonial-section blockquote em { font-style: italic; color: var(--accent); }
.testimonial-section cite {
  font-style: normal; font-size: 14px; color: var(--ink-muted); letter-spacing: 0.05em;
}

/* ========= Testimonial grid (inline review cards) ========= */
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 60px;
}
.testi-card { }
.testi-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 18px; }
.testi-card blockquote {
  font-family: var(--serif); font-size: 20px; line-height: 1.5; font-weight: 400;
  margin-bottom: 24px; color: var(--ink);
}
.testi-card cite {
  font-style: normal; font-size: 12px; letter-spacing: 0.08em;
  color: var(--ink-muted); font-weight: 500; text-transform: uppercase;
}
.testi-card cite .author { color: var(--ink); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 14px; display: block; margin-bottom: 2px; }

/* ========= CTA block (deep green band) ========= */
.cta-block {
  margin: 0 auto 80px; max-width: calc(var(--measure) - 96px);
  background: var(--accent); color: var(--bg); padding: 80px 72px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  border-radius: 26px;
}
.cta-block h2 {
  font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); line-height: 1.08;
  font-weight: 300; letter-spacing: -0.02em; color: var(--bg);
}
.cta-block h2 em { font-style: italic; color: var(--accent-light); font-weight: 300; }
.cta-block .side p { font-size: 18px; color: rgba(250,248,245,0.7); margin-bottom: 32px; font-weight: 300; }

/* Light CTA (on bg) */
.cta-block.light { background: var(--bg-warm); color: var(--ink); }
.cta-block.light h2 { color: var(--ink); }
.cta-block.light h2 em { color: var(--accent); }
.cta-block.light .side p { color: var(--ink-muted); }

/* ========= Footer (deep green) ========= */
.site-footer, footer.site-footer {
  background: var(--footer-bg); color: #b8c8c2;
  padding: 80px 48px 40px;
}
.footer-inner address a:first-of-type { color: var(--champagne); font-weight: 600; font-size: 17px; }
.footer-inner {
  max-width: var(--measure); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo img { height: 48px; }
.footer-inner p, .footer-inner address {
  font-size: 14px; line-height: 1.7; font-style: normal; color: rgba(250,248,245,0.7);
  margin-top: 20px;
}
.footer-inner address a { color: rgba(250,248,245,0.85); font-weight: 400; }
.footer-inner address a:hover { color: var(--bg); }
.footer-inner h3, .footer-inner h4 {
  color: var(--bg); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 20px; font-weight: 500;
}
.footer-inner ul { list-style: none; }
.footer-inner ul li { margin-bottom: 10px; }
.footer-inner ul li a { color: rgba(250,248,245,0.7); font-size: 14px; }
.footer-inner ul li a:hover { color: var(--bg); }
.footer-bottom {
  max-width: var(--measure); margin: 40px auto 0;
  font-size: 12px; display: flex; justify-content: space-between; letter-spacing: 0.05em;
  flex-wrap: wrap; gap: 12px; color: rgba(250,248,245,0.55);
}
.footer-bottom a { color: rgba(250,248,245,0.55); }
.footer-bottom a:hover { color: var(--bg); }

/* ========= SERVICE / NEIGHBORHOOD detail page ========= */
.service-hero {
  padding: 80px 48px 120px; max-width: var(--measure); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end;
  border-bottom: 1px solid var(--hairline);
}
.service-hero .breadcrumb { margin-bottom: 32px; }
.service-hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 96px); line-height: 1; font-weight: 300;
  letter-spacing: -0.03em; margin-bottom: 32px;
}
.service-hero h1 em { font-style: italic; color: var(--accent); font-weight: 300; }
.service-hero .lead {
  font-size: 20px; color: var(--ink-muted); font-weight: 300; line-height: 1.5;
  margin-bottom: 24px;
}
.service-hero .meta {
  display: flex; gap: 32px; padding-top: 32px;
  border-top: 1px solid var(--hairline); margin-top: 32px; flex-wrap: wrap;
}
.service-hero .meta .k {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 6px;
}
.service-hero .meta .v { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--ink); }

.service-body {
  max-width: var(--measure); margin: 0 auto; padding: 100px 48px;
  display: grid; grid-template-columns: 3fr 2fr; gap: 100px;
}
.prose h2 {
  font-family: var(--serif); font-size: 40px; font-weight: 300;
  letter-spacing: -0.02em; line-height: 1.15;
  margin: 56px 0 24px; color: var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.prose h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.prose h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  margin: 28px 0 10px; color: var(--ink);
}
.prose p {
  font-size: 18px; color: var(--ink-muted); margin-bottom: 20px;
  font-weight: 300; line-height: 1.7;
}
.prose p a {
  color: var(--accent); border-bottom: 1px solid transparent;
}
.prose p a:hover { border-bottom-color: var(--accent); }
.prose .lead {
  font-size: 22px; color: var(--ink); font-family: var(--serif);
  font-weight: 300; line-height: 1.5; margin-bottom: 40px;
}
.prose .lead em { font-style: italic; color: var(--accent); }
.prose ul {
  list-style: none; padding: 0; margin-bottom: 28px; border-top: 1px solid var(--hairline);
}
.prose ul li {
  padding: 16px 0; border-bottom: 1px solid var(--hairline);
  font-size: 16px; color: var(--ink-muted); font-weight: 300; line-height: 1.5;
}
.prose ul li strong { color: var(--ink); font-weight: 500; }

/* Sticky aside card */
.service-aside { position: sticky; top: 120px; align-self: start; }
.aside-card {
  background: var(--bg-warm); padding: 40px 32px; border-radius: 2px;
  margin-bottom: 24px;
}
.aside-card h4 {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  margin-bottom: 20px; color: var(--ink);
}
.aside-card .aside-list {
  list-style: none; border-top: 1px solid var(--hairline);
  margin-bottom: 20px;
}
.aside-card .aside-list li {
  padding: 16px 0; border-bottom: 1px solid var(--hairline);
  font-size: 14px; display: flex; justify-content: space-between; gap: 16px;
  align-items: baseline;
}
.aside-card .aside-list .k { color: var(--ink-muted); letter-spacing: 0.05em; flex-shrink: 0; }
.aside-card .aside-list .v {
  font-weight: 500; color: var(--ink); text-align: right;
}
.aside-card .btn { width: 100%; margin-top: 8px; margin-bottom: 10px; }
.aside-card .aside-note {
  font-size: 12px; color: var(--ink-muted); text-align: center;
  margin-top: 10px; letter-spacing: 0.05em;
}

/* Process steps */
.process {
  max-width: var(--measure); margin: 0 auto;
  padding: 100px 48px;
  border-top: 1px solid var(--hairline);
}
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 48px; margin-top: 64px;
}
.step {}
.step-num {
  font-family: var(--serif); font-style: italic;
  color: var(--accent); font-size: 18px; font-weight: 400; margin-bottom: 20px;
}
.step h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  letter-spacing: -0.01em; margin-bottom: 12px; color: var(--ink);
}
.step p { font-size: 15px; color: var(--ink-muted); font-weight: 300; line-height: 1.7; }

/* FAQ */
.faq {
  max-width: 900px; margin: 0 auto; padding: 120px 48px;
  border-top: 1px solid var(--hairline);
}
.faq h2 {
  font-family: var(--serif); font-size: clamp(36px, 4vw, 48px);
  font-weight: 300; letter-spacing: -0.02em; margin-bottom: 48px; text-align: center;
}
.faq h2 em { font-style: italic; color: var(--accent); }
.faq-item {
  border-bottom: 1px solid var(--hairline); padding: 32px 0;
}
.faq-item summary {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  cursor: pointer; list-style: none; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--sans); font-size: 24px;
  color: var(--accent); font-weight: 300; transition: transform .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--ink-muted); font-size: 16px; font-weight: 300;
  line-height: 1.7; padding-top: 16px;
}

/* ========= ABOUT page ========= */
.about-hero {
  padding: 100px 48px 140px; max-width: var(--measure); margin: 0 auto;
  text-align: center;
}
.about-hero .label { margin-bottom: 32px; }
.about-hero h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 120px); line-height: 1; font-weight: 300;
  letter-spacing: -0.03em; max-width: 1100px; margin: 0 auto 32px;
}
.about-hero h1 em { font-style: italic; color: var(--accent); }
.about-hero .lead {
  max-width: 680px; margin: 0 auto; font-size: 19px;
  color: var(--ink-muted); font-weight: 300; line-height: 1.6;
}

.about-story {
  max-width: var(--measure); margin: 0 auto; padding: 0 48px 140px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center;
}
.about-story .img { aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; }
.about-story .img img { width: 100%; height: 100%; object-fit: cover; }
.about-story .label { margin-bottom: 20px; }
.about-story h2 {
  font-family: var(--serif); font-size: clamp(36px, 4vw, 48px); font-weight: 300;
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 32px;
}
.about-story h2 em { font-style: italic; color: var(--accent); }
.about-story p { font-size: 17px; color: var(--ink-muted); margin-bottom: 20px; font-weight: 300; }

/* Values */
.values { padding: 90px 48px; max-width: var(--measure); margin: 0 auto; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; margin-top: 60px; }
.value-card { }
.value-card .num {
  font-family: var(--serif); font-style: italic;
  color: var(--accent); font-size: 16px; margin-bottom: 24px;
}
.value-card h3 {
  font-family: var(--serif); font-size: 24px; font-weight: 400;
  letter-spacing: -0.01em; margin-bottom: 14px; color: var(--ink);
}
.value-card p {
  color: var(--ink-muted); font-size: 15px; font-weight: 300; line-height: 1.7;
}

/* ========= CONTACT page ========= */
.contact-hero {
  padding: 100px 48px 60px; max-width: var(--measure); margin: 0 auto; text-align: center;
}
.contact-hero .label { margin-bottom: 32px; }
.contact-hero h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 108px); line-height: 1; font-weight: 300;
  letter-spacing: -0.03em; margin-bottom: 32px;
}
.contact-hero h1 em { font-style: italic; color: var(--accent); }
.contact-hero .lead {
  max-width: 640px; margin: 0 auto; font-size: 19px; color: var(--ink-muted); font-weight: 300;
}

.contact-grid {
  max-width: var(--measure); margin: 0 auto; padding: 80px 48px 160px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px;
}
.contact-form .field { margin-bottom: 28px; }
.contact-form label {
  display: block; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px; font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 14px 0; background: transparent;
  border: none; border-bottom: 1px solid var(--hairline);
  font-family: var(--sans); font-size: 17px; color: var(--ink);
  outline: none; font-weight: 300; transition: border-color .3s;
  border-radius: 0;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--ink-muted); opacity: .6; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .submit-wrap { margin-top: 32px; }

.contact-info .info-block {
  padding: 32px 0; border-bottom: 1px solid var(--hairline);
}
.contact-info .info-block:first-child { padding-top: 0; }
.contact-info .info-block:last-child { border-bottom: none; }
.contact-info h4 {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 16px; font-weight: 500;
}
.contact-info p, .contact-info address {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  line-height: 1.4; font-style: normal; color: var(--ink);
}
.contact-info a { color: inherit; border-bottom: 1px solid transparent; }
.contact-info a:hover { border-color: var(--accent); color: var(--accent); }
.contact-info .small { font-size: 14px; color: var(--ink-muted); font-family: var(--sans); margin-top: 8px; font-weight: 300; }

/* Map + emergency (contact page tail) */
.map-wrap { max-width: var(--measure); margin: 0 auto; padding: 0 48px 80px; }
.map-card {
  border: 1px solid var(--hairline); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.4fr; border-radius: 2px;
}
.map-text { padding: 48px; display: flex; flex-direction: column; justify-content: center; background: var(--bg-warm); }
.map-text h2 {
  font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); font-weight: 300;
  letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px; color: var(--ink);
}
.map-text h2 em { font-style: italic; color: var(--accent); }
.map-text p { color: var(--ink-muted); font-size: 16px; font-weight: 300; margin-bottom: 16px; }
.map-text ul { list-style: none; padding: 0; }
.map-text li {
  font-size: 15px; color: var(--ink-muted); font-weight: 300;
  padding: 8px 0 8px 24px; position: relative; line-height: 1.5;
}
.map-text li::before {
  content: ''; position: absolute; left: 0; top: 16px; width: 10px; height: 1px; background: var(--accent);
}
.map-text .dir-link {
  display: inline-block; margin-top: 24px; font-size: 13px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 4px; width: max-content;
}
.map-text .dir-link:hover { color: var(--accent); border-color: var(--accent); }
.map-iframe { width: 100%; height: 100%; min-height: 420px; border: none; background: var(--bg-warm); }

.emergency { max-width: var(--measure); margin: 0 auto 80px; padding: 0 48px; }
.emergency-card {
  background: var(--accent); color: var(--bg); padding: 48px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px;
  border-radius: 26px;
}
.emergency-card h2 {
  font-family: var(--serif); font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px;
  color: var(--bg);
}
.emergency-card h2 em { font-style: italic; color: var(--accent-light); }
.emergency-card p { color: rgba(250,248,245,0.7); font-size: 16px; font-weight: 300; line-height: 1.55; max-width: 60ch; }
.emergency-phone {
  background: var(--bg); color: var(--ink);
  padding: 18px 32px; border-radius: 40px;
  font-weight: 500; font-size: 15px; letter-spacing: 0.05em; white-space: nowrap;
}
.emergency-phone:hover { background: #fff; transform: translateY(-2px); }

/* ========= Form feedback ========= */
.form-feedback {
  padding: 14px 18px; border-radius: 2px;
  margin-bottom: 24px; font-size: 14px; line-height: 1.5;
}
.form-feedback.success { background: #E4F2E8; color: var(--success); border: 1px solid #B7D8C2; }
.form-feedback.error { background: #FBE5E5; color: var(--error); border: 1px solid #E8C0C0; }

/* ========= Sticky mobile CTA ========= */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--bg); border-top: 1px solid var(--hairline);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0,0,0,.06); gap: 10px;
}
.sticky-cta a {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 13px 16px; border-radius: 40px;
  font-weight: 500; font-size: 14px; letter-spacing: 0.03em;
  text-decoration: none; white-space: nowrap;
}
.sticky-cta .sc-call { background: var(--accent); color: var(--bg); }
.sticky-cta .sc-book { background: var(--ink); color: var(--bg); }

/* ========= Responsive ========= */
@media (max-width: 1100px) {
  .nav, .section, .hero-body, .editorial, .services-section, .doctors, .testimonial-section,
  .cta-block, .about-hero, .about-story, .values, .contact-hero, .contact-grid,
  .service-hero, .service-body, .process, .faq, .trust-strip, .map-wrap, .emergency,
  .signed-promise, .site-footer {
    padding-left: 32px; padding-right: 32px;
  }
  .signed-promise {
    grid-template-columns: 1fr; gap: 48px;
  }
  .signed-promise-mark { aspect-ratio: 16 / 7; }
  .editorial, .editorial.reverse,
  .hero-body, .about-story, .service-hero, .service-body, .contact-grid, .cta-block, .map-card, .emergency-card {
    grid-template-columns: 1fr; gap: 40px;
  }
  .hero { min-height: 0; }
  .hero-body { padding-top: 140px; padding-bottom: 70px; }
  .glass { max-width: 480px; }
  .editorial.reverse > :first-child { order: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip, .doctors-grid, .values-grid, .footer-inner, .testi-grid, .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .service-aside { position: static; }
}
@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  main { padding-bottom: 78px; }
  .nav { padding: 16px 20px; }
  .section, .services-section, .editorial, .hero-body, .doctors, .testimonial-section,
  .cta-block, .about-hero, .about-story, .values, .contact-hero, .contact-grid,
  .service-hero, .service-body, .process, .faq, .trust-strip, .map-wrap, .emergency,
  .signed-promise, .site-footer { padding-left: 20px; padding-right: 20px; }
  .cta-block { padding: 60px 32px; margin-left: 20px; margin-right: 20px; }
  .hero-body { padding-top: 104px; padding-bottom: 48px; gap: 30px; }
  .glass { padding: 28px 24px; max-width: none; }
  .trust-item + .trust-item { border-left: none; }
  /* Mobile: photo detail sits right behind the text — flatten it with a
     near-solid cream overlay and trim the text load. */
  .hero-shade {
    background: linear-gradient(180deg, rgba(250,248,245,.97) 0%, rgba(250,248,245,.92) 55%, rgba(250,248,245,.85) 100%);
  }
  .hero-text .eyebrow { display: none; }
  .hero-text h1 { font-size: 34px; margin-bottom: 16px; }
  .hero-text .hero-lead { font-size: 15.5px; line-height: 1.65; margin-bottom: 0; }
  .hero-text .lead-more { display: none; }
  .hero-rating { margin-top: 18px; font-size: 13px; }
  .signed-promise { padding-top: 96px; padding-bottom: 96px; }
  .signed-promise-mark { aspect-ratio: 16 / 8; padding: 24px; }
}
@media (max-width: 560px) {
  .services-grid, .trust-strip, .doctors-grid, .values-grid, .footer-inner, .testi-grid, .process-grid { grid-template-columns: 1fr; }
  .signed-promise { padding-top: 72px; padding-bottom: 72px; }
  .signed-promise-mark { aspect-ratio: 4 / 3; padding: 16px; }
  .hero-body { padding-top: 110px; }
  .hero-text h1 { font-size: 36px; }
  .service-tile { height: 240px; }
  .about-hero, .contact-hero { padding-top: 60px; padding-bottom: 80px; }
}


/* --- Mobile navigation (CSS-only hamburger) --- */
/* nav-overflow-fix */
.nav-toggle { display: none; }
@media (max-width: 1280px) {
  .nav-links { display: none; }
  .nav { position: relative; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; margin-right: 14px; padding: 12px 10px; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink, #1d2a30); transition: transform .2s ease, opacity .2s ease; }
  .nav-open-box:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open-box:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open-box:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-open-box:checked ~ .nav-links {
    display: flex; flex-direction: column; gap: 20px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 26px 28px 30px;
    box-shadow: 0 14px 34px rgba(0,0,0,.10);
    border-top: 1px solid rgba(0,0,0,.06);
    z-index: 60;
  }
  .nav-open-box:checked ~ .nav-links a { font-size: 1.05rem; }
  .home .site-header .nav-open-box:checked ~ .nav-links a { color: var(--ink); }
}

@media (max-width: 560px) {
  .nav-cta { white-space: nowrap; padding: 10px 14px; font-size: .9rem; }
}

@media (max-width: 760px) {
  .site-footer nav a, .footer-bottom a { display: inline-block; padding: 7px 2px; }
}

/* page.php title hierarchy above prose content */
.section-narrow .section-title { font-size: 2.9rem; line-height: 1.12; }
.section-narrow .section-head { margin-bottom: 12px; }
.section-narrow .detail-prose > h2:first-child { margin-top: 24px; font-size: 1.6rem; }

/* Dr. Huynh 2026-06-15: keep ONE font per sentence — emphasized words must not switch
   to italic (Fraunces italic reads like a different font). Keep accent color for emphasis. */
em, .accent-em, h1 em, h2 em, h3 em, blockquote em, .hero-lead em, .prose em { font-style: normal !important; }

/* /services/ listing tiles are TEXT-ONLY (no background photo), but inherit .service-tile
   color:#fff -> invisible white text on the light bg. Give imageless tiles a readable
   light-card treatment. Homepage photo tiles (which contain <img>) are unaffected. */
.service-tile:not(:has(img)) {
  background: var(--bg-warm);
  border: 1px solid var(--hairline);
  color: var(--ink);
  padding: 30px 26px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
}
.service-tile:not(:has(img)) .num { color: var(--accent); opacity: .85; }
.service-tile:not(:has(img)) h3 { color: var(--ink); }
.service-tile:not(:has(img)) p { color: var(--ink-soft); }
.service-tile:not(:has(img)) .arrow { color: var(--accent); font-weight: 500; }
.service-tile:not(:has(img)):hover { border-color: var(--accent); }

/* Service-page hero photo — wired 2026-06-21 */
.service-hero-img { grid-column: 1 / -1; margin-top: -32px; }
.service-hero-img img { width: 100%; height: clamp(260px, 34vw, 460px); object-fit: cover; border-radius: 10px; display: block; }
@media (max-width: 720px) { .service-hero-img { margin-top: 8px; } .service-hero-img img { height: 220px; border-radius: 8px; } }

/* Dr. Huynh 2026-06-21: FULLY uniform headings — emphasized words must not switch
   style, weight, OR color within a heading/title. Supersedes the 2026-06-15
   "keep accent color" compromise (top-level so it applies at every breakpoint). */
h1 em, h2 em, h3 em, h4 em, .section-title em, .hero-text h1 em,
h1 strong, h2 strong, h3 strong, h4 strong, .section-title strong {
  font-style: normal !important;
  font-weight: inherit !important;
  color: inherit !important;
}

/* Dr. Huynh 2026-06-21: mobile vertical rhythm — desktop section padding (140–160px)
   was never reduced for phones, so pages felt sparse and ran absurdly long. */
@media (max-width: 760px) {
  .editorial, .editorial.reverse, .services-section, .doctors, .signed-promise,
  .about-story, .values, .process, .faq, .map-wrap, .emergency, .service-body,
  .contact-grid { padding-top: 40px; padding-bottom: 40px; }
  .testimonial-section { padding-top: 44px; padding-bottom: 44px; }
  .service-hero { padding-top: 40px; padding-bottom: 52px; }
  .trust-strip { padding-top: 40px; padding-bottom: 40px; }
  .site-footer { padding-top: 56px; }
}
@media (max-width: 560px) {
  .editorial, .editorial.reverse, .services-section, .doctors, .signed-promise,
  .about-story, .values, .process, .faq, .map-wrap, .emergency, .service-body,
  .contact-grid, .testimonial-section { padding-top: 26px; padding-bottom: 26px; }
}

/* ===== Reviews strip — real Google reviews (replaces the 4-stat trust bar on home), 2026-06-22 ===== */
.reviews-strip { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); max-width: var(--measure); margin: 0 auto; padding: 56px 48px; }
.reviews-rating { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 34px; flex-wrap: wrap; }
.reviews-rating svg { width: 22px; height: 22px; display: block; flex: 0 0 auto; }
.rr-stars { color: var(--gold); font-size: 15px; letter-spacing: 3px; line-height: 1; }
.rr-text { font-size: 14.5px; color: var(--ink-muted); font-weight: 400; }
.rr-text strong { color: var(--ink); font-weight: 600; }
.reviews-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.review-quote { text-align: center; padding: 4px 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.review-quote + .review-quote { border-left: 1px solid var(--hairline); }
.rq-stars { color: var(--gold); font-size: 12px; letter-spacing: 2.5px; line-height: 1; }
.review-quote blockquote { font-family: var(--serif); font-weight: 400; font-style: normal; font-size: 18px; line-height: 1.5; color: var(--ink); letter-spacing: -0.005em; }
.review-quote figcaption { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
@media (max-width: 880px) {
  .reviews-strip { padding: 40px 0; }
  .reviews-rating { margin-bottom: 24px; padding: 0 20px; }
  .reviews-row { grid-template-columns: none; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 6px; -webkit-overflow-scrolling: touch; }
  .reviews-row::-webkit-scrollbar { display: none; }
  .review-quote { min-width: 82%; scroll-snap-align: center; border-left: none !important; background: var(--bg-warm); border-radius: 12px; padding: 24px 22px; }
  .review-quote blockquote { font-size: 17px; }
}

/* Dr. Huynh 2026-06-24: mobile editorial team photo must show EVERYONE — the wide
   group photo was cover-cropped to ~2 center people on phones; show it full-width
   at natural height instead so the whole team is visible. */
@media (max-width:860px){
  .editorial-img{height:auto!important;aspect-ratio:auto!important;}
  .editorial-img img{height:auto!important;width:100%!important;object-fit:contain!important;max-height:none!important;}
}

/* Dr. Huynh 2026-06-25 (v2, layout-safe): service-card captions were low-contrast —
   the title sits high in the caption where the existing gradient was still nearly
   transparent. Strengthen ONLY the existing .tile-caption gradient + add text-shadow.
   Does NOT change .tile-caption positioning and adds NO covering overlay (the v1
   attempt broke that). */
.service-tile .tile-caption{
  background:linear-gradient(to top, rgba(13,26,30,.95) 0%, rgba(13,26,30,.86) 40%, rgba(13,26,30,.5) 72%, rgba(13,26,30,0) 100%) !important;
  padding-top:64px;
}
.service-tile .tile-caption h3{ text-shadow:0 1px 4px rgba(0,0,0,.72); }
.service-tile .tile-caption p{ color:rgba(255,255,255,.96) !important; text-shadow:0 1px 3px rgba(0,0,0,.6); }

/* ============================================================
   CRO conversion modules (service + implants pages) 2026-06-29
   Hero dual-CTA · trust-pill strip · financing module.
   Reviews snippet reuses the existing .reviews-strip styles.
   ============================================================ */

/* Hero dual-CTA — lives in the .service-hero right column under .meta */
.service-hero .hero-cta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 30px;
}
.service-hero .hero-cta .btn { margin: 0; }
.hero-cta-call { font-size: 14px; color: var(--ink-muted); font-weight: 400; }
.hero-cta-call a { color: var(--accent); border-bottom: 1px solid currentColor; font-weight: 500; }

/* Trust-pill strip — directly under the hero */
.trust-pills {
  max-width: var(--measure); margin: 0 auto; padding: 28px 48px;
  border-bottom: 1px solid var(--hairline);
}
.trust-pills-inner {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-warm); color: var(--ink-soft);
  border: 1px solid var(--hairline); border-radius: 40px;
  padding: 9px 18px; font-size: 13.5px; font-weight: 400; line-height: 1.2;
  letter-spacing: 0.01em;
}
.trust-pill strong { color: var(--accent); font-weight: 600; }

/* Financing module — near the cost/CTA (after .service-body) */
.financing-module {
  max-width: var(--measure); margin: 0 auto; padding: 80px 48px;
  border-top: 1px solid var(--hairline);
}
.financing-inner {
  background: var(--bg-warm); border-radius: 10px; padding: 56px;
}
.financing-head .label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.financing-head h2 {
  font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); font-weight: 300;
  letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); margin-bottom: 14px;
}
.financing-head h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.financing-head p {
  font-size: 17px; color: var(--ink-muted); font-weight: 300; line-height: 1.6;
  max-width: 620px; margin-bottom: 36px;
}
.financing-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 36px;
}
.financing-opt {
  background: #fff; border: 1px solid var(--hairline); border-radius: 8px;
  padding: 28px;
}
.financing-opt h3 {
  font-family: var(--serif); font-size: 24px; font-weight: 400;
  color: var(--ink); margin-bottom: 10px;
}
.financing-opt p {
  font-size: 15px; color: var(--ink-muted); font-weight: 300; line-height: 1.6;
}
.financing-opt p strong { color: var(--ink); font-weight: 600; }

@media (max-width: 1100px) {
  .trust-pills, .financing-module { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 760px) {
  .service-hero .hero-cta { margin-top: 22px; gap: 14px; }
  .service-hero .hero-cta .btn { width: 100%; }
  .hero-cta-call { width: 100%; text-align: center; }
  .trust-pills { padding: 20px; }
  .trust-pills-inner { justify-content: flex-start; }
  .trust-pill { font-size: 12.5px; padding: 8px 14px; }
  .financing-module { padding: 56px 20px; }
  .financing-inner { padding: 32px 24px; }
  .financing-options { grid-template-columns: 1fr; gap: 16px; }
  .financing-head p { margin-bottom: 26px; }
}

/* ============================================================
   CRO homepage modules 2026-06-29
   Hero differentiator pills (Saturday leads) · glass call button ·
   trust bar under hero · header desktop/tablet click-to-call.
   "How it works" reuses the existing .process/.step styles.
   Appended after the service/implants CRO block — do NOT duplicate.
   ============================================================ */

/* Hero differentiator pills */
.hero-pills {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px;
  margin: 26px 0 2px; padding: 0;
}
.hero-pill {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.72); color: var(--ink-soft);
  border: 1px solid rgba(29,42,48,0.12); border-radius: 40px;
  padding: 9px 17px; font-size: 13.5px; font-weight: 500; line-height: 1.2;
  letter-spacing: 0.01em;
}
.hero-pill-lead {
  background: var(--accent); color: #fff; border-color: var(--accent);
  font-weight: 600;
}

/* Secondary call button inside the glass booking card */
.g-btn-call {
  display: block; text-align: center; background: transparent;
  color: var(--accent); border: 1px solid var(--accent);
  font-weight: 600; font-size: 15px; padding: 14px; border-radius: 999px;
  margin-top: 12px; transition: all .3s ease;
}
.g-btn-call:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }

/* Trust bar under the hero */
.trust-bar {
  border-bottom: 1px solid var(--hairline);
  max-width: var(--measure); margin: 0 auto; padding: 22px 48px;
}
.trust-bar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 8px;
}
.trust-bar-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-soft); font-weight: 400; line-height: 1.2;
}
.trust-bar-item + .trust-bar-item::before {
  content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); opacity: .6; margin: 0 24px 0 16px;
}
.trust-bar-rating svg { width: 18px; height: 18px; display: block; flex: 0 0 auto; }
.trust-bar-rating .tb-stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; line-height: 1; }
.trust-bar-rating strong { color: var(--ink); font-weight: 700; }

/* Header desktop/tablet click-to-call */
.nav-call {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--accent); white-space: nowrap;
}
.nav-call:hover { color: var(--accent-soft); }
.nav-call svg { width: 15px; height: 15px; flex: 0 0 auto; }

/* "How it works" tightens the shared .process section-header spacing */
.how-it-works .section-header { margin-bottom: 24px; }

@media (max-width: 1100px) {
  .trust-bar { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 760px) {
  .hero-pills { gap: 8px; margin-top: 18px; }
  .hero-pill { font-size: 12.5px; padding: 8px 13px; }
  .nav-call { display: none; }            /* mobile sticky bar provides click-to-call */
  .trust-bar { padding: 16px 20px; }
  .trust-bar-inner { gap: 8px 6px; justify-content: flex-start; }
  .trust-bar-item { font-size: 13px; }
  .trust-bar-item + .trust-bar-item::before { margin: 0 12px; }
  .g-btn-call { font-size: 14px; padding: 13px; }
}

/* svclegibility3 2026-07-04 (Dr. Huynh): text-only service tiles must be dark-on-light in EVERY
   browser. Prior fix relied on :not(:has(img)) (fails without :has support) and was clobbered by
   an unscoped white !important caption rule (now scoped to .tile-caption above). Explicit class. */
.service-tile--flat{background:var(--bg-warm);border:1px solid var(--hairline);color:var(--ink);padding:30px 26px;display:flex;flex-direction:column;justify-content:space-between;gap:14px}
.service-tile--flat .num{color:var(--accent);opacity:.85}
.service-tile--flat h3{color:var(--ink);text-shadow:none}
.service-tile--flat p{color:var(--ink-soft);text-shadow:none}
.service-tile--flat .arrow{color:var(--accent);font-weight:500}
.service-tile--flat:hover{border-color:var(--accent)}

/* insurance-first callout (Dr. Huynh 2026-07-04) — prominent above the self-pay toggle */
.g-insurance{background:rgba(30,58,95,.06);border:1px solid var(--hairline);border-radius:12px;padding:12px 14px;margin:4px 0 12px;font-size:14px;line-height:1.45;color:var(--ink)}
.g-insurance strong{color:var(--accent)}

/* nav doctor submenu / dropdown (Dr. Huynh 2026-07-05) — theme had no submenu CSS */
.nav-links li{position:relative}
.nav-links .sub-menu{position:absolute;top:calc(100% + 6px);left:0;min-width:230px;background:#fff;border:1px solid var(--hairline);border-radius:12px;box-shadow:0 12px 30px rgba(13,26,30,.12);padding:8px 0;margin:0;list-style:none;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .16s ease,transform .16s ease,visibility .16s;z-index:200}
.nav-links li:hover>.sub-menu,.nav-links li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.nav-links .sub-menu li{display:block}
.nav-links .sub-menu a{display:block;padding:9px 20px;white-space:nowrap;font-size:15px;color:var(--ink)}
.nav-links .sub-menu a:hover{background:var(--bg-warm);color:var(--accent)}
.nav-links .menu-item-has-children>a::after{content:" \25BE";font-size:.7em;opacity:.65}
@media(max-width:900px){.nav-links .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:none;background:transparent;padding:2px 0 4px 14px}}
