/* ==========================================================================
   SLICK AF AUTO & TRUCK — brand system
   Palette pulled from the business card: chrome silver, hot orange, asphalt.
   Edit tokens here; every page inherits them.
   ========================================================================== */

:root {
  /* Brand */
  --orange:        #F26522;
  --orange-hot:    #FF7A34;
  --orange-deep:   #C24A12;
  --asphalt:       #0C0D0F;
  --asphalt-2:     #141619;
  --asphalt-3:     #1C1F23;
  --steel:         #2A2E34;
  --chrome:        #DDE3E9;
  --chrome-dim:    #9BA4AE;
  --chrome-mute:   #6B747E;
  --white:         #FFFFFF;

  /* Semantic */
  --bg:            var(--asphalt);
  --bg-alt:        var(--asphalt-2);
  --surface:       var(--asphalt-3);
  --line:          rgba(221, 227, 233, 0.10);
  --line-strong:   rgba(221, 227, 233, 0.20);
  --text:          #E7EBEF;
  --text-dim:      var(--chrome-dim);
  --accent:        var(--orange);

  /* Type */
  --font-display: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 14px;
  --radius-sm: 8px;

  --header-h: 78px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.08;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.05rem, 5.2vw, 4.05rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

section { padding-block: clamp(64px, 9vw, 116px); position: relative; }
section.tight { padding-block: clamp(48px, 6vw, 72px); }

.bg-alt { background: var(--bg-alt); }

/* --- Chrome text effect (the card's embossed wordmark) ------------------- */
.chrome-text {
  background: linear-gradient(180deg, #FFFFFF 0%, #D6DDE4 38%, #8F98A2 52%, #EDF1F5 70%, #B9C2CB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 0 rgba(0,0,0,0.35);
}

/* --- Eyebrow / chevrons -------------------------------------------------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--chrome-dim);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 9px;
  flex: none;
  background: var(--orange);
  clip-path: polygon(0 0, 62% 0, 100% 50%, 62% 100%, 0 100%, 38% 50%);
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--orange-hot); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(180deg, var(--orange-hot), var(--orange-deep));
  color: #fff;
  box-shadow: 0 6px 24px -8px rgba(242, 101, 34, 0.75);
}
.btn-primary:hover { box-shadow: 0 12px 34px -10px rgba(242, 101, 34, 0.9); }

.btn-ghost {
  background: rgba(221, 227, 233, 0.04);
  border-color: var(--line-strong);
  color: var(--chrome);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--chrome-dim); background: rgba(221, 227, 233, 0.09); }

.btn-sm { padding: 11px 20px; font-size: 0.88rem; }

/* --- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 13, 15, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  margin-right: auto;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.55vw, 2.32rem);
  line-height: 1.1;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  display: block;
}
.brand-br { display: none; }
.brand-sub {
  font-size: clamp(0.7rem, 1.05vw, 0.95rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 7px;
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-dim);
  transition: color 0.16s var(--ease);
}
.nav a:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--chrome);
  padding: 9px 12px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

@media (max-width: 1200px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--asphalt-2);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav[data-open="true"] {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.3s var(--ease), visibility 0s linear 0s;
  }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 18px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(72px, 12vw, 148px) clamp(64px, 9vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 78% 12%, rgba(242,101,34,0.18), transparent 62%),
    radial-gradient(760px 480px at 8% 96%, rgba(155,164,174,0.12), transparent 60%),
    var(--asphalt);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.hero-inner { max-width: 900px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--orange); }
.hero-lede {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--text-dim);
  max-width: 62ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--chrome-mute);
}
.trust-bar span { display: flex; align-items: center; gap: 9px; }
.trust-bar span::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

/* --- Section heads ------------------------------------------------------- */
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 0; max-width: 62ch; }

/* --- Services ------------------------------------------------------------ */
.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.card {
  background: linear-gradient(170deg, var(--asphalt-3), var(--asphalt-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent 70%);
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.97rem; margin-bottom: 0; }
.card .card-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(242, 101, 34, 0.12);
  border: 1px solid rgba(242, 101, 34, 0.28);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--orange);
}
.card .card-icon svg { width: 21px; height: 21px; }

/* --- Split (fleet) ------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; } }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 1rem;
  color: var(--text-dim);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 16px; height: 8px;
  background: var(--orange);
  clip-path: polygon(0 0, 62% 0, 100% 50%, 62% 100%, 0 100%, 38% 50%);
}
.check-list strong { color: var(--text); font-weight: 600; }

/* --- Process ------------------------------------------------------------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step { padding-top: 26px; border-top: 2px solid var(--steel); position: relative; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -1px;
  left: 0;
  transform: translateY(-100%);
  padding-bottom: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--orange);
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 0.95rem; margin: 0; }

/* --- Service area -------------------------------------------------------- */
.town-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; padding: 0; list-style: none; }
.town-list li {
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 9px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--chrome);
  background: rgba(221,227,233,0.03);
}

