/* ==========================================================================
   Karai Kanna Cars — Core Stylesheet
   Luxury automotive: Black / Silver / Red, glassmorphism, Poppins + Rajdhani
   ========================================================================== */

:root {
  /* ---- Blue / black theme ---- */
  --c-black: #04060F;      /* page base / footer / loader — near-black navy */
  --c-dark: #070B1A;       /* top info strip */
  --c-dark-2: #0A1128;     /* card surfaces — dark glass, lifted with border + shadow */
  --c-cream: #080E20;      /* alternate section wash (the "each section is different" tint) */
  --c-ivory: #060A18;      /* subtle secondary wash, used sparingly */
  --c-silver: #C9D4F2;     /* primary body text — soft blue-white */
  --c-silver-dim: #7C88B0; /* secondary / muted text */
  --c-red: #0EA5E9;        /* brand accent — true sky blue */
  --c-red-light: #7DD3FC;
  --c-red-deep: #0369A1;
  --c-logo-gold: #D4AF37;
  --c-white: #F3F6FF;      /* headings & prominent "on-dark" text — near-white */

  --glass-bg: rgba(10, 17, 40, 0.6);
  --glass-border: rgba(14, 165, 233, 0.16);
  --glass-blur: 14px;

  /* Navbar tokens — dark glass, always readable on the dark theme */
  --nav-bg: rgba(4, 6, 15, 0.78);
  --nav-bg-scrolled: rgba(4, 6, 15, 0.94);
  --nav-text: #F3F6FF;
  --nav-border: rgba(14, 165, 233, 0.14);

  --font-body: 'Poppins', system-ui, sans-serif;
  --font-gauge: 'Rajdhani', 'Poppins', sans-serif;
  --font-brand: 'Poppins', 'Sora', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-red: 0 10px 32px rgba(14, 165, 233, 0.26);
  --shadow-deep: 0 14px 40px rgba(0, 0, 0, 0.4);

  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
#home { scroll-margin-top: 0; }
#about, #services, #gallery, #contact, #vehicles, #latest-arrivals, #faq { scroll-margin-top: 110px; }

body {
  background: var(--c-black);
  color: var(--c-silver);
  font-family: var(--font-body);
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  color: var(--c-white);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; transition: color .25s var(--ease-luxury); }
p { line-height: 1.75; color: var(--c-silver); }

::selection { background: var(--c-red); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--c-black); }
::-webkit-scrollbar-thumb { background: var(--c-red-deep); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-red); }

/* ==========================================================================
   Page Loader
   ========================================================================== */
#pageLoader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--c-black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease-luxury), visibility .6s;
}
#pageLoader.loaded { opacity: 0; visibility: hidden; }
.loader-mark { position: relative; width: 72px; height: 72px; display: grid; place-items: center; }
.loader-mark i { font-size: 28px; color: var(--c-red); }
.loader-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--glass-border);
  border-top-color: var(--c-red);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes heroBgFade {
  0% { opacity: 0; }
  3% { opacity: 1; }
  25% { opacity: 1; }
  28% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes heroBgZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

/* ==========================================================================
   Eyebrow / Section headers — the "gauge" signature
   ========================================================================== */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-gauge);
  font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  font-size: 0.8rem; color: var(--c-red);
  margin-bottom: 14px;
}
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.75rem); margin-bottom: 12px; }
.section-title .accent { color: var(--c-red); }
.section-sub { max-width: 620px; color: var(--c-silver-dim); }
.section-pad { padding: 50px 0; }

/* Diagonal "speed stripe" divider — signature element */
.speed-divider {
  position: relative; height: 46px; overflow: hidden;
  background:
    linear-gradient(100deg, transparent 46%, var(--c-red) 46%, var(--c-red) 47.4%, transparent 47.4%),
    linear-gradient(100deg, transparent 50%, var(--c-silver-dim) 50%, var(--c-silver-dim) 50.6%, transparent 50.6%);
  opacity: 0.7;
}

/* ==========================================================================
   Top bar
   ========================================================================== */
