/* ============================================================
   Lee's Bodyshop Derby — stylesheet
   ============================================================ */

:root {
  --bg:           #0a0a0b;
  --bg-deep:      #060608;
  --bg-card:      #07070a;
  --gold:         #d4af5a;
  --gold-light:   #f3dd9a;
  --gold-dark:    #a88338;
  --white:        #ffffff;
  --muted:        #b3b3bc;
  --dim:          #737380;
  --border:       rgba(255, 255, 255, 0.08);
  --border-gold:  rgba(212, 175, 90, 0.18);

  --container:    1280px;
  --pad-x:        80px;
  --radius-sm:    10px;
  --radius:       16px;
  --radius-lg:    20px;
  --radius-xl:    24px;
  --radius-pill:  999px;

  --gold-gradient: linear-gradient(90deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
}

/* ---------- reset ------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font: 16px/1.5 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* ---------- layout helpers ---------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

.align-center { text-align: center; }

/* ---------- typography -------------------------------------- */
.display {
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}

.h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold-light);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 90, 0.4);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.eyebrow-line {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--gold);
  letter-spacing: 2px;
}
.eyebrow-bar {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.eyebrow-double { gap: 12px; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  margin-bottom: 64px;
}
.section-sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
  line-height: 1.6;
}

/* ---------- buttons ----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 12px 20px; font-size: 14px; }

.btn-gold {
  background: var(--gold-gradient);
  color: #0a0805;
  box-shadow: 0 12px 32px rgba(212, 175, 90, 0.30);
}
.btn-gold:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 16px 36px rgba(212, 175, 90, 0.42); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-weight: 600;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- icon chip --------------------------------------- */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(243, 221, 154, 0.18), rgba(168, 131, 56, 0.18));
  border: 1px solid rgba(212, 175, 90, 0.5);
  color: var(--gold);
  flex-shrink: 0;
}
.icon-chip.lg {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

/* ---------- header ------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-gold);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo-mark { width: 56px; height: 56px; object-fit: contain; }
.logo-mark.sm { width: 48px; height: 48px; }

/* Header uses just the shield logo (tight-cropped svg) — wordmark is baked into the SVG */
.logo-lockup-mark-only .logo-mark {
  width: auto;
  height: 72px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.wordmark-top {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 1.5px;
  color: var(--white);
}
.wordmark-bot {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2.4px;
  color: var(--gold);
  margin-top: 4px;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 40px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.5px;
  transition: color .15s ease;
}
.nav a:hover,
.nav a.is-active { color: var(--white); }

.hamburger { display: none; }

/* ---------- hero -------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(212, 175, 90, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(168, 131, 56, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, #0f0f12 0%, #060608 55%, #030305 100%);
  padding: 110px 0 80px;
  min-height: 760px;
  display: flex;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(220px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 900px; height: 900px;
  background: rgba(212, 175, 90, 0.18);
  top: -300px; left: -250px;
}
.hero-glow-2 {
  width: 700px; height: 700px;
  background: rgba(168, 131, 56, 0.14);
  filter: blur(180px);
  bottom: -250px; right: -200px;
}

.hero-car {
  position: absolute;
  right: -100px;
  bottom: 60px;
  width: min(78%, 1100px);
  height: auto;
  opacity: 0.28;
  filter: brightness(0) saturate(100%) invert(86%) sepia(28%) saturate(517%) hue-rotate(2deg) brightness(94%) contrast(91%);
  /* The above filter recolors the SVG (light grey) to a warm light gold */
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 80px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 760px;
}
.hero-sub {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 580px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.stats {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--white);
}
.stat-label {
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--gold);
  font-weight: 500;
}

/* ---------- about ------------------------------------------- */
.about {
  padding: 120px 0;
  background: var(--bg);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-copy .h2 { color: var(--white); }
.about-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hl-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.hl-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
}
.hl-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- services ---------------------------------------- */
.services {
  padding: 120px 0;
  background: #060608;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 90, 0.35);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.service-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  flex-grow: 1;
}
.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--gold);
  align-self: flex-start;
  transition: gap .15s ease;
}
.learn-more:hover { gap: 12px; }

/* ---------- CTA --------------------------------------------- */
.cta {
  position: relative;
  padding: 120px 0;
  background: var(--bg);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 900px;
  height: 600px;
  background: rgba(212, 175, 90, 0.10);
  border-radius: 50%;
  filter: blur(240px);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.cta > .container { position: relative; z-index: 2; }

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.contact-top {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.contact-eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
}
.contact-title {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--white);
  word-break: break-word;
  transition: color .15s ease;
}
.contact-title:hover { color: var(--gold-light); }
.contact-sub {
  font-size: 14px;
  color: var(--muted);
}
.contact-card .btn { align-self: flex-start; }

/* ---------- footer ------------------------------------------ */
.site-footer {
  background: #060607;
  border-top: 1px solid var(--border-gold);
  padding: 64px 0 32px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 320px;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li,
.footer-col a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--white); }

.footer-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 0 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--dim);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 12px;
  color: var(--dim);
  font-weight: 500;
}
.footer-links a:hover { color: var(--white); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  :root { --pad-x: 48px; }
  .header-inner { gap: 24px; }
  .nav { gap: 28px; }
  .hero-car { opacity: 0.22; }
}

@media (max-width: 880px) {
  :root { --pad-x: 24px; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-gold);
    flex-direction: column;
    padding: 16px var(--pad-x) 24px;
    gap: 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 16px; }

  .header-inner > .btn { display: none; }

  .hamburger {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
  }

  .hero { padding: 80px 0 64px; min-height: auto; }
  .hero-car {
    top: auto;
    bottom: -40px;
    right: -100px;
    width: 130%;
    opacity: 0.18;
  }
  .hero-inner { gap: 56px; }
  .stats { gap: 32px; }
  .stat-num { font-size: 26px; }

  .about, .services, .cta { padding: 80px 0; }

  .about-inner,
  .highlight-grid,
  .service-grid,
  .contact-cards,
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-inner { gap: 56px; }
  .footer-cols { gap: 40px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .display { font-size: 40px; }
  .h2 { font-size: 32px; }
  .stats { gap: 24px; }
  .stats li { flex: 1 1 auto; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .contact-card { padding: 28px; }
  .contact-title { font-size: 22px; }
}

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