.gallery-hero {
  position: relative;
  min-height: 650px;
  justify-content: flex-start;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(13 31 25 / 92%) 0%, rgb(13 31 25 / 74%) 48%, rgb(13 31 25 / 18%) 100%),
    linear-gradient(0deg, rgb(13 31 25 / 44%), transparent 58%),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=2000&q=85") center 58% / cover no-repeat;
  text-align: left;
}
.gallery-hero .hero-content {
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  max-width: 1120px;
  align-items: flex-start;
  margin-inline: auto;
  padding: 150px 0 42px;
}
.gallery-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 999px;
  background: rgb(255 255 255 / 9%);
  color: #e4f5c2;
  letter-spacing: .11em;
}
.gallery-hero h1 {
  max-width: 760px;
  margin: 8px 0 18px;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: .98;
}
.gallery-hero .hero-content > p:not(.eyebrow) {
  max-width: 540px;
  margin: 0 0 26px;
  text-align: left;
}
.gallery-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 19px; }
.gallery-explore-link { color: #fff; font-size: .92rem; font-weight: 700; }
.gallery-explore-link span { margin-left: 5px; color: var(--lime); }
.gallery-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 28%);
}
.gallery-hero-highlights span { display: grid; gap: 2px; color: rgb(255 255 255 / 72%); font-size: .76rem; }
.gallery-hero-highlights strong { color: #fff; font-size: .94rem; }
.vehicle-gallery-section {
  padding: clamp(64px, 8vw, 100px) 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgb(211 235 155 / 25%), transparent 30%),
    #f7f7f1;
}
.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}
.gallery-heading .eyebrow { color: #245c49; }
.gallery-heading h2 { max-width: 620px; margin: 0; font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
.gallery-heading > p { max-width: 390px; margin: 0 0 5px; color: #68746e; }
.vehicle-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  counter-reset: vehicle-card;
}
.vehicle-gallery-card {
  position: relative;
  grid-column: span 2;
  min-width: 0;
  min-height: 315px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(29 41 37 / 8%);
  border-radius: 24px;
  background: #dce2d8;
  box-shadow: 0 16px 38px rgb(29 41 37 / 10%);
  isolation: isolate;
  counter-increment: vehicle-card;
  transition: transform .3s ease, box-shadow .3s ease;
}
.vehicle-gallery-card::after {
  position: absolute;
  z-index: -1;
  inset: 10% 0 0;
  background: linear-gradient(180deg, rgb(13 31 25 / 5%) 20%, rgb(13 31 25 / 88%) 100%);
  content: "";
}
.vehicle-gallery-card::before {
  position: absolute;
  z-index: 1;
  top: 17px;
  right: 17px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 50%;
  background: rgb(13 31 25 / 42%);
  color: #fff;
  content: counter(vehicle-card, decimal-leading-zero);
  font-size: .75rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.vehicle-gallery-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.vehicle-gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 46px rgb(29 41 37 / 18%);
}
.vehicle-gallery-card:hover img { transform: scale(1.07); }
.vehicle-gallery-card figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  gap: 7px;
  color: #fff;
}
.vehicle-gallery-card figcaption span {
  color: #d3eb9b;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.vehicle-gallery-card figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
}
.vehicle-gallery-card:nth-child(4) { grid-column: 2 / span 2; }
.vehicle-gallery-card:nth-child(5) { grid-column: 4 / span 2; }
.gallery-booking-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 44px;
  padding: 32px 38px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 24px;
  background: #1d2925;
  box-shadow: 0 18px 38px rgb(29 41 37 / 12%);
  color: #fff;
}
.gallery-booking-card .eyebrow { margin-bottom: 8px; color: #d3eb9b; }
.gallery-booking-card h3 { margin: 0 0 7px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.gallery-booking-card p:last-child { max-width: 560px; margin: 0; color: rgb(255 255 255 / 70%); }
.gallery-booking-card .button { flex: 0 0 auto; }
@media (max-width: 760px) {
  .gallery-hero {
    min-height: 620px;
    background:
      linear-gradient(90deg, rgb(13 31 25 / 86%), rgb(13 31 25 / 55%)),
      linear-gradient(0deg, rgb(13 31 25 / 36%), transparent 60%),
      url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1400&q=85") 62% center / cover no-repeat;
  }
  .gallery-hero .hero-content { width: min(100% - 36px, 560px); padding: 132px 0 36px; }
  .gallery-hero-highlights { gap: 18px 24px; margin-top: 34px; }
  .gallery-heading { align-items: flex-start; flex-direction: column; }
  .vehicle-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .vehicle-gallery-card { grid-column: auto; min-height: 260px; border-radius: 20px; }
  .vehicle-gallery-card:nth-child(4),
  .vehicle-gallery-card:nth-child(5) { grid-column: auto; }
  .gallery-booking-card { align-items: flex-start; flex-direction: column; padding: 28px; }
}
@media (max-width: 480px) {
  .gallery-hero { min-height: 660px; }
  .gallery-hero h1 { font-size: clamp(3rem, 14vw, 4rem); }
  .gallery-hero .eyebrow { font-size: .65rem; letter-spacing: .07em; }
  .gallery-hero-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vehicle-gallery-grid { grid-template-columns: 1fr; }
  .vehicle-gallery-card { min-height: 280px; }
  .gallery-booking-card { padding: 24px; }
  .gallery-booking-card .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .vehicle-gallery-card,
  .vehicle-gallery-card img { transition: none; }
  .vehicle-gallery-card:hover { transform: none; }
}