.top-bar {
  background: var(--c-red);
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.82rem; color: #fff;
  padding: 8px 0;
}
.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--c-black); }
.top-bar-left span, .top-bar-right a { margin-right: 22px; }
.top-bar-right a:last-of-type { margin-right: 16px; }
.top-bar-social a { margin-right: 12px; font-size: 0.95rem; }
.top-bar i { color: #fff; margin-right: 5px; }

/* ==========================================================================
   Navbar — glassmorphism
   ========================================================================== */
.navbar-glass {
  background: var(--nav-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 2px 24px rgba(0,0,0,.15);
  padding: 0px 0;
  transition: padding .35s var(--ease-luxury), background .35s;
}
.navbar-glass.scrolled { padding: 8px 0; background: var(--nav-bg-scrolled); }

.navbar-brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 80px; width: auto; display: block; transition: height .35s var(--ease-luxury); }
.navbar-glass.scrolled .brand-logo { height: 62px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title {
  font-family: var(--font-brand); font-weight: 900; letter-spacing: .02em;
  font-size: 1.62rem; text-transform: uppercase;
  color: var(--c-logo-gold);
  transition: color .3s var(--ease-luxury);
}
.navbar-brand:hover .brand-title, .footer-brand:hover .brand-title { color: var(--c-logo-gold); }
.brand-tagline {
  font-size: .74rem; font-weight: 600; letter-spacing: .05em; color: var(--c-red-light);
  white-space: nowrap; text-transform: uppercase;
}
@media (max-width: 767.98px) {
  .brand-tagline { display: none; }
}
@media (max-width: 420px) {
  .brand-title { font-size: 1.18rem; }
  .navbar-brand .brand-logo { height: 52px; }
  .footer-brand .brand-logo { height: 60px; }
}
.footer-brand .brand-text { line-height: 1.2; flex-shrink: 0; }
.footer-brand .brand-title { font-size: 1.42rem; font-weight: 900; font-family: var(--font-brand); letter-spacing: .02em; color: var(--c-logo-gold); white-space: nowrap; }
.footer-brand .brand-tagline { color: var(--c-red-light); }

.navbar-nav .nav-link {
  color: var(--nav-text); font-weight: 600; font-size: 0.94rem;
  margin: 0 12px; position: relative; padding: 8px 2px !important;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--c-red-deep); }
.navbar-toggler { border: 1px solid var(--nav-border); color: var(--nav-text); }
.navbar-toggler .bi-list { font-size: 1.4rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-red-glow {
  background: linear-gradient(135deg, var(--c-red), var(--c-red-deep));
  color: #FFFFFF !important; border: none; font-weight: 600;
  padding: 11px 26px; border-radius: 50px; font-size: 0.92rem;
  box-shadow: var(--shadow-red); transition: transform .3s var(--ease-luxury), box-shadow .3s;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.navbar-nav .btn-red-glow { padding: 10px 22px; }
.btn-red-glow:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(14, 165, 233,.35); color: #FFFFFF; }

.btn-outline-light-glass {
  background: rgba(255,255,255,0.03); color: var(--c-white) !important;
  border: 1px solid var(--glass-border); padding: 11px 26px; border-radius: 50px;
  font-weight: 500; backdrop-filter: blur(8px); font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .3s, background .3s;
}
.btn-outline-light-glass:hover { border-color: var(--c-red); background: rgba(14, 165, 233,0.1); color: var(--c-white); }
/* Inside the hero, this button sits on the dark photo overlay too */
.hero .btn-outline-light-glass { background: rgba(255,255,255,0.06); }
.hero .btn-outline-light-glass:hover { background: rgba(14, 165, 233,0.14); }

.btn-whatsapp-glow {
  background: linear-gradient(135deg, #25D366, #128C4A);
  color: #fff !important; border: none; font-weight: 600;
  padding: 11px 26px; border-radius: 50px; font-size: 0.92rem;
  box-shadow: 0 8px 30px rgba(37,211,102,.28); transition: transform .3s var(--ease-luxury), box-shadow .3s;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.navbar-nav .btn-whatsapp-glow { padding: 10px 22px; }
.btn-whatsapp-glow:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(37,211,102,.4); color: #fff; }

/* Zoom-in/out hover frame — used for "A Look Around" style image grids */
.zoom-frame { overflow: hidden; border-radius: 14px; }
.zoom-frame img { transition: transform .6s var(--ease-luxury); }
.zoom-frame:hover img { transform: scale(1.14); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  overflow: hidden;
  /* The hero is a full-bleed photo slider — pin these tokens to light-on-dark
     so headline/badges/stats stay crisp over the photos. */
  --c-white: #FFFFFF;
  --c-silver: #DCE4FA;
  --c-silver-dim: #9DAEDD;
  --glass-bg: rgba(6, 9, 22, 0.55);
  --glass-border: rgba(14, 165, 233, 0.24);
}
.hero-bg-carousel, .hero-bg-carousel .carousel-inner, .hero-bg-carousel .carousel-item {
  position: absolute; inset: 0; height: 100%;
}
.hero-bg-carousel .carousel-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(5,10,9,.96) 0%, rgba(5,10,9,.88) 32%, rgba(5,10,9,.55) 55%, rgba(5,10,9,.28) 75%, rgba(5,10,9,.12) 100%),
              linear-gradient(0deg, rgba(5,10,9,.6), transparent 40%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 2; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(14, 165, 233,.08) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(14, 165, 233,.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, black 20%, transparent 80%);
}
.hero .container { z-index: 3; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  padding: 8px 18px; border-radius: 50px; font-size: 0.82rem;
  color: var(--c-silver); backdrop-filter: blur(10px); margin-bottom: 22px;
}
.hero-badge i { color: var(--c-red); }
.hero-title {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.05; margin-bottom: 22px;
}
.hero-title .stroke { -webkit-text-stroke: 1.5px var(--c-silver-dim); color: transparent; }
.hero-title .accent { color: var(--c-red); }
.hero-lead { font-size: 1.08rem; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-text-content, .hero-stats { transition: opacity .26s var(--ease-luxury); }
.hero-text-content.is-swapping, .hero-stats.is-swapping { opacity: 0; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat .num {
  font-family: var(--font-gauge); font-weight: 700; font-size: 2.2rem; color: var(--c-white);
  line-height: 1; display: flex; align-items: baseline; gap: 2px;
}
.hero-stat .num .plus { color: var(--c-red); font-size: 1.3rem; }
.hero-stat .label { font-size: 0.8rem; color: var(--c-silver-dim); text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }

.hero-slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(10,22,19,0.55); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px); color: #fff; font-size: 1.15rem;
  box-shadow: var(--shadow-deep); transition: background .25s var(--ease-luxury), border-color .25s var(--ease-luxury), color .25s;
}
.hero-slide-nav.nav-left { left: 22px; }
.hero-slide-nav.nav-right { right: 22px; }
.hero-slide-nav:hover { background: var(--c-red); border-color: var(--c-red); color: #05070F; }
@media (max-width: 991.98px) {
  .hero-slide-nav { display: none; }
}

.hero-float-chip { z-index: 3;
  position: absolute; background: var(--c-red); border: 1px solid var(--c-red-light);
  backdrop-filter: blur(12px); border-radius: var(--radius-md); padding: 14px 18px;
  box-shadow: var(--shadow-deep); display: flex; align-items: center; gap: 12px;
}
.hero-float-chip i { color: #fff; font-size: 1.3rem; }
.hero-float-chip strong { color: #fff; display: block; font-size: 0.95rem; }
.hero-float-chip span { font-size: 0.76rem; color: rgba(255,255,255,0.85); }
.chip-top { top: 110px; right: 5%; }
.chip-bottom { bottom: 60px; right: 8%; }
@media (max-width: 1199.98px) {
  .hero-float-chip { display: none; }
}

/* ==========================================================================
   Placeholder image blocks (swap for real photos in /images)
   ========================================================================== */
.img-placeholder {
  background: linear-gradient(135deg, var(--c-dark-2), var(--c-cream));
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-silver-dim); position: relative; overflow: hidden;
}
.img-placeholder i { font-size: 2.6rem; color: var(--c-red); opacity: .55; }
.img-placeholder::after {
  content: attr(data-label); position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-silver-dim); opacity: .7;
}
img.img-placeholder { object-fit: cover; width: 100%; height: 100%; }

/* ==========================================================================
   About Preview / general glass panel
   ========================================================================== */
.glass-panel {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); backdrop-filter: blur(var(--glass-blur));
}
.about-media { position: relative; }
.about-media .img-placeholder { border-radius: var(--radius-lg); aspect-ratio: 4/5; }
.about-badge {
  position: absolute; bottom: -24px; right: -18px;
  background: linear-gradient(135deg, var(--c-red), var(--c-red-deep));
  border-radius: var(--radius-md); padding: 20px 26px; text-align: center;
  box-shadow: var(--shadow-red);
}
.about-badge .num { font-family: var(--font-gauge); font-size: 2.2rem; font-weight: 700; color: #FFFFFF; line-height: 1; }
.about-badge .label { font-size: 0.72rem; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .06em; }

.about-points { list-style: none; padding: 0; margin: 26px 0; }
.about-points li { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.about-points i { color: var(--c-red); font-size: 1.2rem; margin-top: 3px; }
.about-points strong { color: var(--c-white); display: block; }

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-card {
  background: var(--c-dark-2); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); padding: 34px 28px; height: 100%;
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(var(--glass-blur)); transition: transform .4s var(--ease-luxury), border-color .4s, box-shadow .4s;
}
.why-card:hover { transform: translateY(-8px); border-color: rgba(14, 165, 233,.4); box-shadow: var(--shadow-red); }
.why-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233,.18), rgba(14, 165, 233,.02));
  border: 1px solid rgba(14, 165, 233,.3);
  display: grid; place-items: center; margin-bottom: 20px;
}
.why-icon i { font-size: 1.5rem; color: var(--c-red); }
.why-card h5 { margin-bottom: 10px; font-size: 1.08rem; }
.why-card p { font-size: 0.92rem; margin: 0; }

/* ==========================================================================
   Services
   ========================================================================== */
.service-card {
  background: var(--c-dark-2); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); padding: 32px 26px; height: 100%; position: relative;
  overflow: hidden; box-shadow: var(--shadow-deep);
  transition: transform .4s var(--ease-luxury), border-color .4s, box-shadow .4s;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0;
  background: var(--c-red); transition: height .4s var(--ease-luxury);
}
.service-card:hover::before { height: 100%; }
.service-card:hover { transform: translateX(6px); border-color: rgba(14, 165, 233,.35); }
.service-num { font-family: var(--font-gauge); font-size: 0.85rem; color: var(--c-red); letter-spacing: .1em; }
.service-card h5 { margin: 12px 0 10px; }
.service-card p { font-size: 0.92rem; }
.service-card a.learn-more { font-size: 0.85rem; color: var(--c-silver); display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; }
.service-card a.learn-more:hover { color: var(--c-red); }

/* ==========================================================================
   Vehicle cards
   ========================================================================== */
.vehicle-card {
  background: var(--c-dark-2); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); overflow: hidden; height: 100%;
  display: flex; flex-direction: column; box-shadow: var(--shadow-deep);
  transition: transform .4s var(--ease-luxury), box-shadow .4s;
}
.vehicle-card:hover { transform: translateY(-8px); box-shadow: 0 20px 46px rgba(30,26,20,.16); }
.vehicle-media { position: relative; }
.vehicle-media .img-placeholder { aspect-ratio: 16/10; }
.vehicle-tag {
  position: absolute; top: 14px; left: 14px;
  background: linear-gradient(135deg, var(--c-red), var(--c-red-deep));
  color: #fff; font-size: 0.72rem; font-weight: 600; padding: 5px 14px;
  border-radius: 50px; letter-spacing: .04em;
}
.vehicle-price-chip {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(15,15,15,0.82); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12); color: #fff;
  font-family: var(--font-gauge); font-weight: 700; padding: 6px 14px; border-radius: 10px;
}
.vehicle-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.vehicle-body h5 { margin-bottom: 4px; }
.vehicle-body .year-body { font-size: 0.82rem; color: var(--c-silver-dim); margin-bottom: 16px; }
.vehicle-specs { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 6px; font-size: 0.78rem; color: var(--c-silver-dim); margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--glass-border); }
.vehicle-specs span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vehicle-specs span i { color: var(--c-red); margin-right: 4px; }
.vehicle-body .btn-outline-light-glass, .vehicle-body .btn-red-glow { width: 100%; justify-content: center; padding: 10px; font-size: 0.85rem; margin-top: auto; }

