:root {
  --v-navy: #075F64;
  --v-navy-dark: #06484B;
  --v-gold: #FF7867;
  --v-white: #fff;
  --v-muted: #657487;
  --v-border: #e3e8ed;
  --v-bg: #f6f8fa;
  --v-green: #087E83;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  margin: 0;
  color: #263F42;
  background: #fff;
  font-family: "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  -webkit-tap-highlight-color: transparent;
}

.vehicles-container {
  width: min(1240px, 89%);
  margin-inline: auto;
}

.vehicles-eyebrow {
  display: inline-block;
  color: #FF7867;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.7;
}

.vehicle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease,
    box-shadow .25s ease;
}

.vehicle-btn:hover {
  transform: translateY(-2px);
}

.vehicle-btn--gold {
  color: var(--v-navy-dark);
  background: var(--v-gold);
  box-shadow: 0 8px 22px rgb(0 0 0 / 12%);
}

.vehicle-btn--gold:hover {
  background: #FF9A8D;
}

.vehicle-btn--navy {
  color: var(--v-white);
  background: var(--v-navy);
}

.vehicle-btn--navy:hover {
  background: #087E83;
}

/* Hero */

.vehicles-hero {
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 75px 0;
  color: var(--v-white);
  background:
    linear-gradient(90deg, rgb(4 48 51 / 94%), rgb(4 48 51 / 48%)),
    url("../images/vehicles-hero.jpg") center / cover no-repeat,
    var(--v-navy);
}

.vehicles-hero__content {
  max-width: 1240px;
}

.vehicles-hero .vehicles-eyebrow,
.vehicles-cta .vehicles-eyebrow {
  color: var(--v-gold);
}

.vehicles-hero h1 {
  max-width: 720px;
  margin: 18px 0;
  color: #fff;
  font-size: clamp(2.6rem, 5.5vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.vehicles-hero__content > p {
  max-width: 560px;
  margin-bottom: 24px;
  color: #d7e1e9;
  font-size: 1.02rem;
  line-height: 1.85;
}

/* Intro */

.vehicles-intro {
  max-width: 780px;
  margin: 0 auto;
  padding: 68px 22px 40px;
  text-align: center;
}

.vehicles-intro h2,
.vehicles-section__heading h2 {
  margin: 11px 0;
  color: var(--v-navy);
  font-size: clamp(1.9rem, 3.5vw, 2.65rem);
  line-height: 1.2;
}

.vehicles-intro p,
.vehicles-section__heading p {
  color: var(--v-muted);
  font-size: .94rem;
  line-height: 1.8;
}

/* Fleet section */

.vehicles-section {
  padding: 45px 0 70px;
  background: var(--v-bg);
}

.vehicles-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.vehicles-section__heading p {
  margin-bottom: 0;
}

.vehicles-count {
  flex-shrink: 0;
  padding: 8px 13px;
  border: 1px solid var(--v-border);
  border-radius: 30px;
  color: var(--v-navy);
  background: #fff;
  font-size: .85rem;
  white-space: nowrap;
}

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 25px;
}

.vehicles-loading {
  grid-column: 1 / -1;
  color: var(--v-muted);
  text-align: center;
}

.vehicle-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--v-border);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 24px rgb(7 95 100 / 5%);
  animation: v-card-in .4s ease both;
  transition: transform .3s ease, box-shadow .3s ease;
}

.vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgb(7 95 100 / 13%);
}

.vehicle-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e9eef2;
}

.vehicle-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.vehicle-card:hover .vehicle-card__image {
  transform: scale(1.045);
}

.vehicle-card__seats {
  position: absolute;
  top: 13px;
  right: 13px;
  max-width: calc(100% - 26px);
  padding: 8px 11px;
  border-radius: 20px;
  color: var(--v-navy);
  background: rgb(255 255 255 / 96%);
  font-size: .74rem;
  font-weight: 750;
}

