:root{
  --bg: #F4F3F2;
  --dark: #0B0D0F;
  --dark-2: #3C4342;
  --stone: #CEBEB3;
  --muted: #82867D;
  --muted-2: #9EA099;
  --red: #C42521;
  --blue: #2D66D2;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(11, 13, 15, 0.12);
  --radius: 28px;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
}

a{
  text-decoration: none;
  color: inherit;
}

img{
  display: block;
  width: 100%;
}

.topbar{
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 44px;
  background: rgba(244, 243, 242, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(11, 13, 15, 0.08);
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dark);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
}

.brand h1{
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.brand p{
  font-size: 0.9rem;
  color: var(--muted);
}

.nav{
  display: flex;
  gap: 28px;
  color: var(--dark-2);
  font-weight: 600;
}

.nav a:hover{
  color: var(--dark);
}

.top-cta{
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.hero{
  padding: 30px 44px 12px;
}

.hero-inner{
  border-radius: 34px;
  background:
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.22), transparent 18%),
    linear-gradient(180deg, #2f6cda 0%, #2a63cc 100%);
  min-height: 900px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 70px 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  color: white;
}

.hero-inner::before{
  content: "";
  position: absolute;
  inset: auto -10% -18% -10%;
  height: 220px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05)),
    linear-gradient(135deg, transparent 0 12%, rgba(255,255,255,0.12) 12% 13%, transparent 13% 100%);
  opacity: 0.75;
  clip-path: polygon(0 45%, 12% 20%, 22% 42%, 35% 17%, 47% 52%, 60% 28%, 74% 47%, 88% 19%, 100% 43%, 100% 100%, 0 100%);
}

