/* Premium 4x4 Fleet page */

.fleet-tour-hero {
  height: 66vh;
  min-height: 420px;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
}

/* Ragged / torn-paper edge (matches .page-hero on other inner pages) */
.fleet-tour-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  pointer-events: none;
}

.fleet-tour-hero .tour-hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(20, 15, 10, 0.12) 0%,
    rgba(20, 15, 10, 0.28) 50%,
    rgba(20, 15, 10, 0.48) 100%
  );
}

.fleet-tour-hero .tour-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: clamp(72px, 10vh, 96px) clamp(20px, 5vw, 60px) clamp(24px, 4vh, 40px);
}

.fleet-hero-content--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fleet-hero-kicker {
  max-width: min(900px, 92vw);
  margin-left: auto;
  margin-right: auto;
}

.fleet-hero-content--center .tour-hero-subtitle {
  max-width: min(640px, 88vw);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  text-align: center;
}

/* Intro keeps page H1 while matching home svc-block heading scale */
.fleet-intro .svc-txt h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  font-weight: 500;
  color: #282838;
  line-height: 1.15;
  margin: 0 0 1.2rem;
}

.fleet-intro .svc-txt p:last-of-type {
  margin-bottom: 2rem;
}

.fleet-intro .btn-primary {
  display: inline-block;
  text-decoration: none;
}

.fleet-maputo .svc-txt p {
  margin-bottom: 1.1rem;
}

.fleet-maputo .svc-txt p:last-child {
  margin-bottom: 0;
}

.fleet-section-lead {
  max-width: 42rem;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--body-text);
  margin: 0 0 2.5rem;
}

.fleet-supported .fleet-section-lead,
.fleet-destinations .fleet-section-lead {
  margin-bottom: 2rem;
}

.fleet-roof-tent {
  position: relative;
  isolation: isolate;
  background-color: #1a1a1e;
  background-image: url('../assets/hero/great-east-flying-safari-card-800.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.fleet-roof-tent.svc-block--dark {
  background-color: #1a1a1e;
}

.fleet-roof-tent::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(22, 22, 28, 0.52);
}

.fleet-roof-tent .svc-inner {
  position: relative;
  z-index: 1;
}

.fleet-roof-tent .svc-eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.fleet-roof-tent .svc-txt h2 {
  color: #fff;
}

.fleet-roof-tent .svc-txt p {
  color: rgba(255, 255, 255, 0.92);
}

.fleet-roof-tent .btn-secondary {
  margin-top: 0.25rem;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.fleet-roof-tent .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

/* No torn-paper edges above/below this band */
.fleet-roof-tent::before {
  display: none;
  content: none;
}

.fleet-roof-tent + .svc-block::before {
  display: none;
  content: none;
}

.fleet-roof-tent .svc-img {
  height: auto;
  min-height: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}

.fleet-roof-tent .svc-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(420px, 50vh);
  object-fit: contain;
  object-position: center bottom;
  filter: none;
  box-shadow: none;
}

.fleet-roof-tent .svc-img:hover img {
  transform: none;
}

/* Destinations */
.fleet-destinations {
  background: var(--cream);
  padding: clamp(60px, 8vw, 100px) 0;
}

.fleet-supported.about-story.fleet-destinations {
  padding-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.fleet-destinations--map-lead {
  padding-top: 0;
}

.fleet-dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fleet-dest-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 32px rgba(59, 40, 29, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
  min-height: 100%;
}

.fleet-dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(59, 40, 29, 0.12);
}

.fleet-dest-card--accent {
  background: linear-gradient(145deg, #2a2a30 0%, #1e1e22 100%);
  color: #f0ece4;
}

.fleet-dest-card--accent .fleet-dest-tag {
  background: rgba(196, 147, 60, 0.25);
  color: #f5d9a8;
}

.fleet-dest-card--accent p {
  color: rgba(255, 255, 255, 0.78);
}

.fleet-dest-card--accent .fleet-dest-link {
  color: var(--accent);
}

.fleet-dest-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  background: rgba(196, 147, 60, 0.12);
  color: var(--accent);
  margin-bottom: 1rem;
  width: fit-content;
}

.fleet-dest-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

.fleet-dest-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #6a5140;
  margin: 0 0 1.25rem;
  flex: 1;
}

.fleet-dest-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

/* OpenFreeMap (MapLibre) — Where to go */
.fleet-map-panel {
  margin-top: 0;
}

.fleet-map-panel--full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.fleet-map-panel--full .fleet-journey-map {
  height: clamp(420px, min(72vh, 68vw), 780px);
  border-radius: 0;
  border-left: none;
  border-right: none;
}

@media (max-width: 900px) {
  .fleet-map-panel--full .fleet-journey-map {
    height: clamp(380px, 62vh, 560px);
  }
}

