/* ===========================================================
   HR FIRST MOTORS — stylesheet
   Premium dark brand + bright, easy-to-use site.
   =========================================================== */

:root{
  color-scheme: light only;

  /* Brand */
  --charcoal:#13262C;      /* brand charcoal — dark premium sections */
  --charcoal-2:#1B3239;    /* slightly lighter dark */
  --teal:#17A79B;          /* brand teal — primary accent */
  --teal-dark:#15847B;     /* hover / teal text on light */
  --teal-soft:#E4F4F2;     /* teal tint background */
  --gold:#CBA869;          /* brand champagne gold — secondary */
  --gold-soft:#F6EFE0;

  /* Neutrals */
  --bg:#FBFCFC;            /* brand paper white — page background */
  --surface:#FFFFFF;       /* cards */
  --ink:#16231F;           /* main text */
  --muted:#5E6E6B;         /* secondary text */
  --line:#E6ECEA;          /* borders */
  --line-dark:#2A4148;     /* borders on dark */

  --radius:16px;
  --radius-sm:11px;
  --shadow:0 10px 30px -18px rgba(14,40,38,0.35);
  --shadow-lg:0 22px 50px -24px rgba(14,40,38,0.45);
  --maxw:1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth; background:var(--bg); color-scheme:light only;}
@media (prefers-reduced-motion: reduce){ html{scroll-behavior:auto;} *{animation:none!important; transition:none!important;} }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:'Poppins',sans-serif; line-height:1.15; margin:0; letter-spacing:-0.01em; font-weight:700;}
a{color:inherit;}
img{max-width:100%; display:block;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 20px;}
.section{padding:64px 0;}
.section-tint{background:var(--teal-soft);}
.section-gold{background:var(--gold-soft);}
.center{text-align:center;}
:focus-visible{outline:3px solid var(--teal); outline-offset:3px; border-radius:4px;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;}

/* ---------- Buttons ---------- */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:'Poppins',sans-serif; font-weight:600; font-size:15.5px;
  padding:13px 24px; border-radius:100px; text-decoration:none; cursor:pointer;
  border:1.5px solid transparent; transition:background .15s, transform .15s, border-color .15s, color .15s; white-space:nowrap;}
