/* AutoPilot V26.82 — cohesive homepage design pass. */
body.home-v15{
  --ap82-bg:#090d10;
  --ap82-surface:#0e1519;
  --ap82-surface-raised:#11191e;
  --ap82-field:#090f12;
  --ap82-border:#29353c;
  --ap82-border-strong:#3a474e;
  --ap82-text:#f1f5f6;
  --ap82-muted:#929da3;
  --ap82-lime:#dfff2f;
  --ap82-radius:14px;
  background:var(--ap82-bg);
  color:var(--ap82-text);
}
body.home-v15 main{overflow:clip}
body.home-v15 main>section{border-top:1px solid rgba(255,255,255,.045)}
body.home-v15 main>.hero{border-top:0}
body.home-v15 :where(.hero-grid,.calc-grid,.finder-promo-card,.value-grid,.articles,.advanced-filters,.catalog-explorer){min-width:0}
body.home-v15 :where(h1,h2,h3,p){overflow-wrap:anywhere}

/* Hero */
body.home-v15 .hero{
  padding:46px 0 44px!important;
  background:radial-gradient(circle at 78% 22%,rgba(67,83,91,.18),transparent 39%),var(--ap82-bg)!important;
}
body.home-v15 .hero-grid{grid-template-columns:minmax(0,1.04fr) minmax(430px,.96fr)!important;gap:46px!important;align-items:center!important}
body.home-v15 .hero-copy{max-width:640px}
body.home-v15 .hero .eyebrow{margin-bottom:10px!important;color:#9aa6ac!important;letter-spacing:.15em!important}
body.home-v15 .hero h1{
  margin:0 0 16px!important;
  font:800 clamp(44px,5vw,62px)/1.01 Manrope,Inter,Arial,sans-serif!important;
  letter-spacing:-2.4px!important;
}
body.home-v15 .hero h1 em{color:var(--ap82-lime)!important}
body.home-v15 .hero-copy>p{max-width:600px;margin:0 0 21px!important;color:var(--ap82-muted)!important;font-size:14px!important;line-height:1.68!important}
body.home-v15 .hero-buttons{gap:9px!important}
body.home-v15 .hero-buttons .btn{min-height:44px!important;padding:0 17px!important;border-radius:9px!important}
body.home-v15 .hero-buttons .primary{background:var(--ap82-lime)!important;color:#090d10!important}
body.home-v15 .hero-buttons .ghost{border-color:var(--ap82-border-strong)!important;background:#0d1418!important}
body.home-v15 .hero .stats{
  display:grid!important;
  grid-template-columns:1.4fr .8fr 1fr!important;
  gap:0!important;
  margin-top:24px!important;
  padding-top:17px!important;
  border-top:1px solid #222c31!important;
}
body.home-v15 .hero .stats>div{min-width:0;padding:0 15px!important;border-left:1px solid #242e34}
body.home-v15 .hero .stats>div:first-child{padding-left:0!important;border-left:0}
body.home-v15 .hero .stats strong{font-size:19px!important}.hero .stats span{color:#87949a!important}
body.home-v15 .database-stat-v2620 small{color:#68757c!important;font-size:9px!important;line-height:1.45!important}
body.home-v15 .hero-car{
  height:390px!important;
  border:1px solid var(--ap82-border)!important;
  border-radius:var(--ap82-radius)!important;
  background:var(--ap82-surface)!important;
  box-shadow:0 22px 55px rgba(0,0,0,.2);
}
body.home-v15 .hero-car img{object-position:center!important}
body.home-v15 .hero-overlay{background:linear-gradient(90deg,rgba(7,11,14,.2),transparent 62%),linear-gradient(0deg,rgba(5,8,10,.5),transparent 48%)!important}
body.home-v15 .floating-card{right:14px!important;bottom:14px!important;padding:12px 14px!important;border-color:#3b474d!important;border-radius:10px!important;background:rgba(8,13,16,.9)!important}

/* One section rhythm. */
body.home-v15 :where(.cz-market-snapshot,#catalog,#calculator,.home-finder-promo,.home-value,#articles){padding-top:38px!important;padding-bottom:38px!important}
body.home-v15 #catalog{padding-bottom:20px!important}
body.home-v15 .section-head{align-items:center!important;margin-bottom:15px!important}
body.home-v15 .section-head h2,
body.home-v15 #calculator h2,
body.home-v15 .finder-promo-copy h2{
  font:800 clamp(29px,3vw,36px)/1.08 Manrope,Inter,Arial,sans-serif!important;
  letter-spacing:-1px!important;
}
body.home-v15 .section-lead{color:var(--ap82-muted)!important}

/* Czech market and catalog */
body.home-v15 .cz-market-stats{gap:9px!important}
body.home-v15 .cz-market-stats>div,
body.home-v15 .cz-market-context>div{
  padding:14px!important;
  border-color:var(--ap82-border)!important;
  border-radius:11px!important;
  background:var(--ap82-surface)!important;
}
body.home-v15 .cz-market-stats strong{font-size:17px!important}
body.home-v15 .cz-market-snapshot .source-note{margin-top:10px!important;color:#707d83!important}
body.home-v15 .home-catalog-stats-v2620{color:#7f8c92!important;font-size:11px!important}
body.home-v15 .category-row{gap:7px!important;margin-bottom:12px!important}
body.home-v15 .category{
  min-height:38px!important;
  padding:0 12px!important;
  border-color:var(--ap82-border)!important;
  border-radius:8px!important;
  background:#0d1418!important;
  color:#a0abb0!important;
}
body.home-v15 .category:hover{border-color:#68761f!important;color:#eef3f4!important}
body.home-v15 .category.active{border-color:var(--ap82-lime)!important;background:var(--ap82-lime)!important;color:#090d10!important}
body.home-v15 .search-box{
  min-height:46px!important;
  margin-bottom:10px!important;
  padding:0 13px!important;
  border-color:var(--ap82-border-strong)!important;
  border-radius:9px!important;
  background:var(--ap82-field)!important;
}
body.home-v15 .search-box input{padding:0!important;font-size:14px!important}
body.home-v15 .advanced-filters{
  gap:9px!important;
  margin-bottom:10px!important;
  padding:12px!important;
  border:1px solid var(--ap82-border)!important;
  border-radius:var(--ap82-radius)!important;
  background:var(--ap82-surface)!important;
}
body.home-v15 .advanced-filters label{gap:5px!important}
body.home-v15 .advanced-filters select,
body.home-v15 .filter-reset{
  min-height:42px!important;
  border-color:var(--ap82-border-strong)!important;
  border-radius:8px!important;
  background:var(--ap82-field)!important;
}
body.home-v15 .filter-reset{color:#cbd3d7!important}
body.home-v15 .catalog-explorer{
  gap:12px!important;
  padding:13px!important;
  border:1px solid var(--ap82-border)!important;
  border-radius:var(--ap82-radius)!important;
  background:#0b1216!important;
  box-shadow:none!important;
}
body.home-v15 .brand-row,body.home-v15 .model-row,body.home-v15 .generation-row{padding-bottom:3px!important}
body.home-v15 .cars-grid{gap:12px!important}
body.home-v15 .car-card{
  border-color:var(--ap82-border)!important;
  border-radius:var(--ap82-radius)!important;
  background:var(--ap82-surface)!important;
  box-shadow:none!important;
}
body.home-v15 .car-card:hover{transform:translateY(-2px)!important;border-color:#4a575e!important;box-shadow:0 14px 32px rgba(0,0,0,.16)!important}
body.home-v15 .catalog-more{margin-top:14px!important;padding-top:13px!important;border-top:1px solid #222c31}
body.home-v15 .catalog-more button{min-height:42px!important;border-radius:9px!important}

/* Calculator */
body.home-v15 #calculator .calc-grid{grid-template-columns:minmax(0,.8fr) minmax(520px,1.2fr)!important;gap:44px!important;align-items:center!important}
body.home-v15 #calculator .home-calc-copy h2{margin-bottom:12px!important}
body.home-v15 #calculator .home-calc-kicker{margin-bottom:8px!important;color:var(--ap82-lime)!important;opacity:.82}
body.home-v15 #calculator .section-lead{margin-bottom:18px!important}
body.home-v15 .home-calc-open{min-height:44px!important;padding:0 15px!important;border-radius:9px!important;background:var(--ap82-lime)!important;box-shadow:none!important}
body.home-v15 #calculator .calculator{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:11px!important;
  padding:18px!important;
  border:1px solid var(--ap82-border)!important;
  border-radius:var(--ap82-radius)!important;
  background:linear-gradient(145deg,var(--ap82-surface-raised),#0b1216)!important;
  box-shadow:0 18px 48px rgba(0,0,0,.16)!important;
}
body.home-v15 #calculator .calculator :where(input,select){min-height:46px!important;height:46px!important;border-radius:9px!important}
body.home-v15 #calculator #calcBtn{min-height:44px!important;height:44px!important;border-radius:9px!important}
body.home-v15 #calculator .calc-result{min-height:62px!important;border-color:#253137!important;border-radius:9px!important}
body.home-v15 #calculator .fuel-live-status{min-height:30px;padding:6px 8px;border:1px solid #222d33;border-radius:8px;background:rgba(7,12,15,.5)}

/* Recommendations and value cards */
body.home-v15 .finder-promo-card{
  grid-template-columns:minmax(0,1.35fr) minmax(350px,.85fr)!important;
  gap:26px!important;
  padding:24px!important;
  border-color:var(--ap82-border)!important;
  border-radius:var(--ap82-radius)!important;
  background:linear-gradient(145deg,var(--ap82-surface-raised),#0b1216)!important;
  box-shadow:none!important;
}
body.home-v15 .finder-promo-lead{margin-bottom:14px!important;color:var(--ap82-muted)!important}
body.home-v15 .finder-promo-points{gap:8px!important;margin-bottom:14px!important}
body.home-v15 .finder-promo-points>div{min-height:98px!important;padding:13px!important;border-color:var(--ap82-border)!important;border-radius:10px!important;background:#0c1317!important}
body.home-v15 .finder-promo-cta{min-height:44px!important;border-radius:9px!important;background:var(--ap82-lime)!important;color:#090d10!important}
body.home-v15 .finder-promo-preview{padding:14px!important;border-color:var(--ap82-border-strong)!important;border-radius:12px!important;box-shadow:none!important}
body.home-v15 .finder-preview-car{padding:8px 0!important}
body.home-v15 .finder-preview-footer{min-height:42px!important;margin-top:7px!important;border-radius:8px!important}
body.home-v15 .home-value{background:#0a1013}
body.home-v15 .value-grid{gap:12px!important}
body.home-v15 .value-card{padding:17px!important;border-color:var(--ap82-border)!important;border-radius:var(--ap82-radius)!important;background:var(--ap82-surface)!important}
body.home-v15 .value-card:hover{transform:translateY(-2px)!important;border-color:#59691b!important}
body.home-v15 .value-card h3{margin:9px 0 6px!important}.value-card p{color:var(--ap82-muted)!important}

/* Articles */
body.home-v15 #articles .articles{gap:12px!important}
body.home-v15 #articles article{border-color:var(--ap82-border)!important;border-radius:var(--ap82-radius)!important;background:var(--ap82-surface)!important}
body.home-v15 #articles article:hover{transform:translateY(-2px)!important;border-color:#4a575e!important}
body.home-v15 #articles article img{height:164px!important}
body.home-v15 #articles article>div{padding:14px!important}
body.home-v15 #articles .section-head>.home-articles-more-btn,
body.home-v15 #articles>.home-articles-more-btn{min-height:42px!important;padding:0 15px!important;border-radius:9px!important}
body.home-v15 #articles>.home-articles-more-btn{display:none!important}

@media(max-width:1000px){
  body.home-v15 .hero-grid{grid-template-columns:1fr 1fr!important;gap:28px!important}
  body.home-v15 .hero-car{height:340px!important}
  body.home-v15 #calculator .calc-grid,
  body.home-v15 .finder-promo-card{grid-template-columns:1fr!important;gap:22px!important}
  body.home-v15 #calculator .calculator{max-width:720px!important}
}
@media(max-width:760px){
  body.home-v15 .hero{padding:28px 0 34px!important}
  body.home-v15 .hero-grid{grid-template-columns:1fr!important;gap:24px!important}
  body.home-v15 .hero h1{font-size:39px!important;letter-spacing:-1.5px!important}
  body.home-v15 .hero-car{height:270px!important}
  body.home-v15 .hero-buttons{display:grid!important;grid-template-columns:1fr!important}
  body.home-v15 .hero-buttons .btn{width:100%!important}
  body.home-v15 :where(.cz-market-snapshot,#catalog,#calculator,.home-finder-promo,.home-value,#articles){padding-top:32px!important;padding-bottom:32px!important}
  body.home-v15 .section-head{align-items:flex-start!important}
  body.home-v15 .home-catalog-stats-v2620{width:100%}
  body.home-v15 .advanced-filters{grid-template-columns:1fr 1fr!important}
  body.home-v15 .advanced-filters .reset-control-v2583{grid-column:1/-1!important}
  body.home-v15 .filter-reset{width:100%!important}
  body.home-v15 #calculator .calculator{grid-template-columns:1fr!important}
  body.home-v15 #calculator .calculator :where(.home-calc-head,label,#calcBtn,.calc-result,.fuel-live-status){grid-column:1!important}
  body.home-v15 .finder-promo-card{padding:17px!important}
  body.home-v15 .finder-promo-points{grid-template-columns:1fr!important}
  body.home-v15 .finder-promo-points>div{min-height:0!important}
  body.home-v15 #articles .articles{grid-template-columns:1fr!important}
  body.home-v15 #articles .section-head>.home-articles-more-btn{display:none!important}
  body.home-v15 #articles>.home-articles-more-btn{display:flex!important;width:100%!important;max-width:none!important;margin-top:12px!important}
}
@media(max-width:480px){
  body.home-v15 .hero .stats{grid-template-columns:1fr 1fr!important;gap:12px 0!important}
  body.home-v15 .hero .stats>div:first-child{grid-column:1/-1;padding-bottom:12px!important;border-bottom:1px solid #222c31}
  body.home-v15 .hero .stats>div:nth-child(2){padding-left:0!important;border-left:0}
  body.home-v15 .hero-car{height:240px!important}
  body.home-v15 .advanced-filters{grid-template-columns:1fr!important}
  body.home-v15 .advanced-filters .reset-control-v2583{grid-column:auto!important}
}
@media(prefers-reduced-motion:reduce){
  body.home-v15 :where(.car-card,.value-card,#articles article,#articles article img){transition:none!important}
}