.fleet-map-panel--full .fleet-map-note {
  padding: 0.65rem clamp(20px, 5vw, 80px) 0;
}

.fleet-supported-below-map {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.fleet-support-grid {
  --fleet-support-icon: #4a7c59;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.fleet-support-grid .value-card {
  background: transparent;
  border-radius: 0;
  padding: clamp(1rem, 2vw, 1.5rem) 0.75rem;
  box-shadow: none;
  transition: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fleet-support-grid .value-card:hover {
  transform: none;
  box-shadow: none;
}

.fleet-support-grid .value-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
  color: var(--fleet-support-icon);
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(2.85rem, 5.5vw, 3.65rem);
  padding-top: 2px;
}

.fleet-support-grid .value-icon svg {
  width: clamp(2.75rem, 5.5vw, 3.5rem);
  height: clamp(2.75rem, 5.5vw, 3.5rem);
  stroke: currentColor;
  fill: none;
  overflow: visible;
}

.fleet-support-grid .value-card h3,
.fleet-support-grid .value-card p {
  text-align: center;
  max-width: 22rem;
}

.fleet-map-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.fleet-journey-map {
  width: 100%;
  height: clamp(300px, 40vw, 460px);
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(59, 40, 29, 0.12);
  box-shadow: none;
}

.fleet-map-note {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #8a735f;
}

.fleet-map-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fleet-map-marker {
  display: block;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.fleet-map-marker:hover,
.fleet-map-marker:focus-visible {
  transform: scale(1.15);
  outline: none;
}

.fleet-journey-map .maplibregl-ctrl-group {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid rgba(59, 40, 29, 0.12);
  background: var(--cream);
}

.fleet-journey-map .maplibregl-ctrl-group button {
  width: 34px;
  height: 34px;
}

.fleet-journey-map .maplibregl-ctrl-group button + button {
  border-top: 1px solid rgba(59, 40, 29, 0.08);
}

.fleet-journey-map .maplibregl-ctrl-attrib,
.fleet-journey-map .maplibregl-ctrl-attrib-button {
  display: none !important;
}

.maplibregl-popup.fleet-map-popup .maplibregl-popup-content {
  font-family: var(--font-sans);
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: none;
  border: 1px solid rgba(59, 40, 29, 0.12);
  background: var(--bg-card);
}

.fleet-map-popup-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.35rem;
}

.fleet-map-popup-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #6a5140;
}

.maplibregl-popup.fleet-map-popup .maplibregl-popup-close-button {
  font-size: 1.1rem;
  padding: 4px 8px;
  color: #6a5140;
}

.fleet-why-grid {
  grid-template-columns: repeat(6, 1fr);
}

.fleet-why-grid .value-card {
  grid-column: span 2;
}

.fleet-why-grid .value-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.fleet-why-grid .value-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.fleet-showcase-header {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: none;
  width: 100%;
  margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.fleet-showcase-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.8vw + 0.85rem, 3.75rem);
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.1;
  white-space: nowrap;
}

.fleet-faq .faq-answer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.plan-adventure .plan-text p {
  max-width: 36rem;
  margin: 0 0 1.25rem;
  line-height: 1.6;
  color: #000;
}

@media (max-width: 768px) {
  .fleet-tour-hero {
    height: 75svh;
    min-height: 420px;
    align-items: center;
    justify-content: center;
  }

  .fleet-tour-hero .tour-hero-content {
    padding: clamp(88px, 12vh, 110px) clamp(20px, 5vw, 60px) clamp(24px, 4vh, 40px);
  }
}

/* ── Fleet carousel ── */
main > .fleet-showcase:first-child {
  padding-top: calc(84px + clamp(2.5rem, 5vw, 4rem));
}

.fleet-showcase {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: clamp(2.5rem, 5vw, 4rem) 0 0;
  overflow: hidden;
  background-color: #1a1a1e;
  background-image: url('../assets/hero/great-east-flying-safari-card-800.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.fleet-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(22, 22, 28, 0.52);
  pointer-events: none;
}

.fleet-showcase-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
}

.fleet-carousel-wrap {
  position: relative;
  width: 100%;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
}

.fleet-carousel-viewport {
  overflow: visible;
  min-height: 620px;
  padding: 0.5rem 0 1rem;
}

.fleet-carousel-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2.5vw, 2rem);
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fleet-slide {
  flex: 0 0 clamp(280px, 70vw, 520px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  opacity: 0.32;
  transform: scale(0.86);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
  cursor: pointer;
  overflow: visible;
}

.fleet-slide.is-active {
  opacity: 1;
  transform: scale(1);
  cursor: default;
}

.fleet-slide-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow: visible;
}

.fleet-slide-stage {
  position: relative;
  width: 100%;
  min-height: 360px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem 0.5rem 0;
  overflow: visible;
}

