/* Tenneson Collision & Auto Customs - v2 design system
   Hand-written, no framework. Fonts: Barlow Condensed (display) + Barlow (text). */

:root {
  --gold: #f3c317;
  --gold-deep: #d9ab0a;
  --ink: #15171b;        /* page dark base (graphite, not pure black) */
  --ink-2: #1f2228;      /* raised dark surfaces */
  --ink-3: #2b2f37;      /* borders on dark */
  --paper: #f6f3ec;      /* warm off-white sections */
  --paper-2: #ffffff;
  --text: #1b1d21;
  --muted: #5d626b;
  --muted-on-dark: #b9bec8;
  --line: #e4dfd3;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.12);
  --container: 1180px;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-text: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-text); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--paper); padding-bottom: 64px; /* room for mobile bar */
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: .01em; }
h1 { font-size: clamp(44px, 6.2vw, 78px); font-weight: 700; text-transform: uppercase; }
h2 { font-size: clamp(34px, 4.2vw, 52px); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 26px; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; font-size: 15px; color: var(--gold-deep); margin-bottom: 10px;
}
.dark .eyebrow, .dark-2 .eyebrow { color: var(--gold); }
.lead { font-size: 19px; color: var(--muted); max-width: 62ch; }
.dark .lead, .dark-2 .lead { color: var(--muted-on-dark); }
section { padding: clamp(56px, 8vw, 104px) 0; }
.dark { background: var(--ink); color: #fff; }
.dark-2 { background: var(--ink-2); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display);
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 18px;
  padding: 14px 24px; border-radius: 6px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { background: #ffd83a; }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn svg { width: 20px; height: 20px; }

/* Top bar + header */
.topbar {
  background: var(--gold); color: #111; font-size: 15px; font-weight: 600;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; }
.topbar a { text-decoration: underline; text-underline-offset: 3px; }
.topbar .tow { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-size: 17px; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(21,23,27,.94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--ink-3);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  color: #fff; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em;
  font-weight: 600; font-size: 17px; padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--gold); }
.nav .btn { padding: 10px 18px; font-size: 16px; }
.nav .btn:hover { border-bottom-color: transparent; }
.nav-toggle {
  display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative; color: #fff; min-height: min(78vh, 720px); display: flex; align-items: center;
  background: var(--ink) url("../img/hero.webp") center 40% / cover no-repeat; padding: 90px 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,16,20,.92) 0%, rgba(15,16,20,.72) 45%, rgba(15,16,20,.25) 100%);
}
.hero .container { position: relative; }
.hero-inner { max-width: 640px; }
.hero h1 span { color: var(--gold); }
.hero .lead { color: #e6e8ec; margin: 18px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: #d7dae0; }
.hero-proof li { list-style: none; display: flex; align-items: center; gap: 8px; }
.hero-proof ul { padding: 0; margin: 0; display: contents; }
.hero-proof svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* Stat strip */
.stats { background: var(--ink-2); color: #fff; padding: 0; border-top: 1px solid var(--ink-3); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 18px; text-align: center; border-left: 1px solid var(--ink-3); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--gold); line-height: 1; }
.stat span { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-on-dark); }

/* Section headers */
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 12px; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--paper-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; border: 1px solid var(--line); color: var(--text);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.16); }
.card-img { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-tag {
  position: absolute; left: 14px; top: 14px; background: var(--gold); color: #111; font-family: var(--font-display);
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; padding: 4px 9px; border-radius: 4px;
}
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body p { color: var(--muted); margin: 0; flex: 1; }
.card-link { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { width: 18px; height: 18px; transition: transform .2s; }
.card:hover .card-link svg { transform: translateX(4px); }
.card-link:hover { color: var(--gold-deep); }

/* Wrecker banner */
.tow-banner { background: var(--gold); color: #111; padding: 34px 0; }
.tow-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.tow-banner h2 { font-size: clamp(28px, 3.4vw, 40px); }
.tow-banner p { margin: 4px 0 0; font-weight: 500; }
.tow-banner .btn-dark { font-size: 22px; padding: 16px 28px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: 54px; line-height: 1; color: var(--gold);
  display: block; margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; color: #fff; }
.step p { color: var(--muted-on-dark); margin: 0; font-size: 16px; }

/* Why us / about split */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; right: -14px; bottom: 26px; background: var(--gold); color: #111; padding: 16px 20px; border-radius: 8px;
  font-family: var(--font-display); text-transform: uppercase; font-weight: 700; line-height: 1; box-shadow: var(--shadow);
}
.badge b { display: block; font-size: 42px; }
.badge span { font-size: 15px; letter-spacing: .1em; }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--gold-deep); margin-top: 3px; }
.checks b { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.checks span { color: var(--muted); font-size: 16px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.member { text-align: center; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 3px solid var(--ink-3); }
.member b { display: block; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; margin-top: 12px; }
.member span { color: var(--muted-on-dark); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.stars { color: var(--gold-deep); letter-spacing: 2px; font-size: 18px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 14px; font-size: 18px; line-height: 1.5; }
.review cite { font-style: normal; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--muted); }

/* Contact / footer CTA */
.contact { }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.contact-card { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 30px; }
.contact-card h3 { color: var(--gold); margin-bottom: 8px; font-size: 22px; text-transform: uppercase; letter-spacing: .06em; }
.contact-card p, .contact-card address { font-style: normal; color: #e6e8ec; margin: 0 0 20px; line-height: 1.5; }
.contact-card a.big { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: #fff; display: inline-block; line-height: 1.1; }
.contact-card a.big:hover { color: var(--gold); }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--ink-3); color: #e6e8ec; }
.hours td:last-child { text-align: right; font-weight: 600; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 380px; border: 1px solid var(--ink-3); background: var(--ink-2); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.2) contrast(1.05); }

/* Footer */
.site-footer { background: #0e0f12; color: var(--muted-on-dark); padding: 40px 0 34px; font-size: 15px; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.site-footer img { height: 40px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer nav a:hover { color: #fff; }

/* Mobile action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  grid-template-columns: repeat(3, 1fr); background: var(--ink); border-top: 1px solid var(--ink-3);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 8px; color: #fff;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 600;
}
.mobile-bar a.primary { background: var(--gold); color: #111; }
.mobile-bar svg { width: 20px; height: 20px; }

/* Responsive */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .badge { right: 14px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 1.25rem 16px; display: none; border-bottom: 1px solid var(--ink-3); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--ink-3); }
  .nav .btn { margin-top: 12px; justify-content: center; }
  .nav-toggle { display: block; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar .hours-note { display: none; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat { border-top: 1px solid var(--ink-3); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .mobile-bar { display: grid; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .services-grid, .steps, .reviews { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 0; padding: 64px 0; background-position: 62% 40%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .tow-banner .btn-dark { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card-img img, .btn { transition: none; }
}

/* ===== Sub-page components (service + plain pages) ===== */
.page-hero {
  position: relative; color: #fff; padding: clamp(64px, 9vw, 120px) 0;
  background-color: var(--ink); background-size: cover; background-position: center 45%; background-repeat: no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,16,20,.94) 0%, rgba(15,16,20,.78) 50%, rgba(15,16,20,.35) 100%); }
.page-hero .container { position: relative; }
.page-hero .hero-inner { max-width: 720px; }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { font-size: clamp(38px, 5.2vw, 64px); }
.page-hero .lead { color: #e6e8ec; margin: 16px 0 26px; }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.container.narrow { max-width: 860px; }
.content-section h2 { margin-bottom: 18px; }
.content-section p { font-size: 18px; color: var(--muted); }
.content-section.dark p { color: var(--muted-on-dark); }
.content-section .btn { margin-top: 10px; }

.checks-grid { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 26px; }
.checks-grid li { display: flex; gap: 12px; align-items: flex-start; }
.checks-grid svg { width: 22px; height: 22px; flex: none; color: var(--gold-deep); margin-top: 3px; }
.dark .checks-grid svg, .dark .checks svg { color: var(--gold); }
.checks-grid b { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.checks-grid span { color: var(--muted); font-size: 16px; }
.dark .checks-grid span, .dark .checks span { color: var(--muted-on-dark); }

.split-section { background: var(--paper-2); }
.split-section p { color: var(--muted); font-size: 18px; }
.split-section h2 { margin-bottom: 16px; }
.split.flip .split-img { order: 2; }
.split-section .checks { margin: 18px 0 26px; }

.faq-section { }
.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 40px 16px 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: .01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 30px; line-height: 1; color: var(--gold-deep); font-weight: 400;
}
.faq[open] summary::after { content: "\2212"; }
.faq p { color: var(--muted); margin: 0 0 18px; font-size: 17px; max-width: 70ch; }

.related .services-grid.cols-1 { grid-template-columns: minmax(0, 380px); justify-content: center; }
.related .services-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.dark-2 .card { border-color: transparent; }

.prose h1, .prose h2, .prose h3 { margin: 32px 0 10px; text-transform: none; letter-spacing: 0; }
.prose h2 { font-size: 30px; }
.prose h3 { font-size: 24px; }
.prose p, .prose li { color: var(--muted); font-size: 17px; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }

@media (max-width: 800px) {
  .checks-grid { grid-template-columns: 1fr; }
  .split.flip .split-img { order: 0; }
  .related .services-grid.cols-2 { grid-template-columns: 1fr; }
  .page-hero .hero-actions .btn { width: 100%; justify-content: center; }
}
