/* S&K Automotive: one-page site.
   Red is inferred from the shop's storefront sign (red lettering on white, seen in Google Maps photos).
   The exact shade, the charcoal and the neutrals are design choices. */
:root {
  --red: #c41e2a;
  --red-dark: #9e1620;
  --charcoal: #1b1e22;
  --charcoal-2: #262a30;
  --paper: #f5f4f1;
  --white: #ffffff;
  --line: #dddad3;
  --ink: #17191c;
  --muted: #4f565e;
  --on-dark: #e8eaed;
  --on-dark-muted: #b9bec5;
  --radius: 8px;
  --header-h: 72px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--red-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--charcoal); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .section--dark :focus-visible, .cta :focus-visible, .site-footer :focus-visible { outline-color: #ffffff; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.nowrap { white-space: nowrap; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--charcoal); color: #fff; padding: 12px 16px; border-radius: 6px; }
.skip:focus { top: 12px; color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .3em; min-height: 48px; padding: 10px 22px; border-radius: 6px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e9e9e9; color: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--small { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.link { font-weight: 700; }
.link--light { color: #fff; }
.link--light:hover { color: var(--on-dark-muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 3px solid var(--red); }
.site-header__inner { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 10px 0; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-height: 44px; }
.wordmark__sk { background: var(--red); color: #fff; font-weight: 900; font-size: 1.35rem; padding: 2px 10px; border-radius: 4px; letter-spacing: .02em; }
.wordmark__rest { font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: .85rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: 6px; }
.site-nav a:hover { background: var(--paper); color: var(--red-dark); }
.header-call { display: inline-flex; }

@media (max-width: 719px) {
  :root { --header-h: 120px; }
  .site-nav { order: 3; width: 100%; border-top: 1px solid var(--line); padding-top: 4px; }
  .site-nav ul { justify-content: space-between; }
  .site-nav a { padding: 0 8px; }
}
@media (max-width: 999px) {
  .header-call .nowrap { display: none; }
}

/* Hero */
.hero { color: var(--on-dark); padding: clamp(44px, 7vw, 96px) 0 clamp(52px, 7vw, 96px);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--charcoal-2), var(--charcoal)); }
.hero h1 { color: #fff; }
.hero__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.4fr 1fr; gap: 64px; } }
.eyebrow { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: #ff9aa0; margin-bottom: .8em; }
.eyebrow--dark { color: var(--red-dark); }
.lead { font-size: 1.15rem; color: var(--on-dark-muted); max-width: 46ch; }

.panel { background: #fff; color: var(--ink); border-radius: 10px; padding: 26px; border-top: 6px solid var(--red); box-shadow: 0 24px 50px -28px rgba(0,0,0,.7); }
.panel a { color: var(--ink); }
.panel__rating { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; text-decoration: none; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.panel__score { grid-row: span 2; font-size: 3rem; font-weight: 900; line-height: 1; }
.stars { color: var(--red); letter-spacing: 2px; }
.panel__count { font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.panel__title { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red-dark); margin-bottom: 10px; }
.hours { margin: 0; display: grid; gap: 8px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.hours div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; text-align: right; white-space: nowrap; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--dark { background: var(--charcoal); color: var(--on-dark); }
.section--dark h2 { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: 32px; }
.section-head p:not(.eyebrow) { color: var(--muted); }
.section--dark .section-head p:not(.eyebrow) { color: var(--on-dark-muted); }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; border-bottom: 4px solid var(--red); }
.card__num { display: block; font-weight: 900; font-size: .85rem; letter-spacing: .1em; color: var(--red-dark); margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); }

.quotes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.quote { margin: 0; background: var(--charcoal-2); border: 1px solid #3a3f46; border-left: 4px solid var(--red); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.quote blockquote { margin: 0; font-size: 1.08rem; line-height: 1.5; color: #fff; }
.quote blockquote p { margin: 0; }
.quote figcaption { font-size: .9rem; color: var(--on-dark-muted); font-weight: 600; }
.more { margin-top: 24px; }

.split { display: grid; gap: 32px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; } }
.split > div > p { color: var(--muted); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 16px 18px; }
.facts strong { display: block; }

.cta { background: var(--red); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.cta h2 { color: #fff; }
.cta address { font-style: normal; font-size: 1.15rem; margin-bottom: .75em; }
.cta__hours { margin: 0; color: #ffe3e5; }
.cta__inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .cta__inner { grid-template-columns: 1fr auto; } .cta .actions { justify-content: flex-end; } }

.site-footer { background: var(--charcoal); color: var(--on-dark-muted); padding: 32px 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer strong { color: #fff; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; }
.site-footer p { margin: 0; }
.small { font-size: .85rem; }

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