/* ════════════════════════════════════════════════
   BLUE MOUNTAIN AUTOPRO — NexDrive EV Brand CSS
   Navy #040f1c · Teal #4CB4CB · Green #A6C959
   ════════════════════════════════════════════════ */

:root {
  --teal:    #4CB4CB;
  --green:   #A6C959;
  --navy:    #083050;
  --dark:    #040f1c;
  --mid:     #061628;
  --font:    'Segoe UI', system-ui, -apple-system, sans-serif;
  --nav-h:   88px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--dark); color: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.75; }
h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 800; }
strong { font-weight: 800; }

/* ── Nav ─────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(4,15,28,0.97); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(76,180,203,0.2);
  height: var(--nav-h); display: flex; align-items: center; padding: 0 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.nav-brand img { height: 83px; width: auto; }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-shop { font-size: 13px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; list-style: none; }
.nav-links a { padding: 7px 11px; border-radius: 6px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); transition: color .2s, background .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--teal); background: rgba(76,180,203,0.08); }
.nav-back a { color: rgba(255,255,255,0.35) !important; font-size: 12px !important; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 14px; margin-left: 6px; }
.nav-back a:hover { color: rgba(255,255,255,0.75) !important; background: none !important; }
.nav-cta a {
  background: linear-gradient(135deg, var(--green), var(--teal)) !important;
  color: #fff !important; border-radius: 22px;
  padding: 9px 20px !important; font-weight: 700 !important; font-size: 13px !important;
  box-shadow: 0 4px 16px rgba(76,180,203,0.3); transition: opacity .2s, transform .15s !important;
}
.nav-cta a:hover { opacity: 0.9; transform: translateY(-1px); }
.nav-hamburger { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.65); border-radius: 2px; }
.nav-mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--dark); z-index: 99; padding: 28px 20px;
  flex-direction: column; gap: 4px; overflow-y: auto;
  border-top: 1px solid rgba(76,180,203,0.15);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 13px 16px; border-radius: 10px; font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.7); border-bottom: 1px solid rgba(255,255,255,0.06); transition: color .2s, background .2s; }
.nav-mobile a:hover { color: var(--teal); background: rgba(76,180,203,0.06); }
.nav-mobile .cta-link-m a { background: linear-gradient(135deg, var(--green), var(--teal)); color: #fff !important; border-radius: 10px; text-align: center; margin-top: 12px; border-bottom: none; display: block; }
.nav-mobile .back-link-m a { color: rgba(255,255,255,0.3) !important; font-size: 14px; }
body.nav-open { overflow: hidden; }
@media(max-width:1060px) { .nav-links { display: none; } .nav-hamburger { display: flex; } .nav { padding: 0 20px; } }

/* ── Page offset ─────────────────────────────── */
.page-body { padding-top: var(--nav-h); }

/* ── Sections ────────────────────────────────── */
.section { padding: 88px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-alt { background: var(--mid); }

.section-label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 12px; }
.section-title { font-size: clamp(26px, 3.5vw, 44px); font-weight: 900; line-height: 1.12; margin-bottom: 16px; }
.section-title .accent { background: linear-gradient(90deg, var(--green), var(--teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-sub { font-size: 17px; color: rgba(255,255,255,0.58); line-height: 1.78; max-width: 680px; margin-bottom: 48px; }
.divider { width: 52px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--teal)); margin: 0 0 28px; }

/* ── Page hero ───────────────────────────────── */
.page-hero { background: var(--navy); padding: 80px 40px 70px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 20% 50%, rgba(76,180,203,0.1) 0%, transparent 70%); pointer-events: none; }
.page-hero-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-label { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(28px, 4.5vw, 52px); font-weight: 900; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.62); max-width: 600px; line-height: 1.78; }

