:root{
  --prima-primary:#0d6efd;
  --prima-dark:#0b1320;
  --prima-soft:#f5f7fb;
  --prima-border:rgba(13,110,253,.15);
}

body{
  color:#13213c;
  overflow-x:hidden;
}

a{
  text-decoration:none;
}

.topbar{
  background:linear-gradient(90deg, rgba(13,110,253,.12), rgba(255,193,7,.12));
  border-bottom:1px solid rgba(0,0,0,.06);
}
.topbar-link{
  color:#0b1320;
}
.topbar-link:hover{
  text-decoration:underline;
}
.topbar-label{
  font-size:.75rem;
  color:rgba(11,19,32,.65);
  margin-right:.35rem;
}
.topbar-number{
  font-weight:700;
}
.topbar-link{
  white-space:nowrap;
}

.brand-text .brand-name{
  font-weight:800;
  line-height:1.05;
}
.brand-text .brand-sub{
  font-size:.8rem;
  color:rgba(11,19,32,.65);
}

.logo-mark{
  width:48px;
  height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:#fff;
  border:2px solid rgba(13,110,253,.25);
  color:#0d6efd;
  font-weight:900;
  font-size:38px;
  line-height:1;
  letter-spacing:-0.02em;
}
.logo-mark--sm{
  width:40px;
  height:40px;
  border-radius:14px;
  font-size:30px;
}

/* Mobile polish */
@media (max-width: 575.98px){
  .topbar{
    font-size:.95rem;
  }

  .navbar-brand{
    max-width: calc(100% - 52px); /* leave room for toggler */
    min-width: 0;
  }
  .brand-text{
    min-width:0;
  }
  .brand-text .brand-name,
  .brand-text .brand-sub{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:100%;
  }
  .brand-text .brand-name{
    font-size:1.05rem;
    line-height:1.1;
  }
  .brand-text .brand-sub{
    font-size:.78rem;
  }

  .logo-mark{
    width:42px;
    height:42px;
    border-radius:14px;
    font-size:30px;
  }

  .hero .container{
    padding-top:2.25rem !important;
    padding-bottom:2.25rem !important;
  }
  .hero-card-title{
    font-size:.95rem;
  }
}