.vehicle-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.vehicle-card__category {
  color: #FF7867;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.vehicle-card__title {
  margin: 8px 0 5px;
  color: var(--v-navy);
  font-size: 1.3rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.vehicle-card__subtitle {
  margin: 0 0 18px;
  color: var(--v-muted);
  font-size: .88rem;
  line-height: 1.7;
}

.vehicle-card__features {
  display: grid;
  gap: 11px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.vehicle-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #405164;
  font-size: .86rem;
  line-height: 1.55;
}

.vehicle-card__check {
  display: inline-flex;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  color: white;
  background: var(--v-green);
  font-size: 11px;
  font-weight: 800;
}

/* Only the outstation round-trip rate is shown */

.vehicle-card__rates {
  margin-top: auto;
  padding: 17px 0;
  border-top: 1px solid var(--v-border);
  border-bottom: 1px solid var(--v-border);
}

.vehicle-rate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--v-muted);
  font-size: .82rem;
  line-height: 1.6;
}

.vehicle-rate span {
  min-width: 0;
}

.vehicle-rate strong {
  flex-shrink: 0;
  color: #075F64;
  font-size: 1.2rem;
  text-align: right;
}

.vehicle-card__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 17px;
}

.vehicle-card__actions .vehicle-btn {
  width: 100%;
  min-width: 0;
}

.vehicle-card__image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--v-muted);
  font-size: .9rem;
  text-align: center;
}

/* All vehicles include */

.vehicles-includes {
  width: min(1240px, 89%);
  margin: 60px auto 70px;
  padding: 38px;
  border: 1px solid #D7E9E7;
  border-radius: 14px;
  background: #EAF5F4;
}

.vehicles-section__heading--center {
  justify-content: center;
  text-align: center;
}

.includes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 25px;
  margin-top: 28px;
}

.include-item {
  min-width: 0;
}

.include-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 50%;
  color: #fff;
  background: #FF7867;
  font-size: .9rem;
  font-weight: 800;
}

.include-item h3 {
  margin: 0 0 7px;
  color: #075F64;
  font-size: 1rem;
}

.include-item p {
  margin: 0;
  color: #647579;
  font-size: .85rem;
  line-height: 1.7;
}

/* Call to action */

.vehicles-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(1240px, 89%);
  margin: 0 auto 70px;
  padding: 45px;
  border-radius: 14px;
  color: #fff;
  background: var(--v-navy);
}

.vehicles-cta__inner {
  width: min(1240px, 89%);
}

.vehicles-cta h2 {
  margin: 12px 0;
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 1.25;
}

.vehicles-cta p {
  margin-bottom: 0;
  color: #d6e0e9;
  font-size: .92rem;
  line-height: 1.8;
}

.vehicles-cta > .vehicle-btn {
  flex-shrink: 0;
}

/* Footer */

.vehicles-footer {
  padding: 24px 0;
  color: #d6e0e9;
  background: var(--v-navy-dark);
}

.vehicles-footer .vehicles-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.vehicles-footer p {
  margin: 0;
  font-size: .8rem;
  line-height: 1.7;
}

.vehicles-footer a {
  color: var(--v-gold);
  font-size: .82rem;
  text-decoration: none;
}

.vehicles-footer a:hover {
  text-decoration: underline;
}

@keyframes v-card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */

@media (max-width: 1050px) {
  .vehicles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .includes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */

@media (max-width: 650px) {
  .vehicles-container {
    width: calc(100% - 32px);
  }

  .vehicles-hero {
    min-height: 450px;
    padding: 60px 0;
    background-position: 60% center;
  }

  .vehicles-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.35rem);
  }

  .vehicles-hero__content > p {
    font-size: .93rem;
  }

  .vehicles-intro {
    padding: 48px 20px 30px;
  }

  .vehicles-intro h2,
  .vehicles-section__heading h2 {
    font-size: 1.8rem;
  }

  .vehicles-section {
    padding: 32px 0 45px;
  }

  .vehicles-section__heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }

  .vehicles-section__heading p {
    font-size: .86rem;
  }

  .vehicles-count {
    padding: 7px 10px;
    font-size: .75rem;
  }

  .vehicles-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .vehicle-card__body {
    padding: 19px;
  }

  .vehicle-card__title {
    font-size: 1.25rem;
  }

  .vehicles-includes {
    width: calc(100% - 32px);
    margin: 38px auto 45px;
    padding: 25px 20px;
  }

  .includes-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .vehicles-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    width: calc(100% - 32px);
    margin: 0 auto 45px;
    padding: 27px 21px;
  }

  .vehicles-cta > .vehicle-btn {
    width: 100%;
    white-space: normal;
  }

  .vehicles-footer .vehicles-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}