/* ============================================================
   AV MASTER DETAILERS — "pimp my ride" design system
   Palette from the brand flyer: deep bubble-blue, orange car,
   yellow chrome lettering, white soap bubbles.
   ============================================================ */

:root {
  --blue-deep: #071c3f;
  --blue: #0d2f66;
  --blue-mid: #1547a0;
  --blue-pop: #2f7ff0;
  --orange: #ff7a1a;
  --orange-hot: #ff5e00;
  --yellow: #ffd23f;
  --yellow-hot: #ffb700;
  --white: #ffffff;
  --ink: #10131c;
  --bubble: rgba(255, 255, 255, 0.18);
  --card: rgba(255, 255, 255, 0.06);
  --card-line: rgba(255, 255, 255, 0.14);
  --radius: 22px;
  --shadow-pop: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Bungee", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--white);
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(47, 127, 240, 0.35), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(21, 71, 160, 0.5), transparent 60%),
    radial-gradient(700px 500px at 60% 110%, rgba(255, 122, 26, 0.14), transparent 60%),
    linear-gradient(180deg, var(--blue-deep), #051022 70%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

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

a { color: var(--yellow); }

.wrap { width: min(1120px, 92vw); margin-inline: auto; }

/* ---------- headings: chrome / pimp style ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.chrome {
  background: linear-gradient(180deg, #fff9e6 0%, var(--yellow) 38%, var(--yellow-hot) 52%, #ffe98a 66%, #b97900 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.55)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.chrome-blue {
  background: linear-gradient(180deg, #eaf4ff 0%, #9cc8ff 45%, var(--blue-pop) 60%, #dbeeff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.55));
}

/* ---------- skip link / a11y ---------- */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--yellow); color: var(--ink);
  padding: 10px 16px; z-index: 100; border-radius: 0 0 12px 0;
  font-weight: 700; text-decoration: none;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 16, 34, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-line);
}

.nav {
  display: flex; align-items: center; gap: 18px;
  padding: 10px 0;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 2.5vw, 1.05rem);
}
.brand .brand-av { color: var(--orange); }
.brand .brand-rest { color: var(--yellow); }
.brand svg { width: 52px; height: auto; }

.nav-links {
  margin-left: auto; display: flex; gap: 22px; align-items: center;
  list-style: none;
}
.nav-links a {
  color: #dbe7ff; text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.nav-links a:hover { color: var(--yellow); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  text-decoration: none; text-transform: uppercase;
  border-radius: 999px; border: 0; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.06); }
.btn:active { transform: translateY(0) scale(0.99); }

.btn-call {
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-hot) 100%);
  color: #fff;
  padding: 12px 22px; font-size: 0.9rem;
  box-shadow: 0 6px 0 #a33800, 0 16px 30px rgba(255, 94, 0, 0.35);
}
.btn-ghost {
  background: transparent; color: var(--yellow);
  border: 2px solid var(--yellow);
  padding: 11px 20px; font-size: 0.85rem;
}
.btn-big { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(30px, 5vw, 60px);
  overflow: hidden;
}

.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
}

.hero h1 {
  font-size: clamp(1.9rem, 5.4vw, 3.6rem);
  margin-bottom: 18px;
}

.hero .tagline {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: #cfe0ff;
  max-width: 46ch;
  margin-bottom: 26px;
}
.hero .tagline strong { color: var(--yellow); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  background: var(--card); border: 1px solid var(--card-line);
  padding: 7px 14px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; color: #cfe0ff;
}
.pill b { color: var(--yellow); }

.hero-car {
  position: relative;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.5));
  animation: float-car 4.5s ease-in-out infinite;
}

@keyframes float-car {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

/* ---------- soap bubbles ---------- */
.bubbles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0;
}
.bubble {
  position: absolute; bottom: -80px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.85) 0 8%, transparent 20%),
    radial-gradient(circle at 65% 70%, rgba(255, 255, 255, 0.25) 0 12%, transparent 30%),
    radial-gradient(circle at 50% 50%, var(--bubble), rgba(255, 255, 255, 0.05) 70%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { transform: translateY(-110vh) translateX(var(--drift, 30px)) scale(1.15); opacity: 0; }
}

.section { position: relative; padding: clamp(48px, 7vw, 88px) 0; }
.section > .wrap { position: relative; z-index: 1; }

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 10px;
}
.section-sub {
  color: #b9cdf3; max-width: 62ch; margin-bottom: 38px; font-size: 1.02rem;
}

