/* ==========================================================================
   A Class Auto Detailing — stylesheet
   Design tokens
   ========================================================================== */
:root {
  --ink: #12151b;
  --panel: #1a1f28;
  --panel-2: #202631;
  --line: #2c3340;
  --chrome: #c9cdd3;
  --chrome-dim: #8890a0;
  --shine: #2f6fed;
  --shine-dim: #1f4fb8;
  --amber: #f2a93b;
  --amber-dim: #d68f24;
  --text: #eceef2;
  --text-soft: #aab0bd;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1140px;
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--shine); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 0 0 0.6em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.4rem); }

p { margin: 0 0 1.1em; color: var(--text-soft); }

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

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.section--tight { padding: 48px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 8px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: var(--chrome); }
.topbar__contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 21, 27, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  font-family: var(--font-head);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: var(--white);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--shine), var(--shine-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  display: none;
}
.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 1.3rem;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary {
  background: var(--amber);
  color: #2a1a02;
}
.btn--primary:hover { background: var(--amber-dim); }
.btn--outline {
  background: transparent;
  border-color: var(--chrome-dim);
  color: var(--white);
}
.btn--outline:hover { border-color: var(--shine); color: var(--shine); }
.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background: radial-gradient(120% 140% at 15% -10%, #202b40 0%, var(--ink) 55%);
}
.hero__streak {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero__lede {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 46ch;
}
.hero__cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero__stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat__num {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--white);
}
.stat__label {
  font-size: 0.8rem;
  color: var(--chrome-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero__panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.hero__panel h3 { margin-bottom: 18px; }
.hero__list { list-style: none; margin: 0 0 24px; padding: 0; }
.hero__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--text-soft);
  font-size: 0.95rem;
}
.hero__list li:last-child { border-bottom: none; }
.hero__list .tick {
  color: var(--shine);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin-bottom: 10px; color: var(--white); }
.card p:last-child { margin-bottom: 0; }
.card__num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--shine);
  margin-bottom: 10px;
  display: block;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step__num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--ink);
  background: var(--chrome);
  min-width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step__body h3 { margin-bottom: 6px; }
.step__body p { margin-bottom: 0; }

.section__head {
  max-width: 68ch;
  margin: 0 0 40px;
}

/* ---------- Divider / shine strip ---------- */
.shine-strip {
  height: 6px;
  background: repeating-linear-gradient(
    115deg,
    var(--shine) 0px,
    var(--shine) 18px,
    var(--amber) 18px,
    var(--amber) 26px,
    var(--chrome-dim) 26px,
    var(--chrome-dim) 40px
  );
  opacity: 0.85;
}

/* ---------- FAQ ---------- */
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  background: var(--panel);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.faq__q .icon {
  color: var(--amber);
  font-family: var(--font-head);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq.is-open .faq__q .icon { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 22px;
}
.faq.is-open .faq__a {
  max-height: 400px;
  padding: 0 22px 20px;
}
.faq__a p { margin: 0; color: var(--text-soft); }

/* ---------- Contact ---------- */
.contact {
  background: var(--panel-2);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.contact-line__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--chrome-dim);
  margin-bottom: 2px;
}
.contact-line__value { color: var(--white); font-weight: 600; }
.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0;
  text-align: center;
  color: var(--chrome-dim);
  font-size: 0.85rem;
}
.site-footer a { color: var(--chrome); }

/* ---------- Sticky mobile call bar ---------- */
.call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--amber);
  display: none;
  padding: 12px 16px;
  justify-content: center;
}
.call-bar a {
  color: #2a1a02;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; }
  .nav__cta { display: none !important; }
  .topbar__contact { justify-content: center; width: 100%; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
  .section { padding: 52px 0; }
  .call-bar { display: flex; }
  body { padding-bottom: 62px; }
}

@media (max-width: 720px) {
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--panel);
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .nav { position: relative; }
}

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