/* ============ THE CAR DOCTOR — styles ============ */
:root {
  --dark: #16161a;
  --darker: #0e0e10;
  --card-dark: #1e1e24;
  --orange: #f48c06;
  --orange-deep: #e85d04;
  --orange-soft: rgba(244, 140, 6, 0.12);
  --light: #f5f3ee;
  --light-warm: #efece4;
  --white: #ffffff;
  --muted: #8b8b94;
  --muted-dark: #55555e;
  --text: #232328;
  --radius: 10px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.35);
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

.container { width: min(1180px, 92%); margin: 0 auto; }

.section { padding: 96px 0; }

h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.08; }

h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; margin-bottom: 14px; }

.accent { color: var(--orange); }

/* Eyebrow labels */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow-bar { display: inline-block; width: 42px; height: 3px; background: var(--orange); }
.eyebrow-dark { color: var(--orange-deep); }
.eyebrow-dark .eyebrow-bar { background: var(--orange-deep); }

.section-lede { font-size: 1.1rem; color: var(--muted-dark); max-width: 640px; margin-bottom: 48px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
  padding: 15px 32px; border-radius: 6px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%); color: #fff; box-shadow: 0 10px 24px -10px rgba(232, 93, 4, 0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(232, 93, 4, 0.8); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(14, 14, 16, 0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled { background: rgba(14, 14, 16, 0.96); box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.6); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark-icon { width: 30px; height: 30px; }
.wordmark-logo { height: 38px; width: auto; display: block; }
.footer-logo { height: 46px; width: auto; display: block; margin-bottom: 14px; }
@media (max-width: 480px) {
  .wordmark-logo { height: 30px; }
}
.wordmark-text { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.06em; color: var(--light); }
.wordmark-text em { font-style: normal; color: var(--orange); }

.main-nav { display: flex; gap: 34px; }
.main-nav a {
  font-family: var(--font-display); font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245, 243, 238, 0.82);
  text-decoration: none; position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--orange); transition: width 0.22s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-call { padding: 11px 22px; font-size: 0.95rem; color: #fff; border: 2px solid rgba(255, 255, 255, 0.35); }
.btn-call:hover { border-color: var(--orange); color: var(--orange); }

.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--light); margin: 6px 0; transition: transform 0.25s ease, opacity 0.25s ease; }

/* ============ HERO ============ */
.hero { position: relative; min-height: 94vh; display: flex; align-items: center; overflow: hidden; background: var(--darker); }
.hero-bg {
  position: absolute; inset: 0;
  background: url('images/hero.jpg') center 65% / cover no-repeat;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 10, 12, 0.92) 0%, rgba(10, 10, 12, 0.72) 42%, rgba(10, 10, 12, 0.25) 75%, rgba(10, 10, 12, 0.45) 100%),
    linear-gradient(to top, var(--darker) 0%, transparent 22%);
}
.hero-content { position: relative; z-index: 2; padding: 150px 0 130px; max-width: 1180px; }
.hero-content h1 { color: #fff; font-size: clamp(2.7rem, 6.4vw, 4.8rem); font-weight: 700; margin-bottom: 20px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); }
.hero-sub { color: rgba(245, 243, 238, 0.88); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 560px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .eyebrow { color: var(--orange); }

/* ============ TRUST BAR ============ */
.trust { background: transparent; margin-top: -64px; position: relative; z-index: 5; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 26px; display: flex; gap: 18px; align-items: flex-start;
  border-top: 4px solid var(--orange);
}
.trust-icon {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--orange-soft); display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 26px; height: 26px; color: var(--orange-deep); }
.trust-card h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 4px; color: var(--dark); }
.trust-card p { font-size: 0.92rem; color: var(--muted-dark); }

/* ============ SERVICES ============ */
.services { background: var(--light); padding-top: 110px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 34px 30px;
  border: 1px solid rgba(0, 0, 0, 0.06); border-top: 4px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-top-color 0.22s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-top-color: var(--orange); }
.service-icon {
  width: 58px; height: 58px; border-radius: 14px; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 20px -8px rgba(232, 93, 4, 0.6);
}
.service-icon svg { width: 28px; height: 28px; color: #fff; }
.service-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; color: var(--dark); }
.service-card p { font-size: 0.95rem; color: var(--muted-dark); }

/* ============ MAKES ============ */
.makes { background: var(--dark); color: var(--light); position: relative; overflow: hidden; }
.makes::before {
  content: ""; position: absolute; top: -120px; right: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(244, 140, 6, 0.16) 0%, transparent 70%);
}
.makes-inner { display: block; max-width: 760px; margin: 0 auto; position: relative; text-align: center; }
.makes-copy > p { margin-left: auto; margin-right: auto; max-width: 560px; }
.brand-chips { justify-content: center; }
.makes h2 { color: #fff; }
.makes-copy > p { color: rgba(245, 243, 238, 0.82); font-size: 1.08rem; margin-bottom: 28px; max-width: 480px; }
.makes-copy > p strong { color: #fff; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.chip {
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--light); border: 1.5px solid rgba(245, 243, 238, 0.28); border-radius: 999px;
  padding: 10px 22px; transition: all 0.2s ease; cursor: default;
}
.chip:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }
.chip-more { border-style: dashed; color: var(--orange); border-color: rgba(244, 140, 6, 0.5); }

/* ============ ABOUT ============ */
.about { background: var(--light-warm); }
.about-inner { display: block; max-width: 820px; margin: 0 auto; }
.about-copy p { color: var(--muted-dark); margin-bottom: 16px; }
.about-copy p strong { color: var(--dark); }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 30px; border-top: 1px solid rgba(0, 0, 0, 0.1); }
.why-item { padding: 18px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: baseline; }
.why-item h3 { font-size: 1rem; font-weight: 600; color: var(--orange-deep); }
.why-item p { font-size: 0.94rem; margin: 0; }