/* ── Buttons ─────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; transition: transform .2s, opacity .2s, box-shadow .2s; cursor: pointer; border: none; white-space: nowrap; text-decoration: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--green), var(--teal)); color: #fff; box-shadow: 0 4px 20px rgba(76,180,203,0.35); }
.btn-primary:hover { opacity: 0.9; box-shadow: 0 6px 28px rgba(76,180,203,0.5); }
.btn-outline { background: transparent; color: var(--teal); border: 2px solid rgba(76,180,203,0.4); }
.btn-outline:hover { border-color: var(--teal); background: rgba(76,180,203,0.06); }
.btn-autopro { background: #E31837; color: #fff; box-shadow: 0 4px 16px rgba(227,24,55,0.3); }
.btn-autopro:hover { background: #B8122B; }
.btn-dark { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.12); }
.btn-dark:hover { background: rgba(255,255,255,0.14); }

/* ── Cards ───────────────────────────────────── */
.card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 32px 28px; transition: border-color .3s, transform .3s, box-shadow .3s; }
.card:hover { border-color: rgba(76,180,203,0.4); transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.25); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--green), var(--teal)); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.68; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--teal); transition: gap .2s; }
.card-link:hover { gap: 10px; }

/* ── Pillar ──────────────────────────────────── */
.pillar { border-left: 3px solid var(--teal); padding: 20px 24px; background: rgba(76,180,203,0.05); border-radius: 0 12px 12px 0; }
.pillar h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--teal); }
.pillar p { color: rgba(255,255,255,0.58); font-size: 14px; line-height: 1.68; }

