/* Los De Santiagos Auto Body mockup.
   Layout after finishlineredding.com (hero, facts band, services split), gallery + giant footer wordmark after kindigit.com,
   red call-to-action band after burnsedpaintandbody.com. Buttons: Kindig-it rectangle (7px radius, display caps, colour swap .3s).
   Fonts: Bangers matches the comic-italic lettering of their logo; Red Hat Text for body. */
:root {
  --red: #e21f26;
  --red-dark: #b8141a;
  --ink: #17171a;
  --paper: #ffffff;
  --soft: #f4f3f1;
  --muted: #5c5c63;
  --rule: rgba(0, 0, 0, .1);
  --display: "Bangers", "Impact", sans-serif;
  --body: "Red Hat Text", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* Text links: underline that grows, after Finish Line's background-size link hover */
.ul { position: relative; text-decoration: none; }
.ul::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: currentColor; transform-origin: right; transition: transform .3s cubic-bezier(0, .5, 0, 1); }

/* Buttons (Kindig-it style) */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 30px 12px; border-radius: 7px; border: 2px solid transparent; font: 400 21px/1 var(--display); letter-spacing: .04em; text-decoration: none; transition: color .3s, background-color .3s, border-color .3s, transform .1s; cursor: pointer; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .nav a:focus-visible, .ul:focus-visible, .grid button:focus-visible, .social a:focus-visible, .brand:focus-visible, .lb button:focus-visible, .callbar a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.btn-red { background: var(--red); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-paper { background: #fff; color: var(--red); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-sm { min-height: 42px; padding: 10px 18px 8px; font-size: 19px; }

/* Header */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--rule); }
.bar-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.bar.scrolled .brand { opacity: 1; visibility: visible; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-weight: 500; font-size: 16px; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(0, .5, 0, 1); }

