/* Huth Auto Services — shared styles
   Palette: charcoal / red / white (automotive trust). Amber for 24/7 + ratings. */

:root {
  --ink:      #0e1216;
  --ink-2:    #141a20;
  --panel:    #1b232c;
  --line:     rgba(255, 255, 255, .10);
  --line-d:   #e7e9ee;
  --red:      #d62828;
  --red-2:    #b11d1d;
  --amber:    #f4a300;
  --paper:    #ffffff;
  --soft:     #f5f6f8;
  --ink-text: #14181d;
  --muted:    #5a636e;
  --muted-d:  #aeb7c2;
  --ring:     rgba(214, 40, 40, .35);
  --shadow:   0 10px 30px rgba(8, 12, 16, .12);
  --shadow-lg:0 24px 60px rgba(8, 12, 16, .22);
  --radius:   14px;
  --wrap:     1180px;
  --font-head:"Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-2); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
  color: var(--ink-text);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p  { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 .6rem;
}
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.section--dark .lead { color: var(--muted-d); }
.center { text-align: center; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: .85em 1.5em;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px var(--ring); }
.btn--primary:hover { background: var(--red-2); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.10); color: #fff; }
.btn--dark { background: var(--ink-text); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--lg { font-size: 1.08rem; padding: 1em 1.7em; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 18, 22, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  color: #fff;
}
.site-header .wrap {
  display: flex; align-items: center; gap: 18px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand img { height: 38px; width: auto; filter: invert(1) brightness(1.6); }
.brand b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.15; white-space: nowrap; }
.brand span { display: block; font-size: .72rem; color: var(--muted-d); font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a.navlink { color: #d7dde4; font-weight: 500; font-size: .97rem; white-space: nowrap; }
.nav a.navlink:hover { color: #fff; }
.nav a.navlink.active { color: #fff; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .ph { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem; white-space: nowrap; }
.header-cta .ph:hover { color: var(--amber); }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 0; color: #fff; cursor: pointer;
  width: 44px; height: 44px;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--ink);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: var(--hero-img) center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, rgba(10,13,17,.93) 0%, rgba(10,13,17,.78) 45%, rgba(10,13,17,.50) 100%);
}
.hero .wrap { padding-top: clamp(60px, 9vw, 110px); padding-bottom: clamp(60px, 9vw, 110px); }
.hero-inner { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero p.sub { font-size: 1.2rem; color: #e7ebef; max-width: 54ch; margin-bottom: 1.6em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 2rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.trust-row .ti {
  display: flex; align-items: center; gap: .5em;
  font-size: .92rem; color: #dfe4ea; font-weight: 500;
}
.trust-row .ti svg { width: 18px; height: 18px; color: var(--amber); flex: none; }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line-d);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card .tag {
  align-self: flex-start;
  font-family: var(--font-head); font-weight: 600;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); background: rgba(214,40,40,.08);
  padding: .35em .7em; border-radius: 999px; margin-bottom: .8rem;
}
.card .tag.amber { color: #9a6a00; background: rgba(244,163,0,.14); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card .more {
  margin-top: auto; padding-top: .6rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  display: inline-flex; align-items: center; gap: .4em;
}
.card .more svg { width: 16px; height: 16px; transition: transform .15s ease; }
.card:hover .more svg { transform: translateX(3px); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.split ul.checks { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: grid; gap: .55rem; }
.split ul.checks li { display: flex; gap: .6em; align-items: flex-start; color: var(--muted); }
.split ul.checks li svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 2px; }
.section--dark .split ul.checks li { color: var(--muted-d); }

/* ---------- Info / location ---------- */
.info-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: stretch; }
.info-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; color: #fff;
}
.info-card .row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-card .row:last-child { border-bottom: 0; }
.info-card .row svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: 2px; }
.info-card .row b { display: block; font-family: var(--font-head); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 2px; font-weight: 600; }
.info-card .row a, .info-card .row span { color: #fff; font-size: 1.02rem; }
.info-card .row a:hover { color: var(--amber); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 320px; height: 100%; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Testimonial ---------- */
.quote {
  max-width: 760px; margin: 0 auto; text-align: center;
}
.quote .stars { color: var(--amber); font-size: 1.3rem; letter-spacing: 2px; margin-bottom: 1rem; }
.quote blockquote { font-family: var(--font-head); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 600; line-height: 1.3; margin: 0 0 1rem; color: #fff; }
.quote cite { color: var(--muted-d); font-style: normal; font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-2) 100%);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe6e6; max-width: 56ch; margin-inline: auto; }
.cta-band .btn--primary { background: #fff; color: var(--red); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.cta-band .btn--primary:hover { background: #fff; color: var(--red-2); }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.6); }

/* ---------- Emergency band (towing) ---------- */
.emergency-band { background: var(--ink); color: #fff; border-top: 3px solid var(--red); }
.emergency-band .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding-top: 28px; padding-bottom: 28px; }
.emergency-band .pulse { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.emergency-band .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(244,163,0,.6); animation: pulse 1.8s infinite; }
.emergency-band .big-num { margin-left: auto; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; }
.emergency-band .big-num:hover { color: var(--amber); }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(244,163,0,.6)} 70%{box-shadow:0 0 0 14px rgba(244,163,0,0)} 100%{box-shadow:0 0 0 0 rgba(244,163,0,0)} }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line-d); border-radius: 12px;
  padding: 0 20px; margin-bottom: 12px; background: #fff;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--red); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--ink); color: #fff; position: relative; isolation: isolate; }
.page-hero::before { content:""; position:absolute; inset:0; z-index:-2; background: var(--hero-img) center/cover no-repeat; opacity:.55; }
.page-hero::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(10,13,17,.78), rgba(10,13,17,.92)); }
.page-hero .wrap { padding: clamp(48px, 7vw, 84px) 20px; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: #e7ebef; font-size: 1.15rem; max-width: 56ch; }
.crumbs { font-size: .85rem; color: var(--muted-d); margin-bottom: 1rem; }
.crumbs a { color: var(--muted-d); }
.crumbs a:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #0a0d11; color: #c3cbd4; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #c3cbd4; }
.site-footer a:hover { color: #fff; }
.site-footer .brand img { height: 36px; filter: invert(1) brightness(1.6); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-foot { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; color: #8b96a2; font-size: .85rem; }
.footer-foot a { color: #8b96a2; }

/* ---------- Sticky mobile call bar ---------- */
.callbar { display: none; }

/* ---------- Reveal animation (subtle) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .emergency-band .dot { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1040px) {
  .nav, .header-cta .ph { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
  }
  .nav.open a.navlink { padding: 10px 0; width: 100%; font-size: 1.05rem; }
  .nav.open .header-cta { display: flex; width: 100%; margin-top: 8px; }
  .nav.open .header-cta .ph { display: inline; }
  .nav.open .btn { width: 100%; justify-content: center; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .emergency-band .big-num { margin-left: 0; width: 100%; }
  body { padding-bottom: 64px; }
  .callbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--red); box-shadow: 0 -6px 24px rgba(0,0,0,.25);
  }
  .callbar a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: .5em;
    color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
    padding: 16px 0;
  }
  .callbar a + a { border-left: 1px solid rgba(255,255,255,.25); }
  .callbar svg { width: 20px; height: 20px; }
  .callbar a.alt { background: rgba(0,0,0,.18); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
