:root{
  --bg:#020202;
  --panel:#101010;
  --panel2:#171717;
  --line:#2a2a2a;
  --text:#f7f7f7;
  --muted:#b6b6b6;
  --blue:#087bff;
  --blue2:#0b376b;
  --red:#d71920;
  --radius:18px;
  --shadow:0 18px 54px rgba(0,0,0,.36);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:#020202;
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  font-weight:600;
}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.wrap{width:min(1120px,92vw);margin:0 auto}
.center{text-align:center}
.hidden{display:none!important}

h1,h2,h3,.price{
  font-family:"Arial Narrow","Helvetica Neue Condensed",Arial,Helvetica,sans-serif;
  text-transform:uppercase;
  letter-spacing:.01em;
  font-weight:800;
}

.top{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(0,0,0,.86);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(16px);
}
.nav{
  min-height:112px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.brand-link{display:inline-flex;align-items:center}
.logo{width:268px;max-width:52vw;display:block}
.links{display:flex;align-items:center;gap:36px;color:#d6d6d6;font-weight:800}
.links a:not(.btn){position:relative;font-size:14px}
.links a:not(.btn)::after{
  content:"";
  position:absolute;
  left:0;right:100%;bottom:-8px;
  height:2px;background:var(--blue);
  transition:right .2s ease;
}
.links a:hover::after,.links a[aria-current="page"]::after{right:0}
.hamb{
  display:none;
  border:1px solid var(--line);
  background:#111;
  color:#fff;
  border-radius:999px;
  padding:10px 16px;
  font-weight:800;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  border:0;
  border-radius:999px;
  padding:12px 24px;
  font-size:14px;
  font-weight:900;
  cursor:pointer;
  transition:transform .18s ease,background .18s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn.red,.red{background:var(--red);color:#fff;box-shadow:0 12px 32px rgba(215,25,32,.22)}
.btn.white,.white{background:#fff;color:#0058bc}
.btn.ghost,.ghost{background:#222;color:#fff;border:1px solid #333}
.small-btn{min-height:34px;padding:8px 20px;font-size:12px}

.pill{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  border:1px solid rgba(8,123,255,.58);
  border-radius:999px;
  background:rgba(8,123,255,.12);
  color:#3c9cff;
  padding:7px 14px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.stat,.card,.service,.car-card,.form-shell,.split-cta,.diag{
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.023));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

/* HOME */
.home-page main{padding-bottom:8px}
.home-page .hero{
  min-height:430px;
  display:block;
  padding:42px 0 20px;
}
.home-page .hero-copy{max-width:760px}
.home-page .hero h1{
  margin:18px 0 20px;
  max-width:760px;
  font-size:clamp(50px,7vw,86px);
  line-height:.88;
}
.home-page .hero p{
  max-width:560px;
  color:var(--muted);
  font-size:15px;
  line-height:1.55;
  font-weight:800;
}
.actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:28px}
.actions.compact{margin-top:20px}

.quick-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.stat{
  padding:18px 22px;
  min-height:86px;
}
.stat b{
  display:block;
  color:var(--blue);
  font-family:"Arial Narrow","Helvetica Neue Condensed",Arial,Helvetica,sans-serif;
  font-size:clamp(30px,4vw,48px);
  font-weight:900;
  line-height:1;
}
.stat span{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:13px;
  font-weight:900;
  line-height:1.25;
}

.section{padding:68px 0 0}
.eyebrow{
  color:var(--red);
  font-size:13px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  text-align:center;
}
.eyebrow.left{text-align:left}
.section h2,.split-cta h2,.diag h2{
  margin:14px 0 30px;
  font-size:clamp(34px,4.7vw,58px);
  line-height:.98;
}
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:26px;
}
.card{
  padding:26px;
  min-height:190px;
}
.icon,.info-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  min-width:34px;
  border-radius:10px;
  background:rgba(8,123,255,.14);
  color:#49a2ff;
}
.icon{margin-bottom:18px}
.icon svg,.info-icon svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.red-icon{color:var(--red)!important;background:rgba(215,25,32,.14)!important}
.blue-icon{color:#49a2ff!important;background:rgba(8,123,255,.14)!important}
.card h3,.service h2,.car-body h2{
  margin:0 0 12px;
  font-size:24px;
  line-height:1.08;
}
.card p,.service p,.car-card p,.helper{
  color:var(--muted);
  font-size:14px;
  font-weight:800;
  line-height:1.48;
}

.split-cta{
  display:grid;
  grid-template-columns:1fr .95fr;
  gap:28px;
  align-items:center;
  padding:34px 36px;
}
.split-cta h2{
  font-size:clamp(36px,5vw,62px);
  margin-bottom:16px;
}
.contact-info{display:grid;gap:12px}
.info{
  display:flex;
  align-items:center;
  gap:12px;
  border-radius:14px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.06);
  color:#e6e6e6;
  padding:15px 18px;
  font-weight:900;
}
.info-icon{background:transparent!important}

/* SHARED PAGE HERO */
.brand-hero{
  text-align:center;
  padding:48px 0 30px;
}
.brand-hero img{
  display:block;
  width:min(340px,78vw);
  margin:0 auto 24px;
}
.brand-hero .pill{margin:0 auto 18px}
.brand-hero h1,.form-intro h1{
  margin:0 auto 12px;
  font-size:clamp(44px,6vw,84px);
  line-height:.9;
  max-width:900px;
}
.brand-hero p,.form-intro p{
  margin:0 auto;
  max-width:620px;
  color:var(--muted);
  font-weight:800;
  line-height:1.5;
}

/* AUTO SALES */
.sales-page main.wrap{width:min(920px,92vw)}
.sales-page .brand-hero{padding-top:44px}
.sales-page .brand-hero img{width:min(270px,70vw)}
.inventory{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(340px,420px));
  justify-content:center;
  gap:28px;
}
.car-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:26px;
}
.car-img{
  position:relative;
  height:250px;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  background-color:#10151b;
}
.car-img span{
  position:absolute;
  top:18px;
  left:18px;
  display:inline-flex;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(0,0,0,.38);
  color:#fff;
  padding:7px 12px;
  font-size:12px;
  font-weight:950;
  z-index:3;
}
.car-gallery{
  display:flex;
  justify-content:center;
  gap:8px;
  margin:10px 0 0;
}
.car-gallery button{
  width:10px;height:10px;padding:0;
  border:1px solid rgba(255,255,255,.65);
  border-radius:999px;
  background:rgba(255,255,255,.25);
  cursor:pointer;
}
.car-gallery button.active{border-color:#fff;background:#fff}
.car-body{padding:26px 26px 24px}
.car-body h2{font-size:28px;margin-bottom:20px}
.car-card p{margin:0 0 18px;font-size:16px;line-height:1.45}
.price{
  color:#ff343f;
  font-size:26px;
  white-space:nowrap;
}
.car-row{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin-top:18px;
}
.car-actions{
  display:flex;
  flex-direction:row;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:nowrap;
}
.car-actions .btn,.car-row .btn{
  white-space:nowrap;
  min-width:0;
  padding:12px 18px;
}
.inventory-status,.empty-inventory{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.025));
  padding:26px;
  color:var(--muted);
  font-weight:800;
}

