/* =========================================================
   Video Hero + Sixt/Avis booking bar — Poppins only
   ========================================================= */

.vhero {
  position: relative;
  min-height: calc(100vh - 88px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #0c1118;
  color: #fff;
  overflow: hidden;
  font-family: Poppins, sans-serif;
}

.vhero * {
  font-family: Poppins, sans-serif;
}

.vhero-slides {
  position: absolute;
  inset: 0;
}

.vhero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s;
}

.vhero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.vhero-slide video,
.vhero-slide .vhero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vhero-fallback {
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 7s ease-out, opacity 0.6s ease;
}

.vhero-slide.is-active .vhero-fallback {
  transform: scale(1);
}

.vhero-slide video {
  z-index: 1;
}

.vhero-slide .vhero-fallback {
  z-index: 0;
}

.vhero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8, 12, 18, 0.78) 0%, rgba(8, 12, 18, 0.35) 48%, rgba(8, 12, 18, 0.45) 100%),
    linear-gradient(180deg, rgba(8, 12, 18, 0.25) 0%, rgba(8, 12, 18, 0.15) 40%, rgba(8, 12, 18, 0.82) 100%);
  pointer-events: none;
}

.vhero-inner {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 36px;
}

.vhero-copy {
  max-width: 560px;
  margin-bottom: 28px;
}

.vhero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.vhero-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.vhero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.8px;
}

.vhero-copy p {
  margin: 0;
  max-width: 440px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}

/* ---- Classic rental search bar ---- */
.vhero-book {
  width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.vhero-book .booking-form {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr auto;
  gap: 0;
  align-items: stretch;
  border: 0;
  background: transparent;
  overflow: visible;
}

.vhero-book .booking-field {
  position: relative;
  min-height: 68px;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-right: 1px solid #e8edf2;
}

.vhero-book .booking-field:before {
  display: none !important;
}

.vhero-book .booking-field:hover,
.vhero-book .booking-field.open {
  background: #f7f9fb !important;
  box-shadow: none !important;
  border-color: transparent !important;
  border-right: 1px solid #e8edf2 !important;
}

.vhero-book .field-label {
  display: block;
  margin-bottom: 4px;
  color: #8b97a3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-transform: none;
}

.vhero-book .field-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1a2330;
  cursor: pointer;
  text-align: left;
}

.vhero-book .field-trigger strong {
  font-size: 15px;
  font-weight: 600;
}

.vhero-book .field-trigger svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: #9aa6b2;
  stroke-width: 1.8;
}

.vhero-book .booking-form > button {
  min-width: 168px;
  min-height: 68px;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: #15202b;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.vhero-book .booking-form > button:hover {
  background: #1e2d3c;
  transform: translateY(-1px);
}

.vhero-book .booking-form > button span {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.vhero-book .booking-form > button small {
  display: none;
}

.vhero-book .booking-form > button b {
  font-size: 18px;
  font-weight: 500;
}

.vhero-book .booking-message {
  margin: 8px 4px 0;
  color: #6b7785;
  font-size: 13px;
}

.vhero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.vhero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.vhero-trust span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
}

.vhero-trust span::before {
  content: "✓";
  display: inline-block;
  margin-right: 6px;
  color: #22c55e;
  font-weight: 700;
}

.vhero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vhero-dot {
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.25s, width 0.25s;
}

.vhero-dot.is-active {
  width: 40px;
  background: #fff;
}

.vhero-nav {
  display: flex;
  gap: 8px;
}

.vhero-nav button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.vhero-nav button:hover {
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 900px) {
  .vhero {
    min-height: auto;
  }

  .vhero-inner {
    width: calc(100% - 28px);
    padding: 32px 0 24px;
  }

  .vhero-copy h1 {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

  .vhero-book .booking-form {
    grid-template-columns: 1fr;
  }

  .vhero-book .booking-field {
    border-right: 0;
    border-bottom: 1px solid #e8edf2;
    min-height: 60px;
  }

  .vhero-book .booking-field:hover,
  .vhero-book .booking-field.open {
    border-right: 0 !important;
    border-bottom: 1px solid #e8edf2 !important;
  }

  .vhero-book .booking-form > button {
    width: 100%;
    min-height: 54px;
    margin-top: 6px;
  }

  .vhero-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vhero-slide,
  .vhero-fallback {
    transition: none !important;
  }
}
