/* ============================================================
   AUTO KAMI — style.css
   Design system: navy/orange automotive premium, Poppins type
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root{
  --navy:#0f1e3c;
  --navy-light:#16294f;
  --navy-glass: rgba(15,30,60,.72);
  --primary:#0f1e3c;
  --orange:#e8500a;
  --orange-dark:#c8420a;
  --secondary:#e8500a;
  --accent:#f1c40f;
  --white:#ffffff;
  --light:#f7f8fa;
  --text:#24324a;
  --gray:#6d7787;
  --border:#e7e9ef;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(15,30,60,.06);
  --shadow-md: 0 12px 32px rgba(15,30,60,.10);
  --shadow-lg: 0 24px 60px rgba(15,30,60,.16);

  --container: 1240px;
  --header-h: 84px;
  --topbar-h: 40px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body{
  font-family:'Poppins',-apple-system,BlinkMacSystemFont,sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
input,select,textarea{ font-family:inherit; font-size:15px; }
h1,h2,h3,h4{ font-weight:700; color:var(--navy); line-height:1.15; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }

:focus-visible{ outline:3px solid var(--accent); outline-offset:2px; border-radius:4px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

/* ---------- 3. Utility ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--orange); margin-bottom:12px;
}
.eyebrow::before{ content:''; width:22px; height:2px; background:var(--orange); border-radius:2px; }
.section-head{ max-width:640px; margin-bottom:44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(28px,3.4vw,40px); }
.section-head p{ color:var(--gray); font-size:16px; margin-top:12px; }
section{ padding:88px 0; }
.section-alt{ background:var(--light); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:15px 30px; border-radius:100px; font-weight:600; font-size:15px;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space:nowrap;
}
.btn-orange{ background:var(--orange); color:var(--white); box-shadow:0 10px 26px rgba(232,80,10,.30); }
.btn-orange:hover{ background:var(--orange-dark); transform:translateY(-2px); box-shadow:0 14px 30px rgba(232,80,10,.38); }
.btn-outline{ background:transparent; color:var(--white); border:1.5px solid rgba(255,255,255,.5); }
.btn-outline:hover{ background:rgba(255,255,255,.12); border-color:#fff; transform:translateY(-2px); }
.btn-navy{ background:var(--navy); color:#fff; }
.btn-navy:hover{ background:var(--navy-light); transform:translateY(-2px); }
.btn-ghost{ background:#0f1e3c; color:var(--navy); }
.btn-sm{ padding:10px 20px; font-size:13px; }
.btn-block{ width:100%; }

.badge{ display:inline-block; padding:5px 12px; border-radius:100px; font-size:12px; font-weight:700; }
.badge-orange{ background:var(--orange); color:#fff; }
.badge-navy{ background:var(--navy); color:#fff; }
.badge-gold{ background:var(--accent); color:var(--navy); }

.stars{ color:var(--accent); letter-spacing:2px; font-size:14px; }

.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }

.skip-link{
  position:absolute; left:-999px; top:0; background:var(--orange); color:#fff;
  padding:12px 20px; z-index:2000; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

/* ---------- 4. Preloader ---------- */
#preloader{
  position:fixed; inset:0; background:var(--navy); z-index:9999;
  display:flex; align-items:center; justify-content:center;
  transition:opacity .5s ease, visibility .5s ease;
}
#preloader.hide{ opacity:0; visibility:hidden; }
.preloader-mark{ display:flex; flex-direction:column; align-items:center; gap:14px; }
.preloader-ring{
  width:52px; height:52px; border-radius:50%;
  border:3px solid rgba(255,255,255,.18); border-top-color:var(--orange);
  animation:spin 1s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }
.preloader-mark span{ color:#fff; font-size:13px; letter-spacing:.18em; text-transform:uppercase; opacity:.7; }

/* ---------- 5. Scroll progress ---------- */
#scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0%; background:var(--orange);
  z-index:1001; transition:width .1s linear;
}

/* ---------- 6. Top bar ---------- */
.topbar{
  background:var(--navy); color:rgba(255,255,255,.82); font-size:13px; height:var(--topbar-h);
}
.topbar .container{ height:100%; display:flex; align-items:center; justify-content:space-between; }
.topbar-info{ display:flex; align-items:center; gap:22px; }
.topbar-info a, .topbar-info span{ display:flex; align-items:center; gap:7px; color:inherit; }
.topbar-info svg{ width:14px; height:14px; flex:none; }
.topbar-social{ display:flex; align-items:center; gap:14px; }
.topbar-social a{ width:26px; height:26px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(255,255,255,.08); transition:background .2s; }
.topbar-social a:hover{ background:var(--orange); }
.topbar-social svg{ width:13px; height:13px; }