/* ── Stat row ────────────────────────────────── */
.stat-row { display: flex; gap: 48px; flex-wrap: wrap; }
.stat-item { text-align: center; min-width: 120px; }
.stat-num { font-size: clamp(38px, 5vw, 58px); font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--green), var(--teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-lbl { font-size: 13px; color: rgba(255,255,255,0.42); margin-top: 6px; letter-spacing: 0.08em; }

/* ── Badge ───────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(76,180,203,0.1); border: 1px solid rgba(76,180,203,0.28); border-radius: 50px; padding: 8px 18px; font-size: 13px; color: var(--teal); font-weight: 600; }
.badge-strip { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Hours table ─────────────────────────────── */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr td { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 15px; }
.hours-table tr td:first-child { color: rgba(255,255,255,0.45); }
.hours-table tr td:last-child { text-align: right; font-weight: 700; }
.hours-table tr:last-child td { border-bottom: none; }

/* ── Contact ─────────────────────────────────── */
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.contact-icon { width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0; background: rgba(76,180,203,0.1); border: 1px solid rgba(76,180,203,0.25); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.contact-label { font-size: 11px; color: var(--teal); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.contact-value { font-size: 16px; color: rgba(255,255,255,0.85); font-weight: 600; }
.contact-value a { color: rgba(255,255,255,0.85); transition: color .2s; }
.contact-value a:hover { color: var(--teal); }

/* ── FAQ ─────────────────────────────────────── */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-q { padding: 20px 0; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #fff; user-select: none; transition: color .2s; }
.faq-q:hover { color: var(--teal); }
.faq-q::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--teal); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s; }
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 20px; }

/* ── CTA btn ─────────────────────────────────── */
.cta-btn { display: inline-block; background: linear-gradient(135deg, var(--green), var(--teal)); color: #fff; font-weight: 700; font-size: 15px; padding: 16px 36px; border-radius: 50px; letter-spacing: 0.06em; transition: opacity .2s, transform .2s; box-shadow: 0 4px 20px rgba(76,180,203,0.3); }
.cta-btn:hover { opacity: 0.88; transform: translateY(-2px); }

/* ── Cross-promo ─────────────────────────────── */
.cross-promo { padding: 64px 40px; text-align: center; }
.cross-promo-autopro { background: linear-gradient(135deg, #1A1A1A, #2D2D2D); color: #fff; }
.cross-promo h3 { font-size: clamp(20px, 3vw, 30px); font-weight: 900; margin-bottom: 12px; }
.cross-promo p { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 520px; margin: 0 auto 28px; line-height: 1.75; }

/* ── Grid layouts ────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

/* ── Img placeholder ─────────────────────────── */
.img-placeholder { width: 100%; border-radius: 16px; background: linear-gradient(135deg, var(--navy), var(--dark)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.22); font-size: 13px; font-weight: 600; text-align: center; padding: 20px; letter-spacing: 0.06em; aspect-ratio: 4/3; border: 1px solid rgba(255,255,255,0.06); }

/* ── Hero H1 (SEO, visually subtle in 3D hero) ── */
.hero-h1 {
  position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
  width: 90%; max-width: 800px; text-align: center;
  font-size: clamp(14px, 1.6vw, 20px); font-weight: 700;
  color: rgba(255,255,255,0.45); letter-spacing: 0.04em;
  z-index: 10; pointer-events: none;
}

/* ── Footer ──────────────────────────────────── */
.footer { background: #020b14; border-top: 1px solid rgba(255,255,255,0.07); padding: 56px 40px 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .name { font-size: 17px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.75; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.48); transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: var(--teal); }

/* ── Utility ─────────────────────────────────── */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.text-teal { color: var(--teal); }
.text-muted { color: rgba(255,255,255,0.5); }

/* ── Responsive ──────────────────────────────── */
@media(max-width:768px) {
  .section { padding: 64px 20px; }
  .page-hero { padding: 60px 20px 52px; }
  .cross-promo { padding: 52px 20px; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .stat-row { gap: 28px; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media(max-width:480px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════
   EV inner-page components (model & service pages)
   These classes were referenced by the newer pages
   but never defined — full set in brand language.
   ════════════════════════════════════════════════ */
.ev-hero {
  position: relative; overflow: hidden;
  padding: 96px 40px 80px;
  background:
    radial-gradient(ellipse 70% 80% at 85% 10%, rgba(76,180,203,.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 10% 100%, rgba(166,201,89,.08) 0%, transparent 60%),
    linear-gradient(135deg, #040f1c 0%, #0a2540 70%, #06182b 100%);
  border-bottom: 1px solid rgba(76,180,203,.18);
}
.ev-hero-inner { max-width: 980px; margin: 0 auto; }
.ev-hero-label { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin-bottom: 16px; }
.ev-hero h1 { font-size: clamp(28px, 4.5vw, 48px); font-weight: 900; line-height: 1.12; margin-bottom: 18px; color: #fff; }
.ev-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--green), var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ev-hero p { font-size: 17px; color: rgba(255,255,255,.7); line-height: 1.75; max-width: 680px; margin-bottom: 32px; }
.ev-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-ev-cta { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 50px; background: linear-gradient(135deg, var(--green), var(--teal)); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .03em; transition: transform .2s ease, box-shadow .2s ease; box-shadow: 0 8px 28px rgba(76,180,203,.25); }
.btn-ev-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(76,180,203,.35); }
.btn-ev-outline { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 50px; background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.4); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.btn-ev-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px); }
.ev-trust-bar { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; padding: 16px 40px; background: #06182b; border-bottom: 1px solid rgba(76,180,203,.14); }
.ev-trust-item { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 8px; }
.ev-trust-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px rgba(76,180,203,.9); flex-shrink: 0; }
.ev-section { padding: 88px 40px; }
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.ev-card { background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid rgba(76,180,203,.16); border-radius: 18px; padding: 26px 24px; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.ev-card:hover { transform: translateY(-4px); border-color: rgba(76,180,203,.45); box-shadow: 0 14px 40px rgba(0,0,0,.4); }
.ev-card h3 { font-size: 17px; font-weight: 800; color: #fff; margin: 14px 0 8px; }
.ev-card p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; }
.ev-card-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--green), var(--teal)); display: flex; align-items: center; justify-content: center; color: #fff; }
.ev-card-icon svg, .card-icon svg { width: 24px; height: 24px; display: block; }
@media (max-width: 768px) {
  .ev-hero { padding: 64px 20px 56px; }
  .ev-section { padding: 56px 20px; }
  .ev-trust-bar { gap: 10px 20px; padding: 14px 20px; }
}