/* ==========================================================================
   Yosemite Dental Care — Full Fathom Design mockup
   Clean, credentialed, calm. No build step.
   ========================================================================== */

/* ---------- Design tokens ------------------------------------------------ */
:root {
  /* Color */
  --ink:        #0f1e2e; /* deep slate, matches logo silhouette */
  --ink-2:      #1e3148;
  --ink-soft:   #475467;
  --muted:      #6b7280;
  --cream:      #faf6ee;
  --cream-2:    #f2ebdd;
  --sage:       #e4ebe0;
  --gold:       #b88a3f; /* pulled from the logo sunrays */
  --gold-soft:  #d9b067;
  --gold-bg:    #f7eed9;
  --line:       #e6dfce;
  --line-2:     #d9d0bb;
  --white:      #ffffff;
  --red:        #7d2e2e;

  /* Full Fathom Design banner */
  --ff-bg:      #0b1324;
  --ff-fg:      #d9e1f2;
  --ff-accent:  #f5b642;

  /* Typography */
  --serif: "Fraunces", "Source Serif 4", "Georgia", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Spacing (mobile-first): start at 32px, expand as the viewport does */
  --pad-x: 32px;
  --section: 64px;

  /* Layout */
  --max:       1200px;
  --max-prose: 700px;
  --radius:    4px;
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 700px)  { :root { --pad-x: 40px; --section: 80px; } }
@media (min-width: 1000px) { :root { --pad-x: 48px; --section: 112px; } }
@media (min-width: 900px)  { body { font-size: 18px; } }

img, svg { max-width: 100%; display: block; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
button { font-family: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.05; font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); line-height: 1.15; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.25; }
h4 { font-size: 1.1rem; line-height: 1.3; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 .6em;
}

/* Tabular figures for phone numbers, prices, hours */
.tnum, time, .price { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Full Fathom Design banner ------------------------------------------ */
.ff-banner {
  background: var(--ff-bg);
  color: var(--ff-fg);
  font-size: .82rem;
  line-height: 1.4;
  padding: 10px var(--pad-x);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ff-banner a {
  color: var(--ff-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ff-banner a:hover { color: #ffd580; }
.ff-banner strong { color: #fff; font-weight: 600; }

/* ---------- Site header -------------------------------------------------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.site-logo img { height: 46px; width: auto; }
.site-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: clamp(14px, 2.2vw, 28px);
  justify-content: center;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

.header-call {
  display: flex;
  align-items: center;
  gap: 14px;
}
.call-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  text-decoration: none;
  font-size: .82rem;
  color: var(--ink-soft);
}
.call-link strong {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums lining-nums;
}
.call-link:hover strong { color: var(--gold); }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
  border-radius: var(--radius);
}
.nav-toggle:hover { color: var(--gold); }
.nav-toggle svg { display: block; width: 26px; height: 26px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
.nav-toggle__close { display: none; }

/* Tablet: wrap nav to its own row */
@media (max-width: 880px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; row-gap: 10px; }
  .site-nav { grid-column: 1 / -1; order: 3; }
  .site-nav ul { justify-content: flex-start; }
  .call-link { font-size: 0; gap: 0; }
  .call-link strong { font-size: 1rem; }
}

/* Phone: hamburger + drawer nav */
@media (max-width: 700px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    padding: 10px var(--pad-x);
    gap: 12px;
    row-gap: 0;
  }
  .site-logo { grid-column: 1; grid-row: 1; }
  .site-logo img { height: 40px; }
  .header-call { grid-column: 2; grid-row: 1; justify-self: end; }
  .nav-toggle { grid-column: 3; grid-row: 1; display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    border-top: 1px solid var(--line);
    margin: 10px calc(var(--pad-x) * -1) 0;
    padding: 4px 0;
  }
  .site-nav[data-open="true"] { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
  }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a {
    display: block;
    padding: 14px var(--pad-x);
    font-size: 1rem;
    border-bottom: 0;
  }
  .site-nav a:hover, .site-nav a[aria-current="page"] {
    border-bottom: 0;
    background: var(--cream);
  }
}

/* Phone: stack hero CTAs full-width for easy thumb taps */
@media (max-width: 500px) {
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }

  /* Tables and sticky offsets shrink with the header */
  .benefits { font-size: .9rem; }
  .benefits th, .benefits td { padding: 12px 10px; }
  .benefits th { font-size: .7rem; letter-spacing: .08em; }

  .services-nav { top: 62px; }
  .service-section { scroll-margin-top: 120px; }
  .services-nav__inner { gap: 14px; padding: 10px var(--pad-x); }

  /* Pricing labels stay above the amount */
  .pricing__tier { padding: 20px 22px; }

  /* Eyebrow + H1 tighten up */
  .page-hero { padding: 48px 0 32px; }
  .section { padding: 56px 0; }
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, color .15s ease, border-color .15s ease;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--ink);
  color: var(--white);
}
.btn--primary:hover { background: var(--ink-2); color: var(--white); }
.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover { background: #a07733; color: var(--white); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--block { display: flex; width: 100%; }

/* ---------- Layout helpers ---------------------------------------------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.prose { max-width: var(--max-prose); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .65) 0; }
.section--cream { background: var(--cream); }
.section--cream-2 { background: var(--cream-2); }
.section--sage { background: var(--sage); }
.section--ink { background: var(--ink); color: #dae1ea; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .eyebrow { color: var(--gold-soft); }

.rule {
  border: 0;
  height: 1px;
  background: var(--line-2);
  margin: 0;
}

/* ---------- Hero --------------------------------------------------------- */
.hero {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 7vw, 88px);
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 64px; }
}
.hero__kicker {
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 18px;
}
.hero__title {
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  line-height: 1.03;
  margin: 0 0 22px;
  font-variation-settings: "SOFT" 40, "WONK" 0;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.hero__sub {
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 0 30px;
}
.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero__rotator {
  font-size: .88rem;
  color: var(--ink-soft);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__rotator span::before {
  content: "•";
  color: var(--gold);
  margin-right: 8px;
  font-weight: 700;
}
.hero__media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(15,30,46,.35);
}
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
}
.hero__badge {
  position: absolute;
  left: 20px; bottom: 20px;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 4px;
  font-size: .85rem;
  line-height: 1.3;
  max-width: 240px;
  box-shadow: 0 8px 24px -12px rgba(15,30,46,.35);
}
.hero__badge strong { display: block; font-family: var(--serif); font-size: 1rem; font-weight: 500; margin-bottom: 2px; }

/* ---------- Trust strip -------------------------------------------------- */
.trust {
  background: var(--ink);
  color: #dae1ea;
}
.trust__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px var(--pad-x);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}
.trust__item {
  border-left: 1px solid rgba(255,255,255,.12);
  padding: 4px 16px;
}
.trust__item:first-child { border-left: 0; }
.trust__item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 4px;
}
.trust__item span {
  font-size: .85rem;
  color: #9fb0c3;
  letter-spacing: .02em;
}

