/* Fleet vehicle detail template — scoped; does not alter site chrome or homepage. */
:root {
  --fv-navy: #070C17;
  --fv-ivory: #F9F6F0;
  --fv-gold: #C09751;
  --fv-ink: #1C160F;
  --fv-muted: rgba(28, 22, 15, 0.72);
  --fv-panel: #F3EEE6;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Hero: editorial composition inside the shared content rail ——
   Full-bleed ivory page; photo right-aligned to the SAME container as gallery.
   Soft LEFT fade only; clean straight RIGHT edge (ivory gutter beyond). */
.fv-hero {
  --fv-hero-desktop-h: 31.25rem; /* 500px */
  --fv-hero-tablet-h: 23.75rem;  /* 380px */
  --fv-hero-ink: #0B1220;
  --fv-hero-copy-ink: rgba(28, 22, 15, 0.78);
  /* Same horizontal gutters as .fv-gallery / overview / related */
  --fv-gutter: 1.25rem;
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  background: var(--fv-ivory);
  color: var(--fv-hero-ink);
  overflow: hidden;
  padding: 0 var(--fv-gutter);
  box-sizing: border-box;
}
.fv-hero-rail {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  box-sizing: border-box;
}

/* Mobile / narrow: stacked copy above photograph (within rail) */
.fv-hero-media {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  background: var(--fv-ivory);
  min-height: 0;
}
.fv-hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.fv-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}
.fv-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  padding: 1.45rem 0 1.55rem;
  background: var(--fv-ivory);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.fv-hero-copy .site-breadcrumbs {
  margin: 0 0 0.85rem;
  padding: 0;
  max-width: none;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(28, 22, 15, 0.45);
}
.fv-hero-copy .site-breadcrumbs a,
.fv-hero-copy .site-breadcrumbs [aria-current="page"],
.fv-hero-copy .site-breadcrumbs span {
  color: inherit;
}
.fv-hero-copy .site-breadcrumbs a:hover {
  color: var(--fv-hero-ink);
}
.fv-eyebrow {
  margin: 0 0 0.7rem;
  font-family: var(--font-body, "Montserrat", sans-serif);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fv-gold);
}
.fv-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 7vw, 2.75rem);
  line-height: 1.08;
  color: var(--fv-hero-ink);
  max-width: 6.85em;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  hyphenate-character: "";
}
.fv-hero-rule {
  display: block;
  width: 2.75rem;
  height: 1px;
  margin: 0.85rem 0 1rem;
  background: var(--fv-gold);
  opacity: 0.92;
  flex-shrink: 0;
}
.fv-intro {
  margin: 0 0 1.35rem;
  max-width: 28rem;
  font-family: var(--font-body, "Montserrat", sans-serif);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--fv-hero-copy-ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.fv-hero-cta {
  align-self: flex-start;
  margin-top: 0;
  flex-shrink: 0;
  gap: 0.65rem;
  padding: 0.95rem 1.55rem;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  border-radius: 1px;
}
.fv-hero-cta-arrow {
  display: inline-block;
  font-size: 0.95em;
  line-height: 1;
  transform: translateY(-0.5px);
}

/* Soft LEFT ivory fade only — scoped to the rail (never on the right edge) */
.fv-hero-rail::before {
  content: none;
}

/* Tablet + desktop: photo right-aligned inside the content rail */
@media (min-width: 760px) {
  .fv-hero {
    height: var(--fv-hero-tablet-h);
    min-height: var(--fv-hero-tablet-h);
    max-height: var(--fv-hero-tablet-h);
  }
  .fv-hero-rail {
    height: 100%;
  }
  .fv-hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 0;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    width: auto;
    max-width: 100%;
    pointer-events: none;
    background: transparent;
  }
  .fv-hero-media picture {
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
    position: relative;
  }
  .fv-hero-media img {
    display: block;
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: right center;
    /* Soft LEFT edge only — right edge stays crisp against the ivory gutter */
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.25) 6%,
      rgba(0, 0, 0, 0.7) 14%,
      #000 24%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.25) 6%,
      rgba(0, 0, 0, 0.7) 14%,
      #000 24%
    );
  }
  .fv-hero-rail::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      var(--fv-ivory) 0%,
      var(--fv-ivory) 28%,
      rgba(249, 246, 240, 0.78) 38%,
      rgba(249, 246, 240, 0.32) 48%,
      rgba(249, 246, 240, 0) 58%
    );
  }
  .fv-hero-copy {
    justify-content: center;
    height: 100%;
    width: min(42%, 34rem);
    max-width: 34rem;
    padding: 2rem 0 2.1rem;
    background: transparent;
  }
  .fv-hero-copy .site-breadcrumbs { margin-bottom: 0.95rem; }
  .fv-eyebrow { margin-bottom: 0.75rem; }
  .fv-hero h1 {
    font-size: clamp(2.35rem, 3.4vw, 2.85rem);
    max-width: 6.85em;
  }
  .fv-hero-rule { margin: 0.9rem 0 1.05rem; }
  .fv-intro {
    font-size: 0.9rem;
    line-height: 1.62;
    -webkit-line-clamp: 3;
    max-width: 26rem;
    margin-bottom: 1.4rem;
  }
}