.btn:hover{transform:translateY(-1px);}
.btn-primary{background:var(--teal); color:#fff;}
.btn-primary:hover{background:var(--teal-dark);}
.btn-gold{background:var(--gold); color:#3A2E16;}
.btn-gold:hover{background:#b9995a;}
.btn-dark{background:var(--charcoal); color:#fff;}
.btn-dark:hover{background:#0c1817;}
.btn-outline{background:transparent; border-color:var(--ink); color:var(--ink);}
.btn-outline:hover{background:var(--ink); color:#fff;}
.btn-outline-light{background:transparent; border-color:rgba(255,255,255,.55); color:#fff;}
.btn-outline-light:hover{background:#fff; color:var(--charcoal); border-color:#fff;}
.btn-whatsapp{background:#25D366; color:#0a2e17;}
.btn-whatsapp:hover{background:#1fb859;}
.btn-block{width:100%;}
.btn-lg{padding:16px 30px; font-size:16.5px;}

/* ---------- Header / nav ---------- */
header.site{position:sticky; top:0; z-index:60; background:var(--charcoal); border-bottom:1px solid var(--line-dark);}
.nav{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 20px; max-width:var(--maxw); margin:0 auto;}
.brand{display:flex; align-items:center; gap:11px; text-decoration:none; color:#fff;}
.brand .mark{background:var(--teal); color:#fff; font-family:'Poppins'; font-weight:800; font-size:15px; padding:6px 9px; border-radius:8px; letter-spacing:.02em; line-height:1;}
.brand .bt{display:flex; flex-direction:column; line-height:1.05;}
.brand .bt b{font-family:'Poppins'; font-weight:700; font-size:17px; color:#fff;}
.brand .bt span{font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold);}
.nav-links{display:flex; align-items:center; gap:26px;}
.nav-links a{color:#D7E0DE; text-decoration:none; font-size:14.5px; font-weight:500; transition:color .15s;}
.nav-links a:hover, .nav-links a.active{color:#fff;}
.nav-right{display:flex; align-items:center; gap:12px;}
.nav-toggle{display:none; background:none; border:1px solid var(--line-dark); border-radius:9px; padding:8px 10px; cursor:pointer;}
.nav-toggle span{display:block; width:20px; height:2px; background:#fff; margin:4px 0; border-radius:2px;}
@media (max-width:900px){
  .nav-links{display:none;}
  .nav-cta{display:none;}
  .nav-toggle{display:block;}
  .nav.open + .mobile-menu{display:block;}
}
.mobile-menu{display:none; background:var(--charcoal-2); border-bottom:1px solid var(--line-dark);}
.mobile-menu a{display:block; color:#E6EDEC; text-decoration:none; padding:14px 24px; border-top:1px solid var(--line-dark); font-weight:500;}
.mobile-menu a.src{color:var(--teal); font-weight:700;}

/* ---------- Hero ---------- */
.hero{background:var(--charcoal); color:#fff; position:relative; overflow:hidden;}
.hero::after{content:""; position:absolute; right:-120px; top:-120px; width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(15,163,155,0.22), transparent 70%); pointer-events:none;}
.hero .wrap{position:relative; z-index:2; padding-top:84px; padding-bottom:80px;}
.hero .eyebrow{display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:var(--gold);
  border:1px solid rgba(199,169,106,.4); padding:6px 14px; border-radius:100px; margin-bottom:22px;}
.hero h1{font-size:clamp(38px,6.4vw,66px); font-weight:800; color:#fff; max-width:14ch;}
.hero h1 .t{color:var(--teal);}
.hero p.lead{font-size:clamp(16px,2.2vw,19px); color:#C4D0CE; max-width:60ch; margin:22px 0 0;}
.hero-actions{display:flex; flex-wrap:wrap; gap:13px; margin-top:34px;}
.hero-trust{display:flex; flex-wrap:wrap; gap:22px; margin-top:40px; padding-top:28px; border-top:1px solid var(--line-dark);}
.hero-trust div{display:flex; align-items:center; gap:9px; font-size:13.5px; color:#AEBEBB;}
.hero-trust svg{width:18px; height:18px; stroke:var(--teal); fill:none; stroke-width:2;}

/* ---------- Section headings ---------- */
.sec-head{max-width:640px; margin-bottom:34px;}
.sec-head.center{margin-left:auto; margin-right:auto;}
.kicker{font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--teal); margin-bottom:10px;}
.sec-head h2{font-size:clamp(27px,3.8vw,42px); font-weight:700;}
.sec-head p{color:var(--muted); font-size:17px; margin-top:12px;}

/* ---------- Journey cards (3 ways) ---------- */
.journeys{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.journey{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:28px 26px; box-shadow:var(--shadow); display:flex; flex-direction:column;}
.journey .jic{width:46px; height:46px; border-radius:12px; background:var(--teal-soft); display:flex; align-items:center; justify-content:center; margin-bottom:18px;}
.journey .jic svg{width:24px; height:24px; stroke:var(--teal-dark); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.journey h3{font-size:21px; margin-bottom:8px;}
.journey p{color:var(--muted); font-size:14.5px; margin:0 0 20px;}
.journey .btn{margin-top:auto;}

/* ---------- Quick budget search ---------- */
.quickbar{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:22px; display:grid; grid-template-columns:1fr 1fr 1fr auto; gap:14px; align-items:end;}
.quickbar label{display:block; font-size:12.5px; font-weight:600; color:var(--muted); margin-bottom:6px;}
.quickbar select{width:100%; padding:12px 12px; border:1px solid var(--line); border-radius:11px; font-size:15px; font-family:inherit; background:#fff; color:var(--ink);}

/* ---------- Car grid / cards ---------- */
.car-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.car-card{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; text-decoration:none; color:inherit; display:flex; flex-direction:column; transition:transform .18s, box-shadow .18s;}
.car-card:hover{transform:translateY(-4px); box-shadow:var(--shadow-lg);}
.car-media{position:relative; aspect-ratio:16/10; background:#EAF1F0; overflow:hidden;}
.car-media img{width:100%; height:100%; object-fit:scale-down; padding:10px;}
.car-media.ph img{object-fit:contain; padding:0;}
.car-badges{position:absolute; left:10px; top:10px; right:10px; display:flex; gap:6px; flex-wrap:wrap; z-index:2;}
.badge{font-size:11px; font-weight:600; padding:4px 9px; border-radius:100px; background:#fff; color:var(--ink); border:1px solid var(--line); box-shadow:0 2px 6px rgba(0,0,0,.08);}
.badge.b-auto{background:var(--teal); color:#fff; border-color:var(--teal);}
.badge.b-ulez{background:#12314A; color:#fff; border-color:#12314A;}
.badge.b-first{background:var(--gold); color:#3A2E16; border-color:var(--gold);}
.badge.b-sold{background:#C23B3B; color:#fff; border-color:#C23B3B;}
.car-info{padding:16px 18px 18px; display:flex; flex-direction:column; flex:1;}
.car-price{font-family:'Poppins'; font-weight:800; font-size:21px; color:var(--ink);}
.car-title{font-family:'Poppins'; font-weight:600; font-size:16.5px; margin:3px 0 7px;}
.car-meta{font-size:13.5px; color:var(--muted); margin-bottom:14px;}
.car-cta{margin-top:auto; font-size:13.5px; font-weight:700; color:var(--teal-dark); display:flex; align-items:center; gap:6px;}

/* ---------- First-car feature chips ---------- */
.feature-cards{display:grid; grid-template-columns:repeat(5,1fr); gap:14px;}
.fcard{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-sm); padding:18px 14px; text-align:center;}
.fcard .fic{width:40px;height:40px;margin:0 auto 10px;border-radius:10px;background:var(--teal-soft);display:flex;align-items:center;justify-content:center;}
.fcard .fic svg{width:22px;height:22px;stroke:var(--teal-dark);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.fcard span{font-size:13.5px; font-weight:600;}

/* ---------- Budget cards ---------- */
.budget-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
.budget-card{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:24px; text-decoration:none; color:inherit; transition:transform .18s, box-shadow .18s; display:block;}
.budget-card:hover{transform:translateY(-3px); box-shadow:var(--shadow);}
.budget-card .bp{font-family:'Poppins'; font-weight:800; font-size:22px; color:var(--teal-dark);}
.budget-card h4{font-size:16px; margin:10px 0 6px;}
.budget-card p{font-size:13.5px; color:var(--muted); margin:0;}

/* ---------- Split feature band ---------- */
.band{display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center;}
.band.dark{background:var(--charcoal); color:#fff; border-radius:var(--radius); padding:44px;}
.band.dark h2{color:#fff;} .band.dark p{color:#C4D0CE;}
.band .panel{background:var(--charcoal-2); border:1px solid var(--line-dark); border-radius:var(--radius); padding:30px; text-align:center;}
.band .panel .big{font-family:'Poppins'; font-weight:800; font-size:40px; color:var(--teal);}
.band .panel .lbl{font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; color:#9FB2AF; margin-top:4px;}

/* ---------- Steps ---------- */
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:18px; counter-reset:step;}
.step{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:24px;}
.step .n{width:34px;height:34px;border-radius:9px;background:var(--teal);color:#fff;font-family:'Poppins';font-weight:700;display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.step h4{font-size:16px; margin-bottom:6px;}
.step p{font-size:14px; color:var(--muted); margin:0;}

/* ---------- Why / trust grid ---------- */
.why-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
.why{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:24px;}
.why .wic{width:42px;height:42px;border-radius:11px;background:var(--gold-soft);display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.why .wic svg{width:22px;height:22px;stroke:var(--gold);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.why h4{font-size:16px; margin-bottom:6px;}
.why p{font-size:14px; color:var(--muted); margin:0;}

/* ---------- CTA band ---------- */
.cta-band{background:var(--charcoal); color:#fff; border-radius:var(--radius); padding:46px; text-align:center;}
.cta-band h2{color:#fff; font-size:clamp(26px,3.6vw,38px);}
.cta-band p{color:#C4D0CE; max-width:55ch; margin:14px auto 26px;}
.cta-actions{display:flex; gap:13px; justify-content:center; flex-wrap:wrap;}

/* ---------- Forms ---------- */
.form-card{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:30px;}
.field{margin-bottom:18px;}
.field label{display:block; font-size:14px; font-weight:600; margin-bottom:7px;}
.field .req{color:#C23B3B;}
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field select, .field textarea{
  width:100%; padding:12px 13px; border:1px solid var(--line); border-radius:11px; font-size:15px; font-family:inherit; background:#fff; color:var(--ink);}
.field textarea{min-height:110px; resize:vertical;}
.field .hint{font-size:12.5px; color:var(--muted); margin-top:6px;}
.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.grid-3{display:grid; grid-template-columns:1fr 1fr 1fr; gap:16px;}
.choice-row{display:flex; flex-wrap:wrap; gap:9px;}
.choice{display:inline-flex; align-items:center; gap:7px; padding:9px 15px; border:1px solid var(--line); border-radius:100px; font-size:14px; cursor:pointer; background:#fff; user-select:none;}
.choice input{accent-color:var(--teal); margin:0;}
.choice:has(input:checked){border-color:var(--teal); background:var(--teal-soft);}
.checks{display:grid; grid-template-columns:1fr 1fr; gap:10px;}
.check{display:flex; align-items:center; gap:9px; font-size:14.5px; padding:4px 0;}
.check input{accent-color:var(--teal); width:17px; height:17px;}
.form-note{background:var(--teal-soft); border:1px solid #C9E8E4; border-radius:11px; padding:13px 15px; font-size:13.5px; color:#15514C; margin-bottom:18px;}
.form-msg{display:none; border-radius:11px; padding:14px 16px; font-size:14.5px; margin-top:4px;}
.form-msg.ok{display:block; background:#E7F6EC; border:1px solid #BFE6CC; color:#1C6B38;}
.form-msg.err{display:block; background:#FCECEC; border:1px solid #F3CFCF; color:#A32A2A;}
.sub-head{font-family:'Poppins'; font-weight:700; font-size:17px; margin:26px 0 14px; padding-top:20px; border-top:1px solid var(--line);}
.sub-head:first-of-type{border-top:none; padding-top:0; margin-top:0;}

/* ---------- Wizard ---------- */
.wizard{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:30px; max-width:720px; margin:0 auto;}
.wiz-progress{height:6px; background:var(--line); border-radius:100px; overflow:hidden; margin-bottom:24px;}
.wiz-progress i{display:block; height:100%; background:var(--teal); width:25%; transition:width .25s;}
.wiz-step{display:none;} .wiz-step.active{display:block;}
.wiz-step h3{font-size:22px; margin-bottom:6px;}
.wiz-step .q-sub{color:var(--muted); font-size:14.5px; margin-bottom:20px;}
.opt-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
.opt{border:1.5px solid var(--line); border-radius:12px; padding:16px; cursor:pointer; font-weight:600; font-size:15px; background:#fff; text-align:left; transition:border-color .15s, background .15s;}
.opt:hover{border-color:var(--teal);}
.opt.sel{border-color:var(--teal); background:var(--teal-soft);}
.opt small{display:block; font-weight:500; color:var(--muted); font-size:13px; margin-top:3px;}
.wiz-nav{display:flex; justify-content:space-between; margin-top:24px; gap:12px;}
.wiz-result{display:none;}
.wiz-result.show{display:block;}
.rec-list{display:flex; flex-wrap:wrap; gap:10px; margin:18px 0 24px;}
.rec{background:var(--teal-soft); border:1px solid #C9E8E4; color:#15514C; border-radius:100px; padding:9px 16px; font-weight:600; font-size:14.5px;}

/* ---------- Vehicle detail ---------- */
.veh-top{display:grid; grid-template-columns:1.25fr .75fr; gap:32px;}
.gallery .main{aspect-ratio:16/10; border-radius:var(--radius); overflow:hidden; background:#EAF1F0; border:1px solid var(--line);}
.gallery .main img{width:100%; height:100%; object-fit:scale-down; padding:16px;}
.gallery .thumbs{display:flex; gap:10px; margin-top:10px; flex-wrap:wrap;}
.gallery .thumbs img{width:88px; height:62px; object-fit:scale-down; background:#EAF1F0; border-radius:9px; border:2px solid transparent; cursor:pointer;}
.gallery .thumbs img.sel{border-color:var(--teal);}
.veh-buy{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:24px; position:sticky; top:84px;}
.veh-buy .p{font-family:'Poppins'; font-weight:800; font-size:32px;}
.veh-buy h1{font-size:22px; margin:4px 0 4px;}
.veh-buy .sub{color:var(--muted); font-size:14.5px; margin-bottom:16px;}
.veh-key{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:16px 0 20px;}
.veh-key div{background:var(--bg); border:1px solid var(--line); border-radius:10px; padding:10px 12px;}
.veh-key span{display:block; font-size:11.5px; color:var(--muted);}
.veh-key b{font-size:14.5px; font-weight:600;}
.veh-sec{margin-top:30px;}
.veh-sec h2{font-size:20px; margin-bottom:12px;}
.spec-list{display:grid; grid-template-columns:1fr 1fr; gap:8px 24px;}
.spec-list li{list-style:none; padding:8px 0; border-bottom:1px solid var(--line); font-size:14.5px; display:flex; justify-content:space-between; gap:12px;}
.spec-list li span{color:var(--muted);}
.points{display:flex; flex-direction:column; gap:10px; padding:0; margin:0;}
.points li{list-style:none; display:flex; gap:10px; align-items:flex-start; font-size:15px;}
.points li svg{width:20px;height:20px;flex:none;stroke:var(--teal);fill:none;stroke-width:2;margin-top:2px;}

/* ---------- Content pages ---------- */
.prose{max-width:760px;}
.prose h2{font-size:24px; margin:30px 0 12px;}
.prose h3{font-size:18px; margin:22px 0 8px;}
.prose p{margin:0 0 14px; color:#31403D;}
.prose ul{margin:0 0 16px; padding-left:20px; color:#31403D;}
.prose li{margin-bottom:7px;}
.page-hero{background:var(--charcoal); color:#fff; padding:56px 0;}
.page-hero h1{font-size:clamp(30px,4.6vw,46px); color:#fff;}
.page-hero p{color:#C4D0CE; margin-top:12px; max-width:65ch;}

/* ---------- Filters ---------- */
.filters{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:18px; display:grid; grid-template-columns:repeat(5,1fr); gap:14px; margin-bottom:12px;}
.filters label{display:block; font-size:12px; font-weight:600; color:var(--muted); margin-bottom:5px;}
.filters select{width:100%; padding:10px; border:1px solid var(--line); border-radius:10px; font-size:14px; background:#fff; font-family:inherit;}
.results-info{display:flex; justify-content:space-between; align-items:center; margin:18px 0; flex-wrap:wrap; gap:10px;}
.results-info .count{font-weight:600;}
.empty{background:var(--surface); border:1px dashed var(--line); border-radius:var(--radius); padding:40px; text-align:center; color:var(--muted);}

/* ---------- Floating WhatsApp ---------- */
.fab{position:fixed; right:18px; bottom:18px; z-index:70; display:flex; align-items:center; gap:10px; background:#25D366; color:#0a2e17; text-decoration:none; font-weight:700; font-family:'Poppins'; font-size:14.5px; padding:13px 18px; border-radius:100px; box-shadow:0 12px 28px -8px rgba(0,0,0,.4);}
.fab svg{width:22px; height:22px;}
.fab .ft{display:inline;}
@media (max-width:600px){ .fab .ft{display:none;} .fab{padding:14px;} }

/* ---------- Footer ---------- */
footer.site{background:var(--charcoal); color:#C4D0CE; padding:52px 0 26px; margin-top:0;}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:30px;}
footer.site .brand{color:#fff; margin-bottom:14px;}
footer.site h5{color:#fff; font-family:'Poppins'; font-size:14px; letter-spacing:.04em; text-transform:uppercase; margin:0 0 14px;}
footer.site a{color:#C4D0CE; text-decoration:none; display:block; padding:5px 0; font-size:14px;}
footer.site a:hover{color:#fff;}
.foot-tag{font-size:14px; max-width:34ch;}
.foot-social{display:flex; gap:12px; margin-top:14px;}
.foot-social a{display:inline-flex; width:38px; height:38px; border:1px solid var(--line-dark); border-radius:10px; align-items:center; justify-content:center; padding:0;}
.foot-social svg{width:18px; height:18px; stroke:#C4D0CE; fill:none; stroke-width:2;}
.foot-social a:hover svg{stroke:#fff;}
.foot-bottom{border-top:1px solid var(--line-dark); margin-top:34px; padding-top:20px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12.5px; color:#8CA09D;}
.disclaimer{font-size:12px; color:#7E928F; margin-top:14px; max-width:80ch;}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .journeys{grid-template-columns:1fr;}
  .car-grid{grid-template-columns:repeat(2,1fr);}
  .feature-cards{grid-template-columns:repeat(3,1fr);}
  .budget-grid{grid-template-columns:repeat(2,1fr);}
  .steps{grid-template-columns:repeat(2,1fr);}
  .why-grid{grid-template-columns:repeat(2,1fr);}
  .band{grid-template-columns:1fr; gap:24px;}
  .veh-top{grid-template-columns:1fr;}
  .veh-buy{position:static;}
  .filters{grid-template-columns:repeat(2,1fr);}
  .foot-grid{grid-template-columns:1fr 1fr;}
  .quickbar{grid-template-columns:1fr 1fr;}
}
@media (max-width:620px){
  .section{padding:48px 0;}
  .car-grid{grid-template-columns:1fr;}
  .feature-cards{grid-template-columns:repeat(2,1fr);}
  .budget-grid{grid-template-columns:1fr 1fr;}
  .grid-2,.grid-3{grid-template-columns:1fr;}
  .checks{grid-template-columns:1fr;}
  .opt-grid{grid-template-columns:1fr;}
  .spec-list{grid-template-columns:1fr;}
  .veh-key{grid-template-columns:1fr 1fr;}
  .band.dark{padding:28px;}
  .cta-band{padding:30px;}
  .foot-grid{grid-template-columns:1fr;}
  .hero .wrap{padding-top:56px; padding-bottom:56px;}
}

/* ===========================================================
   REVISION ADD-ONS
   =========================================================== */

/* --- Form text safeguards: never white-on-white --- */
.form-card, .wizard{ color:var(--ink); }
.form-card label, .form-card .choice, .form-card .check, .form-card .sub-head,
.form-card legend, .form-card p, .form-card .hint,
.wizard label, .wizard .opt, .wizard .q-sub{ color:var(--ink); }
.form-card .hint, .wizard .q-sub{ color:var(--muted); }
.form-card input, .form-card select, .form-card textarea,
.wizard input, .wizard select, .wizard textarea{
  background:#fff; color:var(--ink);
}
.form-card input::placeholder, .form-card textarea::placeholder,
.wizard input::placeholder, .wizard textarea::placeholder{ color:#74817f; opacity:1; }
.form-card select option{ color:var(--ink); background:#fff; }
.choice, .check{ color:var(--ink); }
.choice input, .check input{ accent-color:var(--teal); }

/* --- Must-have / nice-to-have group styling --- */
.req-group{ border:1px solid var(--line); border-radius:12px; padding:16px 16px 6px; margin-bottom:16px; }
.req-group.must{ border-color:#CDE9DE; background:#F4FBF8; }
.req-group.nice{ border-color:var(--line); background:#FbFCFC; }
.req-group .rg-head{ display:flex; align-items:center; gap:8px; font-family:'Poppins'; font-weight:700; font-size:14.5px; margin-bottom:4px; color:var(--ink); }
.req-group .rg-head .tagdot{ width:9px; height:9px; border-radius:50%; }
.req-group.must .tagdot{ background:var(--teal); }
.req-group.nice .tagdot{ background:var(--gold); }
.req-group .rg-sub{ font-size:12.5px; color:var(--muted); margin-bottom:12px; }

/* --- SOLD overlay on cards --- */
.car-media .sold-overlay{ position:absolute; inset:0; background:rgba(19,32,31,.55); display:flex; align-items:center; justify-content:center; z-index:3; }
.car-media .sold-overlay span{ background:#C23B3B; color:#fff; font-family:'Poppins'; font-weight:800; font-size:15px; letter-spacing:.06em; padding:8px 18px; border-radius:8px; transform:rotate(-6deg); }

/* --- Demo / example badge --- */
.badge.b-demo{ background:#4B5563; color:#fff; border-color:#4B5563; }
.notice{ background:var(--gold-soft); border:1px solid #EAD9B0; color:#6b5726; border-radius:12px; padding:12px 16px; font-size:13.5px; margin-bottom:22px; }

/* --- Quick filter pills (cars page) --- */
.quickfilters{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.qf{ border:1.5px solid var(--line); background:#fff; color:var(--ink); border-radius:100px; padding:9px 16px; font-size:13.5px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:7px; }
.qf.on{ border-color:var(--teal); background:var(--teal-soft); color:var(--teal-dark); }
.qf svg{ width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2; }

/* --- Collapsible filters on mobile --- */
.filters-toggle{ display:none; width:100%; justify-content:space-between; }
@media (max-width:760px){
  .filters-toggle{ display:flex; }
  .filters{ display:none; }
  .filters.open{ display:grid; }
}

/* --- Sticky mobile action bar --- */
.mobilebar{ display:none; }
@media (max-width:760px){
  .mobilebar{
    display:grid; grid-template-columns:1fr 1fr 1fr; gap:0;
    position:fixed; left:0; right:0; bottom:0; z-index:65;
    background:#fff; border-top:1px solid var(--line); box-shadow:0 -6px 20px -12px rgba(0,0,0,.3);
  }
  .mobilebar a{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; padding:9px 4px; text-decoration:none; color:var(--ink); font-size:11.5px; font-weight:600; }
  .mobilebar a svg{ width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:2; }
  .mobilebar a.wa{ color:#0a7a33; }
  .mobilebar a + a{ border-left:1px solid var(--line); }
  body.has-mobilebar{ padding-bottom:62px; }
  /* lift floating WhatsApp above the bar, or hide when bar present */
  body.has-mobilebar .fab{ display:none; }
}

/* --- Vehicle sticky actions on mobile --- */
@media (max-width:980px){
  .veh-actions-sticky{ position:sticky; bottom:0; background:var(--bg); padding:12px 0; margin-top:8px; z-index:4; }
}

/* ===========================================================
   REFINEMENT PASS 2 ADD-ONS
   =========================================================== */

/* Nav: fit two extra items without crowding */
.nav-links{ gap:20px; }
@media (max-width:1040px) and (min-width:901px){ .nav-links{ gap:14px; font-size:14px; } }

/* Why-first-car callout on vehicle page */
.first-note{ background:var(--teal-soft); border:1px solid #C9E8E4; border-radius:14px; padding:18px 20px; max-width:760px; }
.first-note .fn-head{ display:flex; align-items:center; gap:9px; font-family:'Poppins'; font-weight:700; font-size:16px; color:var(--teal-dark); margin-bottom:6px; }
.first-note .fn-head svg{ width:20px; height:20px; fill:var(--gold); stroke:none; flex:none; }
.first-note p{ margin:0; color:#20423c; font-size:15px; }

/* Shop by Need */
.need-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.need-card{ background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:20px 16px; text-decoration:none; color:inherit; display:flex; flex-direction:column; gap:10px; transition:transform .16s, box-shadow .16s; min-height:118px; }
.need-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.need-card .nic{ width:38px; height:38px; border-radius:10px; background:var(--teal-soft); display:flex; align-items:center; justify-content:center; }
.need-card .nic svg{ width:20px; height:20px; stroke:var(--teal-dark); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.need-card b{ font-family:'Poppins'; font-weight:600; font-size:15px; line-height:1.2; }
.need-card span{ font-size:12.5px; color:var(--muted); }
@media (max-width:980px){ .need-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .need-grid{ grid-template-columns:1fr 1fr; } }

/* Page intro grid count line */
.grid-count{ font-weight:600; color:var(--muted); margin:0 0 16px; }

/* Guides */
.guide-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
@media (max-width:760px){ .guide-grid{ grid-template-columns:1fr; } }
.guide-card{ background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:24px; text-decoration:none; color:inherit; display:block; transition:transform .16s, box-shadow .16s; }
.guide-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.guide-card h3{ font-size:19px; margin:0 0 8px; }
.guide-card p{ margin:0; color:var(--muted); font-size:14.5px; }
.guide-body{ max-width:760px; }
.guide-body h2{ font-size:23px; margin:34px 0 10px; }
.guide-body h3{ font-size:17px; margin:20px 0 6px; }
.guide-body p, .guide-body li{ color:#31403D; }
.guide-body ul{ padding-left:20px; margin:0 0 14px; }
.guide-body li{ margin-bottom:6px; }

/* ===========================================================
   NEW H1R LOGO MARK (header + footer)
   =========================================================== */
.brand .hrmark{ display:flex; align-items:center; justify-content:center; width:38px; height:38px; flex:none; }
.brand .hrmark svg{ width:38px; height:38px; display:block; }
footer.site .brand .hrmark, footer.site .brand .hrmark svg{ width:34px; height:34px; }

/* ---------- Brand logo (brand kit: logo-horizontal-dark) ---------- */
.brand .hrlogo{ display:block; height:46px; width:auto; flex:none; }
footer.site .brand .hrlogo{ height:52px; max-width:100%; }
footer.site .brand{ max-width:100%; }
.nav-links a{white-space:nowrap;}
@media (max-width:1240px){ .nav-links{gap:18px;} .nav-links a{font-size:14px;} .brand .hrlogo{height:42px;} }
@media (max-width:1140px){ .nav-cta{display:none;} }
/* switch to the menu button a little earlier now the logo is wider */
@media (max-width:1000px){ .nav-links{display:none;} .nav-toggle{display:block;} .nav.open + .mobile-menu{display:block;} .brand .hrlogo{height:40px;} }
@media (max-width:380px){ .brand .hrlogo{height:34px;} }

/* ---------- Stock status (Coming Soon / Reserved / Unavailable) ---------- */
.badge.b-soon{background:var(--charcoal); color:#fff; border-color:var(--charcoal);}
.badge.b-reserved{background:#9A6B12; color:#fff; border-color:#9A6B12;}
.badge.b-unavail{background:#5E6E6B; color:#fff; border-color:#5E6E6B;}
.car-price.ps-soon, .veh-buy .p.ps-soon{color:var(--teal-dark);}
.car-price.ps-unavail, .veh-buy .p.ps-unavail{color:var(--muted);}
.car-price.ps-soon, .car-price.ps-unavail{font-size:18px; line-height:1.45;}
.veh-buy .p.ps-soon, .veh-buy .p.ps-unavail{font-size:24px;}
.gallery .main{position:relative;}
.gallery .main .sold-overlay{ position:absolute; inset:0; background:rgba(19,38,44,.5); display:flex; align-items:center; justify-content:center; z-index:3; }
.gallery .main .sold-overlay span{ background:#C23B3B; color:#fff; font-family:'Poppins'; font-weight:800; font-size:18px; letter-spacing:.06em; padding:9px 22px; border-radius:8px; transform:rotate(-6deg); }
.sold-overlay.st-reserved{ background:rgba(19,38,44,.35); }
.sold-overlay.st-reserved span{ background:#9A6B12; }
.status-note b{color:var(--ink);}