/* ---------- Service snapshot (home) ------------------------------------- */
.snapshot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.snapshot__card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s ease, transform .15s ease;
  text-decoration: none;
}
.snapshot__card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.snapshot__card h3 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--ink);
}
.snapshot__card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
}
.snapshot__card span.read {
  margin-top: auto;
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- Two-column feature (used on home for family story) --------- */
.two-col {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 72px; }
  .two-col--reverse > :first-child { order: 2; }
}
.two-col img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 40px -24px rgba(15,30,46,.35);
}

/* ---------- Testimonial strip (home) ------------------------------------ */
.t-strip {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-top: 32px;
}
@media (min-width: 780px) { .t-strip { grid-template-columns: repeat(3, 1fr); } }
.t-strip blockquote {
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}
.t-strip blockquote p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 12px;
}
.t-strip cite {
  font-style: normal;
  font-size: .85rem;
  letter-spacing: .05em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------- Savings teaser ---------------------------------------------- */
.savings-teaser {
  background: var(--ink);
  color: #dae1ea;
  border-radius: 4px;
  padding: clamp(32px, 4vw, 56px);
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 780px) { .savings-teaser { grid-template-columns: 1.2fr 1fr; } }
.savings-teaser h2 { color: var(--white); margin: 0 0 16px; }
.savings-teaser p { color: #b9c4d1; margin: 0 0 24px; }
.savings-teaser .eyebrow { color: var(--gold-soft); }
.savings-teaser__rates {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  font-size: .92rem;
}
.savings-teaser__rates div {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 14px;
  border-radius: 3px;
}
.savings-teaser__rates strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 2px;
}
.savings-teaser__rates span { color: #9fb0c3; font-size: .82rem; }

/* ---------- Visit block (home) / contact summary ------------------------ */
.visit {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 780px) { .visit { grid-template-columns: 1fr 1fr; } }
.visit__block h3 {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 16px;
}
.visit__block address {
  font-style: normal;
  line-height: 1.6;
  font-size: 1rem;
  color: var(--ink);
}
.visit__block address a { text-decoration: none; color: inherit; }
.visit__block address a:hover { color: var(--gold); text-decoration: underline; }
.hours {
  list-style: none;
  margin: 0; padding: 0;
  font-variant-numeric: tabular-nums lining-nums;
}
.hours li {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}
.hours li:first-child { border-top: 0; }
.hours li span:last-child { color: var(--ink-soft); }
.hours li.closed span:last-child { color: var(--muted); }

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #b4c0cd;
  font-size: .92rem;
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--pad-x) 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 780px) {
  .site-footer__inner { grid-template-columns: 1.3fr 1fr 1fr; }
}
.site-footer h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 14px;
}
.site-footer a { color: #dae1ea; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer__brand p { color: #9fb0c3; max-width: 42ch; font-size: .95rem; margin-top: 10px; }
.site-footer__links ul { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { padding: 4px 0; }
.site-footer__fine {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--pad-x);
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
  color: #7f8b98;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.site-footer__fine a { color: #9fb0c3; }
.site-footer__fine a:hover { color: var(--gold-soft); }

/* ---------- Page hero (non-home) ---------------------------------------- */
.page-hero {
  background: var(--ink);
  color: #dae1ea;
  padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 4px solid var(--gold);
}
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero h1 {
  color: var(--white);
  max-width: 20ch;
  margin: 0 0 16px;
}
.page-hero p {
  max-width: 52ch;
  color: #b4c0cd;
  font-size: 1.08rem;
}

/* ---------- Services page ------------------------------------------------ */
.services-nav {
  position: sticky;
  top: 83px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  z-index: 40;
}
@media (max-width: 880px) { .services-nav { top: 125px; } }
.services-nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  font-size: .9rem;
  font-weight: 500;
}
.services-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.services-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.service-section {
  border-top: 1px solid var(--line);
  padding: var(--section) 0;
  scroll-margin-top: 160px;
}
.service-section:first-of-type { border-top: 0; }
.service-section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
@media (min-width: 900px) {
  .service-section__head { grid-template-columns: 1.4fr 1fr; gap: 48px; }
}
.service-section__head h2 { margin: 0; }
.service-section__head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }
.service-list {
  display: grid;
  gap: 2px;
  grid-template-columns: 1fr;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 780px) { .service-list { grid-template-columns: 1fr 1fr; } }