.hero{
  background:
    radial-gradient(800px 400px at 20% 10%, rgba(13,110,253,.18), transparent 60%),
    radial-gradient(800px 400px at 80% 0%, rgba(255,193,7,.20), transparent 55%),
    linear-gradient(180deg, #fff, var(--prima-soft));
  border-bottom:1px solid rgba(0,0,0,.06);
}
.eyebrow{
  display:inline-block;
  font-weight:800;
  letter-spacing:.08em;
  font-size:.75rem;
  color:rgba(11,19,32,.7);
  background:rgba(255,193,7,.28);
  border:1px solid rgba(255,193,7,.35);
  padding:.35rem .65rem;
  border-radius:999px;
  margin-bottom:1rem;
}
.hero-card{
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  overflow:hidden;
}
.hero-card-title{
  background:linear-gradient(90deg, rgba(13,110,253,.1), rgba(255,193,7,.12));
  padding:1rem 1rem;
  font-weight:800;
}
.hero-card-body{
  padding:1rem 1rem 1.1rem;
}
.svc{
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  padding:.85rem .9rem;
  background:rgba(13,110,253,.03);
}
.svc-title{
  font-weight:800;
  margin-bottom:.25rem;
}
.svc-desc{
  font-size:.95rem;
}

.stat-value{
  font-weight:900;
  font-size:1.35rem;
}
.stat-label{
  color:rgba(11,19,32,.65);
  font-size:.9rem;
}

.section{
  padding:3rem 0;
}
.section-soft{
  background:var(--prima-soft);
  border-top:1px solid rgba(0,0,0,.06);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.section-kicker{
  font-weight:900;
  letter-spacing:.12em;
  font-size:.75rem;
  color:rgba(13,110,253,.85);
}
.section-title{
  font-weight:900;
  margin:.15rem 0 .25rem;
}

.car-card{
  border-radius:16px;
  border:1px solid rgba(0,0,0,.08);
}
.car-thumb{
  aspect-ratio: 16/10;
  background:linear-gradient(180deg, rgba(13,110,253,.08), rgba(255,193,7,.10));
  border-bottom:1px solid rgba(0,0,0,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1rem;
}
.car-thumb img{
  max-width:100%;
  height:auto;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.15));
}
.car-price{
  display:flex;
  gap:.4rem;
  align-items:baseline;
  color:rgba(11,19,32,.75);
}
.car-price strong{
  color:#0b1320;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding:.25rem .55rem;
  border-radius:999px;
  border:1px solid var(--prima-border);
  background:rgba(13,110,253,.06);
  font-size:.78rem;
  color:rgba(13,110,253,.95);
  font-weight:700;
}

.cta{
  background:linear-gradient(90deg, rgba(13,110,253,.08), rgba(255,193,7,.10));
  border-top:1px solid rgba(0,0,0,.06);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.gallery-item{
  display:block;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
}
.gallery-item img{
  width:100%;
  height:auto;
  display:block;
  transition:transform .25s ease;
}
.gallery-item:hover img{
  transform:scale(1.03);
}
.gallery-item--full img{
  transition:none;
}

.gallery-rotator{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:1rem;
}
.gallery-rotator__item .gallery-item{
  height:100%;
}
.gallery-rotator__item img{
  width:100%;
  height:auto;
  display:block;
  transition: opacity .35s ease, transform .35s ease;
  will-change: opacity, transform;
}
.gallery-rotator__item img.is-fading{
  opacity:0;
  transform: scale(.98);
}
@media (max-width: 991.98px){
  .gallery-rotator{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px){
  .gallery-rotator{ grid-template-columns: 1fr; }
}
.gallery-rotator__hint{
  opacity:.9;
}

.gallery-strip{
  display:flex;
  gap:1rem;
  overflow-x:auto;
  overflow-y:hidden;
  padding:.25rem .25rem .75rem;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
}
.gallery-strip::-webkit-scrollbar{ display:none; } /* Chrome/Safari */
.gallery-strip:focus{
  outline:2px solid rgba(13,110,253,.25);
  outline-offset:6px;
  border-radius:16px;
}
.gallery-strip__item{
  flex:0 0 calc((100% - 3rem) / 4); /* 4 items per row with 3 gaps */
  scroll-snap-align:start;
}
@media (max-width: 991.98px){
  .gallery-strip__item{ flex-basis: calc((100% - 1rem) / 2); } /* 2 items */
}
@media (max-width: 575.98px){
  .gallery-strip__item{ flex-basis: 85%; } /* swipe-friendly */
}
/* scrollbar hidden on purpose */

.footer{
  background:#0b1320;
  color:#e8eefb;
}
.footer a{
  color:inherit;
}
.footer-main{
  color:#e8eefb !important;
}
.footer-secondary{
  color:rgba(186, 195, 210, .92) !important;
}
.footer-tertiary{
  color:rgba(186, 195, 210, .74) !important;
}
.footer-secondary a,
.footer-tertiary a{
  color:rgba(200, 208, 222, .92);
  text-decoration:underline;
  text-decoration-color:rgba(200, 208, 222, .22);
  text-underline-offset:2px;
}
.footer-secondary a:hover,
.footer-tertiary a:hover{
  text-decoration-color:rgba(200, 208, 222, .5);
}
.footer-title{
  font-weight:900;
  margin-bottom:.75rem;
}
.footer-link{
  color:#e8eefb;
  opacity:.92;
}
.footer-link:hover{
  text-decoration:underline;
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
}

.nav-link.active{
  font-weight:800;
  color:var(--prima-primary) !important;
}