/* AUTO SHOP */
.shop-page main.wrap{width:min(760px,92vw)}
.shop-page .brand-hero{
  padding:42px 0 24px;
}
.shop-page .brand-hero img{
  width:min(310px,72vw);
  margin-bottom:20px;
}
.shop-page .brand-hero h1{
  max-width:560px;
  font-size:clamp(42px,5.7vw,64px);
}
.shop-page .brand-hero p{
  max-width:520px;
  font-size:14px;
}
.shop-page .brand-hero .btn{margin-top:14px}

.services{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  max-width:460px;
  margin:24px auto 0;
  gap:16px;
}
.service{
  min-height:150px;
  border-radius:12px;
  padding:18px;
}
.service h2{
  font-size:18px;
  margin:12px 0 8px;
}
.service p{
  font-size:12px;
  line-height:1.35;
}
.service small{
  display:inline-flex;
  margin-top:12px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#d8d8d8;
  padding:6px 9px;
  font-size:10px;
  font-weight:900;
}
.service .icon{
  width:34px;height:34px;margin-bottom:0;
}

.diag{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:center;
  max-width:720px;
  margin:24px auto 0;
  padding:24px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.055),rgba(0,63,130,.42) 68%,rgba(197,22,32,.28)),
    var(--panel);
}
.diag h2{
  font-size:clamp(32px,4.4vw,50px);
  line-height:.95;
  margin:14px 0 18px;
}
.diag p{
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}
.chips{display:grid;gap:12px}
.chip{
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  background:rgba(8,123,255,.18);
  color:#eff6ff;
  padding:11px 15px;
  font-weight:950;
  font-size:13px;
}
.chip::before{
  content:"";
  width:13px;height:13px;
  border:2px solid #49a2ff;
  border-radius:999px;
  flex:0 0 auto;
}