.fleet-slide-vehicle {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  max-height: clamp(259px, 53.2vw, 448px);
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(16px) scale(0.88);
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.fleet-slide.is-active .fleet-slide-vehicle {
  transform: translateY(-8px) scale(1.12);
}

.fleet-slide-copy {
  text-align: center;
  max-width: 100%;
  margin: 0.75rem auto 0;
  padding: 0 0.25rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    max-height 0.5s ease,
    margin 0.45s ease;
}

.fleet-slide.is-active .fleet-slide-copy {
  opacity: 1;
  max-height: min(560px, 72vh);
  pointer-events: auto;
}

.fleet-slide-copy .fleet-slide-title {
  margin-top: 0;
}

.fleet-slide-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.fleet-slide-meta {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(196, 147, 60, 0.95);
  margin: 0 0 0.5rem;
}

.fleet-slide-text {
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.85rem;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.fleet-slide-rates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 32rem;
  margin: 0 auto 1rem;
  text-align: center;
  align-items: start;
}

.fleet-rate {
  padding: 0.35rem 0.65rem 0.25rem;
}

.fleet-rate + .fleet-rate {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.fleet-rate-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.fleet-rate-label em {
  display: block;
  font-style: normal;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.58rem;
}

.fleet-rate-amount {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.fleet-rate-amount span {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 0.15rem;
}

.fleet-rates-tab {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0;
}

.fleet-rates-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: clamp(0.9rem, 2vw, 1.1rem) clamp(1.25rem, 5vw, 2.5rem);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: #1e1e22;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.fleet-rates-trigger:hover {
  color: #fff;
  background: #25252a;
}

.fleet-rates-chevron {
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.fleet-rates-tab.is-open .fleet-rates-chevron {
  transform: rotate(180deg);
}

.fleet-rates-drawer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s ease;
}

.fleet-rates-panel {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.35rem, 5vw, 2.5rem);
  text-align: center;
  background: #1e1e22;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.fleet-rates-includes,
.fleet-rates-additional {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 0.85rem;
}

.fleet-rates-extras {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin: 0 0 0.85rem;
  padding: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.88);
}

.fleet-rates-extras strong {
  font-weight: 600;
  color: #fff;
}

.fleet-rates-extras-note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.fleet-rates-download {
  margin: 0;
}

.fleet-rates-pdf-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fleet-rates-pdf-link:hover {
  color: #e8b35a;
}

.fleet-slide-cta {
  display: inline-block;
  text-decoration: none;
  padding: 14px 32px;
}

.fleet-carousel-arrow {
  position: absolute;
  top: clamp(8rem, 24vw, 11.5rem);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  color: #1e1e22;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
  border-radius: 50% !important;
}

.fleet-carousel-arrow svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.fleet-carousel-arrow:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.2);
  color: #000;
}

.fleet-carousel-prev {
  left: calc(50% - clamp(140px, 35vw, 260px) - 1.75rem);
  transform: translate(-100%, -50%);
}

.fleet-carousel-next {
  left: calc(50% + clamp(140px, 35vw, 260px) + 1.75rem);
  right: auto;
  transform: translate(0, -50%);
}

.fleet-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.75rem;
}

.fleet-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  border-radius: 50% !important;
}

.fleet-carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

@media (max-width: 1024px) {
  .fleet-dest-grid {
    grid-template-columns: 1fr;
  }

  .fleet-why-grid {
    grid-template-columns: 1fr;
  }

  .fleet-why-grid .value-card,
  .fleet-why-grid .value-card:nth-child(4),
  .fleet-why-grid .value-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .fleet-carousel-wrap {
    padding: 0 0.5rem;
  }

  .fleet-slide:not(.is-active) {
    opacity: 0.28;
  }

  .fleet-carousel-arrow {
    width: 40px;
    height: 40px;
    top: clamp(6.5rem, 22vw, 9rem);
  }

  .fleet-carousel-prev {
    left: calc(50% - clamp(140px, 35vw, 260px) - 1.25rem);
  }

  .fleet-carousel-next {
    left: calc(50% + clamp(140px, 35vw, 260px) + 1.25rem);
  }

  .fleet-carousel-viewport {
    min-height: 580px;
  }

  .fleet-slide-rates {
    grid-template-columns: 1fr;
    max-width: 14rem;
  }

  .fleet-rate + .fleet-rate {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding-top: 0.65rem;
    margin-top: 0.35rem;
  }

  .fleet-slide {
    flex: 0 0 82vw;
  }

  .fleet-slide-stage {
    min-height: 300px;
  }

  .fleet-slide.is-active .fleet-slide-vehicle {
    transform: translateY(-6px) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fleet-carousel-track,
  .fleet-slide,
  .fleet-slide-vehicle,
  .fleet-slide-copy {
    transition: none;
  }
}
