/* Ridgeline Collision & Auto Body — main stylesheet */
:root {
  --accent: #FF5A1F;
  --accent-dark: #B23A0A;
  --ink: #15171A;
  --black: #0E1013;
  --blacker: #0A0B0D;
  --panel: #171A1F;
  --line-dark: #2A2F36;
  --line-dark-2: #3A4048;
  --paper: #F6F5F2;
  --white: #FFFFFF;
  --line: #E4E2DC;
  --muted: #A9B0BA;
  --muted-2: #B9C0CA;
  --muted-dark: #4A5059;
  --radius: 16px;
  --font-head: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #111; padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 860px; }
.stack { display: flex; flex-direction: column; gap: 48px; }
.center { text-align: center; }
.small { font-size: 13px; }
.muted { color: var(--muted); font-weight: 400; }
.muted-dark { color: var(--muted-dark); margin-top: 10px; }
.accent { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 56px; padding: 0 28px; border-radius: 12px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: #111; }
.btn--accent:hover { background: #FF7240; }
.btn--ghost { background: transparent; color: #fff; border-color: var(--line-dark-2); font-weight: 600; }
.btn--ghost:hover { border-color: #5A626C; }
.btn--dark { background: var(--ink); color: #fff; font-weight: 600; }
.btn--black { background: #111; color: #fff; }
.btn--outline-black { border: 2px solid #111; color: #111; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link { font-weight: 600; color: var(--accent-dark); text-decoration: none; }
.link:hover { text-decoration: underline; }
.link--accent { color: var(--accent); }
.strong-link { color: #fff; font-weight: 600; }

.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--accent-dark); margin-bottom: 14px; }
.eyebrow--accent { color: var(--accent); }
.eyebrow--dark { color: var(--muted-dark); margin: 0; letter-spacing: 1.5px; }

/* Utility bar */
.utility { background: var(--blacker); color: #C9CED6; font-size: 14px; }
.utility__row { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.utility__info { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.utility__tow { color: #fff; font-weight: 600; }
.utility__tow a { color: var(--accent); text-decoration: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(14, 16, 19, .97); border-bottom: 1px solid #23272D; backdrop-filter: blur(8px); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo__mark { width: 44px; height: 44px; border-radius: 10px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong { font-family: var(--font-head); font-weight: 900; font-size: 20px; letter-spacing: .5px; }
.logo__text small { white-space: nowrap; font-size: 11px; color: var(--muted); letter-spacing: 2px; }
.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a { color: #E6E8EC; text-decoration: none; padding: 6px 0; }
.nav a:hover { color: var(--accent); }
.header__cta { display: flex; gap: 10px; }
.menu-btn { display: none; background: transparent; border: 1px solid var(--line-dark-2); color: #fff; width: 48px; height: 48px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }

/* Hero */
.hero { background: var(--black); color: #fff; }
.hero__row { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 72px; padding-bottom: 64px; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding-top: 12px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #343A42; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 1px; color: #D7DBE1; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .15); }
.hero h1 { font-weight: 900; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -1.5px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted-2); max-width: 560px; }
.lead--dark { color: var(--muted-dark); font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding-top: 28px; border-top: 1px solid #23272D; max-width: 600px; }
.stats dt { font-family: var(--font-head); font-weight: 800; font-size: 34px; }
.stats dd { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* Booking card */
.book { flex: 1 1 400px; max-width: 480px; min-width: 0; background: var(--panel); border: 1px solid var(--line-dark); border-radius: 20px; padding: 32px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.book__form { display: flex; flex-direction: column; gap: 18px; }
.book h2 { font-weight: 800; font-size: 26px; margin-bottom: 6px; }
.book fieldset { border: 0; margin: 0; padding: 0; }
.book legend { font-size: 14px; font-weight: 600; color: #D7DBE1; padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; background: transparent; color: #E6E8EC; border: 1px solid var(--line-dark-2); transition: background-color .15s, border-color .15s; }
.chip:hover { border-color: #5A626C; }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: #111; }
.field-row { display: flex; flex-wrap: wrap; gap: 12px; }
.field-row label { flex: 1 1 160px; }
.book label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #D7DBE1; }
.book input:not([type=checkbox]) { height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid #343A42; background: var(--black); color: #fff; font-size: 16px; color-scheme: dark; width: 100%; }
.book input::placeholder { color: #6E7681; }
.book input.file { height: auto; padding: 12px; border-style: dashed; border-color: #434A54; font-size: 14px; color: #C9CED6; }
.book input[aria-invalid="true"] { border-color: #FF6B6B; }
.book .check { flex-direction: row; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.form-error { color: #FF9C9C; font-size: 14px; }
.book__thanks { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; padding: 24px 0; }
.book__thanks[hidden], .book__form[hidden] { display: none; }
.book__thanks p { font-size: 16px; line-height: 1.6; color: var(--muted-2); }
.book__thanks strong { color: #fff; }
.thanks__icon { width: 56px; height: 56px; border-radius: 50%; background: #173A26; display: flex; align-items: center; justify-content: center; }
.book__thanks h2 { font-size: 28px; }

.hero__banner { padding-bottom: 88px; }
.banner { position: relative; margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-dark); }
.banner img { width: 100%; height: auto; aspect-ratio: 1200 / 520; object-fit: cover; }
.banner__tags { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.banner__tags span { padding: 10px 16px; border-radius: 999px; background: var(--black); border: 1px solid #343A42; font-size: 14px; font-weight: 600; }

/* Trust strip */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__row { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.trust__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 14px; flex: 1 1 560px; }
.trust__list li { padding: 10px 16px; border: 1px solid #DAD7D0; border-radius: 8px; font-weight: 700; font-size: 14px; color: #2A2E34; }

/* Sections */
.section { padding: 104px 0; }
.section--dark { background: var(--black); color: #fff; }
.section--white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-weight: 900; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.8px; }
.section__head { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-end; }
.section__head > div:first-child { max-width: 640px; }
.section__intro { display: flex; flex-direction: column; gap: 0; max-width: 720px; }
.section__intro .lead { margin-top: 14px; }
.section__intro.center { align-self: center; align-items: center; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(21, 23, 26, .08); }
.card h3 { font-weight: 800; font-size: 22px; }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted-dark); }
.card .link { margin-top: auto; }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: #FFE9DF; color: var(--accent-dark); display: flex; align-items: center; justify-content: center; }
.card--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.card--dark p { color: var(--muted-2); }
.card__icon--accent { background: var(--accent); color: #111; }

/* Before / after */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.ba { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ba__photo { position: relative; padding: 0; border: 2px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #141619; aspect-ratio: 4 / 3; transition: border-color .2s; }
.ba__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.ba.is-after .ba__photo { border-color: var(--accent); }
.ba__badge { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; background: #fff; color: #111; }
.ba.is-after .ba__badge { background: var(--accent); }
.ba__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ba__meta strong { display: block; font-size: 17px; }
.ba__meta small { font-size: 14px; color: var(--muted); }
.toggle { display: flex; border: 1px solid #343A42; border-radius: 999px; padding: 3px; flex-shrink: 0; }
.toggle__btn { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer; background: transparent; color: #C9CED6; }
.toggle__btn.is-on { background: #fff; color: #111; }
.ba.is-after .toggle__btn.is-on { background: var(--accent); }
.cta-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 28px 32px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--panel); font-size: 19px; font-weight: 600; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps__num { font-family: var(--font-head); font-weight: 900; font-size: 44px; color: var(--accent-dark); line-height: 1; }
.steps h3 { font-weight: 800; font-size: 20px; }
.steps p { font-size: 16px; line-height: 1.6; color: var(--muted-dark); }

/* Insurance */
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split__main { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.split__main .eyebrow { margin: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 3px; width: 18px; height: 10px; border-left: 3px solid #1F7A45; border-bottom: 3px solid #1F7A45; transform: rotate(-45deg); }
.certified { flex: 1 1 420px; min-width: 0; background: var(--paper); border-radius: 20px; padding: 36px; }
.certified h3 { font-weight: 800; font-size: 26px; margin-bottom: 22px; }
.certified dl { margin: 0; }
.certified dt { font-weight: 700; font-size: 16px; }
.certified dd { margin: 4px 0 18px; font-size: 15px; line-height: 1.6; color: var(--muted-dark); }
.certified dd:last-child { margin-bottom: 0; }
.certified a { color: var(--accent-dark); font-weight: 600; }

/* Reviews */
.rating { display: flex; align-items: center; gap: 16px; padding: 16px 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.rating__num { font-family: var(--font-head); font-weight: 900; font-size: 40px; }
.rating small { display: block; font-size: 14px; color: var(--muted-dark); }
.stars { color: #C2410C; font-size: 18px; letter-spacing: 2px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.review figcaption { margin-top: auto; font-size: 14px; color: var(--muted-dark); }
.review figcaption strong { color: var(--ink); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--accent-dark); flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { padding: 0 4px 22px; font-size: 16px; line-height: 1.65; color: var(--muted-dark); }

/* Final CTA */
.final-cta { background: var(--accent); color: #111; }
.final-cta__row { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.final-cta h2 { font-weight: 900; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.6px; max-width: 640px; }
.final-cta p { font-size: 18px; margin-top: 10px; }

/* Visit */
.visit { background: var(--black); color: #fff; padding: 88px 0; }
.visit__row { display: flex; flex-wrap: wrap; gap: 40px; }
.visit__info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.visit__info h2 { font-weight: 900; font-size: 38px; }
.visit__info > div { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--muted); }
address { font-style: normal; font-size: 17px; line-height: 1.5; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; margin: 0; font-size: 16px; max-width: 340px; }
.hours dd { margin: 0; }
.contact-link { font-size: 17px; color: #fff; text-decoration: none; }
.contact-link.strong { font-weight: 600; }
.contact-link:hover { color: var(--accent); }
.visit__map { flex: 2 1 520px; min-width: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-dark); display: block; }
.visit__map img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }

/* Warranty */
.warranty { background: var(--blacker); color: #C9CED6; padding: 56px 0; border-bottom: 1px solid #1C1F24; }
.warranty h2 { color: #fff; font-size: 22px; margin-bottom: 12px; }
.warranty p { font-size: 15px; line-height: 1.7; }

/* Footer */
.footer { background: var(--blacker); color: var(--muted); font-size: 14px; }
.footer__row { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { color: #C9CED6; text-decoration: none; }
.footer a:hover { color: var(--accent); }

/* Mobile sticky action bar */
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--black); border-bottom: 1px solid #23272D; padding: 8px 24px 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #1E2227; font-size: 17px; }
  .header__row { position: relative; }
  .header__cta { margin-left: auto; }
}
@media (max-width: 720px) {
  .utility__info span:last-child { display: none; }
  .header__cta { display: none; }
  .hero__row { padding-top: 44px; gap: 40px; }
  .book { padding: 24px; max-width: none; }
  .stats dt { font-size: 26px; }
  .banner__tags { position: static; padding: 16px; background: var(--panel); }
  .banner { border-radius: 16px; }
  .section { padding: 72px 0; }
  .cta-bar { padding: 22px; }
  .ba__meta { flex-wrap: wrap; }
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(14, 16, 19, .97); border-top: 1px solid #23272D; }
  .mobile-bar .btn { flex: 1; min-height: 50px; }
  body { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