/* ==========================================================================
   Filter bar (vehicles listing)
   ========================================================================== */
.filter-bar {
  background: var(--c-cream); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); padding: 24px;
  margin-bottom: 46px;
}
.filter-bar label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-silver-dim); margin-bottom: 6px; display: block; }
.filter-bar select, .filter-bar input {
  background: rgba(30,26,20,.035); border: 1px solid var(--glass-border); color: var(--c-white);
  border-radius: 10px; padding: 10px 14px; width: 100%; font-size: 0.9rem;
}
.filter-bar select:focus, .filter-bar input:focus { outline: none; background: var(--c-dark-2); border-color: var(--c-red); box-shadow: 0 0 0 3px rgba(14, 165, 233,.18); }
.filter-chip {
  background: transparent; border: 1px solid var(--glass-border); color: var(--c-silver);
  border-radius: 50px; padding: 8px 18px; font-size: 0.85rem; margin: 0 8px 8px 0; transition: all .25s;
}
.filter-chip.active, .filter-chip:hover { background: var(--c-red); border-color: var(--c-red); color: #fff; }

/* ==========================================================================
   Vehicle Details page
   ========================================================================== */
.vd-gallery-main .img-placeholder { border-radius: var(--radius-lg); aspect-ratio: 16/10; }
.vd-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.vd-thumbs .img-placeholder { border-radius: 12px; aspect-ratio: 1/1; flex: 1; cursor: pointer; opacity: .6; transition: opacity .3s; }
.vd-thumbs .img-placeholder:hover, .vd-thumbs .img-placeholder.active { opacity: 1; border-color: var(--c-red); }
.vd-price { font-family: var(--font-gauge); font-size: 2.6rem; font-weight: 700; color: var(--c-white); }
.vd-price small { font-family: var(--font-body); font-size: 0.9rem; color: var(--c-silver-dim); font-weight: 400; }
.vd-spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 26px 0; }
.vd-spec-item {
  background: var(--c-dark-2); border: 1px solid var(--glass-border); border-radius: 12px;
  padding: 16px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-deep);
}
.vd-spec-item i { color: var(--c-red); font-size: 1.3rem; }
.vd-spec-item strong { display: block; color: var(--c-white); font-size: 0.92rem; }
.vd-spec-item span { font-size: 0.76rem; color: var(--c-silver-dim); }
.vd-features { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.vd-features li { font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.vd-features i { color: var(--c-red); }
.vd-sticky-card { position: sticky; top: 110px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-card {
  background: var(--c-dark-2); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); padding: 32px; height: 100%; position: relative;
  box-shadow: var(--shadow-deep);
}
.testi-quote { color: var(--c-red); font-size: 2rem; line-height: 1; opacity: .5; }
.testi-stars i { color: var(--c-red); font-size: 0.85rem; }
.testi-person { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--c-red), var(--c-red-deep));
  display: grid; place-items: center; color: #fff; font-weight: 600; font-family: var(--font-gauge);
}
.testi-person strong { color: var(--c-white); display: block; font-size: 0.92rem; }
.testi-person span { font-size: 0.78rem; color: var(--c-silver-dim); }

