/* O'Keeffe's Collision — site styles. Colors pulled from the shop's own metal lobby sign
   (black plate + red rule) and the maroon storefront awnings. */
:root {
  --ink: #0d0d0f;
  --char: #16171a;
  --panel: #1e1f23;
  --line: rgba(255, 255, 255, .10);
  --bone: #f5f2ed;
  --paper: #ffffff;
  --text: #1a1a1d;
  --muted: #5b5d63;
  --muted-d: #a9abb1;
  --red: #e0242f;
  --red-deep: #b8141e;
  --maroon: #5e1a2a;
  --radius: 14px;
  --wrap: 1180px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.02; margin: 0; letter-spacing: .005em; }
h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.55rem; font-weight: 700; text-transform: uppercase; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: 1rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--red); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: 1.15rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: 15px 26px; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  min-height: 52px;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- top bar + nav ---------- */
.topbar {
  background: var(--ink); color: var(--muted-d); font-size: .92rem;
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; }
.topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 16px; height: 16px; color: var(--red); }
.topbar a { text-decoration: none; color: #fff; font-weight: 600; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 15, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: #fff; line-height: 1; }
.logo .name { font-family: var(--head); font-weight: 800; font-size: 1.85rem; letter-spacing: .01em; }
.logo .rule { width: 100%; height: 3px; background: var(--red); margin: 4px 0 4px; border-radius: 2px; }
.logo .sub { font-family: var(--head); font-weight: 600; font-size: .78rem; letter-spacing: .52em; color: #d6d7da; padding-left: .1em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) {
  font-family: var(--head); font-weight: 600; font-size: 1.08rem; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; color: #d6d7da; transition: color .2s;
}
.nav-links a:not(.btn):hover { color: #fff; }
.nav .btn { padding: 11px 18px; min-height: 46px; font-size: 1.05rem; }
.menu-btn { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }
.menu-btn svg { width: 28px; height: 28px; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; background: var(--ink);
  min-height: min(88vh, 860px); display: flex; align-items: flex-end; overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 12, .92) 0%, rgba(10, 10, 12, .72) 42%, rgba(10, 10, 12, .15) 100%),
    linear-gradient(0deg, rgba(10, 10, 12, .85) 0%, rgba(10, 10, 12, 0) 45%);
}
.hero .wrap { position: relative; z-index: 2; padding: 120px 0 72px; }
.hero h1 {
  font-size: clamp(3rem, 7.2vw, 5.9rem); font-weight: 800; text-transform: uppercase;
  max-width: 940px; margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--red); display: block; }
.hero p.sub { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #e2e3e6; max-width: 560px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--head); font-weight: 600; font-size: 1.08rem; letter-spacing: .06em; text-transform: uppercase;
}
.chips svg { width: 20px; height: 20px; color: var(--red); flex: none; }

