/* Really Fast Towing — one stylesheet, mobile-first. Palette matches the SVG artwork. */
:root {
  --ink: #101216;
  --asphalt: #1b1e24;
  --road: #23272f;
  --steel: #3a3f49;
  --silver: #c9ccd2;
  --paper: #f7f4ee;
  --sand: #ebe6da;
  --text: #16181d;
  --muted: #555b66;
  --on-dark: #f0ece3;
  --on-dark-muted: #b3b7bf;
  --accent: #ff6a13;
  --accent-dark: #c9480a;
  --amber: #ffc23d;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --radius: 10px;
  --header-h: 64px;
  --bar-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--paper); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.light :focus-visible, .sand :focus-visible, .form-card :focus-visible, .call-band :focus-visible { outline-color: var(--ink); }

/* every anchor target clears the sticky header */
section, [id] { scroll-margin-top: calc(var(--header-h) + 16px); }

h1, h2, h3, .logo-text, .btn, .eyebrow { font-family: var(--font-display); }
h1 { font-size: clamp(2.5rem, 9vw, 4.6rem); line-height: .98; font-weight: 800; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 5.5vw, 2.9rem); line-height: 1.05; font-weight: 800; text-transform: uppercase; text-wrap: balance; }
h3 { font-size: 1.4rem; line-height: 1.15; font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink); padding: 12px 16px; font-weight: 600; border-radius: 6px; }
.skip:focus { top: 8px; }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 20px; border: 2px solid transparent; border-radius: 8px; font-size: 1.25rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn .ico { flex: none; }
.btn-call { background: var(--accent); color: var(--ink); }
.btn-call:hover { background: var(--amber); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--road); }
.btn-ghost { border-color: currentColor; background: transparent; color: var(--on-dark); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-lg { min-height: 58px; font-size: 1.55rem; padding-inline: 26px; }
.btn-xl { min-height: 68px; font-size: clamp(1.6rem, 6.5vw, 2.4rem); padding-inline: clamp(18px, 5vw, 40px); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.more { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.more:hover { color: var(--accent-dark); }

/* ----------------------------------------------------------------- topbar */
.topbar { background: var(--amber); color: var(--ink); font-size: .9rem; font-weight: 600; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.topbar-call { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; text-underline-offset: 3px; }
@media (max-width: 599px) { .topbar-hours { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* ----------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--on-dark); border-bottom: 1px solid var(--steel); }
.header-in { display: flex; align-items: center; gap: 10px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.logo img { width: 40px; height: 40px; flex: none; }
.logo-text { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: .02em; white-space: nowrap; }
.logo-accent { color: var(--accent); }
.header-call { min-height: 44px; font-size: 1.2rem; padding-inline: 14px; }
.nav-toggle { width: 44px; height: 44px; flex: none; display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: transparent; border: 2px solid var(--steel); border-radius: 8px; cursor: pointer; }
.nav-toggle span { width: 20px; height: 2px; background: var(--on-dark); }
.nav ul { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; border-radius: 6px; }
.nav a:hover { background: var(--road); }
.nav .nav-cta { color: var(--amber); }

@media (max-width: 959px) {
  .header-in { flex-wrap: wrap; }
  .js .nav-toggle { display: flex; }
  .nav { order: 5; width: 100%; padding-bottom: 8px; }
  .js .nav { display: none; }
  .js .nav.open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { width: 100%; min-height: 48px; }
}
@media (max-width: 420px) {
  .wrap { padding-inline: 12px; }
  .header-in { gap: 8px; }
  .logo { gap: 7px; }
  .logo img { width: 32px; height: 32px; }
  .logo-text { font-size: 1.02rem; }
  .logo-text span { display: block; }
  .header-call { padding-inline: 10px; font-size: 1.1rem; gap: 6px; }
  .header-call .ico { width: 16px; height: 16px; }
}
@media (max-width: 374px) {
  .header-call .ico { display: none; }
}

/* ------------------------------------------------------------------- hero */
.hero { position: relative; background: var(--ink); color: var(--on-dark); padding-top: 28px; overflow: hidden; }
.hero-grid { position: relative; display: grid; gap: 0; }
.hero-copy { padding-bottom: 20px; }
.eyebrow { font-size: 1.15rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.lead { font-size: 1.2rem; line-height: 1.5; color: var(--on-dark-muted); max-width: 34em; margin-top: 16px; }
.hero .btn-lg { margin-top: 22px; }
.hero-art { position: relative; width: 100%; height: 230px; overflow: hidden; }
.hero-art img { position: absolute; bottom: 0; left: -22%; width: 190%; max-width: none; height: auto; }
/* phones: copy, then the artwork, then the form card */
.hero { display: flex; flex-direction: column; }
.hero-art { order: 2; }
.hero-grid { display: contents; }
.hero-copy { order: 1; width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.hero .form-card { order: 3; margin: -10px 12px 28px; position: relative; }

@media (min-width: 960px) {
  .hero { display: block; padding-top: 40px; padding-bottom: 26vw; }
  .hero-art { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; overflow: visible; }
  .hero-art img { position: static; width: 100%; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 48px; align-items: start; }
  .hero-copy { padding: 0; margin: 0; }
  .hero .form-card { margin: 0 0 -22.5vw; }
}

.hazard { height: 12px; background: repeating-linear-gradient(-45deg, var(--amber) 0 16px, var(--ink) 16px 32px); }

/* -------------------------------------------------------------- form card */
.form-card { background: var(--paper); color: var(--text); border-radius: 14px; padding: 22px 18px; border-top: 8px solid var(--accent); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.form-title { font-size: 2rem; }
.form-intro { color: var(--muted); margin: 4px 0 14px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.req { font-weight: 400; color: var(--muted); margin-left: 3px; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid #b9b4a8; border-radius: 8px; background: #fff; font-size: 1rem; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--amber); outline-offset: 0; }
.field-row { display: grid; gap: 0 12px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } .form-card { padding: 26px 26px; } }
.hp-wrap { display: none !important; }
.form-note { margin-top: 10px; text-align: center; font-size: .98rem; color: var(--muted); }
.form-note a { font-weight: 600; color: var(--text); display: inline-flex; align-items: center; min-height: 44px; }

/* --------------------------------------------------------------- features */
.features { background: var(--accent); color: var(--ink); }
.features ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding-block: 14px; }
.features li { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.2; padding: 10px 0 10px 16px; border-left: 4px solid var(--ink); margin-block: 6px; }
@media (min-width: 900px) { .features ul { grid-template-columns: repeat(4, 1fr); } .features li { font-size: 1.3rem; } }

/* --------------------------------------------------------------- sections */
.section { padding-block: clamp(48px, 8vw, 88px); }
.light { background: var(--paper); }
.sand { background: var(--sand); }
.dark { background: var(--asphalt); color: var(--on-dark); }
.section-lead { font-size: 1.15rem; color: var(--muted); max-width: 44em; margin-top: 10px; }
.dark .section-lead { color: var(--on-dark-muted); }
.section h2 + p, .prose h2 + p { margin-top: 14px; }
.section p + p { margin-top: 12px; }
.prose h2 { margin-top: 34px; font-size: clamp(1.6rem, 4.5vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose .btn { margin-top: 18px; }
.split { display: grid; gap: 28px; align-items: center; }
.art { width: 100%; border-radius: 18px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.1fr; gap: 56px; } .contact-split { grid-template-columns: 1fr 1fr; align-items: start; } }

/* services */
.svc-grid { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.svc-card { background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; border-bottom: 5px solid var(--ink); }
.svc-card img { width: 100%; }
.svc-body { padding: 16px 16px 8px; display: flex; flex-direction: column; flex: 1; }
.svc-body p { margin-top: 6px; color: var(--muted); font-size: 1rem; flex: 1; }
@media (max-width: 559px) {
  .svc-card { flex-direction: row; align-items: stretch; }
  .svc-card img { width: 116px; height: auto; object-fit: contain; flex: none; background: var(--asphalt); }
  .svc-body { padding: 12px 12px 4px; }
}
.svc-row { display: grid; gap: 18px; padding-block: 28px; border-bottom: 2px solid var(--sand); }
.svc-row:first-child { padding-top: 0; }
.svc-row img { width: 100%; max-width: 300px; border-radius: 14px; }
.svc-row h2 { font-size: clamp(1.6rem, 4.5vw, 2.1rem); }
@media (min-width: 720px) { .svc-row { grid-template-columns: 280px 1fr; gap: 36px; align-items: start; } }
.ticks { margin-top: 14px; display: grid; gap: 6px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--accent-dark); border-bottom: 3px solid var(--accent-dark); transform: rotate(-45deg); }

/* steps: a real sequence, so numbered */
.steps { counter-reset: s; display: grid; gap: 18px; margin-top: 30px; }
.steps li { counter-increment: s; position: relative; padding: 18px 18px 18px 78px; background: var(--road); border-radius: 12px; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 14px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--accent); color: var(--ink); border-radius: 8px; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; }
.steps p { color: var(--on-dark-muted); margin-top: 4px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li { padding: 76px 20px 22px; } .steps li::before { top: 18px; left: 20px; } }

/* promises / reviews */
.promise-grid { display: grid; gap: 16px; margin-top: 28px; }
.promise-card, .review-card { background: #fff; border-radius: 12px; padding: 22px 20px; border-left: 8px solid var(--accent); }
.sand .promise-card { background: var(--paper); }
.promise-card p { margin-top: 8px; color: var(--muted); }
.review-by { margin-top: 12px; font-weight: 600; }
blockquote { margin: 0; }
@media (min-width: 820px) { .promise-grid { grid-template-columns: repeat(3, 1fr); } }

/* safety */
.tips { counter-reset: t; display: grid; gap: 14px 28px; margin-top: 28px; }
.tips li { counter-increment: t; padding-left: 52px; position: relative; }
.tips li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid var(--amber); color: var(--amber); border-radius: 50%; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.tips p { color: var(--on-dark-muted); margin-top: 2px; }
@media (min-width: 820px) { .tips { grid-template-columns: 1fr 1fr; } }
.callout { margin-top: 34px; padding: 22px 20px; border-radius: 12px; background: var(--ink); border: 2px solid var(--amber); display: grid; gap: 16px; align-items: center; }
.callout p { font-size: 1.15rem; }
.light-callout { background: var(--sand); border-color: var(--ink); }
@media (min-width: 820px) { .callout { grid-template-columns: 1fr auto; padding: 26px 30px; } }

/* faq */
.faq { margin-top: 24px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 12px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; background: var(--ink); color: var(--amber); border-radius: 6px; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; max-width: 46em; }

/* call band */
.call-band { background: var(--accent); color: var(--ink); text-align: center; padding-block: clamp(44px, 8vw, 80px); }
.call-band h2 { font-size: clamp(2.2rem, 8vw, 4rem); }
.call-band p { font-size: 1.2rem; font-weight: 500; margin: 10px 0 24px; }

/* inner pages */
.page-hero { background: var(--ink); color: var(--on-dark); padding-block: clamp(36px, 7vw, 72px); }
.page-hero h1 { font-size: clamp(2.3rem, 8vw, 4rem); }
.page-hero.center { text-align: center; padding-block: clamp(64px, 12vw, 130px); }
.page-hero.center .lead { margin-inline: auto; }
.crumbs { font-size: .95rem; color: var(--on-dark-muted); margin-bottom: 14px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.hours-big { font-family: var(--font-display); font-weight: 800; font-size: 2rem; text-transform: uppercase; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 48px 0 calc(var(--bar-h) + 40px); }
.footer-grid { display: grid; gap: 32px; }
.site-footer p { color: var(--on-dark-muted); margin-top: 10px; }
.site-footer .footer-hours { color: var(--amber); font-weight: 600; }
.site-footer .btn { margin-top: 16px; }
.site-footer h2 { font-size: 1.3rem; color: var(--on-dark); }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.footer-legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--steel); font-size: .95rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ------------------------------------------- sticky call bar (all devices) */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: var(--on-dark); border-top: 3px solid var(--accent); padding-bottom: env(safe-area-inset-bottom, 0); }
.sticky-in { display: flex; align-items: center; gap: 10px; min-height: var(--bar-h); }
.sticky-text { display: none; margin-right: auto; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.sticky-bar .btn { flex: 1 1 0; min-height: 48px; font-size: 1.15rem; padding-inline: 8px; }
.sticky-bar .btn-call { flex-grow: 1.5; }
@media (max-width: 399px) { .sticky-bar .call-word { display: none; } .sticky-bar .btn { font-size: 1.08rem; gap: 6px; } }
@media (min-width: 760px) { .sticky-text { display: block; } .sticky-bar .btn { flex: none; padding-inline: 22px; font-size: 1.3rem; } }

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