.service {
  background: var(--cream);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
}
.service p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
}
.service .badge {
  margin-top: 6px;
  display: inline-flex;
  align-self: flex-start;
  gap: 6px;
  background: var(--gold-bg);
  color: #8a641f;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Team page ---------------------------------------------------- */
.family-narrative {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.family-narrative p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink);
}
.family-narrative p em { color: var(--gold); font-style: italic; }

.team-group {
  margin-top: 56px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(15,30,46,.35);
}
.team-group img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 28%;
}

.dentist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 780px) {
  .dentist { grid-template-columns: 220px 1fr; gap: 48px; }
}
.dentist:first-child { border-top: 0; padding-top: 0; }
.dentist__photo {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 24px -12px rgba(15,30,46,.35);
}
.dentist__body h3 {
  margin: 0 0 4px;
  font-size: 1.5rem;
}
.dentist__body .credential {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 14px;
}
.dentist__body .meta {
  font-size: .88rem;
  color: var(--muted);
  margin: 0 0 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.dentist__body .meta span::before {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--line-2);
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-2px);
}
.dentist__body .meta span:first-child::before { display: none; }

/* ---------- Savings page ------------------------------------------------- */
.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 680px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .pricing { grid-template-columns: repeat(4, 1fr); } }
.pricing__tier {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 24px;
  border-radius: 4px;
  text-align: left;
}
.pricing__tier--feature {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-bg);
}
.pricing__tier .label {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 12px;
}
.pricing__tier .amount {
  font-family: var(--serif);
  font-size: 2.3rem;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ink);
  margin: 0 0 6px;
}
.pricing__tier .amount sup {
  font-size: 1rem;
  top: -0.9em;
  margin-right: 2px;
  color: var(--ink-soft);
}
.pricing__tier .per {
  font-family: var(--sans);
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}

.benefits {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: .98rem;
  background: var(--white);
  border: 1px solid var(--line);
}
.benefits th, .benefits td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.benefits th {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  background: var(--cream-2);
}
.benefits tr:last-child td { border-bottom: 0; }
.benefits .was { color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums lining-nums; }
.benefits .now { font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums lining-nums; }
.benefits caption {
  caption-side: bottom;
  padding-top: 12px;
  font-size: .82rem;
  color: var(--muted);
  text-align: left;
}

.fine-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.fine-list li {
  font-size: .92rem;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.fine-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}

/* ---------- Contact page ------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; }
}
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(24px, 3vw, 40px);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (min-width: 680px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form label {
  display: block;
  font-size: .82rem;
  letter-spacing: .04em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form input, .form textarea {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--line-2);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  border-radius: 3px;
  transition: border-color .15s ease, background .15s ease;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form textarea { min-height: 140px; resize: vertical; }
.form__note {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.5;
}
.map-wrap {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-top: 24px;
  background: var(--sage);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Testimonials page ------------------------------------------- */
.testimonials {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .testimonials { grid-template-columns: 1fr 1fr; } }
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(28px, 3vw, 44px);
  position: relative;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 8px; left: 18px;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: .28;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
}
.testimonial cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Accessibility doc page -------------------------------------- */
.doc {
  max-width: 720px;
  margin: 0 auto;
}
.doc h2 { margin-top: 2em; }
.doc p { color: var(--ink-soft); }
.doc .updated {
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

/* ---------- Utility ------------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