/* Match section gutters from 900px (same as gallery / overview / enquire) */
@media (min-width: 900px) {
  .fv-hero {
    --fv-gutter: clamp(1.75rem, 4.5vw, 5rem);
  }
}

@media (min-width: 1025px) {
  .fv-hero {
    height: var(--fv-hero-desktop-h);
    min-height: var(--fv-hero-desktop-h);
    max-height: var(--fv-hero-desktop-h);
  }
  .fv-hero-media img {
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.22) 5%,
      rgba(0, 0, 0, 0.65) 12%,
      #000 22%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.22) 5%,
      rgba(0, 0, 0, 0.65) 12%,
      #000 22%
    );
  }
  .fv-hero-rail::before {
    background: linear-gradient(
      90deg,
      var(--fv-ivory) 0%,
      var(--fv-ivory) 30%,
      rgba(249, 246, 240, 0.8) 40%,
      rgba(249, 246, 240, 0.34) 50%,
      rgba(249, 246, 240, 0) 60%
    );
  }
  .fv-hero-copy {
    width: min(40%, 36rem);
    max-width: 36rem;
    padding-top: 2.4rem;
    padding-bottom: 2.5rem;
  }
  .fv-hero h1 {
    font-size: clamp(2.85rem, 3.15vw, 3.55rem);
    line-height: 1.06;
    max-width: 6.85em;
  }
  .fv-hero-rule {
    width: 3rem;
    margin: 1rem 0 1.15rem;
  }
  .fv-intro {
    font-size: 0.98rem;
    line-height: 1.68;
    max-width: 28rem;
    margin-bottom: 1.55rem;
  }
  .fv-hero-cta {
    padding: 1.05rem 1.75rem;
  }
}
/* —— BV section divider (exact Services overview treatment) —— */
.bv-section-divider {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
  min-height: 66px;
  padding: 10px clamp(20px, 5vw, 80px);
  background: #070b14;
}
.bv-section-divider__line {
  flex: 1;
  max-width: 650px;
  border-top: 1px solid rgba(201, 163, 93, 0.65);
}
.bv-section-divider img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .bv-section-divider { min-height: 56px; gap: 16px; padding-inline: 20px; }
  .bv-section-divider img { width: 38px; height: 38px; }
}

/* —— Gallery: featured + supporting grid —— */
.fv-gallery {
  background: var(--background, #fff);
  padding: 2rem 1.25rem 0.35rem;
}
.fv-gallery-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.fv-gallery-layout {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}
.fv-gallery-featured {
  position: relative;
  width: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: #0a0e16;
  cursor: zoom-in;
  border-radius: 1px;
  overflow: hidden;
}
.fv-gallery-featured:focus-visible {
  outline: 2px solid var(--fv-gold);
  outline-offset: 3px;
}
.fv-gallery-featured img[data-fleet-main] {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.fv-gallery-hint {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fv-ivory);
  background: rgba(7, 12, 23, 0.55);
  pointer-events: none;
}
.fv-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}
.fv-gallery-thumbs .fleet-thumb {
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1px;
  opacity: 0.92;
}
.fv-gallery-thumbs .fleet-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fv-gallery-thumbs .fleet-thumb.is-active {
  border-color: var(--fv-gold);
  opacity: 1;
}
.fv-gallery-thumbs .fleet-thumb:hover { opacity: 1; }
.fv-gallery-thumbs .fleet-thumb:focus-visible {
  outline: 2px solid var(--fv-gold);
  outline-offset: 2px;
}

@media (min-width: 900px) {
  .fv-gallery {
    padding: 2.85rem clamp(1.75rem, 4.5vw, 5rem) 0.5rem;
  }
  .fv-gallery-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
  }
  .fv-gallery-featured img[data-fleet-main] {
    aspect-ratio: 4 / 3;
    min-height: 0;
    max-height: 32rem;
  }
  .fv-gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    height: auto;
    max-height: 32rem;
    overflow: auto;
    gap: 0.85rem;
    scrollbar-width: thin;
  }
  /* Featured image is already large on the left; supporting set starts at photo 2. */
  .fv-gallery-thumbs .fleet-thumb:first-child {
    display: none;
  }
  .fv-gallery-thumbs .fleet-thumb {
    aspect-ratio: 4 / 3;
    min-height: 0;
    height: auto;
  }
}