/* --- Gallery ------------------------------------------------------------- */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.shot {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background: var(--asphalt-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 20px;
  color: var(--chrome-mute);
  font-size: 0.92rem;
  overflow: hidden;
}
.shot small { font-size: 0.78rem; opacity: 0.65; }
.shot img { width: 100%; height: 100%; object-fit: cover; }

/* --- Quote form ---------------------------------------------------------- */
.quote {
  background:
    radial-gradient(760px 420px at 85% 0%, rgba(242,101,34,0.14), transparent 62%),
    var(--asphalt-2);
  border-top: 1px solid var(--line);
}
.form-card {
  background: var(--asphalt-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chrome-dim);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--asphalt);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 15px;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242,101,34,0.18);
}
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

.form-note { font-size: 0.87rem; color: var(--chrome-mute); margin-top: 16px; }
.form-status { margin-top: 16px; font-size: 0.95rem; display: none; }
.form-status[data-state="ok"] { display: block; color: #6BD98A; }
.form-status[data-state="err"] { display: block; color: #FF8A6B; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* --- FAQ ----------------------------------------------------------------- */
.faq { display: grid; gap: 2px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 42px 22px 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 1.5rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--text-dim); padding-bottom: 22px; margin: 0; max-width: 72ch; }

/* --- Footer -------------------------------------------------------------- */
.site-footer {
  background: #08090A;
  border-top: 1px solid var(--line);
  padding-block: 56px 36px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-bottom: 40px;
}
.footer-grid h4 {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--chrome-mute);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--text-dim); text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  color: var(--chrome-mute);
  font-size: 0.86rem;
}

/* --- Sticky mobile call bar ---------------------------------------------- */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 1px;
  background: var(--line-strong);
  border-top: 1px solid var(--line-strong);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.callbar a {
  flex: 1;
  text-align: center;
  padding: 15px 8px;
  background: var(--asphalt-2);
  color: var(--chrome);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.callbar a.primary { background: var(--orange); color: #fff; }
@media (max-width: 760px) {
  .callbar { display: flex; }
  body { padding-bottom: 56px; }
}

/* --- Motion preferences --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Service pages
   ========================================================================== */

/* --- Breadcrumbs --------------------------------------------------------- */
.crumbs {
  font-size: 0.85rem;
  color: var(--chrome-mute);
  margin-bottom: 22px;
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.crumbs a { color: var(--chrome-dim); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-hidden] { opacity: 0.45; }

/* --- Current nav item ---------------------------------------------------- */
.nav a.is-current { color: var(--white); position: relative; }
.nav a.is-current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
@media (max-width: 1200px) { .nav a.is-current::after { display: none; } }

/* --- Long-form copy ------------------------------------------------------ */
.prose { max-width: 66ch; color: var(--text-dim); }
.prose p { font-size: 1.02rem; }
.prose p + p { margin-top: 0; }
.prose strong { color: var(--text); font-weight: 600; }

/* --- Centered blocks ----------------------------------------------------- */
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .prose { margin-inline: auto; }

/* --- Cards that are links ------------------------------------------------ */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.card-link h3 { transition: color 0.18s var(--ease); }
.card-link:hover h3 { color: var(--orange); }
.card-link p { color: var(--chrome-mute); font-size: 0.93rem; }

/* Cards without an icon shouldn't reserve the icon's space */
.card > h3:first-child { margin-top: 0; }

/* --- "Learn more" affordance on linked service cards --------------------- */
a.card { display: block; text-decoration: none; color: inherit; }
a.card h3 { transition: color 0.18s var(--ease); }
a.card:hover h3 { color: var(--orange); }
a.card:focus-visible { outline: 3px solid var(--orange-hot); outline-offset: 3px; }
.card-more {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

/* --- Header fit at mid widths -------------------------------------------- */
.brand-name { white-space: nowrap; }
.nav a { white-space: nowrap; }
@media (min-width: 1201px) {
  .nav { gap: 18px; }
  .nav a { font-size: 0.88rem; }
}

/* --- Header scale: bigger wordmark -------------------------------------- */
:root { --header-h: 88px; }

/* The header bar runs wider than the article content so the larger wordmark
   and the nav aren't fighting over the same 1180px. */
.site-header .wrap { max-width: 1460px; }

@media (min-width: 1201px) {
  :root { --header-h: 104px; }
  .brand-name { white-space: nowrap; }
}

/* Below the nav breakpoint the wordmark stacks onto two lines, which keeps it
   large on a phone instead of shrinking to fit beside the menu button. */
@media (max-width: 1200px) {
  .brand-br { display: block; }
  .brand-name { white-space: normal; }
  .brand-sub { margin-top: 6px; }
}

/* The phone button reappears once there's genuinely room for it. Below that,
   Call and Text are still one tap away in the sticky bottom bar and the footer. */
@media (max-width: 1379px) {
  .header-phone { display: none; }
}

/* A long button label must not force the layout wider than a small phone. */
@media (max-width: 460px) {
  .btn { white-space: normal; text-align: center; padding-inline: 22px; }
}
