:root{
  --bg:#0b0c10;
  --panel:#12141a;
  --panel2:#0f1116;
  --text:#e9eef6;
  --muted:#a9b2c3;
  --line:rgba(255,255,255,.08);
  --red:#e0181a;
  --red2:#b40f12;
  --silver:#c9d2df;
  --shadow: 0 18px 45px rgba(0,0,0,.55);
  --radius:16px;
  --max:1180px;
  --btn:#1e2430;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(224,24,26,.28), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(201,210,223,.12), transparent 60%),
    linear-gradient(180deg, #07080b 0%, #0b0c10 55%, #07080b 100%);
  color:var(--text);
}

a{color:inherit;text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:22px}
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,8,11,.72);
  border-bottom:1px solid var(--line);
}
.topbar .row{display:flex; align-items:center; justify-content:space-between; gap:16px}
.brand{display:flex; align-items:center; gap:14px}
.brand img{height:74px; width:auto; display:block; filter:drop-shadow(0 8px 22px rgba(0,0,0,.45))}
.nav{display:flex; gap:14px; flex-wrap:wrap}
.nav a{
  padding:10px 12px;
  border-radius:999px;
  color:var(--muted);
  border:1px solid transparent;
}
.nav a:hover{color:var(--text); border-color:var(--line); background:rgba(255,255,255,.03)}
.nav a.active{color:var(--text); border-color:rgba(224,24,26,.45); background:rgba(224,24,26,.10)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(30,36,48,.98), rgba(18,20,26,.98));
  color:var(--text);
  cursor:pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
  user-select:none;
}
.btn:hover{transform:translateY(-1px); border-color:rgba(224,24,26,.35)}
.btn.primary{
  border-color:rgba(224,24,26,.55);
  background: linear-gradient(180deg, rgba(224,24,26,.95), rgba(180,15,18,.95));
}
.btn.ghost{background:transparent}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  font-size:12px; color:var(--muted);
  background:rgba(255,255,255,.04)
}
.badge.red{color:#fff;border-color:rgba(224,24,26,.6); background:rgba(224,24,26,.15)}
.badge.sold{color:#fff;border-color:rgba(201,210,223,.45); background:rgba(201,210,223,.10)}
.hero{
  padding:28px 0 12px;
}
.heroCard{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18,20,26,.85), rgba(9,10,14,.85));
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.heroGrid{display:grid; grid-template-columns: 1.2fr .8fr; gap:0}
.heroLeft{padding:36px}
.heroRight{padding:28px; background: rgba(255,255,255,.03); border-left:1px solid var(--line)}
.h1{
  margin:0;
  font-size:54px;
  letter-spacing:.5px;
  line-height:1.05;
}
.h1 span{display:block; color:var(--silver); font-weight:300}
.h1 strong{display:block; font-weight:800}
.lead{color:var(--muted); line-height:1.7; max-width:62ch; margin:18px 0 22px}
.kickers{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.formCard{
  display:flex; flex-direction:column; gap:12px;
}
label{font-size:12px; color:var(--muted)}
.input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,12,16,.72);
  color:var(--text);
  outline:none;
}

/* Better dark select dropdown (Chrome/Edge/Firefox; some OS highlight still applies) */
select{
  appearance:none;
  -webkit-appearance:none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.55) 50%),
                    linear-gradient(135deg, rgba(255,255,255,.55) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
select option{
  background: #0a0c10;
  color: #ffffff;
}
textarea{min-height:120px; resize:vertical}
.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.grid2{display:grid; grid-template-columns: 1fr 1fr; gap:14px}
.sectionTitle{margin:26px 0 12px; font-size:20px}
.cards{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px}
.card{
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(18,20,26,.65);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  overflow:hidden;
}
.cardMedia{position:relative; aspect-ratio: 4/3; background:rgba(255,255,255,.05)}
.cardMedia img{width:100%; height:100%; object-fit:cover; display:block}
.cardMedia .flag{position:absolute; left:12px; top:12px}
.cardBody{padding:14px}
.cardTitle{font-weight:800; font-size:16px; margin:0 0 8px}
.meta{display:grid; gap:6px; color:var(--muted); font-size:13px}
.priceRow{display:flex; align-items:center; justify-content:space-between; margin-top:14px}
.price{font-weight:900; font-size:20px}
.footer{
  margin-top:36px;
  border-top:1px solid var(--line);
  color:var(--muted);
  padding:22px 0 40px;
}

.twoCol{display:grid; grid-template-columns: 1fr 1fr; gap:16px}
.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius:14px;
  border:1px solid var(--line);
}
.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid var(--line);
}
.table th{color:var(--muted); text-align:left; background:rgba(255,255,255,.03)}
.table tr:last-child td{border-bottom:none}

