/* ============================================================
   Auto Trends Automotive — site stylesheet
   Concept: Heritage Mechanic (dark gray + navy + electric green)
   ============================================================ */

:root {
  --cream: #1A1D22;
  --cream-2: #14171B;
  --navy: #0A1220;
  --navy-2: #14213A;
  --ink: #ECEEF1;
  --ink-2: #BCC1CB;
  --muted: #8A92A2;
  --rule: #2E3239;
  --yellow: #BFFF00;
  --yellow-deep: #7AAB00;
  --green: #2E7D44;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .display { font-family: 'Archivo', sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.top-strip {
  background: var(--navy);
  color: var(--ink);
  font-size: 13px;
  padding: 8px 0;
}
.top-strip .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.top-strip a { color: var(--yellow); font-weight: 600; }
.top-strip .badge { display: inline-flex; align-items: center; gap: 6px; }
.top-strip .dot { width: 8px; height: 8px; background: #5DD96E; border-radius: 50%; }

header {
  background: var(--cream);
  border-bottom: 4px solid var(--navy);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 76px; width: auto; display: block; }
@media (max-width: 700px) { .logo img { height: 56px; } }
.nav-links {
  display: flex; gap: 28px; font-size: 15px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.nav-links a:hover { color: var(--yellow); }
.nav-links a.active { color: var(--yellow); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  font-family: 'Archivo';
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.nav-phone .label { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; line-height: 1; margin-bottom: 4px; font-family: 'Inter'; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; font-family: 'Archivo';
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.15s ease;
  cursor: pointer;
  border-radius: 4px;
  border: 3px solid transparent;
}
.btn-primary { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.btn-primary:hover { background: var(--navy); color: var(--yellow); border-color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--ink); border-color: var(--navy); }
.btn-navy:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-lg { padding: 18px 32px; font-size: 16px; }
@media (max-width: 1000px) { .nav-links { display: none; } .nav-phone { display: none; } }

/* BREADCRUMBS */
.breadcrumbs {
  font-size: 13px;
  padding: 16px 0 0;
  color: var(--muted);
}
.breadcrumbs a { color: var(--ink-2); border-bottom: 1px solid transparent; padding-bottom: 1px; }
.breadcrumbs a:hover { color: var(--yellow); border-bottom-color: var(--yellow); }
.breadcrumbs .sep { margin: 0 8px; color: var(--muted); }
.breadcrumbs .current { color: var(--ink); }

/* HERO */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.45;
  filter: blur(60px);
  z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 99px;
  background: var(--navy); color: var(--ink);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow .star { color: var(--yellow); }
.hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.98;
  margin-bottom: 28px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.035em;
}
.hero h1 .highlight {
  background: var(--yellow);
  color: var(--navy);
  padding: 0 12px;
  display: inline-block;
  transform: rotate(-1deg);
}
.hero p {
  font-size: 19px; line-height: 1.6;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img-wrap {
  position: relative;
  border: 6px solid var(--navy);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 5/4;
}
.hero-img {
  background: center/cover no-repeat;
  width: 100%; height: 100%;
}
.hero-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--yellow); color: var(--navy);
  padding: 18px 24px;
  border: 4px solid var(--navy);
  border-radius: 8px;
  font-family: 'Archivo'; font-weight: 800;
  font-size: 16px; line-height: 1.2;
  text-transform: uppercase;
  transform: rotate(-3deg);
  z-index: 2;
  text-align: center;
}
.hero-badge strong { display: block; font-size: 22px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-img-wrap { aspect-ratio: 4/3; }
}

/* PAGE HERO (smaller, for sub-pages) */
.page-hero {
  padding: 60px 0 70px;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 400px; height: 400px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.18;
  filter: blur(60px);
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  position: relative;
  max-width: 900px;
}
.page-hero h1 .highlight {
  background: var(--yellow);
  color: var(--navy);
  padding: 0 10px;
  display: inline-block;
}
.page-hero .lede {
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 720px;
  position: relative;
}
.page-hero .summary {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--cream-2);
  border-left: 4px solid var(--yellow);
  border-radius: 4px;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 820px;
  position: relative;
}
.page-hero .summary strong { color: var(--ink); }

