.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    backdrop-filter 0.3s ease;
}

.site-header.is-scrolled,
.site-header.is-solid {
  border-color: var(--sb-border);
  background: rgba(8, 9, 11, 0.86);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  width: var(--container);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.brand-logo {
  display: inline-flex;
  width: 156px;
  height: 34px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
}

.brand-logo img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 42px);
}

.nav-link {
  position: relative;
  padding-block: 8px;
  color: rgba(247, 247, 245, 0.78);
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--sb-red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--sb-white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--sb-border);
  border-radius: 50%;
  background: rgba(8, 9, 11, 0.35);
  color: var(--sb-white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 0.25s ease;
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.mobile-menu {
  position: fixed;
  z-index: 95;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: calc(var(--header-height) + 30px) 24px max(28px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 80% 20%, rgba(212, 33, 45, 0.16), transparent 26rem),
    rgba(8, 9, 11, 0.98);
  opacity: 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
}

.mobile-menu nav {
  display: grid;
  width: min(100%, 420px);
  gap: 8px;
}

.mobile-menu .nav-link {
  padding: 12px 0;
  font-size: clamp(1.7rem, 8vw, 3.4rem);
  letter-spacing: -0.02em;
  text-transform: none;
}

.mobile-menu .btn {
  margin-top: 28px;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--sb-red);
  color: white;
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition:
    transform 0.25s var(--ease),
    background 0.25s ease,
    border-color 0.25s ease;
}

.btn::after {
  position: absolute;
  top: -70%;
  left: -50%;
  width: 32%;
  height: 240%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  content: "";
  pointer-events: none;
  transform: rotate(20deg) translateX(-180%);
  transition: transform 0.58s var(--ease);
}

.btn:hover {
  background: var(--sb-red-bright);
  transform: translateY(-2px) scale(1.012);
}

.btn:hover::after {
  transform: rotate(20deg) translateX(520%);
}

.btn--outline {
  border-color: var(--sb-border-strong);
  background: rgba(8, 9, 11, 0.3);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(247, 247, 245, 0.1);
}

.btn--ghost {
  border-color: var(--sb-border);
  background: transparent;
}

.btn--small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.68rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sb-white);
  font-size: 0.72rem;
  font-weight: 790;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--sb-red-bright);
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.vehicle-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--sb-border);
  border-radius: var(--radius-md);
  background: var(--sb-surface);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.38s var(--ease),
    border-color 0.38s ease,
    box-shadow 0.38s ease;
}

.vehicle-card:hover {
  border-color: rgba(212, 33, 45, 0.48);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), 0 0 28px rgba(212, 33, 45, 0.07);
  transform: translateY(-7px) scale(1.018);
}

.vehicle-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #111;
}

.vehicle-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.55s var(--ease),
    transform 0.75s var(--ease),
    filter 0.4s ease;
}

.vehicle-card__image--front {
  opacity: 1;
}

.vehicle-card__image--rear {
  opacity: 0;
}

.vehicle-card:hover .vehicle-card__image--front {
  opacity: 0;
  transform: scale(1.025);
}

.vehicle-card:hover .vehicle-card__image--rear {
  opacity: 1;
  transform: scale(1.025);
}

.vehicle-card.is-sold .vehicle-card__image {
  filter: brightness(0.7) saturate(0.78);
}

.status-chip,
.sold-ribbon {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 4px;
  background: rgba(8, 9, 11, 0.8);
  color: var(--sb-white);
  font-size: 0.62rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(9px);
}

.status-chip::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #65ca75;
  content: "";
}

.sold-ribbon {
  top: 18px;
  right: 14px;
  left: auto;
  border-radius: 2px;
  background: var(--sb-red);
  transform: rotate(4deg);
}

.vehicle-card__body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.vehicle-card__topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.vehicle-card__topline .eyebrow {
  color: var(--sb-muted);
  font-size: 0.62rem;
}

.vehicle-card__price {
  color: var(--sb-white);
  font-size: 0.93rem;
}

.vehicle-card h3 a {
  transition: color 0.2s ease;
}

.vehicle-card h3 a:hover {
  color: var(--sb-red-bright);
}

.vehicle-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vehicle-card__specs span {
  padding: 6px 8px;
  border: 1px solid var(--sb-border);
  border-radius: 4px;
  color: var(--sb-muted);
  font-size: 0.71rem;
}

.card-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.site-footer {
  border-top: 1px solid var(--sb-border);
  background: #060708;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding: 66px 0 54px;
}

.footer-brand {
  display: grid;
  max-width: 420px;
  gap: 20px;
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 760;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links strong {
  margin-bottom: 8px;
  font-size: 0.73rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--sb-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--sb-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid var(--sb-border);
  color: #7f858f;
  font-size: 0.76rem;
}

.whatsapp-float {
  position: fixed;
  z-index: 85;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: none;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transition:
    opacity 0.35s ease,
    transform 0.25s ease;
}

.whatsapp-float.is-visible {
  opacity: 1;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.whatsapp-float img {
  width: 27px;
  height: 27px;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  display: none;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--sb-red-bright);
}

.cursor-ring {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(241, 66, 76, 0.82);
  color: white;
  font-size: 0;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition:
    width 0.25s var(--ease),
    height 0.25s var(--ease),
    background 0.25s ease,
    font-size 0.2s ease;
}

.has-custom-cursor .cursor-dot,
.has-custom-cursor .cursor-ring {
  display: grid;
}

.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor [data-cursor] {
  cursor: none;
}

.cursor-ring.is-action {
  width: 44px;
  height: 44px;
  background: rgba(212, 33, 45, 0.12);
}

.cursor-ring.is-view {
  width: 62px;
  height: 62px;
  background: rgba(8, 9, 11, 0.64);
  font-size: 0.58rem;
  backdrop-filter: blur(6px);
}