/* ---------- ticker ---------- */
.ticker {
  border-block: 2px solid var(--yellow);
  background: linear-gradient(90deg, var(--orange-hot), var(--orange));
  overflow: hidden; white-space: nowrap;
  padding: 10px 0;
  transform: rotate(-1.2deg) scale(1.02);
  box-shadow: var(--shadow-pop);
}
.ticker-track {
  display: inline-block;
  animation: ticker 26s linear infinite;
  font-family: var(--font-display);
  font-size: 0.98rem; color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.ticker-track span { margin: 0 22px; }
.ticker-track .star { color: var(--yellow); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- cards ---------- */
.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 210, 63, 0.55);
  background: rgba(255, 255, 255, 0.09);
}
.card h3 { font-size: 1.05rem; color: var(--yellow); margin-bottom: 10px; }
.card p { color: #c6d6f5; font-size: 0.95rem; }
.card .icon { font-size: 1.9rem; margin-bottom: 12px; display: block; }

/* ---------- pricing ---------- */
.price-cards {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  align-items: stretch;
}

.price-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 24px 22px 28px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover {
  transform: translateY(-8px) rotate(-0.6deg);
  border-color: var(--orange);
  box-shadow: 0 22px 44px rgba(255, 94, 0, 0.22);
}

.price-card .car { margin: 4px auto 6px; width: min(230px, 80%); }

/* wheels spin + mohawk wiggle on hover */
.car .wheel { transform-box: fill-box; transform-origin: center; }
.price-card:hover .car .wheel, .hero-car:hover .wheel { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.car .mohawk { transform-box: fill-box; transform-origin: 50% 100%; }

/* the black hair needs a light edge to read against the dark navy background */
.mohawk polygon {
  stroke: #9cc8ff;
  stroke-width: 2;
  stroke-linejoin: round;
  paint-order: stroke fill;
}
.price-card:hover .car .mohawk, .hero-car:hover .mohawk { animation: wiggle 0.5s ease-in-out infinite; }
@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3.5deg); }
}

.price-card h3 { font-size: 1rem; color: #dbe7ff; letter-spacing: 1px; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.6rem; line-height: 1.1; margin: 6px 0 4px;
}
.price-card .note { color: #a9bce2; font-size: 0.85rem; }

.fine-print {
  margin-top: 26px;
  background: rgba(255, 210, 63, 0.08);
  border: 1px dashed rgba(255, 210, 63, 0.5);
  border-radius: 14px;
  padding: 14px 18px;
  color: #ffe9a8; font-size: 0.92rem;
}

/* ---------- service area ---------- */
.area-links { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.area-link {
  display: block; text-decoration: none;
  background: var(--card); border: 1px solid var(--card-line);
  border-radius: 16px; padding: 18px 20px;
  color: var(--white); font-weight: 700;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.area-link:hover { transform: translateY(-4px); border-color: var(--yellow); }
.area-link small { display: block; color: #a9bce2; font-weight: 500; margin-top: 4px; }
.area-link .go { color: var(--orange); }

/* ---------- payments ---------- */
.pay-row { display: flex; flex-wrap: wrap; gap: 16px; }
.pay-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1rem;
  border-radius: 14px; padding: 14px 22px;
  border: 1px solid var(--card-line); background: var(--card);
}
.pay-badge .dot { width: 12px; height: 12px; border-radius: 50%; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--card); border: 1px solid var(--card-line);
  border-radius: 14px; padding: 16px 20px; margin-bottom: 12px;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--yellow);
  list-style: none; position: relative; padding-right: 30px;
}
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 0;
  font-family: var(--font-display); color: var(--orange);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: #c6d6f5; font-size: 0.96rem; }

/* ---------- contact / footer ---------- */
.contact-grid { display: grid; gap: 26px; grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
.contact-list a { color: var(--white); text-decoration: none; font-weight: 700; }
.contact-list a:hover { color: var(--yellow); }
.contact-list .lbl { color: var(--orange); font-family: var(--font-display); font-size: 0.75rem; display: block; }

.site-footer {
  border-top: 1px solid var(--card-line);
  padding: 30px 0 110px;
  color: #8fa5cc; font-size: 0.88rem;
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.footer-cities { color: #8fa5cc; }
.footer-cities a { color: #b9cdf3; text-decoration: none; }
.footer-cities a:hover { color: var(--yellow); }

/* ---------- sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none;
  gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(5, 16, 34, 0.92); backdrop-filter: blur(10px);
  border-top: 1px solid var(--card-line);
}
.callbar .btn { flex: 1; padding: 13px 10px; font-size: 0.82rem; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- city hero variant ---------- */
.city-hero { padding: clamp(40px, 7vw, 80px) 0 10px; }
.breadcrumbs { font-size: 0.85rem; color: #8fa5cc; margin-bottom: 18px; }
.breadcrumbs a { color: #b9cdf3; text-decoration: none; }
.breadcrumbs a:hover { color: var(--yellow); }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-car { max-width: 420px; margin-inline: auto; }
  .nav-links { display: none; }
  .callbar { display: flex; }
  /* the sticky bottom call bar covers this, so drop the header button that
     was overflowing the narrow header row */
  .site-header .btn-call { display: none; }
  .nav { justify-content: space-between; }
}

@media (max-width: 460px) {
  /* keep the long city names in the display headline from overflowing */
  .hero h1 { font-size: clamp(1.5rem, 7.4vw, 2rem); letter-spacing: 0; }
  .ticker { transform: rotate(-1.2deg) scale(1.04); }
}

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