.dentist-page {
  --d-ink: #193d36;
  --d-muted: #65716a;
  --d-paper: #fafbf7;
  --d-line: #dce1d7;
  --d-lime: #e0efab;
  background: var(--d-paper);
}
.dentist-page main { font-family: "DM Sans", var(--font-body); color: var(--d-ink); }
.dentist-page main h1, .dentist-page main h2, .dentist-page main h3 { font-family: "DM Sans", var(--font-body); color: var(--d-ink); font-weight: 500; letter-spacing: -.045em; }
.dentist-page main h2 { font-size: clamp(2rem, 3.3vw, 3.35rem); line-height: 1.12; }
.dentist-page main em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.dentist-page main p { color: var(--d-muted); }
.dentist-page main .btn { background: var(--d-ink); border-color: var(--d-ink); border-radius: 999px; font-family: inherit; gap: 1rem; padding: .9rem 1.5rem; font-size: .95rem; min-height: 52px; }
.dentist-page main .btn:hover { background: #2e594b; }
.dentist-page main .btn--light { background: var(--d-lime); color: var(--d-ink); border-color: var(--d-lime); }
.dentist-page main .btn--light:hover { background: #edf9c9; }
.dentist-page main a:focus-visible, .dentist-page main summary:focus-visible { outline-color: var(--d-ink); }
.dentist-page main [id] { scroll-margin-top: 110px; }
.dentist-page .wrap { max-width: 1376px; }
.d-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.d-eyebrow { display: block; font-size: .8rem; line-height: 1.5; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.25rem; }
.d-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.d-skip { position: fixed; top: 1rem; left: 1rem; transform: translateY(-200%); padding: .7rem 1rem; background: var(--d-lime); color: var(--d-ink); z-index: 1000; }
.d-skip:focus { transform: none; }
.d-hero { padding: 1.7rem 0 2.8rem; }
.d-hero .breadcrumb { margin-bottom: 1.7rem; }
.d-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(2rem, 4.5vw, 5rem); }
.d-hero__copy { padding-block: 1.4rem; }
.d-hero h1 { font-size: clamp(2.7rem, 4.8vw, 4.6rem); line-height: 1.07; margin-bottom: 1.7rem; }
.d-hero h1 em { font-size: 1.08em; }
.d-hero__intro { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.8; max-width: 44ch; }
.d-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin-top: 1.8rem; }
.d-text-link { display: inline-flex; align-items: center; gap: .7rem; font-size: .95rem; font-weight: 500; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; }
.d-hero__phone { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid var(--d-line); max-width: 440px; display: flex; align-items: center; gap: .8rem; font-size: .9rem; }
.d-hero__phone a { color: var(--d-ink); text-decoration: underline; text-underline-offset: 4px; }
.d-hero__photo { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 1 / 1.08; }
.d-hero__photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.d-hero__photo::after { content: ""; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent, #102e2899); pointer-events: none; }
.d-hero__photo figcaption { position: absolute; left: 1.7rem; bottom: 1.5rem; right: 1.5rem; color: white; z-index: 1; font-size: .78rem; letter-spacing: .1em; }
.d-assurances { border-top: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); }
.d-assurances ul { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 1.3rem; gap: 1rem; }
.d-assurances li { display: flex; align-items: center; gap: .8rem; justify-content: center; font-size: .93rem; }
.d-assurances li + li { border-left: 1px solid var(--d-line); }
.d-section-head { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 3rem; margin-bottom: 2.8rem; }
.d-section-head > p { max-width: 42ch; justify-self: end; font-size: 1.05rem; line-height: 1.8; }
.d-treatment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.5rem; }
.d-treatment { padding: 1.75rem 0 2rem; border-top: 1px solid var(--d-line); }
.d-treatment__photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; margin-bottom: 1.35rem; background: #eff0e7; }
.d-treatment__number { font-size: .85rem; color: var(--d-muted); margin-bottom: 1rem; display: block; }
.d-treatment h3 { font-size: 1.45rem; line-height: 1.22; margin-bottom: .8rem; overflow-wrap: anywhere; hyphens: auto; }
.d-treatment p { font-size: 1rem; line-height: 1.8; }
.d-treatment a { display: inline-block; text-decoration: underline; text-underline-offset: 4px; font-size: .9rem; margin-top: .9rem; }
.d-treatment-note { border-top: 1px solid var(--d-line); padding-top: 1.5rem; max-width: 76ch; font-size: .9rem; }
.d-urgent { background: var(--d-ink); color: var(--d-paper); border-radius: 22px; padding: clamp(1.7rem, 3.5vw, 3.3rem); display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
.dentist-page .d-urgent h2 { color: var(--d-paper); font-size: clamp(1.9rem, 3vw, 2.8rem); margin-bottom: 1rem; }
.dentist-page .d-urgent p { color: #e1e8df; line-height: 1.8; }
.d-urgent__action { border-left: 1px solid #ffffff35; padding-left: 2.5rem; }
.d-urgent .d-eyebrow { color: var(--d-lime); }
.d-urgent__action .btn { margin-bottom: 1.1rem; }
.d-urgent__action p { font-size: .9rem; }
.d-urgent__action .d-urgent__safety { margin-top: .8rem; font-size: .83rem; }
.d-approach { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.d-approach__photo { border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1.13; }
.d-approach__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.d-approach__copy > p { margin-top: 1.3rem; line-height: 1.8; }
.d-care-list { margin-top: 1.8rem; }
.d-care-list li { padding: 1rem 0; border-top: 1px solid var(--d-line); display: grid; grid-template-columns: 28px 1fr; gap: .75rem; }
.d-care-list strong { display: block; font-size: 1.03rem; font-weight: 500; margin-bottom: .3rem; }
.d-care-list p { font-size: .96rem; }
.d-soft { background: #eff0e7; }
.d-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; counter-reset: appointment; }
.d-steps li { border-top: 1px solid #c6cdbf; padding-top: 1.4rem; counter-increment: appointment; }
.d-steps li::before { content: "0" counter(appointment); display: block; font-family: "Instrument Serif", Georgia, serif; font-size: 2.8rem; line-height: 1.1; margin-bottom: 1.2rem; }
.d-steps h3 { font-size: 1.35rem; margin-bottom: .8rem; }
.d-steps p { font-size: 1rem; line-height: 1.8; }
.d-costs { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.d-costs__copy > p { margin-top: 1.3rem; line-height: 1.8; }
.d-costs__notes { padding: 2rem; border: 1px solid var(--d-line); border-radius: 18px; background: #fff; }
.d-costs__notes li + li { border-top: 1px solid var(--d-line); margin-top: 1.25rem; padding-top: 1.25rem; }
.d-costs__notes strong { display: block; font-size: 1.04rem; font-weight: 500; margin-bottom: .45rem; }
.d-costs__notes p { font-size: .98rem; }
.d-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; }
.d-faq__intro p { margin: 1.3rem 0 1rem; max-width: 34ch; }
.d-faq details { border-bottom: 1px solid var(--d-line); }
.d-faq details:first-child { border-top: 1px solid var(--d-line); }
.d-faq summary { list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative; font-size: 1.08rem; line-height: 1.5; font-weight: 500; }
.d-faq summary::-webkit-details-marker { display: none; }
.d-faq summary::after { content: "+"; position: absolute; top: 1.25rem; right: .35rem; font-size: 1.5rem; font-weight: 400; }
.d-faq details[open] summary::after { content: "−"; }
.d-faq__answer { padding: 0 1.75rem 1.35rem 0; font-size: 1rem; line-height: 1.8; }
.d-faq__answer a { color: var(--d-ink); text-decoration: underline; text-underline-offset: 4px; }
.d-visit { display: grid; grid-template-columns: .8fr 1.2fr; border-radius: 24px; overflow: hidden; background: #eff0e7; }
.d-visit__photo { width: 100%; height: 100%; max-height: 640px; min-height: 420px; object-fit: cover; object-position: 50% 62%; }
.d-visit__copy { padding: clamp(1.8rem, 4vw, 4rem); }
.d-visit__copy > p { margin-top: 1.2rem; line-height: 1.8; }
.d-visit address { font-style: normal; font-size: 1rem; line-height: 1.8; padding-top: 1.5rem; }
.d-visit__contact { display: flex; flex-wrap: wrap; gap: .7rem 1.3rem; margin-top: 1rem; font-size: .98rem; }
.d-visit__contact a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1050px) {
  .d-hero__grid { gap: 2rem; }
  .d-hero h1 { font-size: clamp(2.6rem, 4.7vw, 4rem); }
  .d-costs, .d-faq { gap: 2.5rem; }
  .d-treatment-grid { column-gap: 1.5rem; }
  .d-treatment h3 { font-size: 1.25rem; }
}
@media (max-width: 800px) {
  .d-hero__grid, .d-section-head, .d-approach, .d-costs, .d-faq, .d-urgent, .d-visit { grid-template-columns: 1fr; }
  .d-hero h1 { font-size: clamp(2.65rem, 7.4vw, 4rem); }
  .d-hero__intro { max-width: 55ch; }
  .d-hero__photo { aspect-ratio: 1.3; max-height: 540px; }
  .d-hero__copy { padding-block: .75rem 0; }
  .d-assurances ul { grid-template-columns: 1fr; gap: .9rem; }
  .d-assurances li { justify-content: start; }
  .d-assurances li + li { border: 0; }
  .d-section-head { gap: 1.25rem; }
  .d-section-head > p { max-width: 56ch; justify-self: start; }
  .d-treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d-urgent { gap: 1.6rem; }
  .d-urgent__action { border-left: 0; border-top: 1px solid #ffffff35; padding: 1.5rem 0 0; }
  .d-approach__photo { aspect-ratio: 1.3; max-height: 540px; }
  .d-steps { gap: 1.5rem; }
  .d-faq { gap: 2rem; }
  .d-visit__photo { min-height: 0; height: 320px; }
}
@media (max-width: 520px) {
  .d-hero { padding-top: 1.1rem; }
  .d-hero .breadcrumb { margin-bottom: 1.25rem; }
  .d-treatment-grid, .d-steps { grid-template-columns: 1fr; }
  .d-treatment h3 { font-size: 1.45rem; }
  .d-treatment { padding-block: 1.4rem; }
  .d-costs__notes { padding: 1.4rem; }
  .d-visit__copy { padding: 1.65rem 1.35rem; }
  .d-actions { gap: .8rem 1.2rem; }
  .d-section-head { margin-bottom: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.dentist-page) { scroll-behavior: auto; }
}