/* Hero */
.hero { padding: 56px 0 72px; overflow-x: clip; }
.hero-in { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.hero h1 { line-height: 0; }
.hero-logo { width: min(460px, 100%); }
.lead { margin-top: 28px; font-size: 19px; line-height: 1.55; max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.meta { margin-top: 20px; font-size: 15px; font-weight: 500; }
.stars { color: var(--red); letter-spacing: 2px; margin-right: 6px; }
.hero-photo { position: relative; padding-bottom: 28px; }
.hero-photo img { width: 100%; aspect-ratio: 1200 / 628; object-fit: cover; border-radius: 4px; }
.strip { position: absolute; left: -24px; right: 24px; bottom: 0; transform: rotate(-2deg); background: var(--red); color: #fff; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 4px 20px; padding: 12px 20px 9px; font: 400 24px/1 var(--display); letter-spacing: .04em; box-shadow: 0 1px 0 var(--red-dark); }

/* Facts band */
.facts { border-block: 1px solid var(--rule); }
.facts-in { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts-in > div { padding: 28px 28px 30px; border-left: 1px solid var(--rule); }
.facts-in > div:first-child { border-left: 0; padding-left: 0; }
.facts h2 { font: 700 15px/1.3 var(--body); color: var(--red); margin-bottom: 6px; }
.facts a, .facts p { font-size: 20px; font-weight: 500; }

/* Section headings */
.big { font: 400 clamp(40px, 5vw, 56px)/1 var(--display); letter-spacing: .02em; }

/* Services: plain two-column list */
.services { padding: 96px 0; }
.services-in { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
.services-head p { margin-top: 20px; font-size: 20px; max-width: 26ch; color: var(--muted); }
.svc { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-content: start; }
.svc li { padding: 16px 0 15px; border-top: 1px solid var(--rule); }
.svc b { display: block; font-size: 19px; font-weight: 700; }
.svc span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Gallery: even grid */
.work { padding: 0 0 96px; }
.grid { list-style: none; padding: 0; margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid button { display: block; width: 100%; padding: 0; border: 0; background: var(--soft); cursor: zoom-in; border-radius: 4px; overflow: hidden; }
.grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.grid p { margin-top: 10px; font-size: 15px; font-weight: 500; }

/* Red promise band (Burnsed "Need service now?") */
.promise { background: var(--red); color: #fff; padding: 80px 0; }
.promise-in { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; }
.pq { font: 400 clamp(32px, 4vw, 48px)/1.08 var(--display); letter-spacing: .02em; max-width: 20ch; }
.promise blockquote p + p { margin-top: 18px; font-size: 18px; max-width: 46ch; }
.promise .actions { justify-content: flex-end; margin: 0; }

/* Reviews */
.reviews { padding: 96px 0; }
.reviews-in { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.rv-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; padding-bottom: 28px; border-bottom: 2px solid var(--ink); }
.rv-head p { font-size: 16px; color: var(--muted); }
.rv { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.rv-main { grid-row: span 2; border-bottom: 0; padding-right: 8px; }
.rv:last-child { border-bottom: 0; }
.rv-main blockquote { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; font-weight: 500; }
.rv blockquote { font-size: 18px; line-height: 1.55; }
.rv figcaption { margin-top: 14px; font-size: 15px; font-weight: 700; }
.rv figcaption::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 10px; }

/* Visit */
.visit { padding: 0 0 96px; }
.visit-in { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; border-top: 1px solid var(--rule); padding-top: 72px; }
address { font-style: normal; margin-top: 24px; font-size: 19px; line-height: 1.5; }
.contact { margin-top: 14px; font-size: 17px; line-height: 1.8; }
.now { margin-top: 22px; font-weight: 700; }
.now.open::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #1f9d55; margin-right: 8px; vertical-align: 1px; }
.hours { margin-top: 10px; border-collapse: collapse; width: 100%; max-width: 360px; font-size: 16px; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: var(--red); }
.social { display: flex; gap: 10px; margin-top: 26px; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--rule); border-radius: 7px; color: var(--ink); transition: color .3s, background-color .3s, border-color .3s; }
.map { min-height: 420px; border-radius: 4px; overflow: hidden; background: var(--soft); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Footer: giant wordmark (Kindig-it "Stay Bitchin'") */
.foot { border-top: 1px solid var(--rule); padding: 40px 0 28px; overflow: hidden; }
.giant { font: 400 clamp(56px, 13.4vw, 192px)/.9 var(--display); color: var(--red); letter-spacing: .01em; white-space: nowrap; }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 15px; color: var(--muted); }

/* Phone call bar */
.callbar { display: none; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(15, 15, 17, .94); display: grid; place-items: center; opacity: 0; transition: opacity .25s ease; overflow: hidden; }
.lb.on { opacity: 1; }
.lb[hidden] { display: none; }
.lb figure { max-width: min(1100px, 100% - 140px); text-align: center; transform: scale(.97); transition: transform .25s ease; }
.lb.on figure { transform: none; }
.lb img { max-height: 82vh; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto; border-radius: 3px; }
.lb figcaption { color: #fff; margin-top: 12px; font-size: 15px; }
.lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 7px; background: transparent; color: #fff; cursor: pointer; transition: background-color .3s, border-color .3s; }
.lb button:focus { outline: none; }
.lb-x { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; margin-top: -24px; }
.lb-next { right: 18px; top: 50%; margin-top: -24px; }
body.locked { overflow: hidden; }

/* Hover only for a mouse */
@media (hover: hover) and (pointer: fine) {
  .btn-red:hover { background: var(--ink); }
  .btn-ink:hover { background: var(--red); }
  .btn-paper:hover { background: var(--ink); color: #fff; }
  .btn-outline:hover { background: #fff; color: var(--red); }
  .ul:hover::after { transform: scaleX(0); }
  .nav a:hover::after { transform: scaleX(1); }
  .grid button:hover img { transform: scale(1.03); }
  .social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
  .lb button:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }
}

/* Tablet */
@media (max-width: 960px) {
  .nav { display: none; }
  .bar-in { justify-content: space-between; }
  .hero-in, .services-in, .promise-in, .visit-in { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 24px; }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 21 / 9; }
  .strip { left: -8px; right: 16px; }
  .facts-in { grid-template-columns: 1fr; }
  .facts-in > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-left: 0; border-top: 1px solid var(--rule); padding: 16px 0; }
  .facts-in > div:first-child { border-top: 0; }
  .facts h2 { margin: 0; }
  .facts a, .facts p { font-size: 18px; text-align: right; }
  .hero-logo { width: 360px; }
  .promise .actions { justify-content: flex-start; }
  .reviews-in { grid-template-columns: 1fr; }
  .rv-main { grid-row: auto; border-bottom: 1px solid var(--rule); }
  .lead { max-width: 46ch; }
}

/* Phone */
@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .bar-in { height: 60px; }
  .brand img { width: 118px; }
  .brand { opacity: 1; visibility: visible; }
  .hero { padding: 0 0 48px; }
  .hero-in { gap: 26px; }
  .hero-photo { margin-inline: -16px; padding-bottom: 22px; }
  .hero-photo img { aspect-ratio: 3 / 2; border-radius: 0; object-position: 45% 50%; }
  .strip { left: 10px; right: 10px; font-size: 15px; gap: 2px 8px; padding: 9px 12px 6px; flex-wrap: nowrap; justify-content: space-between; white-space: nowrap; }
  .hero-logo { width: 260px; }
  .lead { margin-top: 18px; font-size: 17px; }
  .actions { margin-top: 22px; }
  .actions .btn { flex: 1 1 100%; }
  .facts-in > div { display: block; }
  .facts a, .facts p { text-align: left; }
  .facts h2 { margin-bottom: 4px; }
  .services, .reviews { padding: 64px 0; }
  .work, .visit { padding-bottom: 64px; }
  .svc { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid p { font-size: 14px; }
  .promise { padding: 56px 0; }
  .visit-in { padding-top: 56px; }
  .map, .map iframe { min-height: 320px; }
  .lb figure { max-width: calc(100% - 24px); }
  .lb-prev, .lb-next { top: auto; bottom: 22px; margin: 0; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .callbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink); border-top: 3px solid var(--red); }
  .callbar a { display: grid; place-items: center; height: 58px; color: #fff; text-decoration: none; font: 400 20px/1 var(--display); letter-spacing: .05em; }
  .callbar a + a { border-left: 1px solid rgba(255, 255, 255, .15); }
  .callbar a:active { background: var(--red); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