/* Testimonials — auto-moving marquee carousel */
.testi-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.testi-marquee-track {
  display: flex; gap: 24px; width: max-content;
  animation: testiMarquee 28s linear infinite;
}
.testi-marquee:hover .testi-marquee-track { animation-play-state: paused; }
.testi-marquee-item { flex-shrink: 0; width: 360px; }
@keyframes testiMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 767px) {
  .testi-marquee-item { width: 300px; }
  .testi-marquee-track { animation-duration: 20s; }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-filters { margin-bottom: 34px; }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; margin-bottom: 24px; }
.gallery-item .img-placeholder { aspect-ratio: 4/3; transition: transform .5s var(--ease-luxury); cursor: pointer; }
.gallery-item:hover .img-placeholder { transform: scale(1.04); }
.gallery-item.hide { display: none; }

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(10,10,10,.94); z-index: 2000;
  display: none; align-items: center; justify-content: center; backdrop-filter: blur(6px);
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay .img-placeholder { width: min(80vw, 800px); aspect-ratio: 16/10; border-radius: var(--radius-md); }
.lightbox-close { position: absolute; top: 26px; right: 34px; color: #fff; font-size: 2rem; cursor: pointer; }

/* ==========================================================================
   FAQ (accordion)
   ========================================================================== */
.accordion-item {
  background: var(--c-dark-2) !important; border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-sm) !important; margin-bottom: 14px; overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.accordion-button {
  background: transparent !important; color: var(--c-white) !important; font-weight: 500;
  padding: 20px 24px; box-shadow: none !important;
}
.accordion-button::after { filter: invert(64%) sepia(59%) saturate(683%) hue-rotate(112deg) brightness(94%) contrast(92%); }
.accordion-button:not(.collapsed) { color: var(--c-red) !important; }
.accordion-body { color: var(--c-silver-dim); padding: 4px 24px 22px; font-size: 0.92rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-info-card {
  background: var(--c-cream); border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  padding: 26px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px;
}
.contact-info-card i { color: var(--c-red); font-size: 1.4rem; margin-top: 3px; }
.contact-info-card strong { color: var(--c-white); display: block; margin-bottom: 4px; }
.contact-form { background: var(--c-dark-2); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-deep); }
.contact-form .form-label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--c-silver-dim); }
.contact-form .form-control, .contact-form .form-select {
  background: rgba(30,26,20,.035); border: 1px solid var(--glass-border); color: var(--c-white);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 20px;
}
.contact-form .form-control:focus, .contact-form .form-select:focus { background: var(--c-dark-2); color: var(--c-white); border-color: var(--c-red); box-shadow: 0 0 0 3px rgba(14, 165, 233,.18); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--glass-border); filter: grayscale(.3) contrast(1.1); }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }
.form-alert { display: none; }
.form-alert.show { display: block; }

