/* Pristine Excellence Co. — dark automotive theme matched to the flyer:
   gloss black, electric blue, silver. Heavy uppercase display type. */

:root {
  --black: #0a0c10;
  --panel: #10141b;
  --panel-2: #151a23;
  --line: #232a36;
  --blue: #3b82f6;
  --blue-deep: #1d4ed8;
  --blue-glow: rgba(59, 130, 246, 0.35);
  --silver: #e8eaee;
  --gray: #9aa3b2;
  --muted: #6b7484;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--black); color: var(--silver); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

h1, h2, .logo-main { text-transform: uppercase; letter-spacing: 0.02em; font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--blue); margin-top: 12px; border-radius: 2px; }
.section-sub { color: var(--gray); max-width: 640px; margin-bottom: 34px; }
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--blue); margin-bottom: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 16, 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 26px; height: 66px; }
.logo { display: flex; align-items: center; line-height: 1.05; }
.logo-img { height: 52px; width: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)); }
.logo-main { font-size: 19px; color: #fff; }
.logo-sub { font-size: 9px; letter-spacing: 0.34em; color: var(--blue); font-weight: 700; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { font-size: 13.5px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; }
.nav-links a:hover { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 8px; font-size: 14px; font-weight: 700;
  border: 1.5px solid transparent; letter-spacing: 0.02em;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 0 24px var(--blue-glow); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-ghost { border-color: var(--line); color: var(--silver); }
.btn-ghost:hover { border-color: var(--blue); color: #fff; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 90px;
  background:
    radial-gradient(ellipse 900px 460px at 78% -10%, rgba(59, 130, 246, 0.16), transparent 60%),
    linear-gradient(180deg, #0d1117 0%, var(--black) 70%);
  border-bottom: 1px solid var(--line);
}
/* Full-bleed hero photo behind the text (photos/hero.jpg). JS hides it if the file isn't there yet. */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 16, 0.88) 0%, rgba(10, 12, 16, 0.5) 48%, rgba(10, 12, 16, 0.06) 100%),
    linear-gradient(180deg, rgba(10, 12, 16, 0.32) 0%, transparent 36%, rgba(10, 12, 16, 0.5) 100%);
}
.hero-content { position: relative; z-index: 2; }
/* Cursor bubbles live here — clipped to the hero, never blocking clicks */
.hero-cursor { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.washfx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cbub {
  position: absolute; border-radius: 50%; transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 36% 28%, #ffffff 0 20%, rgba(255,255,255,0.92) 40%, rgba(255,255,255,0.5) 68%, rgba(255,255,255,0.08) 82%, rgba(255,255,255,0) 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 1px 3px rgba(255, 255, 255, 0.95),
    inset 0 -2px 5px rgba(190, 205, 225, 0.4),
    0 0 6px rgba(255, 255, 255, 0.5);
  animation: cbub var(--cdur, 1.2s) ease-out forwards;
}
@keyframes cbub {
  0% { opacity: 0; }
  20% { opacity: 0.9; }
  100% { opacity: 0; transform: translate(-50%, calc(-50% - 46px)) scale(1.15); }
}
.hero h1 { font-size: clamp(46px, 9vw, 92px); line-height: 0.98; color: #fff; margin-bottom: 20px; }
.hero .accent { color: var(--blue); text-shadow: 0 0 40px var(--blue-glow); }
.lede { font-size: clamp(16px, 2vw, 19px); color: var(--gray); max-width: 540px; margin-bottom: 32px; }
.hero-loc { display: inline-block; font-size: 14px; font-weight: 700; color: #fff; letter-spacing: 0.02em;
  background: var(--blue-soft, rgba(59,130,246,0.16)); border: 1px solid var(--blue); border-radius: 999px;
  padding: 7px 16px; margin-bottom: 20px; }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-top: 8px; }
.area-info h3 { font-size: 20px; color: #fff; margin-bottom: 12px; }
.area-info p { color: var(--gray); margin-bottom: 14px; }
.area-hours b { color: var(--blue); font-size: 17px; }
.area-note { font-size: 14px; border-left: 3px solid var(--blue); padding-left: 14px; }
.area-map iframe { width: 100%; height: 340px; border: 1px solid var(--line); border-radius: 14px; display: block; }
@media (max-width: 780px) { .area-grid { grid-template-columns: 1fr; } .area-map iframe { height: 280px; } }
/* Mini-header: plain text with dot separators — reads as a label, not buttons */
.vehicle-strip { display: flex; gap: 0; flex-wrap: wrap; margin-top: 42px; }
.vehicle-strip li {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gray);
}
.vehicle-strip li:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tint { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px;
  transition: border-color 0.15s, transform 0.15s;
  cursor: pointer;
}
.svc:hover, .svc.open { border-color: var(--blue); transform: translateY(-2px); }
.svc h3 { font-size: 16px; color: #fff; margin-bottom: 8px; }
.svc p { font-size: 14px; color: var(--gray); }
/* Expandable detail panel — opens on hover (desktop) or tap (everywhere) */
.svc-more {
  display: grid; grid-template-rows: 0fr; overflow: hidden;
  transition: grid-template-rows 0.25s ease;
}
.svc-more > div { min-height: 0; }
@media (hover: hover) { .svc:hover .svc-more { grid-template-rows: 1fr; } }
.svc.open .svc-more { grid-template-rows: 1fr; }
.svc-more ul { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
.svc-more li {
  font-size: 13px; color: var(--silver); padding: 3px 0 3px 18px; position: relative;
}
.svc-more li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.svc-more .svc-meta { margin-top: 10px; font-size: 12px; color: var(--muted); }
.svc-more .svc-book {
  display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 700; font-size: 13.5px;
  text-decoration: none;
}
.svc-more .svc-book:hover { text-decoration: underline; }
.svc-hint { margin-top: 12px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.svc.open .svc-hint, .svc:hover .svc-hint { display: none; }
.price { margin-top: 14px; color: var(--blue); font-size: 22px; font-weight: 800; }
.price small { display: block; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.ba { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.ba img { width: 100%; height: 340px; object-fit: cover; }
.ba figcaption {
  position: absolute; top: 12px; left: 12px; background: rgba(10, 12, 16, 0.85);
  padding: 4px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: #fff; border: 1px solid var(--line);
}

/* ---------- Packages ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.pkg { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; display: flex; flex-direction: column; }
.pkg-featured { border-color: var(--blue); box-shadow: 0 0 40px rgba(59, 130, 246, 0.12); }
.pkg-flag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 8px; }
.pkg h3 { font-size: 18px; color: #fff; }
.pkg-price { color: #fff; font-size: 32px; font-weight: 800; margin: 10px 0 16px; }
.pkg-price small { display: block; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.pkg ul { display: grid; gap: 9px; margin-bottom: 22px; }
.pkg li { font-size: 14px; color: var(--gray); padding-left: 22px; position: relative; }
.pkg li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.pkg .btn { margin-top: auto; }

/* ---------- Add-ons ---------- */
.addons { margin-top: 44px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.addons h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 16px; }
.addon-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 28px; }
.addon-list li {
  display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--gray);
  border-bottom: 1px dashed var(--line); padding-bottom: 8px;
}
.addon-list b { color: var(--silver); }
.fine { margin-top: 16px; font-size: 12px; color: var(--muted); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.why-grid li {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; font-size: 14.5px; font-weight: 600; color: var(--silver);
  padding-left: 44px; position: relative;
}
.why-grid li::before {
  content: "✓"; position: absolute; left: 18px; color: var(--blue); font-weight: 800; font-size: 16px;
}

/* ---------- Our Work gallery ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.work-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

/* ---------- Booking form ---------- */
.yelp-link { color: var(--blue); font-weight: 700; }
.bookform { max-width: 640px; }
.bookform label { display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 16px; }
.bookform input, .bookform select {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px;
  color: var(--silver); font-size: 15px; font-family: inherit;
}
.bookform input:focus, .bookform select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); }
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bookform .cta-row { margin-top: 6px; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact h2::after { margin-left: auto; margin-right: auto; }
.contact .section-sub { margin-left: auto; margin-right: auto; }
.phone-big {
  display: block; font-size: clamp(34px, 7vw, 62px); font-weight: 800; color: #fff;
  letter-spacing: 0.01em; margin: 18px 0 26px; text-shadow: 0 0 44px var(--blue-glow);
}
.phone-big:hover { color: var(--blue); }
.contact-alt { margin-top: 20px; font-size: 14px; color: var(--muted); }
.contact-alt a { color: var(--blue); }

/* ---------- Reviews ---------- */
.stars { color: var(--blue); letter-spacing: 0.14em; font-size: 15px; }
.section-sub .stars { margin-right: 8px; }
.section-sub b { color: var(--silver); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rev {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.rev p { font-size: 14.5px; color: var(--gray); }
.rev .stars { font-size: 13px; }
.rev footer { font-size: 12.5px; color: var(--muted); margin-top: auto; }
.rev footer b { color: var(--silver); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 38px 0 110px; text-align: center; }
.footer-logo-img { height: 128px; width: auto; display: block; margin: 0 auto 8px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5)); }
.footer-logo { display: none; } /* badge already shows the name */
.footer-tag { color: var(--blue); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.18em; margin: 4px 0 14px; }
.footer-fine { font-size: 13px; color: var(--muted); line-height: 1.8; }
.footer-fine a { color: var(--gray); }

/* ---------- Sticky call bar (mobile) ---------- */
.callbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: none; gap: 1px; background: var(--line);
  border-top: 1px solid var(--line);
}
.callbar a {
  flex: 1; text-align: center; padding: 15px 10px; font-weight: 800; font-size: 15px;
  background: var(--blue); color: #fff;
}
.callbar a.callbar-text { background: var(--panel-2); color: var(--silver); }

/* ---------- Soap suds (scroll-driven bubbles) ---------- */
.suds {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.sud {
  position: absolute; bottom: -40px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.9) 0 8%, rgba(255, 255, 255, 0.12) 30%, rgba(59, 130, 246, 0.10) 62%, rgba(59, 130, 246, 0) 72%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.25);
  opacity: 0;
  animation: rise var(--dur, 7s) ease-in forwards;
}
@keyframes rise {
  0% { transform: translate(0, 0) scale(0.6); opacity: 0; }
  12% { opacity: 0.85; }
  70% { opacity: 0.7; }
  100% { transform: translate(var(--drift, 0), -102vh) scale(1); opacity: 0; }
}
/* keep bubbles above the dark panels but below all content */
.nav, main, .footer, .callbar { position: relative; z-index: 2; }
.hero { z-index: 2; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .svc-grid, .why-grid, .addon-list, .rev-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 70px 0 60px; }
  .section { padding: 60px 0; }
  .svc-grid, .why-grid, .addon-list, .ba-grid, .rev-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid img { height: 140px; }
  .bf-row { grid-template-columns: 1fr; gap: 0; }
  .ba img { height: 240px; }
  .callbar { display: flex; }
  .nav .btn { display: none; }
}

/* ============ Our Work carousel ============ */
.carousel { position: relative; max-width: 940px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(0,0,0,0.55); }
.carousel-track { display: flex; transition: transform 0.55s cubic-bezier(0.4,0,0.2,1); will-change: transform; }
.cslide { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); background: rgba(0,0,0,0.45); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); transition: background 0.2s, border-color 0.2s; z-index: 2; }
.carousel-btn:hover { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 22px var(--blue-glow); }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 2; }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; transition: background 0.25s, width 0.25s; }
.carousel-dots button.active { background: var(--blue); width: 22px; border-radius: 5px; }
@media (max-width: 640px) {
  .carousel-btn { width: 38px; height: 38px; font-size: 22px; }
  .carousel-btn.prev { left: 8px; } .carousel-btn.next { right: 8px; }
}

/* ============ Book page: auto-booking embed ============ */
.callrow { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.callrow .callrow-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.callrow .btn { margin: 0; }
.book-online { max-width: 820px; }
.svc-picker { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 20px; }
.svc-pick { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-2); color: var(--silver, #c9d1de); font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color 0.18s, background 0.18s, color 0.18s; }
.svc-pick:hover { border-color: var(--blue); color: #fff; }
.svc-pick.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 20px var(--blue-glow); }
.cal-embed { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.cal-embed iframe { width: 100%; min-height: 720px; border: none; display: block; }
@media (max-width: 640px) {
  .callrow { flex-direction: column; align-items: stretch; }
  .callrow .callrow-btns .btn { width: 100%; }
  .cal-embed iframe { min-height: 640px; }
}