/* ---------- 7. Header ---------- */
header.site-header{
  position:sticky; top:0; z-index:1000;
  height:var(--header-h);
  background:rgba(15,30,60,.82);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid rgba(255,255,255,.08);
  transition:height .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
header.site-header.scrolled{ height:68px; box-shadow:0 8px 24px rgba(0,0,0,.18); background:rgba(12,24,48,.94); }
.header-inner{ height:100%; display:flex; align-items:center; justify-content:space-between; gap:24px; }

.logo{ display:flex; align-items:center; gap:10px; flex:none; }
.logo svg{ width:38px; height:38px; }
.logo-text{ font-size:20px; font-weight:800; color:#fff; letter-spacing:.01em; }
.logo-text span{ color:var(--orange); }

.main-nav{ display:flex; align-items:center; gap:4px; }
.main-nav a{
  color:rgba(255,255,255,.86); font-weight:500; font-size:15px; padding:10px 16px; border-radius:8px;
  position:relative; transition:color .2s;
}
.main-nav a:hover, .main-nav a.active{ color:#fff; }
.main-nav a.active::after{
  content:''; position:absolute; left:16px; right:16px; bottom:4px; height:2px; background:var(--orange); border-radius:2px;
}
.header-actions{ display:flex; align-items:center; gap:14px; }
.header-actions .btn{ padding:12px 24px; font-size:14px; }
.burger{ display:none; flex-direction:column; gap:5px; width:26px; }
.burger span{ height:2px; background:#fff; border-radius:2px; transition:transform .3s, opacity .3s; }
.burger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-nav{
  position:fixed; top:0; right:-100%; width:min(84vw,360px); height:100vh; background:var(--navy);
  z-index:1100; padding:30px 26px; transition:right .35s var(--ease); overflow-y:auto;
}
.mobile-nav.open{ right:0; }
.mobile-nav-close{ margin-left:auto; display:block; color:#fff; font-size:26px; width:36px; }
.mobile-nav a{ display:block; color:#fff; font-size:17px; padding:14px 4px; border-bottom:1px solid rgba(255,255,255,.1); }
.mobile-nav .btn{ margin-top:22px; width:100%; }
.nav-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:1050; opacity:0; visibility:hidden; transition:opacity .3s; }
.nav-overlay.open{ opacity:1; visibility:visible; }

/* ---------- 8. Hero ---------- */
.hero{ position:relative; min-height:88vh; display:flex; align-items:center; justify-content:flex-start; overflow:hidden; }
.hero .container{ margin-left:0; }
.hero-media{ position:absolute; inset:0; background:var(--navy); }
.hero-video{ width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(15,30,60,.94) 6%, rgba(15,30,60,.76) 40%, rgba(15,30,60,.32) 72%);
}
.hero-sound-toggle{
  position:absolute; right:28px; bottom:28px; z-index:3; width:46px; height:46px; border-radius:50%;
  background:rgba(255,255,255,.12); backdrop-filter:blur(6px); border:1px solid rgba(255,255,255,.28);
  color:#fff; display:flex; align-items:center; justify-content:center; transition:background .2s;
}
.hero-sound-toggle:hover{ background:rgba(255,255,255,.22); }
.hero-sound-toggle svg{ width:19px; height:19px; }
.hero-content{
  position:relative; z-index:2; max-width:640px; width:100%;
  margin-right:auto; text-align:left; padding:3px 0 60px !important;
}
.hero-content h1{ color:#fff; font-size:clamp(38px,5.4vw,62px); font-weight:800; letter-spacing:-.01em; }
.hero-content h1 em{ font-style:normal; color:var(--orange); }
.hero-content p{ color:rgba(255,255,255,.86); font-size:17px; margin:20px 0 30px; max-width:480px; }
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:44px; }
.hero-badges{ display:flex; gap:26px; flex-wrap:wrap; }
.hero-badge{ display:flex; align-items:center; gap:10px; color:#fff; }
.hero-badge-icon{ width:38px; height:38px; border-radius:10px; background:rgba(232,80,10,.18); display:flex; align-items:center; justify-content:center; flex:none; }
.hero-badge-icon svg{ width:19px; height:19px; color:var(--orange); }
.hero-badge b{ display:block; font-size:14px; }
.hero-badge small{ color:rgba(255,255,255,.65); font-size:12.5px; }
/* ---------- 9. Search bar ---------- */
.search-panel{
  position:relative; z-index:5; background:#fff; border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg); padding:26px; margin-top:-64px;
}
.search-grid{ display:grid; grid-template-columns:repeat(4,1fr) auto; gap:16px; align-items:end; }
.field label{ display:block; font-size:12.5px; font-weight:600; color:var(--gray); margin-bottom:8px; text-transform:uppercase; letter-spacing:.05em; }
.field select, .field input{
  width:100%; padding:13px 14px; border:1.5px solid var(--border); border-radius:var(--radius-sm);
  background:var(--light); color:var(--text); transition:border-color .2s;
}
.field select:focus, .field input:focus{ border-color:var(--orange); background:#fff; }
.search-advanced{ text-align:center; margin-top:16px; }
.search-advanced a{ color:var(--orange); font-size:14px; font-weight:600; }

/* ---------- 10. Categories ---------- */
.cat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.cat-card{
  position:relative; border-radius:var(--radius-md); overflow:hidden; aspect-ratio:4/3.4;
  box-shadow:var(--shadow-sm); transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.cat-card img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.cat-card:hover img{ transform:scale(1.07); }
.cat-card::after{ content:''; position:absolute; inset:0; background:linear-gradient(0deg, rgba(15,30,60,.86), rgba(15,30,60,0) 60%); }
.cat-card-label{ position:absolute; left:18px; bottom:16px; z-index:2; color:#fff; }
.cat-card-label b{ font-size:17px; display:block; }
.cat-card-label span{ font-size:12.5px; color:rgba(255,255,255,.75); }

/* ---------- 11. Vehicle cards ---------- */
.toolbar-row{ display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:36px; gap:20px; flex-wrap:wrap; }
.link-arrow{ color:var(--navy); font-weight:600; font-size:14.5px; display:inline-flex; align-items:center; gap:6px; }
.link-arrow svg{ width:16px; height:16px; transition:transform .2s; }
.link-arrow:hover svg{ transform:translateX(4px); }

.vehicle-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.v-card{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-md); overflow:hidden;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease); display:flex; flex-direction:column;
}
.v-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.v-media{ position:relative; aspect-ratio:4/3; overflow:hidden; }
.v-media img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.v-card:hover .v-media img{ transform:scale(1.08); }
.v-media .badge{ position:absolute; top:12px; left:12px; }
.v-fav{
  position:absolute; top:10px; right:10px; width:36px; height:36px; border-radius:50%;
  background:rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center; transition:background .2s;
}
.v-fav svg{ width:17px; height:17px; color:var(--navy); transition:all .2s; }
.v-fav.active svg{ color:var(--orange); fill:var(--orange); }
.v-body{ padding:18px 18px 20px; display:flex; flex-direction:column; gap:12px; flex:1; }
.v-title{ font-size:17px; font-weight:700; color:var(--navy); }
.v-specs{ display:flex; flex-wrap:wrap; gap:8px; font-size:12.5px; color:var(--gray); }
.v-specs span{ background:var(--light); padding:5px 10px; border-radius:100px; display:inline-flex; align-items:center; gap:5px; }
.v-price-row{ display:flex; align-items:baseline; justify-content:space-between; margin-top:auto; padding-top:8px; border-top:1px dashed var(--border); }
.v-price{ font-size:20px; font-weight:800; color:var(--orange); }
.v-old-price{ font-size:13px; color:var(--gray); text-decoration:line-through; margin-right:6px; }
.v-card .btn{ margin-top:4px; }

/* ---------- 12. Why us ---------- */
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.why-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-md); padding:30px; transition:box-shadow .3s, transform .3s; }
.why-card:hover{ box-shadow:var(--shadow-md); transform:translateY(-4px); }
.why-icon{ width:52px; height:52px; border-radius:14px; background:rgba(232,80,10,.10); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.why-icon svg{ width:26px; height:26px; color:var(--orange); }
.why-card h3{ font-size:18px; margin-bottom:8px; }
.why-card p{ color:var(--gray); font-size:14.5px; }

/* ---------- 13. Steps ---------- */
.steps-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; position:relative; }
.steps-row::before{ content:''; position:absolute; top:34px; left:8%; right:8%; height:2px; background:repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 18px); z-index:0; }
.step{ position:relative; z-index:1; text-align:center; }
.step-num{ width:68px; height:68px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-size:22px; font-weight:800; margin:0 auto 18px; box-shadow:0 10px 24px rgba(15,30,60,.22); }
.step h3{ font-size:16.5px; margin-bottom:8px; }
.step p{ color:var(--gray); font-size:13.5px; padding:0 6px; }

/* ---------- 14. Split banners (import / warranty) ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.split-media{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); position:relative; }
.split-media img{ width:100%; height:100%; object-fit:cover; }
.split.reverse{ grid-template-columns:1fr 1fr; }
.split.reverse .split-media{ order:2; }
.check-list{ margin:22px 0 28px; display:flex; flex-direction:column; gap:12px; }
.check-list li{ display:flex; align-items:flex-start; gap:10px; font-size:15px; }
.check-list svg{ width:20px; height:20px; color:var(--orange); flex:none; margin-top:2px; }
.split-stat-badge{
  position:absolute; bottom:20px; left:20px; background:rgba(15,30,60,.86); backdrop-filter:blur(6px);
  color:#fff; padding:16px 20px; border-radius:var(--radius-md); display:flex; gap:14px; align-items:center;
}
.split-stat-badge b{ font-size:24px; display:block; color:var(--orange); }
.split-stat-badge span{ font-size:12px; color:rgba(255,255,255,.75); }

/* ---------- 16. Testimonials ---------- */
.testi-track-wrap{ overflow:hidden; }
.testi-track{ display:flex; gap:22px; transition:transform .5s var(--ease); }
.testi-card{ min-width:calc((100% - 44px)/3); background:#fff; border:1px solid var(--border); border-radius:var(--radius-md); padding:26px; display:flex; flex-direction:column; gap:14px; }
.testi-top{ display:flex; align-items:center; gap:12px; }
.testi-top img{ width:46px; height:46px; border-radius:50%; object-fit:cover; }
.testi-name{ font-weight:700; font-size:14.5px; color:var(--navy); }
.testi-loc{ font-size:12.5px; color:var(--gray); }
.testi-card p{ font-size:14px; color:var(--text); }
.testi-nav{ display:flex; justify-content:center; gap:12px; margin-top:30px; }
.testi-nav button{ width:42px; height:42px; border-radius:50%; border:1.5px solid var(--border); display:flex; align-items:center; justify-content:center; transition:all .2s; }
.testi-nav button:hover{ background:var(--navy); border-color:var(--navy); color:#fff; }
.testi-nav svg{ width:18px; height:18px; }

/* ---------- 17. Stats counters ---------- */
.stats-band{ background:var(--navy); color:#fff; position:relative; overflow:hidden; }
.stats-band::before{
  content:''; position:absolute; inset:0; opacity:.06;
  background-image:repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 40px);
}
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; position:relative; text-align:center; }
.stat-num{ font-size:clamp(32px,4vw,48px); font-weight:800; color:var(--orange); }
.stat-lbl{ font-size:14px; color:rgba(255,255,255,.7); margin-top:6px; }

/* ---------- 18. Brands ---------- */
.brand-marquee{ overflow:hidden; position:relative; }
.brand-track{ display:flex; gap:0; width:max-content; animation:scrollBrands 32s linear infinite; }
.brand-track:hover{ animation-play-state:paused; }
@keyframes scrollBrands{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.brand-item{ padding:0 40px; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:20px; color:var(--gray); letter-spacing:.02em; opacity:.7; transition:opacity .2s, color .2s; white-space:nowrap; }
.brand-item:hover{ opacity:1; color:var(--navy); }

/* ---------- 19. Blog ---------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.blog-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-md); overflow:hidden; transition:transform .3s, box-shadow .3s; }
.blog-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); }
.blog-media{ aspect-ratio:16/10; overflow:hidden; }
.blog-media img{ width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.blog-card:hover .blog-media img{ transform:scale(1.06); }
.blog-body{ padding:22px; }
.blog-meta{ font-size:12px; color:var(--gray); margin-bottom:10px; display:flex; gap:10px; }
.blog-body h3{ font-size:17px; margin-bottom:10px; }
.blog-body p{ font-size:14px; color:var(--gray); margin-bottom:14px; }

/* ---------- 20. FAQ ---------- */
.faq-list{ max-width:800px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--border); }
.faq-q{ width:100%; display:flex; justify-content:space-between; align-items:center; padding:22px 4px; text-align:left; font-weight:600; color:var(--navy); font-size:16px; }
.faq-q svg{ width:20px; height:20px; flex:none; transition:transform .3s; color:var(--orange); }
.faq-item.open .faq-q svg{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease); }
.faq-a p{ padding:0 4px 22px; color:var(--gray); font-size:14.5px; }

/* ---------- 21. Contact quick ---------- */
.contact-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:30px; }
.map-frame{ border-radius:var(--radius-lg); overflow:hidden; height:100%; min-height:340px; box-shadow:var(--shadow-sm); }
.map-frame iframe{ width:100%; height:100%; border:0; }
.contact-cards{ display:flex; flex-direction:column; gap:16px; }
.contact-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-md); padding:22px; display:flex; gap:16px; align-items:center; }
.contact-card .why-icon{ margin:0; }
.contact-card h4{ font-size:15px; color:var(--navy); }
.contact-card p{ font-size:13.5px; color:var(--gray); }

