/* =========================================================
   A Class Auto Detailing — Design Tokens
   Palette: garage charcoal + wax-shine amber
   Display: Oswald (condensed, automotive)  Body: Inter
   ========================================================= */

:root {
  --bg: #14171c;
  --bg-alt: #191d24;
  --surface: #1e232b;
  --surface-2: #262c35;
  --border: rgba(255, 255, 255, 0.08);

  --accent: #e8a33d;
  --accent-dim: #b97f2c;
  --accent-2: #4fc3e0;

  --text: #f2efe9;
  --text-muted: #a6adb6;

  --font-display: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius: 10px;
  --max-width: 1140px;
  --transition: 220ms ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  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(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { list-style: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #14171c;
  padding: 10px 16px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 10px; top: 10px; }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #171205;
  box-shadow: 0 8px 24px rgba(232, 163, 61, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 12px 28px rgba(232, 163, 61, 0.35); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); text-decoration: none; transform: translateY(-2px); }

.btn-header {
  padding: 10px 20px;
  font-size: 0.75rem;
}

.btn-large { font-size: 0.95rem; padding: 16px 34px; margin-top: 12px; }

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 23, 28, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text);
}
.logo span { color: var(--accent); font-weight: 500; }
.logo:hover { text-decoration: none; }

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.main-nav a:hover { color: var(--accent); text-decoration: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: 90px 24px 70px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(232, 163, 61, 0.12), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(79, 195, 224, 0.08), transparent 55%),
    var(--bg);
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.shine-text {
  background: linear-gradient(100deg, var(--text) 30%, var(--accent) 45%, var(--text) 60%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine-sweep 3.2s ease-in-out 0.4s 1 forwards;
}

@keyframes shine-sweep {
  0% { background-position: 130% 0; }
  60% { background-position: -30% 0; }
  100% { background-position: -30% 0; }
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-swirl {
  position: absolute;
  right: -120px;
  top: 40%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px dashed rgba(232, 163, 61, 0.18);
  background:
    repeating-conic-gradient(rgba(232,163,61,0.05) 0deg 4deg, transparent 4deg 12deg);
  transform: translateY(-50%);
  pointer-events: none;
}

/* =========================================================
   Sections
   ========================================================= */

.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }

.section-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin-bottom: 22px;
  max-width: 760px;
}

.section h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 26px 0 10px;
  color: var(--text);
}

.section p {
  color: var(--text-muted);
  max-width: 760px;
  margin-bottom: 16px;
}

.section p strong { color: var(--text); font-weight: 600; }

.section a { text-decoration: underline; text-decoration-color: rgba(232,163,61,0.4); }

/* =========================================================
   Process Grid
   ========================================================= */

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.process-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform var(--transition), border-color var(--transition);
}
.process-card:hover { transform: translateY(-4px); border-color: rgba(232, 163, 61, 0.35); }

.process-num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.process-card h3 { margin-top: 8px; margin-bottom: 8px; }
.process-card p { margin-bottom: 0; font-size: 0.95rem; }

/* =========================================================
   Benefit lists
   ========================================================= */

.benefit-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefit-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
}
.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.benefit-list li strong { color: var(--text); }

/* =========================================================
   FAQ
   ========================================================= */

.faq-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 22px;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  color: var(--text-muted);
  padding-bottom: 18px;
  font-size: 0.96rem;
}

/* =========================================================
   Contact
   ========================================================= */

.contact-section { text-align: center; }
.contact-section h2 { margin: 0 auto 10px; }
.contact-intro { max-width: 560px; margin: 0 auto 40px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
}

.contact-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(232, 163, 61, 0.12);
  margin-bottom: 14px;
}
.contact-icon svg { width: 20px; height: 20px; fill: var(--accent); }

.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.contact-card a { color: var(--accent-2); font-weight: 600; }
.contact-card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* =========================================================
   Reveal on scroll
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .shine-text { background-position: 0 0; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    transform: translateY(-130%);
    transition: transform var(--transition);
  }
  .main-nav.is-open { transform: translateY(0); }

  .menu-toggle { display: flex; }
  .btn-header { display: none; }

  .hero { padding: 60px 20px 50px; }
  .hero-swirl { display: none; }
  .section { padding: 54px 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
