
* { box-sizing: border-box; }
:root{
  --bg:#f4f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:#dbe4f0;
  --blue:#1d4ed8;
  --blue-dark:#163ea8;
  --blue-soft:#dbeafe;
  --red:#dc2626;
  --shadow:0 12px 32px rgba(15, 23, 42, 0.08);
}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:linear-gradient(180deg,#eef4ff 0%, #f7f9fc 220px, #f4f7fb 100%);
  color:var(--text);
}
a{ color:inherit; text-decoration:none; }
.container{ width:min(1240px, calc(100% - 32px)); margin:0 auto; }

.topbar{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(255,255,255,0.88);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(219,228,240,0.9);
}
.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:16px 0;
  flex-wrap:wrap;
}
.brand{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}
.brand img{
  height:68px;
  width:auto;
  border-radius:18px;
  background:white;
  border:1px solid var(--line);
  padding:5px;
  box-shadow:0 8px 18px rgba(15,23,42,0.07);
}
.brand h1{
  margin:0;
  font-size:34px;
  line-height:1;
  color:var(--blue);
  letter-spacing:-0.5px;
}
.brand p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:14px;
}
.navlinks{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 18px;
  border-radius:14px;
  font-weight:800;
  font-size:14px;
  border:1px solid transparent;
  cursor:pointer;
  transition:all .18s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{
  background:var(--blue);
  color:white;
  box-shadow:0 10px 22px rgba(29,78,216,.22);
}
.btn-primary:hover{ background:var(--blue-dark); }
.btn-secondary{
  background:rgba(255,255,255,0.95);
  color:var(--text);
  border-color:var(--line);
}
.btn-secondary:hover{ border-color:#b9cbe4; }

.hero{
  padding:56px 0 28px;
}
.hero-shell{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:28px;
  align-items:stretch;
}
.hero-panel, .card{
  background:rgba(255,255,255,0.92);
  border:1px solid rgba(219,228,240,0.9);
  border-radius:30px;
  box-shadow:var(--shadow);
}
.hero-panel{
  padding:34px;
  position:relative;
  overflow:hidden;
}
.hero-panel::before{
  content:"";
  position:absolute;
  inset:auto -60px -80px auto;
  width:220px;
  height:220px;
  background:radial-gradient(circle, rgba(29,78,216,0.12) 0%, rgba(29,78,216,0) 70%);
}
.badge{
  display:inline-block;
  padding:9px 14px;
  border-radius:999px;
  background:var(--blue-soft);
  color:var(--blue);
  font-weight:800;
  font-size:13px;
  margin-bottom:14px;
}
.hero h2{
  margin:0;
  font-size:58px;
  line-height:1.02;
  letter-spacing:-1.6px;
  max-width:820px;
}
.hero p{
  color:#475569;
  line-height:1.8;
  font-size:18px;
  max-width:760px;
}
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:20px; }

.card{ overflow:hidden; }
.card-pad{ padding:26px; }

.info-grid{
  display:grid;
  gap:16px;
}
.info-chip{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px 16px;
  border-radius:18px;
  background:#f8fbff;
  border:1px solid #e4edf8;
  color:#475569;
}
.info-chip strong{
  display:block;
  color:#0f172a;
  margin-bottom:3px;
}

.section{
  padding:28px 0 0;
}
.section-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:end;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.section-title{
  margin:0 0 8px;
  font-size:42px;
  letter-spacing:-1px;
}
.section-sub{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.inventory-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.vehicle-card{
  background:rgba(255,255,255,0.96);
  border:1px solid var(--line);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.vehicle-image{
  position:relative;
  height:250px;
  background-size:cover;
  background-position:center;
}
.vehicle-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(10,15,26,0.08) 0%, rgba(10,15,26,0.56) 100%);
}
.overlay{
  position:absolute;
  top:12px;
  left:12px;
  right:12px;
  z-index:3;
  display:flex;
  align-items:center;
  gap:10px;
  background:rgba(255,255,255,0.96);
  border:2px solid #3b82f6;
  border-radius:18px;
  padding:8px 10px;
  box-shadow:0 10px 20px rgba(15,23,42,0.10);
}
.overlay img{
  height:36px;
  width:auto;
  object-fit:contain;
  flex:0 0 auto;
}
.overlay-title{
  color:#1e3a8a;
  font-size:11px;
  font-weight:800;
  line-height:1.1;
}
.overlay-phone{
  color:#2563eb;
  font-size:11px;
  font-weight:700;
}
.status{
  position:absolute;
  right:14px;
  bottom:14px;
  z-index:3;
  background:rgba(255,255,255,0.96);
  color:#334155;
  border-radius:999px;
  padding:7px 11px;
  font-weight:800;
  font-size:12px;
}
.vehicle-bottom{
  position:absolute;
  left:18px;
  bottom:18px;
  z-index:3;
  color:white;
}
.vehicle-bottom h3{
  margin:0 0 6px;
  font-size:24px;
  line-height:1.05;
}
.vehicle-bottom p{
  margin:0;
  color:rgba(255,255,255,0.88);
  font-size:14px;
}
.vehicle-content{ padding:20px; }
.row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
}
.price{
  font-size:40px;
  font-weight:900;
  letter-spacing:-1px;
}
.miles{
  background:#eef4fb;
  color:#475569;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:800;
}
.muted{
  color:var(--muted);
  line-height:1.75;
}
.action-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:14px;
}

.forms-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.field, textarea{
  width:100%;
  display:block;
  padding:14px 15px;
  border:1px solid var(--line);
  border-radius:14px;
  margin-bottom:12px;
  font-size:14px;
  background:#fbfdff;
}
textarea{
  min-height:120px;
  resize:vertical;
}
.searchbar{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:end;
  flex-wrap:wrap;
}
.search{ min-width:320px; }

.gallery-main{
  border:1px solid var(--line);
  border-radius:28px;
  overflow:hidden;
  background:#e8eef6;
  box-shadow:var(--shadow);
}
.gallery-main img{
  display:block;
  width:100%;
  height:500px;
  object-fit:cover;
}
.thumb-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
  margin-top:12px;
}
.thumb-grid img{
  width:100%;
  height:92px;
  object-fit:cover;
  border-radius:16px;
  border:2px solid var(--line);
  background:#f8fafc;
}

.service-banner{
  background:linear-gradient(180deg,#eff5ff 0%, #ffffff 100%);
  border:1px solid var(--line);
  border-radius:32px;
  padding:30px;
  box-shadow:var(--shadow);
}
.service-highlight{
  color:var(--red);
  font-weight:900;
  font-size:30px;
  margin:14px 0;
  letter-spacing:-0.4px;
}
.service-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

footer{
  margin-top:40px;
  border-top:1px solid var(--line);
  background:white;
  color:var(--muted);
}
footer .container{ padding:22px 0 40px; }

@media (max-width:1080px){
  .hero-shell, .inventory-grid, .forms-grid, .thumb-grid, .service-grid{ grid-template-columns:1fr; }
  .gallery-main img{ height:320px; }
  .hero h2{ font-size:44px; }
  .service-highlight{ font-size:24px; }
}
