/* Vehicle details without decorative blue bullets. */
.vehicle-meta span::before,
.vehicle-meta span::after {
  content: none !important;
  display: none !important;
}

.vehicle-meta {
  column-gap: 18px !important;
}

/* Balanced, animated chevron for the language control. */
.locale-trigger > b {
  position: relative;
  width: 14px;
  height: 14px;
  margin: 0 0 0 1px !important;
  overflow: hidden;
  color: transparent !important;
  font-size: 0 !important;
  flex: 0 0 14px;
}

.locale-trigger > b::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 6px;
  height: 6px;
  border-right: 1.6px solid #64767e;
  border-bottom: 1.6px solid #64767e;
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform .2s ease, top .2s ease;
}

.locale-trigger[aria-expanded="true"] > b::after {
  top: 5px;
  transform: rotate(225deg);
}

main:lang(hi) {
  font-family: "Noto Sans Devanagari", "Noto Sans", sans-serif;
}

/* Keep vehicle cards clean across every language and React re-render. */
.fleet-grid .vehicle-image > span,
.fleet-grid .vehicle-image::after,
.fleet-grid .vehicle-title small,
.fleet-grid .vehicle-meta > span:not(:first-child),
.promotion-heading > p,
.booking-heading > p {
  display: none !important;
}

.fleet-grid .vehicle-title h3 {
  margin-top: 0;
}

/* Soft, staggered movement keeps the reasons-to-book section lively. */
.benefit-card {
  animation: supercar-benefit-float 5.2s ease-in-out infinite;
  will-change: transform;
}

.benefit-card:nth-child(2) {
  animation-delay: .65s;
}

.benefit-card:nth-child(3) {
  animation-delay: 1.3s;
}

.benefit-card:nth-child(4) {
  animation-delay: 1.95s;
}

.benefit-icon {
  animation: supercar-benefit-glow 5.2s ease-in-out infinite;
}

.benefit-card:nth-child(2) .benefit-icon {
  animation-delay: .65s;
}

.benefit-card:nth-child(3) .benefit-icon {
  animation-delay: 1.3s;
}

.benefit-card:nth-child(4) .benefit-icon {
  animation-delay: 1.95s;
}

@keyframes supercar-benefit-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes supercar-benefit-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 transparent;
    transform: scale(1);
  }

  50% {
    box-shadow: 0 12px 28px rgb(9 29 44 / 8%);
    transform: scale(1.045);
  }
}

@media (prefers-reduced-motion: reduce) {
  .benefit-card,
  .benefit-icon {
    animation: none !important;
  }
}

/* Preserve the hero photo when iOS removes the full-screen booking layer. */
@media (hover: none) and (pointer: coarse) {
  .hero::before {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    pointer-events: none;
  }

  .dock-toggle,
  .booking-expanded-close,
  .callback-close {
    touch-action: manipulation;
  }
}

/* Mobile hero: keep the booking call-to-action and booking card separate. */
@media (max-width: 720px) {
  .hero .hero-inner {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    row-gap: 30px !important;
    width: calc(100% - 32px) !important;
    padding-top: 58px !important;
    padding-bottom: 42px !important;
  }

  .hero .hero-copy {
    position: relative;
    width: 100%;
    margin: 0 auto !important;
  }

  .hero .hero-ctas {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 26px 0 0 !important;
  }

  .hero .hero-ctas .button {
    min-height: 52px !important;
    margin: 0 !important;
  }

  .hero .hero-inner > .booking-card:not(.is-expanded) {
    position: relative !important;
    inset: auto !important;
    z-index: 1;
    width: 100% !important;
    max-width: 520px;
    margin: 0 auto !important;
    transform: none !important;
    border-radius: 20px !important;
  }
}