/* ==========================================================================
   Legal pages / generic content page
   ========================================================================== */
.legal-content h2 { font-size: 1.4rem; margin-top: 34px; }
.legal-content p, .legal-content li { color: var(--c-silver-dim); font-size: 0.95rem; }
.legal-content ul { padding-left: 20px; }
.page-hero {
  position: relative; overflow: hidden;
  padding: 150px 0 70px; text-align: center;
  background: var(--c-black);
  border-bottom: 1px solid var(--glass-border);
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.page-hero-bg span {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1); animation: heroBgFade 20s infinite, heroBgZoom 20s infinite;
}
.page-hero-bg span:nth-child(1) { background-image: url('../images/car1.jpg'); animation-delay: 0s, 0s; }
.page-hero-bg span:nth-child(2) { background-image: url('../images/car5.jpg'); animation-delay: 5s, 5s; }
.page-hero-bg span:nth-child(3) { background-image: url('../images/car3.jpg'); animation-delay: 10s, 10s; }
.page-hero-bg span:nth-child(4) { background-image: url('../images/car6.jpg'); animation-delay: 15s, 15s; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,.55), rgba(10,10,10,.85)),
              radial-gradient(ellipse 60% 100% at 50% 0%, rgba(14, 165, 233,.18), transparent);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1, .page-hero h2 { color: #fff; }
.breadcrumb-nav { font-size: 0.85rem; color: rgba(255,255,255,.65); }
.breadcrumb-nav a { color: rgba(255,255,255,.65); }
.breadcrumb-nav a:hover { color: var(--c-red-light); }
.breadcrumb-nav .sep { margin: 0 8px; opacity: .5; }

/* ==========================================================================
   404
   ========================================================================== */
.error-page { min-height: 90vh; display: flex; align-items: center; text-align: center; }
.error-code {
  font-family: var(--font-gauge); font-size: clamp(6rem, 18vw, 12rem); font-weight: 700;
  line-height: 1; background: linear-gradient(135deg, var(--c-red), var(--c-silver-dim));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   CTA Strip
   ========================================================================== */
.cta-strip {
  background: linear-gradient(120deg, var(--c-dark-2), rgba(14, 165, 233,.14));
  border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border);
  padding: 54px 0;
}
.cta-strip h3 { margin-bottom: 6px; font-size: 1.5rem; }
.cta-strip p { margin: 0; color: var(--c-silver-dim); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--c-black); padding: 80px 0 0; border-top: 1px solid var(--glass-border); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: nowrap; }
.footer-brand .brand-logo { height: 68px; }
.footer-about { font-size: 0.9rem; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--glass-border);
  display: grid; place-items: center; color: var(--c-silver);
}
.footer-social a:hover { border-color: var(--c-red); color: var(--c-red); }
.footer-heading { color: var(--c-white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.footer-links, .footer-contact { list-style: none; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: 12px; font-size: 0.9rem; color: var(--c-silver-dim); }
.footer-links a:hover { color: var(--c-red); }
.footer-contact i { color: var(--c-red); margin-right: 8px; }
.footer-bottom {
  margin-top: 60px; padding: 22px 0; border-top: 1px solid var(--glass-border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 0.82rem; color: var(--c-silver-dim);
}
.footer-bottom p { margin: 0; }

/* ==========================================================================
   Floating Action Buttons
   ========================================================================== */
.floating-actions {
  position: fixed; right: 24px; bottom: 24px; z-index: 1500;
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.fab {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 1.3rem; box-shadow: var(--shadow-deep); border: none;
  transition: transform .3s var(--ease-luxury);
}
.fab:hover { transform: scale(1.1); color: #fff; }
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--c-red); animation: pulse-red 2.4s infinite; }
.fab-top {
  background: var(--c-dark-2); border: 1px solid var(--glass-border); color: var(--c-white);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s;
}
.fab-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(14, 165, 233,.5); }
  70% { box-shadow: 0 0 0 14px rgba(14, 165, 233,0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 165, 233,0); }
}

/* ==========================================================================
   Live Chat widget
   ========================================================================== */
.live-chat { position: fixed; left: 24px; bottom: 24px; z-index: 1500; }
.live-chat-toggle {
  background: var(--c-red); border: 1px solid var(--c-red-light);
  color: #fff; padding: 12px 20px; border-radius: 50px; display: flex; align-items: center;
  gap: 8px; font-size: 0.88rem; font-weight: 500; box-shadow: var(--shadow-deep);
}
.live-chat-toggle i { color: #fff; }
.live-chat-panel {
  position: absolute; bottom: 64px; left: 0; width: 300px;
  background: var(--c-dark-2); border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-deep); overflow: hidden;
}
.live-chat-header { background: linear-gradient(135deg, var(--c-red), var(--c-red-deep)); padding: 16px 18px; position: relative; }
.live-chat-header strong { color: #fff; display: block; }
.live-chat-header span { font-size: 0.75rem; color: rgba(255,255,255,.85); }
.live-chat-close { position: absolute; top: 10px; right: 14px; background: none; border: none; color: #fff; font-size: 1.3rem; cursor: pointer; }
.live-chat-body { padding: 18px; font-size: 0.86rem; }
.live-chat-footer { padding: 0 18px 18px; }

/* ==========================================================================
   Vehicle Quick View Modal
   ========================================================================== */
.vqv-content {
  background: var(--c-dark-2); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); color: var(--c-silver);
}
.vqv-content .modal-header, .vqv-content .modal-footer {
  border-color: var(--glass-border);
}
.vqv-content .modal-title { color: var(--c-white); }
.vqv-content #vqvName { color: var(--c-white); }
.modal-backdrop.show { opacity: .75; background: var(--c-black); }

/* ==========================================================================
   Back-to-top progress ring (optional visual polish, driven by main.js)
   ========================================================================== */
.lazy { opacity: 0; transition: opacity .6s var(--ease-luxury); }
.lazy.loaded { opacity: 1; }
