/* ============================================================
   Shine & Drive — design system
   ============================================================ */
:root {
  --bg: #0a0c10;
  --bg-alt: #0e1219;
  --surface: #141a24;
  --surface-2: #1a2230;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef2f7;
  --text-muted: #9aa7b8;
  --accent: #2f8bff;
  --accent-2: #35d0ff;
  --accent-grad: linear-gradient(135deg, var(--accent), var(--accent-2));
  --radius: 14px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 84px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.accent-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-accent {
  background: var(--accent-grad);
  color: #06121f;
  box-shadow: 0 6px 24px rgba(47, 139, 255, 0.35);
}
.btn-accent:hover { box-shadow: 0 10px 30px rgba(47, 139, 255, 0.5); }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-2); }

.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo { display: flex; align-items: center; }
.logo-img { height: 72px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.main-nav a:not(.btn):hover { color: var(--text); }

.nav-toggle { display: none; }
.header-call-mobile { display: none; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 70% 20%, rgba(47, 139, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 45% at 15% 85%, rgba(53, 208, 255, 0.1), transparent 60%),
    var(--bg);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}

.hero-inner { position: relative; max-width: 780px; }
.hero-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin-bottom: 1.2rem;
}
.hero-sub {
  margin: 1.4rem 0 2.2rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 34rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  margin-top: 2.6rem;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.hero-badges li { display: flex; align-items: center; gap: 0.5rem; }
.hero-badges li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-grad);
  flex-shrink: 0;
}

/* ============ Sections ============ */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }

.section-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin-bottom: 0.8rem;
}
.section-sub {
  color: var(--text-muted);
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

/* ============ Cards ============ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}

/* ============ Services ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.service-card { display: flex; flex-direction: column; gap: 0.9rem; }
.service-card ul {
  list-style: none;
  columns: 2;
  column-gap: 1.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
}
.service-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.35;
  margin-bottom: 0.65rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
.service-card ul li::before { content: "✓"; color: var(--accent-2); font-size: 0.8rem; }
.service-card .btn { align-self: flex-start; margin-top: 0.4rem; }

.service-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
}

.service-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin-top: -0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}
.service-duration svg { color: var(--accent-2); flex-shrink: 0; }

.service-note { color: var(--text-muted); font-size: 0.92rem; flex-grow: 1; }

.service-card.is-featured {
  background: linear-gradient(180deg, rgba(47, 139, 255, 0.12), var(--surface) 45%);
  border-color: rgba(47, 139, 255, 0.4);
  position: relative;
}
.service-flag {
  position: absolute;
  top: -12px;
  left: 1.4rem;
  background: var(--accent-grad);
  color: #06121f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

/* ============ Quote ============ */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.quote-intro { position: sticky; top: calc(var(--header-h) + 2rem); }

.quote-points { list-style: none; display: grid; gap: 0.6rem; color: var(--text-muted); }
.quote-points li { display: flex; align-items: baseline; gap: 0.6rem; }
.quote-points li::before { content: "✓"; color: var(--accent-2); }

.quote-card, .contact-card { padding: 2rem; box-shadow: var(--shadow); }

.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
}

.field input,
.field select,
.field textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  width: 100%;
  transition: border-color 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field select:disabled { opacity: 0.5; }
.field input::placeholder, .field textarea::placeholder { color: rgba(154, 167, 184, 0.55); }

.field input[type="date"] { color-scheme: dark; }

.condition-label {
  float: right;
  color: var(--accent-2);
  font-weight: 600;
}

input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  padding: 0;
  border: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  cursor: grab;
}
.range-ends {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.quote-result {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.quote-result-service {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-2);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.quote-result-price {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0.2rem 0;
}
.quote-result-meta { color: var(--text-muted); font-size: 0.95rem; }
.quote-result-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

.lead-capture {
  margin-top: 1.5rem;
  padding: 1.3rem;
  background: var(--surface-2);
  border-radius: 12px;
  text-align: left;
}
.lead-capture-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.lead-capture .field input { background: var(--surface); }

.form-status { margin-top: 0.8rem; font-size: 0.9rem; min-height: 1.4em; }
.form-status.is-success { color: #4ade80; }
.form-status.is-error { color: #f87171; }

/* ============ Booking embed (GoHighLevel) ============ */
.embed-card { padding: 0.6rem; }
#ghl-booking-frame {
  width: 100%;
  min-height: 700px;
  border: none;
  border-radius: 10px;
  background: #fff;
}
.embed-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 0.7rem 1rem 0.9rem;
}
.embed-note a { color: var(--accent-2); }

.quote-book-link {
  display: block;
  text-align: center;
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--accent-2);
}
.quote-book-link:hover { text-decoration: underline; }

/* ============ Gallery / before-after ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.4rem;
}

.ba-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}
.ba-card figcaption {
  padding: 0.9rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 500;
}

.ba-slider {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider .ba-before { z-index: 2; }

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #fff;
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #0a0c10;
  border: none;
  z-index: 4;
  display: grid;
  place-items: center;
  cursor: ew-resize;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.ba-handle:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.ba-tag {
  position: absolute;
  top: 12px;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.ba-tag-before { left: 12px; }
.ba-tag-after { right: 12px; }

.gallery-note {
  margin-top: 1.6rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

/* ============ Reviews ============ */
.stars { color: #fbbc04; letter-spacing: 0.15em; }

.hero-rating a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
}
.hero-rating a:hover { color: var(--accent-2); }
.hero-badges .hero-rating::before { display: none; }

.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 2.2rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}
.google-rating:hover { border-color: var(--accent); }
.google-rating strong { color: var(--text); font-family: var(--font-display); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.review-card { display: flex; flex-direction: column; gap: 0.7rem; margin: 0; }
.review-card .stars { font-size: 0.85rem; }
.review-card > p:not(.stars) {
  font-size: 1.02rem;
  line-height: 1.55;
  flex-grow: 1;
}
.review-card footer {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reviews-cta { margin-top: 2rem; text-align: center; }

/* ============ About ============ */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.about-mission {
  border-left: 3px solid var(--accent);
  padding: 0.4rem 0 0.4rem 1.2rem;
  margin: 1.5rem 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
}
.about-text > p:last-child { color: var(--text-muted); }

.about-stats { list-style: none; display: grid; gap: 1rem; }
.about-stats li { display: flex; flex-direction: column; gap: 0.2rem; padding: 1.3rem 1.5rem; }
.about-stats strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-stats span { color: var(--text-muted); font-size: 0.92rem; }

/* ============ Contact ============ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-list { list-style: none; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.contact-list a { color: var(--accent-2); word-break: break-all; }
.contact-list a:hover { text-decoration: underline; }

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 0;
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-logo-img { height: 88px; width: auto; }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.6rem; }
.footer-contact { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.92rem; color: var(--text-muted); }
.footer-contact a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============ Floating call button (mobile) ============ */
.floating-call {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #06121f;
  display: none;
  place-items: center;
  box-shadow: 0 8px 24px rgba(47, 139, 255, 0.45);
}

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .quote-layout,
  .contact-layout,
  .about-layout { grid-template-columns: 1fr; gap: 2rem; }
  .quote-intro { position: static; }
  .about-stats { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .section { padding: 4rem 0; }
  .logo-img { height: 58px; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header-call-mobile { display: inline-flex; margin-left: auto; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 12, 16, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1.25rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) {
    padding: 0.9rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-call { margin-top: 1rem; justify-content: center; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-ctas .btn { width: 100%; }
  .floating-call { display: grid; }
  .service-card ul { columns: 1; }
  .quote-card, .contact-card { padding: 1.4rem; }
}