/* TRUST BAR */
.trust-bar {
  background: var(--navy); color: var(--ink);
  padding: 36px 0;
}
.trust-bar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.trust-item { display: flex; gap: 16px; align-items: center; }
.trust-item .num { font-family: 'Archivo'; font-weight: 900; font-size: 38px; color: var(--yellow); line-height: 1; }
.trust-item .label { font-size: 14px; line-height: 1.3; color: rgba(236,238,241,0.85); }
.trust-item .label strong { display: block; color: var(--ink); font-weight: 700; }
@media (max-width: 800px) { .trust-bar .container { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* SECTION */
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-eyebrow {
  display: inline-block;
  background: var(--yellow); color: var(--navy);
  padding: 6px 12px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 20px;
  transform: rotate(-1deg);
}
.section h2 {
  font-size: clamp(36px, 5vw, 60px);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.section h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section .lede {
  font-size: 18px; color: var(--ink-2);
  max-width: 720px; margin-bottom: 60px;
}
.section .prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 800px; }
.section .prose p { margin-bottom: 20px; }
.section .prose strong { color: var(--ink); font-weight: 600; }
.section .prose ul { margin: 20px 0 24px 24px; }
.section .prose ul li { margin-bottom: 10px; }
.section .prose h3 { margin-top: 36px; margin-bottom: 12px; font-size: 24px; }
.section .prose a { color: var(--yellow); border-bottom: 1px solid var(--yellow); padding-bottom: 1px; }
.section .prose a:hover { color: var(--yellow-deep); border-bottom-color: var(--yellow-deep); }

/* SPECIALTY GRID */
.spec-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.spec-card {
  background: var(--cream-2);
  border: 3px solid var(--navy);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.spec-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.spec-card:hover { transform: translateY(-4px); box-shadow: 0 12px 0 var(--yellow); }
.spec-card:hover::before { transform: scaleY(1); }
.spec-card:hover * { color: var(--ink) !important; }
.spec-card:hover .spec-icon { background: var(--yellow); border-color: var(--yellow); }
.spec-card > * { position: relative; z-index: 1; transition: color 0.2s; }
.spec-icon {
  width: 56px; height: 56px;
  background: var(--navy); color: var(--yellow);
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 20px;
  transition: all 0.2s;
  border: 3px solid var(--navy);
}
.spec-icon svg { width: 28px; height: 28px; }
.spec-card h3 {
  font-size: 24px; font-weight: 900; text-transform: uppercase;
  margin-bottom: 10px;
}
.spec-card p {
  font-size: 14px; color: var(--ink-2); line-height: 1.55;
  margin-bottom: 18px;
}
.spec-card ul { list-style: none; font-size: 13px; color: var(--ink-2); margin-bottom: 20px; }
.spec-card ul li { padding: 4px 0; padding-left: 16px; position: relative; }
.spec-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--yellow); font-weight: 700; }
.spec-link {
  font-family: 'Archivo'; font-weight: 800; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 3px solid var(--yellow);
  padding-bottom: 2px;
}
@media (max-width: 1000px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .spec-grid { grid-template-columns: 1fr; } }

/* SERVICES MENU (dark on navy) */
.services-section { background: var(--navy); color: var(--ink); }
.services-section h2 { color: var(--ink); }
.services-section .lede { color: rgba(236,238,241,0.7); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--navy-2); border-radius: 8px; overflow: hidden; }
.service-row {
  padding: 24px 28px;
  border-bottom: 1px solid var(--navy-2);
  border-right: 1px solid var(--navy-2);
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  transition: background 0.15s;
}
.service-row:hover { background: var(--navy-2); }
.service-row:hover .service-arrow { color: var(--yellow); transform: translateX(4px); }
.service-row .name { font-family: 'Archivo'; font-weight: 700; font-size: 17px; }
.service-row .meta { font-size: 13px; color: rgba(236,238,241,0.65); margin-top: 4px; display: block; }
.service-arrow { color: rgba(236,238,241,0.3); font-size: 22px; transition: all 0.15s; font-family: 'Archivo'; font-weight: 700; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .services-grid { grid-template-columns: 1fr; } }

/* WHY US */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-img {
  aspect-ratio: 5/6;
  background: center/cover no-repeat;
  border: 6px solid var(--navy); border-radius: 12px;
  position: relative;
}
.why-img::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 100%; height: 100%;
  background: var(--yellow);
  border-radius: 12px;
  z-index: -1;
}
.why h3 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 32px;
  text-transform: uppercase;
}
.why-points { display: grid; gap: 24px; }
.why-point { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 2px solid var(--navy); }
.why-point:first-child { border-top: 0; padding-top: 0; }
.why-point-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--yellow); color: var(--navy);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Archivo'; font-weight: 900;
  font-size: 16px;
}
.why-point h4 { font-size: 18px; margin-bottom: 4px; text-transform: uppercase; }
.why-point p { font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; gap: 60px; } }

/* REVIEWS */
.reviews-section { background: var(--cream-2); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--cream);
  border: 3px solid var(--navy);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}
.review-card .stars { color: var(--yellow); font-size: 18px; letter-spacing: 3px; margin-bottom: 16px; }
.review-card p { font-size: 16px; line-height: 1.6; margin-bottom: 20px; color: var(--ink-2); }
.review-author { font-size: 14px; color: var(--muted); border-top: 2px solid var(--rule); padding-top: 16px; }
.review-author strong { color: var(--ink); display: block; font-family: 'Archivo'; font-weight: 800; font-size: 15px; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* MAP / VISIT */
.visit-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.visit-img {
  aspect-ratio: 4/3;
  background: center/cover no-repeat;
  border: 6px solid var(--navy); border-radius: 12px;
}
.visit-info p { font-size: 17px; line-height: 1.7; color: var(--ink-2); margin-bottom: 16px; }
.visit-info .nap-block {
  background: var(--cream-2); border: 3px dashed var(--navy);
  padding: 28px; border-radius: 12px;
  margin-top: 28px; margin-bottom: 32px;
}
.visit-info .nap-block strong { font-family: 'Archivo'; font-weight: 900; font-size: 24px; text-transform: uppercase; display: block; margin-bottom: 12px; color: var(--ink); }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; gap: 40px; } }

