/* Revive Mobile Mechanics: mock-up styles. Mobile first. */

:root {
  --red: #ED1C24;        /* sampled from the logo */
  --red-dark: #C2141B;   /* darker shade for text and buttons (passes AA contrast on white) */
  --ink: #141414;        /* near-black */
  --ink-2: #2a2a2a;
  --muted: #5b5b5b;
  --line: #e6e6e6;
  --tint: #f6f6f6;
  --white: #ffffff;
  --ph-bg: #fff176;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.06);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --sticky-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  padding-bottom: var(--sticky-h);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Placeholders */
mark.ph {
  background: var(--ph-bg);
  color: #1a1a1a;
  padding: 0 .3em;
  border-radius: 4px;
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 10px 20px;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 12px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red-dark); color: #fff; }
.btn-primary:hover { background: #a51117; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f0f0f0; }
.btn .icon, .icon { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 auto; }
.grow { flex: 1 1 auto; }
.center-row { justify-content: center; }
.link-btn { background: none; border: 0; padding: 4px; font: inherit; color: var(--red-dark); text-decoration: underline; cursor: pointer; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.logo { width: 170px; height: auto; }
.menu-toggle {
  width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s;
}
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav { display: none; width: 100%; padding: 4px 0 16px; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0 0 12px; padding: 0; }
.site-nav li a {
  display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.site-nav li a:hover { color: var(--red-dark); }
.header-actions { display: flex; flex-direction: column; gap: 10px; }

/* Hero */
.hero { padding: 28px 0 40px; }
.hero-inner { display: grid; gap: 28px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700;
  color: var(--red-dark); margin-bottom: .6em;
}
.hero h1 { font-size: clamp(2.4rem, 10vw, 4rem); font-weight: 900; letter-spacing: -.025em; }
.tagline { font-size: clamp(1.25rem, 4.8vw, 1.5rem); font-weight: 700; line-height: 1.3; color: var(--ink); max-width: 30em; margin: -.1em 0 .7em; }
.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 34em; }
.hero .btn-row { margin: 22px 0 24px; }
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.trust li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.tick { width: 24px; height: 24px; flex: none; fill: #fff; background: var(--red-dark); border-radius: 50%; padding: 3px; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 62%;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-photo::before {
  content: ""; position: absolute; left: -8px; bottom: -8px; width: 40%; height: 40%;
  background: var(--red); border-radius: var(--radius); z-index: -1;
}

/* Sections */
.section { padding: 56px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .eyebrow { color: #ff6b70; }
.section-head { margin-bottom: 28px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}

/* Quote form */
.quote-card { padding: 24px 20px; }
.steps-indicator { list-style: none; padding: 0; margin: 0 0 20px; display: flex; gap: 8px; }
.steps-indicator li {
  flex: 1; display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--muted);
  padding-bottom: 8px; border-bottom: 3px solid var(--line);
}
.steps-indicator li span {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--line); color: var(--ink); font-size: .85rem;
}
.steps-indicator li.is-active, .steps-indicator li.is-done { color: var(--ink); border-color: var(--red-dark); }
.steps-indicator li.is-active span, .steps-indicator li.is-done span { background: var(--red-dark); color: #fff; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 800; font-size: 1.15rem; margin-bottom: 12px; padding: 0; }
.choice-grid { display: grid; gap: 10px; margin-bottom: 16px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; min-height: 52px; padding: 12px 16px 12px 46px;
  border: 2px solid var(--line); border-radius: 12px; font-weight: 600; position: relative;
  transition: border-color .15s, background-color .15s;
}
.choice span::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border: 2px solid #9a9a9a; border-radius: 50%; background: #fff;
}
.choice:hover span { border-color: #bdbdbd; }
.choice input:checked + span { border-color: var(--red-dark); background: #fff5f5; }
.choice input:checked + span::before { border-color: var(--red-dark); box-shadow: inset 0 0 0 4px #fff; background: var(--red-dark); }
.choice input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

.chosen { background: var(--tint); border-radius: 10px; padding: 10px 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; min-height: 48px;
  border: 2px solid #c9c9c9; border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(237,28,36,.25); }
.field input[aria-invalid="true"] { border-color: var(--red-dark); }
.form-error { color: var(--red-dark); font-weight: 600; }

.thanks { text-align: center; padding: 12px 0 4px; }
.thanks:focus { outline: none; }
.thanks-icon { width: 56px; height: 56px; fill: #fff; background: var(--red-dark); border-radius: 50%; padding: 12px; margin: 0 auto 12px; }

/* Services */
.card-grid { display: grid; gap: 16px; }
.service h3 { margin-top: 4px; }
.service p { margin: 0; color: var(--ink-2); }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px; background: #fff0f0;
  display: grid; place-items: center; margin-bottom: 12px;
}
.service-icon svg { width: 26px; height: 26px; fill: var(--red-dark); }
.service-has-photo { overflow: hidden; }
.service-photo {
  width: calc(100% + 44px); max-width: none; margin: -22px -22px 18px;
  aspect-ratio: 16 / 10; object-fit: cover; object-position: center 55%;
}

/* Prices */
.price-card { padding: 28px 22px; text-align: center; }
.price-headline { font-size: clamp(1.4rem, 5.5vw, 1.9rem); font-weight: 700; margin-bottom: .4em; }
.price-headline strong { color: var(--red-dark); font-size: 1.35em; font-weight: 900; }
.price-text { color: var(--ink-2); max-width: 34em; margin: 0 auto .8em; }
.price-sub { font-size: 1.05rem; margin-bottom: .6em; }
.price-note { margin: 0; }
.fleet-line { margin: 18px 0 0; }

/* Fleet maintenance */
.fleet-inner { display: grid; gap: 28px; }
.fleet h2 { color: #fff; }
.fleet-lead { font-size: 1.1rem; color: #e8e8e8; max-width: 36em; }
.fleet-photo { margin: 22px 0 0; }
.fleet-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 42%; border-radius: var(--radius); }
.break-email { word-break: break-word; }
.fleet-details { margin: 20px 0 0; display: grid; gap: 12px; }
.fleet-details div { display: grid; gap: 2px; }
.fleet-details dt { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #ff6b70; }
.fleet-details dd { margin: 0; }
.fleet-card { color: var(--ink); }
.fleet-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.fleet-points li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.fleet-email { margin: 14px 0 0; text-align: center; font-size: .95rem; color: var(--muted); }
.fleet-email a { word-break: break-word; }

/* How it works */
.how-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: none; }
.how { position: relative; padding-top: 26px; }
.how p { margin: 0; color: var(--ink-2); }
.how-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 900; font-size: 1.2rem; margin-bottom: 12px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--red);
}

.how-photo { margin: 24px auto 0; max-width: 760px; }
.how-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 50%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Gallery */
.gallery { display: grid; gap: 16px; margin-bottom: 28px; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.03); }

/* CTA */
.cta { background: var(--red-dark); color: #fff; padding: 56px 0; text-align: center; }
.cta h2 { font-size: clamp(2rem, 7vw, 3rem); font-weight: 900; }
.cta p { font-size: 1.1rem; }
.cta .btn-row { margin-top: 20px; }

/* Footer */
.site-footer { background: var(--ink); color: #dcdcdc; padding: 44px 0 16px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 28px; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 10px; margin-bottom: 10px; }
.footer-logo img { width: 160px; }
.footer-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 10px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-list a { word-break: break-word; }
.footer-base { border-top: 1px solid #333; margin-top: 32px; padding-top: 16px; font-size: .85rem; color: #a9a9a9; }
.footer-base p { margin: 0; }

/* Sticky mobile bar */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr;
  height: var(--sticky-h); background: var(--ink);
  border-top: 1px solid #333; padding-bottom: env(safe-area-inset-bottom);
}
.sticky-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem;
}
.sticky-bar svg { width: 22px; height: 22px; fill: currentColor; }
.sticky-bar .sticky-quote { background: var(--red-dark); }

/* ---------- Larger screens ---------- */
@media (min-width: 600px) {
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .card-grid, .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-card { padding: 32px; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
  html { scroll-padding-top: 96px; }

  .menu-toggle { display: none; }
  .header-inner { flex-wrap: nowrap; min-height: 84px; }
  .logo { width: 200px; }
  .site-nav { display: flex !important; align-items: center; justify-content: flex-end; gap: 24px; width: auto; padding: 0; }
  .site-nav ul { display: flex; gap: 4px; margin: 0; }
  .site-nav li a { border: 0; padding: 10px 10px; border-radius: 8px; }
  .header-actions { flex-direction: row; }

  .hero { padding: 64px 0 80px; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
  .hero-photo img { aspect-ratio: 4 / 4.4; }
  .hero .btn-row .btn { flex: 0 0 auto; }

  .section { padding: 88px 0; }
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .how-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .how-photo { margin-top: 32px; }
  .fleet-inner { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .gallery-item img { aspect-ratio: 4 / 4.6; }
  .footer-grid { grid-template-columns: 1.3fr 1.5fr 1.2fr 1fr; }
  .cta { padding: 80px 0; }
  .cta .btn-row .btn { flex: 0 0 auto; }
}

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