/* ---------- trust band ---------- */
.band { background: var(--red); color: #fff; }
.band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.band .item { padding: 26px 22px; display: flex; gap: 14px; align-items: center; border-left: 1px solid rgba(255, 255, 255, .22); }
.band .item:first-child { border-left: 0; padding-left: 0; }
.band svg { width: 34px; height: 34px; flex: none; }
.band strong { display: block; font-family: var(--head); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.band span { font-size: .95rem; opacity: .9; line-height: 1.3; display: block; }

/* ---------- sections ---------- */
section { padding: 104px 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.sec-head p { margin: 0; }
.dark { background: var(--ink); color: #fff; }
.dark .lead, .dark p { color: var(--muted-d); }
.paper { background: var(--paper); }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  background: var(--paper); border-radius: var(--radius); padding: 34px 30px 30px;
  border: 1px solid rgba(0, 0, 0, .07); position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 56px; background: var(--red); transition: width .3s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc:hover::before { width: 100%; }
.svc .ic { width: 52px; height: 52px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.svc .ic svg { width: 28px; height: 28px; }
.svc h3 { margin-bottom: 10px; }
.svc p { color: var(--muted); margin: 0; font-size: 1.02rem; }

/* insurance split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.3; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; padding: 0; margin: 34px 0 34px; display: grid; gap: 22px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.steps li::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-family: var(--head); font-weight: 800; font-size: 1.5rem; color: #fff;
  width: 52px; height: 52px; border-radius: 50%; background: var(--red); display: grid; place-items: center;
}
.steps strong { display: block; font-family: var(--head); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.steps span { color: var(--muted-d); font-size: 1.02rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; position: relative; background: #ddd; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
  color: #fff; font-family: var(--head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 1rem;
}
.g1 { grid-column: span 7; grid-row: span 4; }
.g2 { grid-column: span 5; grid-row: span 2; }
.g3 { grid-column: span 5; grid-row: span 2; }
.g4 { grid-column: span 4; grid-row: span 3; }
.g5 { grid-column: span 4; grid-row: span 3; }
.g6 { grid-column: span 4; grid-row: span 3; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 5, 6, .94); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; border-radius: 8px; }
.lightbox button { position: absolute; top: 18px; right: 18px; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.lightbox button svg { width: 24px; height: 24px; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.fact { background: var(--bone); border-radius: 12px; padding: 18px; }
.fact strong { display: block; font-family: var(--head); font-size: 1.9rem; font-weight: 800; line-height: 1; color: var(--ink); }
.fact span { font-size: .92rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 6px; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.stars { display: flex; gap: 3px; color: #ffb703; margin-bottom: 16px; }
.stars svg { width: 20px; height: 20px; }
.stars .part { display: inline-block; width: 12px; overflow: hidden; }
.qmark { width: 34px; height: 26px; color: var(--red); margin-bottom: 16px; }
.review blockquote { margin: 0 0 20px; color: #e8e9ec; font-size: 1.06rem; flex: 1; }
.review cite { font-style: normal; font-family: var(--head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.review cite small { display: block; font-family: var(--body); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted-d); font-size: .88rem; margin-top: 2px; }
.rating-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; color: var(--muted-d); }
.rating-line b { font-family: var(--head); font-size: 2.4rem; color: #fff; line-height: 1; }

/* visit + estimate */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.card { background: var(--paper); border-radius: var(--radius); padding: 38px; box-shadow: 0 6px 30px rgba(0,0,0,.06); border: 1px solid rgba(0,0,0,.06); }
.info-list { list-style: none; padding: 0; margin: 26px 0 28px; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.info-list svg { width: 24px; height: 24px; color: var(--red); margin-top: 3px; }
.info-list strong { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: .08em; font-size: 1.02rem; }
.info-list a { text-decoration: none; font-weight: 600; }
.info-list a:hover { color: var(--red); }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours td { padding: 4px 0; border-bottom: 1px dashed rgba(0,0,0,.1); }
.hours td:last-child { text-align: right; font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 280px; margin-top: 22px; border: 1px solid rgba(0,0,0,.08); }
.map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form label { display: block; font-family: var(--head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; margin-bottom: 6px; }
form .f { margin-bottom: 16px; }
form input, form select, form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border-radius: 10px;
  border: 1.5px solid #d6d3cd; background: #fbfaf8; color: var(--text); transition: border-color .2s;
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--red); background: #fff; }
form textarea { min-height: 110px; resize: vertical; }
form .btn { width: 100%; margin-top: 4px; }
.form-note { font-size: .9rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-done { display: none; text-align: center; padding: 30px 0; }
.form-done.show { display: block; }

/* footer */
footer { background: var(--ink); color: var(--muted-d); padding: 64px 0 110px; font-size: .98rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
footer h4 { font-family: var(--head); color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: 1.05rem; margin: 0 0 14px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; color: var(--muted-d); transition: color .2s; }
footer a:hover { color: #fff; }
footer .base { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; font-size: .88rem; flex-wrap: wrap; }

/* mobile call bar */
.callbar { display: none; }

/* reveal */
/* no scroll fade-in: sections are always fully visible */
.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .services, .reviews { grid-template-columns: 1fr 1fr; }
  .band .wrap { grid-template-columns: 1fr 1fr; }
  .band .item:nth-child(3) { border-left: 0; padding-left: 0; }
  .band .item { border-top: 1px solid rgba(255,255,255,.22); }
  .band .item:nth-child(-n+2) { border-top: 0; }
  .split, .about, .visit { grid-template-columns: 1fr; gap: 40px; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  section { padding: 72px 0; }
  .topbar { display: none; }
  .nav .wrap { height: 66px; }
  .logo .name { font-size: 1.55rem; }
  .logo .sub { font-size: .68rem; letter-spacing: .46em; }
  .nav .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-links.open {
    position: absolute; top: 66px; left: 0; right: 0; background: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line);
  }
  .nav-links.open a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links.open .btn { display: flex; margin-top: 14px; }
  .hero { min-height: 640px; }
  .hero .wrap { padding: 90px 0 48px; }
  .hero::after { background: linear-gradient(0deg, rgba(10,10,12,.95) 0%, rgba(10,10,12,.78) 55%, rgba(10,10,12,.6) 100%); }
  .hero .eyebrow { color: #ff6b73; }
  .hero .eyebrow::before { background: #ff6b73; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .services, .reviews { grid-template-columns: 1fr; }
  .band .wrap { grid-template-columns: 1fr; }
  .band .item { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid rgba(255,255,255,.22) !important; padding: 18px 0; }
  .band .item:first-child { border-top: 0 !important; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .gallery figure { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery .g1 { grid-column: span 2 !important; grid-row: span 2 !important; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .fact { padding: 14px 10px; }
  .fact strong { font-size: 1.5rem; }
  form .row { grid-template-columns: 1fr; gap: 0; }
  .card { padding: 26px 20px; }
  footer .cols { grid-template-columns: 1fr; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; 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(13,13,15,.96); border-top: 1px solid var(--line);
  }
  .callbar .btn { padding: 12px 10px; font-size: 1.05rem; min-height: 50px; }
}
.rating-line .stars { margin: 0; }
