/* =========================================================
   Price Paint & Body — Design Tokens
   Palette:
     --black      #17130F  near-black w/ warm undertone (garage-floor)
     --charcoal   #2A2521
     --steel      #6B6660
     --steel-lt   #C9C4BC
     --paper      #EDEAE4  light neutral background (not cream/terracotta)
     --white      #FFFFFF
     --red        #C1121F  candy-apple red (signature accent)
     --red-dark   #7A0C13
   Type:
     Display — 'Oswald' (condensed, industrial — body-shop signage feel)
     Body    — 'Karla' (warm, humanist counterweight)
   ========================================================= */

:root {
  --black: #17130F;
  --charcoal: #2A2521;
  --steel: #6B6660;
  --steel-lt: #C9C4BC;
  --paper: #EDEAE4;
  --white: #FFFFFF;
  --red: #C1121F;
  --red-dark: #7A0C13;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1180px;
  --radius: 2px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--black);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; max-width: 62ch; }
ul { margin: 0; padding: 0; }
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--red); color: var(--white);
  padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn--call {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--call:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--steel-lt);
}
.btn--outline:hover { background: var(--white); color: var(--black); }
.btn--dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn--dark:hover { background: var(--charcoal); }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--black);
  color: var(--steel-lt);
  font-size: 0.85rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
}
.topbar__inner a { color: var(--white); font-weight: 700; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
}
.brand__logo { height: 56px; width: auto; }
.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.primary-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}
.primary-nav a {
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--red);
  border-bottom-color: var(--red);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--black);
  margin: 0 8px;
}

/* ---------- Hero (diagonal signature panel — used once, on the homepage) ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  /* the one bold gesture: a single red diagonal panel cutting through the hero */
  content: "";
  position: absolute;
  top: 0; right: -10%;
  width: 55%; height: 100%;
  background: var(--red);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 76px 24px 88px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero__eyebrow {
  font-family: var(--font-display);
  color: var(--steel-lt);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.hero h1 {
  color: var(--white);
  max-width: 14ch;
  font-size: clamp(2.3rem, 5.5vw, 3.4rem);
}
.hero p {
  color: var(--steel-lt);
  max-width: 42ch;
  font-size: 1.1rem;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Simple page header for interior pages (no diagonal — hero motif stays unique to home) */
.page-header {
  background: var(--black);
  color: var(--white);
  padding: 48px 24px;
  border-bottom: 6px solid var(--red);
}
.page-header h1 { color: var(--white); margin: 0; }
.page-header p { color: var(--steel-lt); margin-top: 8px; margin-bottom: 0; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--steel-lt);
}
.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 22px 24px;
  justify-content: space-between;
}
.trust-strip__item {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--black);
  font-size: 0.98rem;
  white-space: nowrap;
}
.trust-strip__item span {
  color: var(--red);
}

/* ---------- Panels (alternating image/text — the body-panel motif) ---------- */
.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 64px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.panel--reverse .panel__media { order: 2; }
.panel__media img {
  border: 2px solid var(--black);
  box-shadow: 10px 10px 0 var(--red);
}
.panel__body h2 { margin-bottom: 0.4em; }
.panel__body h3.kicker {
  font-family: var(--font-display);
  color: var(--red);
  font-size: 1rem;
  margin-bottom: 0.5em;
}

/* ---------- List with metal-edge markers (services) ---------- */
.spec-list {
  list-style: none;
  border-top: 1px solid var(--steel-lt);
}
.spec-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--steel-lt);
  font-size: 1.05rem;
}
.spec-list li::before {
  content: "";
  flex: 0 0 10px;
  height: 10px;
  background: var(--red);
  transform: rotate(45deg);
}

/* ---------- Callout band ---------- */
.callout {
  background: var(--red);
  color: var(--white);
}
.callout__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px;
  text-align: left;
}
.callout h2 { color: var(--white); }
.callout p { color: rgba(255,255,255,0.9); max-width: 60ch; }

/* ---------- Section wrapper ---------- */
.section {
  padding: 64px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section--tight { padding-top: 40px; padding-bottom: 40px; }

/* ---------- Testimonials ---------- */
.quote-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.quote {
  padding: 28px 0;
  border-bottom: 1px solid var(--steel-lt);
  max-width: 68ch;
}
.quote:first-child { border-top: 1px solid var(--steel-lt); }
.quote p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--black);
  max-width: none;
  margin-bottom: 0.4em;
}
.quote cite {
  font-style: normal;
  color: var(--red);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px;
  align-items: start;
}
.map-frame {
  border: 2px solid var(--black);
  width: 100%;
  aspect-ratio: 4 / 3;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.location-card {
  border-left: 4px solid var(--red);
  padding: 4px 0 4px 18px;
  margin-bottom: 24px;
}
.location-card h3 { margin-bottom: 0.2em; }
.location-card p { margin: 0; color: var(--steel); }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-display);
}
.hours-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--steel-lt);
}
.hours-table td:last-child { text-align: right; color: var(--red); font-weight: 600; }

.contact-form {
  background: var(--paper);
  padding: 32px;
  border: 2px solid var(--black);
}
.contact-form label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  margin-top: 18px;
}
.contact-form label:first-child { margin-top: 0; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 2px solid var(--steel-lt);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--red); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .hp-field { position: absolute; left: -9999px; }
.contact-form button { margin-top: 22px; width: 100%; }
.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--steel);
}
.form-alert {
  padding: 12px 16px;
  margin-bottom: 18px;
  border-left: 4px solid var(--red);
  background: var(--white);
  font-weight: 600;
}
.form-alert--success { border-left-color: #2E7D32; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--steel-lt);
  padding-top: 56px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--charcoal);
}
.footer__logo { height: 44px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer__col h2 {
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.footer__col p, .footer__col address { color: var(--steel-lt); font-style: normal; margin-bottom: 16px; }
.footer__col a { color: var(--white); }
.social-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  border-bottom: 2px solid var(--red);
}
.hours-list { list-style: none; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--charcoal);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 24px;
  font-size: 0.82rem;
  color: var(--steel);
}
.footer__bottom a { color: var(--steel); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .panel { grid-template-columns: 1fr; }
  .panel--reverse .panel__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 3px solid var(--black);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    display: none;
    gap: 16px;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  .primary-nav ul li a { display: block; padding: 10px 0; }
  .topbar__inner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero::after { width: 80%; right: -30%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}