/* ============ REVIEWS ============ */
.reviews { background: linear-gradient(120deg, var(--orange-deep) 0%, var(--orange) 100%); padding: 44px 0; }
.reviews-inner { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; text-align: center; }
.stars { display: flex; gap: 6px; }
.stars svg { width: 30px; height: 30px; color: #fff; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25)); }
.reviews p { color: #fff; font-size: 1.25rem; font-weight: 500; }
.reviews p strong { font-weight: 700; }

/* ============ CONTACT ============ */
.contact { background: var(--darker); color: var(--light); }
.contact h2 { color: #fff; }
.contact .section-lede { color: rgba(245, 243, 238, 0.7); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; margin-bottom: 48px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-card {
  display: flex; gap: 18px; align-items: flex-start; text-decoration: none;
  background: var(--card-dark); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius); padding: 22px; transition: border-color 0.2s ease, transform 0.2s ease;
}
.info-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.info-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; background: var(--orange-soft); display: flex; align-items: center; justify-content: center; }
.info-icon svg { width: 24px; height: 24px; color: var(--orange); }
.info-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--orange); letter-spacing: 0.1em; margin-bottom: 4px; }
.info-card p { color: var(--light); font-size: 1.02rem; }

.contact-form { background: var(--card-dark); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-field label { font-family: var(--font-display); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245, 243, 238, 0.65); margin-bottom: 8px; }
.form-field input, .form-field textarea {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px; color: #fff; font-family: var(--font-body); font-size: 1rem;
  padding: 13px 15px; transition: border-color 0.2s ease, background 0.2s ease; width: 100%;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(245, 243, 238, 0.35); }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--orange); background: rgba(255, 255, 255, 0.09); }
.form-field textarea { resize: vertical; min-height: 110px; }
.hidden { display: none; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(0.35) contrast(1.05); }

/* ============ FOOTER ============ */
.site-footer { background: #0a0a0c; color: rgba(245, 243, 238, 0.7); padding: 56px 0 0; border-top: 3px solid var(--orange); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand .wordmark-text { font-size: 1.4rem; }
.footer-brand p { margin-top: 10px; font-size: 0.95rem; }
.footer-contact { text-align: right; font-size: 0.95rem; }
.footer-contact p { margin-bottom: 6px; }
.footer-contact a { color: var(--light); text-decoration: none; }
.footer-contact a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 20px 0; font-size: 0.85rem; color: var(--muted); }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .main-nav {
    position: fixed; top: 72px; right: 0; left: 0; z-index: 99;
    background: #0e0e10;
    flex-direction: column; gap: 0; padding: 12px 4%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-130%); transition: transform 0.3s ease;
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 14px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 1.05rem; }
  .main-nav a:last-child { border-bottom: 0; }
  .hamburger { display: block; }
  .hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .trust-grid { grid-template-columns: 1fr; }
  .trust { margin-top: -48px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .why-item { grid-template-columns: 1fr; gap: 4px; }
  .footer-contact { text-align: left; }
}

@media (max-width: 600px) {
  .section { padding: 68px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .hero-content { padding: 130px 0 110px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .btn-call span { display: none; }
  .btn-call { padding: 11px 14px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 22px; }
  .reviews-inner { flex-direction: column; gap: 12px; }
}

/* ============ SERVICE PAGES ============ */
.page-hero { background: var(--dark); color: var(--light); padding: 148px 0 64px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: -140px; right: -100px; width: 440px; height: 440px; background: radial-gradient(circle, rgba(244, 140, 6, 0.16) 0%, transparent 70%); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.08; margin: 14px 0 18px; position: relative; }
.page-hero > .container > p:last-child { color: rgba(245, 243, 238, 0.82); font-size: 1.08rem; max-width: 660px; position: relative; }
.crumb { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245, 243, 238, 0.6); position: relative; }
.crumb a { color: var(--orange); text-decoration: none; }
.service-detail-inner { display: grid; grid-template-columns: 1.55fr 1fr; gap: 60px; align-items: start; }
.service-detail h2 { font-size: 1.45rem; margin: 34px 0 14px; }
.service-detail h2:first-child { margin-top: 0; }
.service-detail p { color: var(--muted-dark); margin-bottom: 16px; }
.service-detail p strong { color: var(--dark); }
.check-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: var(--dark); }
.check-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--orange-deep); font-weight: 700; }
.cta-card { background: var(--dark); color: var(--light); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); position: sticky; top: 96px; }
.cta-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 10px; }
.cta-card p { color: rgba(245, 243, 238, 0.78); font-size: 0.95rem; margin-bottom: 8px; }
.cta-card .btn-block { width: 100%; text-align: center; margin: 14px 0 18px; }
.cta-card .cta-meta { margin-bottom: 14px; }
.cta-card .cta-meta strong { color: #fff; }
.related { margin-top: 40px; border-top: 1px solid rgba(0, 0, 0, 0.1); padding-top: 24px; }
.related h3 { font-size: 1rem; margin-bottom: 14px; }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related a { color: var(--orange-deep); font-weight: 600; text-decoration: none; border: 1.5px solid rgba(0, 0, 0, 0.14); border-radius: 999px; padding: 8px 18px; font-size: 0.88rem; }
.related a:hover { border-color: var(--orange); color: var(--orange); }
a.service-card { text-decoration: none; display: block; transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .service-detail-inner { grid-template-columns: 1fr; }
  .cta-card { position: static; }
}