/* ---------- 22. Final CTA band ---------- */
.cta-band{ background:var(--orange); color:#fff; }
.cta-band .container{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; padding:36px 24px; }
.cta-band h3{ color:#fff; font-size:22px; }
.cta-band p{ color:rgba(255,255,255,.86); font-size:14.5px; margin-top:4px; }
.cta-band .btn{ background:#fff; color:var(--orange); }
.cta-band .btn:hover{ background:var(--navy); color:#fff; }

/* ---------- 23. Footer ---------- */
footer{ background:var(--navy); color:rgba(255,255,255,.7); padding-top:70px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand p{ font-size:14px; margin:16px 0 20px; color:rgba(255,255,255,.6); }
.footer-social{ display:flex; gap:10px; }
.footer-social a{ width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition:background .2s; }
.footer-social a:hover{ background:var(--orange); }
.footer-social svg{ width:16px; height:16px; }
.footer-col h4{ color:#fff; font-size:14.5px; margin-bottom:18px; }
.footer-col ul li{ margin-bottom:11px; }
.footer-col a:hover{ color:#fff; }
.footer-col li{ font-size:14px; }
.footer-contact li{ display:flex; gap:10px; align-items:flex-start; }
.footer-contact svg{ width:16px; height:16px; color:var(--orange); margin-top:3px; flex:none; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:26px 0; font-size:13px; flex-wrap:wrap; gap:10px; }
.footer-bottom a{ margin-left:18px; }

/* ---------- 24. Back to top ---------- */
#back-to-top{
  position:fixed; right:26px; bottom:26px; width:48px; height:48px; border-radius:50%;
  background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-md); opacity:0; visibility:hidden; transform:translateY(10px);
  transition:all .3s; z-index:900;
}
#back-to-top.show{ opacity:1; visibility:visible; transform:none; }
#back-to-top:hover{ background:var(--orange); }
#back-to-top svg{ width:20px; height:20px; }

/* ---------- 25. Toast ---------- */
#toast-container{ position:fixed; top:20px; right:20px; z-index:2000; display:flex; flex-direction:column; gap:10px; }
.toast{
  background:var(--navy); color:#fff; padding:14px 20px; border-radius:var(--radius-sm); box-shadow:var(--shadow-md);
  font-size:14px; display:flex; align-items:center; gap:10px; transform:translateX(120%); transition:transform .35s var(--ease);
  border-left:4px solid var(--orange);
}
.toast.show{ transform:translateX(0); }

/* ---------- 27. Page banner (interior pages) ---------- */
.page-banner{
  background:linear-gradient(120deg, var(--navy) 0%, #142a52 100%);
  padding:52px 0 44px; color:#fff; position:relative; overflow:hidden;
}
.page-banner::after{
  content:''; position:absolute; inset:0; opacity:.08;
  background-image:repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 46px);
}
.breadcrumb{ position:relative; display:flex; align-items:center; gap:8px; font-size:13.5px; color:rgba(255,255,255,.6); margin-bottom:14px; }
.breadcrumb a{ color:rgba(255,255,255,.75); }
.breadcrumb a:hover{ color:#fff; }
.breadcrumb svg{ width:13px; height:13px; }
.page-banner h1{ position:relative; color:#fff; font-size:clamp(28px,3.6vw,42px); }
.page-banner p{ position:relative; color:rgba(255,255,255,.72); margin-top:10px; font-size:15px; max-width:560px; }

/* ---------- 28. Catalogue layout ---------- */
.catalog-section{ padding:52px 0 88px; }
.catalog-layout{ display:grid; grid-template-columns:280px 1fr; gap:36px; align-items:start; }

.filters-sidebar{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-md);
  padding:24px; position:sticky; top:calc(var(--header-h) + 20px);
}
.filters-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.filters-head h3{ font-size:16px; }
.filters-reset{ font-size:12.5px; font-weight:600; color:var(--orange); }
.filter-group{ padding:16px 0; border-bottom:1px solid var(--border); }
.filter-group:last-child{ border-bottom:none; padding-bottom:0; }
.filter-group-title{ font-size:13px; font-weight:700; color:var(--navy); text-transform:uppercase; letter-spacing:.04em; margin-bottom:12px; display:block; }
.filter-check{ display:flex; align-items:center; gap:9px; font-size:14px; color:var(--text); padding:5px 0; cursor:pointer; }
.filter-check input{ width:16px; height:16px; accent-color:var(--orange); flex:none; }
.filter-check span.count{ margin-left:auto; color:var(--gray); font-size:12px; }
.filter-range-row{ display:flex; align-items:center; gap:10px; }
.filter-range-row input{ width:100%; padding:9px 10px; border:1.5px solid var(--border); border-radius:8px; font-size:13.5px; background:var(--light); }
.filter-range-row input:focus{ border-color:var(--orange); background:#fff; }
.filters-apply{ margin-top:18px; }

/* ---------- 29. Catalogue toolbar ---------- */
.catalog-toolbar{
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:26px;
}
.catalog-count{ font-size:14.5px; color:var(--gray); }
.catalog-count b{ color:var(--navy); }
.toolbar-controls{ display:flex; align-items:center; gap:12px; }
.sort-select{ padding:11px 14px; border:1.5px solid var(--border); border-radius:var(--radius-sm); background:#fff; font-size:14px; color:var(--text); }
.view-toggle{ display:flex; border:1.5px solid var(--border); border-radius:var(--radius-sm); overflow:hidden; }
.view-toggle button{ width:42px; height:42px; display:flex; align-items:center; justify-content:center; color:var(--gray); background:#fff; transition:all .2s; }
.view-toggle button.active{ background:var(--navy); color:#fff; }
.view-toggle svg{ width:18px; height:18px; }

/* ---------- 30. List view variant ---------- */
.vehicle-grid.list-view{ grid-template-columns:1fr; gap:16px; }
.vehicle-grid.list-view .v-card{ flex-direction:row; }
.vehicle-grid.list-view .v-media{ width:280px; flex:none; aspect-ratio:4/3; }
.vehicle-grid.list-view .v-body{ flex-direction:row; align-items:center; flex-wrap:wrap; gap:20px; padding:20px 24px; }
.vehicle-grid.list-view .v-title{ width:100%; }
.vehicle-grid.list-view .v-specs{ flex:1; min-width:220px; }
.vehicle-grid.list-view .v-price-row{ border-top:none; padding-top:0; margin-top:0; }
.vehicle-grid.list-view .btn{ width:auto; white-space:nowrap; }

.no-results{ text-align:center; padding:60px 20px; color:var(--gray); display:none; }
.no-results.show{ display:block; }
.no-results svg{ width:52px; height:52px; color:var(--border); margin-bottom:16px; }

/* ---------- 31. Pagination ---------- */
.pagination{ display:flex; justify-content:center; align-items:center; gap:8px; margin-top:44px; }
.pagination button{
  min-width:42px; height:42px; padding:0 12px; border-radius:var(--radius-sm); border:1.5px solid var(--border);
  background:#fff; color:var(--text); font-weight:600; font-size:14px; transition:all .2s;
}
.pagination button:hover:not(:disabled){ border-color:var(--orange); color:var(--orange); }
.pagination button.active{ background:var(--navy); border-color:var(--navy); color:#fff; }
.pagination button:disabled{ opacity:.4; cursor:not-allowed; }

@media (max-width:980px){
  .catalog-layout{ grid-template-columns:1fr; }
  .filters-sidebar{ position:static; }
  .vehicle-grid.list-view .v-card{ flex-direction:column; }
  .vehicle-grid.list-view .v-media{ width:100%; }
  .vehicle-grid.list-view .v-body{ flex-direction:column; align-items:stretch; }
}

/* ---------- 32. Fiche véhicule : layout général ---------- */
.vehicle-page{ padding:36px 0 90px; }
.vehicle-top-row{ display:flex; justify-content:space-between; align-items:flex-start; gap:20px; flex-wrap:wrap; margin-bottom:22px; }
.vehicle-heading h1{ font-size:clamp(24px,3vw,34px); }
.vehicle-heading .badge{ margin-right:8px; }
.vehicle-meta-line{ color:var(--gray); font-size:14.5px; margin-top:8px; }
.vehicle-top-actions{ display:flex; gap:10px; }
.icon-btn{
  width:46px; height:46px; border-radius:50%; border:1.5px solid var(--border); background:#fff;
  display:flex; align-items:center; justify-content:center; color:var(--navy); transition:all .2s;
}
.icon-btn:hover{ border-color:var(--orange); color:var(--orange); }
.icon-btn svg{ width:19px; height:19px; }
.icon-btn.active{ background:var(--orange); border-color:var(--orange); color:#fff; }

.vehicle-layout{ display:grid; grid-template-columns:1fr 380px; gap:36px; align-items:start; }

/* ---------- 33. Galerie ---------- */
.gallery-main{
  position:relative; border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:16/10; box-shadow:var(--shadow-sm); cursor:zoom-in;
}
.gallery-main img{ width:100%; height:100%; object-fit:cover; }
.gallery-zoom-hint{
  position:absolute; right:16px; bottom:16px; background:rgba(15,30,60,.75); color:#fff; font-size:12.5px;
  padding:8px 14px; border-radius:100px; display:flex; align-items:center; gap:7px; backdrop-filter:blur(4px);
}
.gallery-zoom-hint svg{ width:14px; height:14px; }
.gallery-thumbs{ display:grid; grid-template-columns:repeat(6,1fr); gap:10px; margin-top:12px; }
.gallery-thumbs button{ border-radius:10px; overflow:hidden; aspect-ratio:4/3; border:2px solid transparent; position:relative; }
.gallery-thumbs button.active{ border-color:var(--orange); }
.gallery-thumbs img{ width:100%; height:100%; object-fit:cover; }
.gallery-thumbs .video-thumb{ position:relative; }
.gallery-thumbs .video-thumb::after{
  content:''; position:absolute; inset:0; background:rgba(15,30,60,.5);
}
.gallery-thumbs .video-thumb svg{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:22px; height:22px; color:#fff; z-index:2;
}

/* Lightbox */
.lightbox{
  position:fixed; inset:0; background:rgba(10,16,32,.94); z-index:2200; display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transition:opacity .3s;
}
.lightbox.open{ opacity:1; visibility:visible; }
.lightbox img{ max-width:88vw; max-height:82vh; border-radius:12px; }
.lightbox-close{
  position:absolute; top:24px; right:28px; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.12);
  color:#fff; display:flex; align-items:center; justify-content:center; font-size:22px;
}
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; border-radius:50%; background:rgba(255,255,255,.12);
  color:#fff; display:flex; align-items:center; justify-content:center;
}
.lightbox-prev{ left:24px; } .lightbox-next{ right:24px; }
.lightbox-nav svg{ width:20px; height:20px; }

/* ---------- 34. Bandeau specs rapides ---------- */
.spec-strip{ display:grid; grid-template-columns:repeat(5,1fr); gap:14px; margin:26px 0; }
.spec-chip{
  background:var(--light); border-radius:var(--radius-sm); padding:16px 10px; text-align:center;
}
.spec-chip svg{ width:22px; height:22px; color:var(--orange); margin-bottom:8px; }
.spec-chip b{ display:block; font-size:14.5px; color:var(--navy); }
.spec-chip span{ font-size:12px; color:var(--gray); }

/* ---------- 35. Tabs ---------- */
.tabs-nav{ display:flex; gap:6px; border-bottom:2px solid var(--border); margin-bottom:26px; flex-wrap:wrap; }
.tab-btn{ padding:13px 20px; font-weight:600; font-size:14.5px; color:var(--gray); border-bottom:2px solid transparent; margin-bottom:-2px; transition:color .2s, border-color .2s; }
.tab-btn.active{ color:var(--orange); border-color:var(--orange); }
.tab-panel{ display:none; }
.tab-panel.active{ display:block; }
.tab-panel p{ color:var(--text); margin-bottom:14px; font-size:15px; }

.equip-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px 24px; }
.equip-grid li{ display:flex; align-items:center; gap:9px; font-size:14.5px; color:var(--text); padding:6px 0; }
.equip-grid svg{ width:17px; height:17px; color:var(--orange); flex:none; }

.spec-table{ width:100%; border-collapse:collapse; }
.spec-table tr{ border-bottom:1px solid var(--border); }
.spec-table td{ padding:12px 6px; font-size:14.5px; }
.spec-table td:first-child{ color:var(--gray); width:45%; }
.spec-table td:last-child{ font-weight:600; color:var(--navy); }

.history-list{ display:flex; flex-direction:column; gap:16px; }
.history-item{ display:flex; gap:14px; align-items:flex-start; }
.history-dot{ width:12px; height:12px; border-radius:50%; background:var(--orange); margin-top:5px; flex:none; }
.history-item h4{ font-size:15px; color:var(--navy); margin-bottom:3px; }
.history-item p{ font-size:13.5px; color:var(--gray); margin:0; }

/* ---------- 36. Sidebar achat (sticky) ---------- */
.purchase-box{
  position:sticky; top:calc(var(--header-h) + 20px); background:#fff; border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:26px; box-shadow:var(--shadow-sm);
}
.purchase-price-row{ display:flex; align-items:baseline; gap:12px; margin-bottom:4px; }
.purchase-price{ font-size:30px; font-weight:800; color:var(--orange); }
.purchase-old-price{ font-size:15px; color:var(--gray); text-decoration:line-through; }
.purchase-vat{ font-size:12.5px; color:var(--gray); margin-bottom:20px; }
.purchase-box .btn{ margin-bottom:10px; }
.purchase-divider{ height:1px; background:var(--border); margin:18px 0; }
.purchase-perks{ display:flex; flex-direction:column; gap:12px; }
.purchase-perks li{ display:flex; gap:10px; align-items:center; font-size:13.5px; color:var(--text); }
.purchase-perks svg{ width:18px; height:18px; color:var(--orange); flex:none; }
.purchase-contact{ display:flex; align-items:center; gap:12px; margin-top:18px; padding-top:18px; border-top:1px dashed var(--border); }
.purchase-contact-icon{ width:42px; height:42px; border-radius:50%; background:var(--light); display:flex; align-items:center; justify-content:center; flex:none; }
.purchase-contact-icon svg{ width:19px; height:19px; color:var(--orange); }
.purchase-contact b{ display:block; font-size:14px; color:var(--navy); }
.purchase-contact span{ font-size:12.5px; color:var(--gray); }

/* ---------- 37. Formulaire de demande ---------- */
.request-form{ background:var(--light); border-radius:var(--radius-lg); padding:36px; margin-top:60px; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-field{ display:flex; flex-direction:column; gap:7px; }
.form-field.full{ grid-column:1 / -1; }
.form-field label{ font-size:13px; font-weight:600; color:var(--navy); }
.form-field input, select, .form-field textarea {
    padding: 13px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 14.5px;
}
.brand-item img { height: 32px; width: auto; filter: grayscale(100%); opacity: .6; transition: filter .2s ease, opacity .2s ease; }
.brand-item:hover img { filter: grayscale(0%); opacity: 1; }

.form-field input:focus, .form-field textarea:focus{ border-color:var(--orange); }
.form-field textarea{ resize:vertical; min-height:110px; }
.form-consent{ display:flex; align-items:flex-start; gap:10px; font-size:13px; color:var(--gray); }
.form-consent input{ margin-top:3px; width:16px; height:16px; accent-color:var(--orange); flex:none; }
.form-error{ font-size:12.5px; color:var(--orange); display:none; }
.form-field.error input, .form-field.error textarea{ border-color:var(--orange); }
.form-field.error .form-error{ display:block; }
/* honeypot anti-spam : champ invisible, jamais rempli par un humain */
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

@media (max-width:980px){
  .vehicle-layout{ grid-template-columns:1fr; }
  .purchase-box{ position:static; }
  .spec-strip{ grid-template-columns:repeat(2,1fr); }
  .gallery-thumbs{ grid-template-columns:repeat(4,1fr); }
  .equip-grid{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
}

/* ---------- 38. Page À propos : équipe & galerie ---------- */
.team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.team-card{ text-align:center; background:#fff; border:1px solid var(--border); border-radius:var(--radius-md); padding:26px 20px; transition:transform .3s, box-shadow .3s; }
.team-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); }
.team-photo{ width:96px; height:96px; border-radius:50%; overflow:hidden; margin:0 auto 16px; border:3px solid var(--light); }
.team-photo img{ width:100%; height:100%; object-fit:cover; }
.team-card h3{ font-size:16px; margin-bottom:3px; }
.team-role{ font-size:13px; color:var(--orange); font-weight:600; margin-bottom:10px; }
.team-bio{ font-size:13.5px; color:var(--gray); }

.about-gallery{ display:grid; grid-template-columns:repeat(4,1fr); grid-template-rows:repeat(2,160px); gap:14px; }
.about-gallery a:nth-child(1){ grid-column:span 2; grid-row:span 2; }
.about-gallery a{ border-radius:var(--radius-md); overflow:hidden; display:block; position:relative; }
.about-gallery img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.about-gallery a:hover img{ transform:scale(1.06); }

.values-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }

@media (max-width:980px){
  .team-grid{ grid-template-columns:repeat(2,1fr); }
  .values-grid{ grid-template-columns:repeat(2,1fr); }
  .about-gallery{ grid-template-columns:repeat(2,1fr); grid-template-rows:repeat(3,160px); }
  .about-gallery a:nth-child(1){ grid-column:span 2; grid-row:span 1; }
}
@media (max-width:560px){
  .team-grid{ grid-template-columns:1fr; }
  .values-grid{ grid-template-columns:1fr; }
}

/* ---------- 26. Responsive ---------- */
@media (max-width:1180px){
  .vehicle-grid, .cat-grid{ grid-template-columns:repeat(3,1fr); }
  .why-grid, .blog-grid{ grid-template-columns:repeat(3,1fr); }
  .steps-row, .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .stats-grid{ row-gap:36px; }
  .testi-card{ min-width:calc((100% - 22px)/2); }
}
@media (max-width:980px){
  .main-nav, .header-actions .btn-text{ display:none; }
  .burger{ display:flex; }
  .search-grid{ grid-template-columns:repeat(2,1fr); }
  .search-grid .btn{ grid-column:span 2; }
  .split, .split.reverse{ grid-template-columns:1fr; }
  .split.reverse .split-media{ order:0; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:720px){
  section{ padding:60px 0; }
  .vehicle-grid, .cat-grid, .why-grid, .blog-grid{ grid-template-columns:repeat(2,1fr); }
  .steps-row{ grid-template-columns:1fr; }
  .steps-row::before{ display:none; }
  .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .testi-card{ min-width:100%; }
  .topbar-info span:nth-child(3){ display:none; }
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; text-align:center; }
}
@media (max-width:520px){
  .vehicle-grid, .cat-grid, .why-grid, .blog-grid{ grid-template-columns:1fr; }
  .hero-content{ padding-top:150px; }
  .hero-ctas{ flex-direction:column; }
  .cta-band .container{ flex-direction:column; text-align:center; }
}