/* —— Key features: full-width navy strip (matches header / BV divider #070b14) —— */
.fv-features-row {
  background: #070b14;
  color: var(--fv-ivory);
  padding: 1.55rem 1.25rem 1.65rem;
  border-bottom: none;
}
.fv-features-row-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.fv-feature-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  justify-items: center;
  text-align: center;
}
.fv-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: 9.5rem;
}
.fv-feature-icon {
  width: 2.25rem;  /* 36px */
  height: 2.25rem;
  display: block;
  opacity: 1;
  flex-shrink: 0;
}
.fv-feature-value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fv-ivory);
  line-height: 1;
}
.fv-feature-label {
  font-family: var(--font-body, "Montserrat", sans-serif);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--fv-ivory);
}

@media (min-width: 700px) {
  .fv-feature-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .fv-features-row {
    padding: 1.75rem clamp(1.75rem, 4.5vw, 5rem) 1.85rem;
  }
  .fv-feature-rail {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 1.35rem 1.75rem;
  }
  .fv-feature-item { max-width: 8.5rem; }
  .fv-feature-icon {
    width: 2.25rem;
    height: 2.25rem;
  }
}

/* —— Overview + specs side-by-side —— */
.fv-overview-specs {
  background: var(--fv-ivory);
  padding: 2.5rem 1.25rem 2.75rem;
}
.fv-overview-specs-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
.fv-section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 2.7vw, 2.25rem);
  color: var(--fv-ink);
}
.fv-overview-body {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--fv-muted);
}
.fv-overview-body:last-child { margin-bottom: 0; }
.fv-overview-subhead {
  margin: 1.6rem 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  color: var(--fv-ink);
}
.fv-intro + .fv-intro { margin-top: 0.55rem; }
.fv-specs-panel {
  background: var(--fv-panel);
  padding: 1.5rem 1.35rem 1.6rem;
  border-radius: 1px;
}
.fv-specs-heading {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--fv-ink);
}
.fv-specs-list {
  margin: 0;
  display: grid;
  gap: 0.95rem;
}
.fv-spec-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(28, 22, 15, 0.08);
}
.fv-spec-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.fv-spec-row dt {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fv-gold);
}
.fv-spec-row dt img {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}
.fv-spec-row dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--fv-ink);
  text-align: right;
}

@media (min-width: 900px) {
  .fv-overview-specs {
    padding: 3.4rem clamp(1.75rem, 4.5vw, 5rem) 3.6rem;
  }
  .fv-overview-specs-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
    gap: 3rem;
    align-items: start;
  }
  .fv-specs-panel {
    padding: 1.75rem 1.6rem 1.85rem;
  }
}

/* —— Enquire CTA —— */
.fv-enquire-cta {
  background: var(--fv-navy);
  color: var(--fv-ivory);
  padding: 2.75rem 1.25rem;
}
.fv-enquire-cta-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  align-items: flex-start;
}
.fv-enquire-cta h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.1vw, 2.55rem);
  color: var(--fv-gold);
  line-height: 1.18;
}
.fv-enquire-cta p {
  margin: 0;
  max-width: 36rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(249, 246, 240, 0.78);
}
@media (min-width: 900px) {
  .fv-enquire-cta {
    padding: 3.45rem clamp(1.75rem, 4.5vw, 5rem);
  }
  .fv-enquire-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

/* —— Related —— */
.fv-related {
  padding: 2.75rem 1.25rem 3.25rem;
  background: var(--fv-ivory);
}
.fv-related-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.fv-related-head { margin-bottom: 1.35rem; }
.fv-related-head .eyebrow { margin: 0 0 0.35rem; }
.fv-related-all {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fv-gold);
  text-decoration: none;
}
.fv-related-all:hover { text-decoration: underline; }
.fv-related-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.fv-related-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.fv-related-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #0a0e16;
  margin-bottom: 0.65rem;
}
.fv-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.fv-related-card:hover .fv-related-media img {
  transform: scale(1.03);
}
.fv-related-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fv-ink);
}
.fv-related-pax {
  margin: 0.3rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--fv-muted);
}
.fv-related-pax img {
  width: 0.95rem;
  height: 0.95rem;
  opacity: 0.85;
}
@media (min-width: 700px) {
  .fv-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }
}
@media (min-width: 1000px) {
  .fv-related {
    padding: 3.4rem clamp(1.75rem, 4.5vw, 5rem) 3.8rem;
  }
  .fv-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .fv-related-card h3 { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .fv-related-media img,
  .fv-hero-cta,
  .fv-enquire-btn { transition: none; }
}
