/* =====================================================================
 * COLLISION REPAIR PAGE ONLY (/collision-repair/) — photo layout, Nov 12, 2026.
 * Linked only from the Collision Repair page component (src/pages/services.tsx,
 * CollisionPage). The shared stylesheet (app.*.css) and every other page are unchanged.
 * Palette: ink #121418 · charcoal #292B2D · warm grey #5B544E · line #E8DDD1 ·
 * border #D2D2CF · ivory #F5F3EF · panel #FFFCF8 · gold #C98A3C (accents only)
 * ===================================================================== */

/* ---- Section intro (eyebrow + heading + lead) ---- */
.cr-eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #b8b8b8; }
.cr-eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: #c98a3c; }
.cr-h2 { margin: .9rem 0 0; font-family: "Inter Display", "Inter", ui-sans-serif, system-ui, sans-serif; font-weight: 700; font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.4rem); line-height: 1.12; letter-spacing: -.022em; color: #ffffff; }
.cr-lead { margin: 1rem 0 0; max-width: 40rem; font-size: 1.0625rem; line-height: 1.7; color: #b8b8b8; text-wrap: pretty; }
@media (min-width: 640px) { .cr-lead { font-size: 1.125rem; } }

/* ---- 1. What collision repair includes: 2 x 2 service grid ---- */
.cr-services { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; gap: 2.25rem; }
@media (min-width: 768px) { .cr-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; } }
.cr-services > li { border-top: 1px solid #d2d2cf; padding-top: 1.25rem; }
.cr-services h3 { margin: 0; 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; }
.cr-services p { margin: .6rem 0 0; font-size: 1rem; line-height: 1.7; color: #e6e6e6; }
.cr-services a { color: #ffffff; font-weight: 500; text-decoration: underline; text-decoration-color: #c98a3c; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.cr-services a:hover { text-decoration-thickness: 2px; }

/* ---- Photo story: three real repairs in progress ---- */
.cr-story { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid #d2d2cf; }
@media (min-width: 1024px) { .cr-story { margin-top: 5rem; } }
.cr-story__head { display: grid; gap: .25rem; }
@media (min-width: 1024px) { .cr-story__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 3rem; } .cr-story__head .cr-lead { margin: 0; justify-self: end; max-width: 30rem; } }
.cr-gallery { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: 2rem; }
@media (min-width: 640px) and (max-width: 1023.98px) {
  .cr-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .cr-gallery > li:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) { .cr-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; } }

/* ---- Figures (shared by the gallery and the inspection section) ---- */
.cr-fig { margin: 0; }
.cr-fig__frame { position: relative; overflow: hidden; border-radius: 6px; border: 1px solid #d2d2cf; background: #000000; aspect-ratio: 3 / 2; }
.cr-fig__frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cr-fig figcaption { margin-top: .9rem; font-size: .9375rem; line-height: 1.55; color: #b8b8b8; }
.cr-fig__step { display: block; margin-bottom: .25rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ffffff; }

/* ---- 2. Why the first inspection matters: photo beside text ---- */
.cr-inspect { display: grid; gap: 2.5rem; grid-template-areas: "media" "text" "cta"; }
.cr-inspect__media { grid-area: media; } .cr-inspect__text { grid-area: text; } .cr-inspect__cta { grid-area: cta; }
@media (min-width: 1024px) {
  .cr-inspect { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "media text" "cta text"; grid-template-rows: auto 1fr; column-gap: 4rem; row-gap: 2rem; align-items: start; }
}
.cr-inspect .prose-ss { max-width: 40rem; }
.cr-cta { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem 1.375rem; border: 1px solid #d2d2cf; border-radius: 6px; background: #000000; }
@media (min-width: 640px) { .cr-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 1.5rem; } }
.cr-cta p { margin: 0; font-size: 1rem; line-height: 1.55; color: #ffffff; font-weight: 500; }
.cr-cta .btn { flex: none; }

/* Nov 30: "What Collision Repair Includes" intro as one centered block */
.cr-intro { max-width: 46rem; margin-inline: auto; text-align: center; }
.cr-intro .cr-eyebrow { justify-content: center; }
.cr-intro .cr-lead { margin-inline: auto; }