.notice{
  border:1px solid rgba(224,24,26,.45);
  background: rgba(224,24,26,.08);
  border-radius: 14px;
  padding:12px 14px;
  color:var(--silver);
}

.cookie{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:9999;
  max-width:980px; margin:0 auto;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(12,14,18,.92);
  box-shadow: 0 18px 55px rgba(0,0,0,.6);
  padding:14px;
  display:none;
}
.cookie .row{display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap}
.cookie p{margin:0; color:var(--muted); line-height:1.5}
.cookie strong{color:var(--text)}
.small{font-size:12px}

.whatsapp-fab{
  position:fixed; right:18px; bottom:18px; z-index:9998;
  display:none;
}
.whatsapp-fab a{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(18,20,26,.85);
  box-shadow: 0 12px 35px rgba(0,0,0,.5);
}

@media (max-width: 980px){
  .heroGrid{grid-template-columns:1fr}
  .heroRight{border-left:none; border-top:1px solid var(--line)}
  .cards{grid-template-columns:1fr 1fr}
  .grid3{grid-template-columns:1fr}
  .twoCol{grid-template-columns:1fr}
  .h1{font-size:40px}
}
@media (max-width: 620px){
  .cards{grid-template-columns:1fr}
  .brand img{height:72px}
}


/* Responsive */
@media (max-width: 900px){
  .wrap{padding:18px 14px}
  .topbar{position:sticky; top:0; z-index:50; backdrop-filter: blur(12px)}
  .nav{gap:10px; justify-content:center}
}
@media (max-width: 720px){
  .brand img{height:64px}
  .heroGrid{grid-template-columns:1fr !important}
  .heroGrid .heroCard{padding:18px !important}
  .grid3{grid-template-columns:1fr !important}
  .grid2{grid-template-columns:1fr !important}
  .vehicleGrid{grid-template-columns:1fr !important}
  .footerRow{flex-direction:column; align-items:flex-start; gap:10px}
  .btn{width:100%}
  .nav{flex-wrap:wrap}
}
@media (max-width: 420px){
  .brand img{height:58px}
  .sectionTitle{font-size:22px}
}



/* Mobile nav */
.navToggle{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(10,11,14,.65);
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:10px;
}
.navToggle span{
  display:block;
  height:2px;
  width:18px;
  background: rgba(255,255,255,.78);
  border-radius:2px;
}
.navPanel{display:flex; align-items:center; gap:14px}
.navAdmin{display:none}

@media (max-width: 860px){
  .brand img{height:82px} /* bigger logo on phone */
  .adminBtn{display:none}
  .navToggle{display:flex}
  .navPanel{
    position:absolute;
    left:14px; right:14px;
    top:72px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding:14px;
    border-radius:18px;
    background: rgba(7,8,11,.92);
    border:1px solid var(--line);
    box-shadow: 0 18px 50px rgba(0,0,0,.55);
  }
  .topbar .row{position:relative}
  .navPanel.open{display:flex}
  .nav{flex-direction:column; width:100%}
  .nav a{width:100%; text-align:center}
  .navAdmin{display:inline-flex; width:100%; justify-content:center}
}