/* FAQ */
.faq-list { max-width: 880px; }
.faq-item {
  background: var(--cream-2);
  border: 2px solid var(--rule);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 22px 24px;
  cursor: pointer;
  font-family: 'Archivo';
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--yellow);
  font-size: 28px;
  font-weight: 700;
  transition: transform 0.2s;
  margin-left: 16px;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .answer {
  padding: 0 24px 22px;
  color: var(--ink-2);
  line-height: 1.7;
  font-size: 16px;
}
.faq-item .answer p { margin-bottom: 12px; }
.faq-item .answer p:last-child { margin-bottom: 0; }

/* SUB-SERVICES GRID (within pillar pages) */
.sub-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0 56px;
}
.sub-service {
  background: var(--cream-2);
  border: 2px solid var(--rule);
  border-radius: 10px;
  padding: 24px;
  transition: all 0.18s;
}
.sub-service:hover { border-color: var(--yellow); transform: translateY(-2px); }
.sub-service h4 {
  font-family: 'Archivo'; font-weight: 800;
  font-size: 16px; text-transform: uppercase;
  margin-bottom: 8px;
}
.sub-service p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.sub-service .arrow { color: var(--yellow); font-weight: 700; margin-top: 12px; display: inline-block; font-size: 13px; letter-spacing: 0.06em; }
@media (max-width: 900px) { .sub-services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .sub-services { grid-template-columns: 1fr; } }

/* SYMPTOMS LIST */
.symptoms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 40px;
  padding: 24px;
  background: var(--cream-2);
  border: 2px solid var(--rule);
  border-radius: 10px;
}
.symptoms li {
  list-style: none;
  font-size: 15px;
  color: var(--ink-2);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.symptoms li::before {
  content: '⚠'; position: absolute; left: 0;
  color: var(--yellow);
  font-size: 14px;
}
@media (max-width: 700px) { .symptoms { grid-template-columns: 1fr; } }

/* TWO-COLUMN CONTENT */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

/* IMAGE BLOCK */
.img-block {
  aspect-ratio: 4/3;
  background: center/cover no-repeat;
  border: 6px solid var(--navy);
  border-radius: 12px;
}
.img-block.tall { aspect-ratio: 3/4; }
.img-block.wide { aspect-ratio: 16/9; }

/* FORM */
.form-block {
  background: var(--cream-2);
  border: 2px solid var(--rule);
  border-radius: 12px;
  padding: 36px;
  max-width: 720px;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-family: 'Archivo'; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink); margin-bottom: 8px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream);
  border: 2px solid var(--rule);
  border-radius: 6px;
  color: var(--ink);
  font-family: 'Inter';
  font-size: 15px;
  transition: border-color 0.15s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--yellow);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row-grid { grid-template-columns: 1fr; } }

/* CTA SECTION */
.cta-final {
  background: var(--yellow);
  padding: 100px 0;
  text-align: center;
  border-top: 4px solid var(--navy);
  border-bottom: 4px solid var(--navy);
}
.cta-final h2 {
  font-size: clamp(40px, 6vw, 80px);
  margin-bottom: 20px;
  text-transform: uppercase;
  color: var(--navy);
}
.cta-final p { font-size: 19px; max-width: 540px; margin: 0 auto 36px; color: var(--navy); opacity: 0.85; }
.cta-final .btn-outline { color: var(--navy); border-color: var(--navy); }
.cta-final .btn-outline:hover { background: var(--navy); color: var(--yellow); border-color: var(--navy); }
.cta-final .hero-actions { justify-content: center; }

/* FOOTER */
footer { background: var(--navy); color: var(--ink); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-grid h4 { font-family: 'Archivo'; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--yellow); margin-bottom: 18px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.footer-grid ul a { color: rgba(236,238,241,0.85); }
.footer-grid ul a:hover { color: var(--yellow); }
.footer-nap { font-size: 14px; color: rgba(236,238,241,0.85); line-height: 1.85; }
.footer-nap strong { color: var(--ink); display: block; font-family: 'Archivo'; font-weight: 900; font-size: 22px; text-transform: uppercase; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid var(--navy-2); padding-top: 24px; font-size: 13px; color: rgba(236,238,241,0.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* MOBILE STICKY CTA */
.mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy); border-top: 3px solid var(--yellow);
  padding: 12px;
  gap: 8px;
}
.mobile-cta .btn { flex: 1; justify-content: center; padding: 14px; }
@media (max-width: 1000px) { .mobile-cta { display: flex; } body { padding-bottom: 80px; } }

/* UTILITIES */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-40 { margin-top: 40px; }
