/* =====================================================================
 * DENT & SCRATCH REMOVAL PAGE ONLY (/dent-repair/), Nov 18, 2026 (revision r2, final QC).
 * Linked only from this page's body (src/pages/services.tsx, `dentPage`). Every class starts with
 * "dr-", so nothing on another page can match it. The shared stylesheet (app.*.css) is unchanged.
 * Brand palette only (no accent color): ivory #F5F3EF · silver-gray #E8E7E3 · cool silver #E2E3E4 ·
 * charcoal #292B2D · graphite #696B6D · border gray #D2D2CF.
 * ===================================================================== */
.dr-fig { margin: 2rem 0 0; }
.dr-fig__frame { position: relative; overflow: hidden; border-radius: 6px; border: 1px solid #d2d2cf; background: #000000; }
.dr-fig__frame--wide { aspect-ratio: 16 / 9; }
.dr-fig__frame--std { aspect-ratio: 4 / 3; }
.dr-fig__frame picture, .dr-fig__frame img { display: block; width: 100%; height: 100%; }
.dr-fig__frame img { object-fit: cover; }
.dr-fig figcaption { margin-top: .85rem; font-size: .9375rem; line-height: 1.55; color: #b8b8b8; }
.dr-fig__label { display: block; margin-bottom: .25rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ffffff; }

/* Two photos side by side from 640 px; stacked on phones */
.dr-pair { display: grid; gap: 1.75rem; margin-top: 2rem; }
.dr-pair .dr-fig { margin-top: 0; }
@media (min-width: 640px) { .dr-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }

/* Spacing for a paragraph or block that follows a list (shared prose styles only space p + p) */
.prose-ss ul + p { margin-top: 1rem; }

/* Paintless vs. conventional: two method cards, side by side from 640 px */
.dr-methods { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .dr-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dr-method { padding: 1.25rem 1.25rem 1.35rem; border: 1px solid #d2d2cf; border-top: 3px solid #292b2d; border-radius: 8px; background: #000000; }
.dr-method--pdr { border-top-color: #696b6d; }
.prose-ss .dr-method p { margin: 0; }
.prose-ss .dr-method .dr-method__title { font-family: "Inter Display", "Inter", ui-sans-serif, system-ui, sans-serif; font-weight: 600; font-size: 1.1rem; line-height: 1.3; color: #ffffff; }
.dr-method dl { margin: .85rem 0 0; }
.dr-method dt { margin-top: .7rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ffffff; }
.dr-method dt:first-child { margin-top: 0; }
.dr-method dd { margin: .2rem 0 0; font-size: .9688rem; line-height: 1.55; color: #b8b8b8; }
.prose-ss .dr-methods + p { margin-top: 1.25rem; }

/* Scratch depth: three rows, label + explanation */
.dr-depth { margin: 1.25rem 0 0; border: 1px solid #d2d2cf; border-radius: 8px; background: #000000; overflow: hidden; }
.dr-depth__row { display: grid; gap: .25rem; padding: .95rem 1.25rem; }
.dr-depth__row + .dr-depth__row { border-top: 1px solid #d2d2cf; }
@media (min-width: 640px) { .dr-depth__row { grid-template-columns: 11rem minmax(0, 1fr); gap: 1.25rem; } }
.dr-depth dt { font-weight: 600; color: #ffffff; font-size: .9688rem; line-height: 1.5; }
.dr-depth dd { margin: 0; color: #b8b8b8; font-size: .9688rem; line-height: 1.55; }
.prose-ss .dr-depth + p { margin-top: 1.25rem; }

/* "Send us photos" prompt: links to the existing estimate form; no form on this page */
.dr-cta { margin-top: 2rem; padding: 1.5rem; border: 1px solid #d2d2cf; border-left: 3px solid #292b2d; border-radius: 8px; background: #000000; }
@media (min-width: 640px) { .dr-cta { padding: 1.75rem 2rem; } }
.prose-ss .dr-cta p { margin: 0; }
.prose-ss .dr-cta .dr-cta__title { font-family: "Inter Display", "Inter", ui-sans-serif, system-ui, sans-serif; font-weight: 600; font-size: 1.2rem; line-height: 1.3; color: #ffffff; }
.prose-ss .dr-cta .dr-cta__text { margin-top: .5rem; font-size: 1rem; line-height: 1.65; color: #e6e6e6; }
.dr-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
/* Keep the site's standard button look inside the page text (prose link styles would otherwise underline them) */
.prose-ss .dr-cta a.btn { text-decoration: none; font-weight: 600; }
.prose-ss .dr-cta a.btn-primary { color: #fff; }
.prose-ss .dr-cta a.btn-ghost { color: #292b2d; }
@media (max-width: 420px) { .dr-cta__actions a.btn { flex: 1 1 100%; } }