/* SCHEDULE SERVICE */
.schedule-page main.wrap{width:min(900px,92vw)}
.form-intro{
  text-align:center;
  padding:58px 0 38px;
}
.form-intro h1{
  font-size:clamp(52px,7vw,86px);
}
.form-intro strong{
  display:block;
  color:var(--blue);
  margin-top:18px;
  font-size:clamp(22px,3vw,30px);
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.form-shell{
  width:min(820px,100%);
  margin:0 auto 30px;
  padding:32px;
  border-radius:22px;
}
.form-head{
  display:flex;
  align-items:start;
  justify-content:space-between;
  gap:20px;
}
.form-head h2,.form-step h3{
  margin:0;
  font-size:clamp(28px,3.4vw,42px);
  line-height:1.04;
}
#stepCount{color:var(--muted);font-weight:900;white-space:nowrap}
.progress{
  height:7px;
  width:180px;
  max-width:100%;
  margin:26px 0 28px;
  border-radius:999px;
  background:#0b0b0b;
  overflow:hidden;
}
.bar{height:100%;width:20%;background:var(--blue);transition:width .2s ease}
.form-step{display:grid;gap:16px}
.choice-grid{display:grid;gap:12px}
.choice,.option-grid button,.compact-choice button{
  width:100%;
  border:1px solid var(--line);
  border-radius:18px;
  background:#121212;
  color:var(--text);
  padding:20px 18px;
  text-align:left;
  cursor:pointer;
}
.choice b{
  display:block;
  font-family:"Arial Narrow","Helvetica Neue Condensed",Arial,Helvetica,sans-serif;
  font-weight:900;
  text-transform:uppercase;
  font-size:20px;
  letter-spacing:.02em;
}
.choice span{
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-weight:800;
  line-height:1.45;
}
.choice.active,.option-grid button.active,.compact-choice button.active{
  border-color:var(--blue);
  background:#111c30;
}
.option-panel{
  padding:16px;
  border:1px solid rgba(8,123,255,.42);
  border-radius:14px;
  background:rgba(4,20,42,.78);
}
.option-panel p{margin:0 0 12px;color:var(--muted);font-weight:900}
.option-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.option-grid button,.compact-choice button{
  border-radius:999px;
  padding:11px 14px;
  font-weight:900;
  text-align:center;
}
.compact-choice{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
label{
  display:grid;
  gap:8px;
  color:#dcdcdc;
  font-weight:900;
}
input,textarea,select{
  width:100%;
  border:1px solid var(--line);
  border-radius:12px;
  background:#0d0d0d;
  color:#fff;
  padding:14px 15px;
  outline:none;
  font-weight:600;
}
input:focus,textarea:focus,select:focus{border-color:var(--blue)}
textarea{resize:vertical;min-height:150px}
.form-error{
  min-height:22px;
  margin:16px 0 0;
  color:#ff5963;
  font-weight:900;
}
.form-nav{
  display:flex;
  gap:12px;
  margin-top:10px;
}
.form-nav .btn{flex:1}
#submitBtn{display:none}
.form-nav.final #nextBtn{display:none}
.form-nav.final #submitBtn{display:inline-flex}
.form-nav.first #backBtn{opacity:.55;pointer-events:none}
.success-panel{text-align:left;padding:16px 0 2px}
.success-panel h2{margin:0 0 12px;font-size:34px;line-height:1.08}
.success-panel p{color:var(--muted);font-weight:800;line-height:1.55}

/* FOOTER */
.site-footer{
  margin-top:58px;
  border-top:1px solid rgba(255,255,255,.08);
  padding:24px 0 32px;
}
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:#087bff;
  font-size:12px;
  font-weight:900;
}
.footer-bottom span:last-child{color:var(--red)}
.footer-bottom a:hover{color:#fff}

@media(max-width:860px){
  .nav{min-height:92px}
  .hamb{display:inline-flex}
  .links{
    display:none;
    position:absolute;
    left:4vw;right:4vw;top:86px;
    flex-direction:column;
    align-items:stretch;
    gap:14px;
    padding:18px;
    border:1px solid var(--line);
    border-radius:18px;
    background:#070707;
    box-shadow:var(--shadow);
  }
  .links.open{display:flex}
  .links .btn{width:100%}
  .quick-stats,.cards{grid-template-columns:1fr}
  .split-cta,.diag{grid-template-columns:1fr}
  .hero{min-height:0;padding-top:36px}
  .footer-bottom{flex-direction:column;text-align:center}
}

@media(max-width:620px){
  .wrap,
  .home-page .wrap,
  .sales-page main.wrap,
  .shop-page main.wrap,
  .schedule-page main.wrap{width:min(91vw,430px)}
  .logo{width:220px}
  .home-page .hero h1,
  .brand-hero h1,
  .form-intro h1{font-size:38px}
  .section{padding-top:48px}
  .section h2,.split-cta h2,.diag h2{font-size:32px}
  .split-cta,.diag,.form-shell{padding:18px}
  .grid2,.option-grid,.compact-choice{grid-template-columns:1fr}
  .services{grid-template-columns:1fr}
  .form-head{align-items:start}
  .form-nav .btn{padding-left:12px;padding-right:12px}
  .car-row{align-items:stretch;flex-direction:column}
  .car-actions{justify-content:stretch}
  .car-actions .btn,.car-row .btn{flex:1;width:100%}
}
.car-card {
  width: min(520px, 92vw);
}

.car-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.car-actions .btn {
  padding: 11px 18px;
  font-size: 13px;
}
.stat {
  padding: 16px 20px;
  min-height: 120px;
}

.stat b {
  font-size: clamp(24px, 3vw, 34px);
}

.stat span {
  font-size: 13px;
}
.split-cta h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  max-width: 560px;
}
.cards {
  margin-bottom: 34px;
}

.split-cta {
  margin-top: 34px;
}
.form-shell,
#apptForm,
.form-step,
.choice-grid,
.choice,
.option-grid button {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.form-step.hidden {
  display: none;
}