.hero-copy{
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.eyebrow{
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-copy h2{
  margin-top: 24px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -2px;
  max-width: 720px;
}

.hero-copy p{
  margin-top: 20px;
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
}

.search-card{
  margin-top: 34px;
  background: rgba(255,255,255,0.92);
  border-radius: 30px;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.16);
  color: var(--dark);
  max-width: 900px;
}

.search-row{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

.field label{
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
}

.field select{
  width: 100%;
  border: 1px solid rgba(11,13,15,0.14);
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 0.98rem;
  outline: none;
  background: #fff;
}

.search-btn{
  border: none;
  border-radius: 18px;
  padding: 15px 22px;
  background: var(--dark);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  min-width: 140px;
}

.hero-features{
  margin-top: 28px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-features > div{
  min-width: 150px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
}

.hero-features strong{
  display: block;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.hero-features span{
  color: rgba(255,255,255,0.86);
}

.hero-visual{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 25px;
}

.big-card{
  position: relative;
  width: min(100%, 640px);
  height: 760px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top center, rgba(255,255,255,0.4), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
  border: 8px solid rgba(255,255,255,0.7);
  box-shadow: 0 34px 80px rgba(0,0,0,0.22);
  overflow: hidden;
}

.big-card::before{
  content: "";
  position: absolute;
  inset: 24px 24px 26px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.96)),
    url("https://images.unsplash.com/photo-1511919884226-fd3cad34687c?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
  opacity: 0.98;
}

.big-card::after{
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 155px;
  background: linear-gradient(180deg, transparent, rgba(45,102,210,0.18), rgba(45,102,210,0.35));
}

.vehicle-stack{
  position: absolute;
  inset: 0;
  padding: 150px 60px 0;
}

.vehicle{
  position: absolute;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 65px rgba(11,13,15,0.28);
  background: #fff;
}

.vehicle img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v1{
  width: 230px;
  height: 150px;
  left: 70px;
  top: 120px;
  transform: rotate(-3deg);
  z-index: 2;
}

.v2{
  width: 270px;
  height: 170px;
  right: 80px;
  top: 105px;
  transform: rotate(2deg);
  z-index: 3;
}

.v3{
  width: 300px;
  height: 190px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 145px;
  z-index: 4;
}

.floating-tag{
  position: absolute;
  z-index: 5;
  padding: 12px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  backdrop-filter: blur(12px);
  font-weight: 700;
}

.tag-1{
  top: 70px;
  left: 60px;
}

.tag-2{
  right: 86px;
  top: 160px;
}

.mini-strip{
  margin: -48px auto 0;
  width: min(1260px, calc(100% - 88px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
  z-index: 5;
}

.mini-item{
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(11,13,15,0.08);
  border-radius: 26px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.mini-item span{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(196,37,33,0.1);
  color: var(--red);
  font-weight: 800;
}

.mini-item strong{
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.mini-item p{
  color: var(--muted);
  font-size: 0.92rem;
}

.categories,
.stock,
.commercial,
.contact{
  width: min(1260px, calc(100% - 88px));
  margin: 0 auto;
  padding: 88px 0 0;
}

.section-head{
  margin-bottom: 28px;
}

.section-head span{
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.78rem;
  font-weight: 800;
}

.section-head h3{
  margin-top: 10px;
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  color: var(--dark);
}

.category-grid,
.stock-grid,
.contact-grid{
  display: grid;
  gap: 18px;
}

.category-grid{
  grid-template-columns: repeat(4, 1fr);
}

.category-card{
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(11,13,15,0.08);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.category-card:hover{
  transform: translateY(-6px);
}

.category-card.active{
  background: var(--dark);
  color: white;
}

.category-card i{
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(45,102,210,0.12);
  margin-bottom: 16px;
  font-size: 1.7rem;
}

.category-card.active i{
  background: rgba(255,255,255,0.12);
}

.category-card h4{
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.category-card p{
  color: inherit;
  opacity: 0.75;
}

.stock-grid{
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}

.car-card{
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(11,13,15,0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.car-card:hover{
  transform: translateY(-6px);
}

.car-slider{
  position: relative;
  height: 260px !important;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
  background: #eaeaea;
}

.car-slider img{
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: none;
}

.car-slider img.active{
  display: block;
}

.car-slider button{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.car-slider .prev{
  left: 10px;
}

.car-slider .next{
  right: 10px;
}

.car-card > img{
  width: 100%;
  height: 260px !important;
  object-fit: cover;
}

.card-body{
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-top{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.card-top h4{
  font-size: 1.08rem;
  line-height: 1.35;
}

.card-top strong{
  color: var(--red);
  font-size: 1rem;
  white-space: nowrap;
}

.card-body p{
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-btn{
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--dark);
  color: white;
  font-weight: 800;
}

.commercial .stock-grid{
  grid-template-columns: repeat(4, 1fr);
}

.info-band{
  width: min(1260px, calc(100% - 88px));
  margin: 90px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-box{
  background: linear-gradient(180deg, #ffffff, #f9f7f5);
  border: 1px solid rgba(11,13,15,0.08);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.info-box h4{
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.info-box p{
  color: var(--muted);
}

.contact{
  padding-bottom: 90px;
}

.contact-grid{
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.contact-card{
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(11,13,15,0.08);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-card h4{
  margin-bottom: 8px;
}

.contact-card p a{
  color: var(--dark);
  font-weight: 800;
}

.contact-form{
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(11,13,15,0.08);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(11,13,15,0.12);
  font-size: 1rem;
  outline: none;
  resize: vertical;
  background: white;
}

.contact-form button{
  border: none;
  border-radius: 18px;
  padding: 16px 18px;
  background: var(--red);
  color: white;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.whatsapp-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 18px 35px rgba(37,211,102,0.3);
  z-index: 999;
}

@media (max-width: 1100px){
  .topbar{
    padding: 16px 22px;
    flex-wrap: wrap;
  }

  .nav{
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-inner{
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 44px 24px 24px;
  }

  .hero-copy{
    padding-top: 0;
  }

  .big-card{
    width: 100%;
    height: 560px;
  }

  .mini-strip,
  .categories,
  .stock,
  .commercial,
  .contact,
  .info-band{
    width: min(1260px, calc(100% - 30px));
  }

  .category-grid,
  .stock-grid,
  .contact-grid,
  .commercial .stock-grid,
  .info-band{
    grid-template-columns: 1fr 1fr;
  }

  .search-row{
    grid-template-columns: 1fr 1fr;
  }

  .search-btn{
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 720px){
  .hero,
  .categories,
  .stock,
  .commercial,
  .contact{
    padding-left: 15px;
    padding-right: 15px;
  }

  .mini-strip,
  .categories,
  .stock,
  .commercial,
  .contact,
  .info-band{
    width: calc(100% - 30px);
  }

  .hero-copy h2{
    letter-spacing: -1px;
  }

  .hero-inner{
    border-radius: 28px;
  }

  .search-row,
  .category-grid,
  .stock-grid,
  .contact-grid,
  .commercial .stock-grid,
  .info-band{
    grid-template-columns: 1fr;
  }

  .mini-strip{
    grid-template-columns: 1fr;
    margin-top: -18px;
  }

  .big-card{
    height: 470px;
  }

  .v1{
    width: 175px;
    height: 118px;
    left: 20px;
    top: 145px;
  }

  .v2{
    width: 180px;
    height: 120px;
    right: 18px;
    top: 130px;
  }

  .v3{
    width: 210px;
    height: 130px;
    bottom: 120px;
  }

  .tag-1{
    top: 28px;
    left: 22px;
  }

  .tag-2{
    right: 22px;
    top: 72px;
  }

  .nav{
    display: none;
  }

  .top-cta{
    margin-left: auto;
  }
}
/* =========================================
   OVERRIDE: 3 cards per row + bigger images
   for BOTH Available Vehicles and Commercial
   ========================================= */

#stock .stock-grid,
#commercial .stock-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px;
  align-items: stretch;
}

.car-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#stock .car-slider,
#stock .car-card > img,
#commercial .car-slider,
#commercial .car-card > img {
  width: 100%;
  height: 300px !important;
  overflow: hidden;
}

#stock .car-slider img,
#commercial .car-slider img,
#stock .car-card > img,
#commercial .car-card > img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.car-slider {
  position: relative;
  border-radius: 28px 28px 0 0;
  background: #eaeaea;
}

.car-slider img {
  display: none;
}

.car-slider img.active {
  display: block;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-btn {
  margin-top: auto;
}

/* Tablet */
@media (max-width: 1100px) {
  #stock .stock-grid,
  #commercial .stock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #stock .car-slider,
  #stock .car-card > img,
  #commercial .car-slider,
  #commercial .car-card > img {
    height: 260px !important;
  }
}

/* Mobile */
@media (max-width: 720px) {
  #stock .stock-grid,
  #commercial .stock-grid {
    grid-template-columns: 1fr !important;
  }

  #stock .car-slider,
  #stock .car-card > img,
  #commercial .car-slider,
  #commercial .car-card > img {
    height: 240px !important;
  }
}