@charset "UTF-8";
/* =================================================================
   Car Rental STX — Main stylesheet (everything except the nav menu)

   Palette
   --emerald   #0B7A4B  key brand green (deeper, more corporate take
                        on the original #008024)
   --ink       #0F2A20  deep forest — dark sections, headings
   --sand      #C9A86A  Caribbean sand — accent, highlights
   --mint      #E7F3EC  light green tint — soft backgrounds
   --paper     #F7F8F5  warm off-white page background
   ================================================================= */

:root {
  --emerald: #0B7A4B;
  --emerald-700: #07573A;
  --emerald-400: #3FC48A;
  --mint: #E7F3EC;
  --mint-2: #D3EADD;
  --ink: #0F2A20;
  --ink-2: #163A2D;
  --text: #1E2C26;
  --muted: #5B6B64;
  --line: #E2E7E3;
  --paper: #F7F8F5;
  --white: #FFFFFF;
  --sand: #C9A86A;
  --sand-soft: #F5EEDF;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 32, .06), 0 4px 14px -6px rgba(15, 42, 32, .12);
  --shadow-lg: 0 30px 60px -28px rgba(15, 42, 32, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px; line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--emerald-700); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1.1em; }
em.accent, .accent { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--emerald); color: #fff; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block; vertical-align: middle; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; }
.section--tight { padding: 88px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--emerald);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: rgba(255, 255, 255, .85); }
.eyebrow--light::before { background: var(--sand); }
.eyebrow--sand { color: var(--sand); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(32px, 4.2vw, 52px); margin: 0; }
.section-lead { font-size: 19px; color: var(--muted); margin: 18px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  font-family: var(--font); font-size: 15.5px; font-weight: 700; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { padding: 17px 30px; font-size: 16.5px; }
.btn--primary { background: var(--emerald); color: #fff; box-shadow: 0 10px 24px -10px rgba(11, 122, 75, .7), inset 0 1px 0 rgba(255,255,255,.16); }
.btn--primary:hover { background: var(--emerald-700); color: #fff; transform: translateY(-2px); }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { color: var(--ink); background: #fff; border-color: #fff; }
.btn--outline { color: var(--ink); border-color: rgba(15, 42, 32, .2); background: transparent; }
.btn--outline:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--sand-soft); color: var(--ink); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none; color: var(--emerald);
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* =================================================================
   Home hero (video)
   ================================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden;
  background: var(--ink);
}
.hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 26, 19, .35) 0%, rgba(8, 26, 19, .05) 30%, rgba(8, 26, 19, .55) 70%, rgba(8, 26, 19, .92) 100%),
    linear-gradient(90deg, rgba(8, 26, 19, .55) 0%, rgba(8, 26, 19, 0) 65%);
}
.hero__content { padding-top: 160px; padding-bottom: 56px; }
.hero__title {
  max-width: 900px; margin: 0 0 24px;
  font-size: clamp(44px, 7.2vw, 96px); font-weight: 700; letter-spacing: -.04em; line-height: 1.0;
  color: #fff;
}
.hero__title .accent { color: #BFE7D2; font-size: 1.04em; }
.hero__lead { max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .86); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__facts {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.fact { display: flex; gap: 16px; align-items: flex-start; padding: 26px 28px 6px 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .22); }
.fact__icon {
  flex-shrink: 0; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  color: var(--sand);
}
.fact__icon .icon { width: 21px; height: 21px; }
.fact__title { display: block; font-weight: 700; font-size: 16px; color: #fff; line-height: 1.35; }
.fact__text { display: block; font-size: 14.5px; color: rgba(255, 255, 255, .7); line-height: 1.5; margin-top: 2px; }

.hero__scroll {
  position: absolute; right: 32px; bottom: 40px;
  writing-mode: vertical-rl; font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6); text-decoration: none;
  display: flex; align-items: center; gap: 12px;
}
.hero__scroll::after { content: ""; width: 1px; height: 54px; background: linear-gradient(rgba(255,255,255,.6), transparent); }

/* =================================================================
   Inner page hero
   ================================================================= */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 520px; display: flex; align-items: flex-end;
  background: var(--ink); color: #fff;
}
.page-hero__media {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 26, 19, .45) 0%, rgba(8, 26, 19, .35) 40%, rgba(8, 26, 19, .9) 100%);
}
.page-hero__inner { padding-top: 160px; padding-bottom: 72px; }
.page-hero__title { font-size: clamp(40px, 6vw, 76px); letter-spacing: -.04em; line-height: 1.02; margin: 0; color: #fff; max-width: 900px; }
.page-hero__title .accent { color: #BFE7D2; }
.page-hero__lead { max-width: 620px; margin: 22px 0 0; font-size: 19px; color: rgba(255, 255, 255, .82); }
@keyframes heroZoom { to { transform: scale(1); } }

/* =================================================================
   Intro
   ================================================================= */
.intro { background: #fff; }
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: start; }
.intro__title { font-size: clamp(34px, 4.4vw, 56px); margin: 0; }
.intro__body { font-size: 18.5px; color: #3A4A43; }
.intro__body p:first-child::first-letter { font-weight: 800; color: var(--emerald); }
.intro__follow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }

/* =================================================================
   Feature cards (former blocks)
   ================================================================= */
.features { background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.feature {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 52px 48px 48px; border-radius: 28px;
  min-height: 420px;
}
.feature--emerald { background: var(--emerald); color: rgba(255, 255, 255, .86); }
.feature--emerald h3 { color: #fff; }
.feature--sand { background: var(--sand-soft); color: #4A4436; }
.feature__icon {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; margin-bottom: 36px;
}
.feature--emerald .feature__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.feature--sand .feature__icon { background: #fff; color: var(--emerald); }
.feature__icon .icon { width: 28px; height: 28px; }
.feature h3 { font-size: clamp(26px, 2.7vw, 36px); max-width: 460px; }
.feature p { font-size: 17.5px; max-width: 480px; }
.feature__cta { margin-top: auto; padding-top: 18px; }
.feature--emerald .btn--white { color: var(--emerald-700); }
.feature__deco { /* faint S-road watermark */
  position: absolute; right: -60px; bottom: -70px; width: 300px; height: 300px; opacity: .1; pointer-events: none;
}
.feature--sand .feature__deco { opacity: .09; }

/* =================================================================
   Fleet
   ================================================================= */
.fleet { background: #fff; }
.fleet__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.fleet__head .section-head { margin-bottom: 0; }
.fleet__controls { display: flex; gap: 10px; }
.round-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.round-btn .icon { width: 22px; height: 22px; }

.fleet-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 72px) / 4));
  gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0;
  padding: 6px 2px 28px;
  scrollbar-width: thin; scrollbar-color: var(--mint-2) transparent;
}
.fleet-track::-webkit-scrollbar { height: 6px; }
.fleet-track::-webkit-scrollbar-thumb { background: var(--mint-2); border-radius: 6px; }
.car-card {
  scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.car-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--mint); }
.car-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.car-card:hover .car-card__img img { transform: scale(1.05); }
.car-card__body { padding: 20px 22px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.car-card__class { display: block; font-weight: 700; color: var(--ink); font-size: 17px; line-height: 1.3; }
.car-card__meta { display: block; font-size: 13.5px; color: var(--muted); }
.car-card__code {
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  color: var(--emerald); background: var(--mint); padding: 5px 9px; border-radius: 6px;
}
.fleet__note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.fleet__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.fleet__cta p { margin: 0; font-size: 19px; font-weight: 600; color: var(--ink); max-width: 640px; line-height: 1.45; }

/* =================================================================
   Scenic routes (editorial)
   ================================================================= */
.routes { background: var(--ink); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.routes .section-title, .routes h3 { color: #fff; }
.routes .eyebrow { color: var(--emerald-400); }
.routes__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: start; }
.routes__media { position: sticky; top: 110px; }
.routes__media figure { margin: 0; }
.routes__media img { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.routes__media figcaption { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .55); }
.routes__media figcaption .icon { color: var(--sand); }
.routes__intro { font-size: 18.5px; margin: 24px 0 48px; }
.route-list { list-style: none; margin: 0; padding: 0; counter-reset: route; }
.route { position: relative; padding: 32px 0 32px 76px; border-top: 1px solid rgba(255, 255, 255, .12); }
.route::before {
  counter-increment: route; content: "0" counter(route);
  position: absolute; left: 0; top: 34px;
  font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--sand);
}
.route h3 { font-size: 24px; margin-bottom: 10px; }
.route p { margin: 0; font-size: 16.5px; }
.routes__outro { margin: 32px 0 30px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 17px; }

/* =================================================================
   Explore cards (columns include)
   ================================================================= */
.explore { background: var(--paper); }
.explore-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.explore-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  background: #fff; border: 1px solid var(--line); color: var(--text);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.explore-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--text); }
.explore-card__img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--mint); }
.explore-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.explore-card:hover .explore-card__img img { transform: scale(1.06); }
.explore-card__body { position: relative; display: block; padding: 22px 24px 26px; }
.explore-card__kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--emerald); margin-bottom: 6px; }
.explore-card__title { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
.explore-card__text { display: block; font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.explore-card__arrow {
  position: absolute; right: 22px; top: 22px;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px;
  background: var(--mint); color: var(--emerald);
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.explore-card__arrow .icon { width: 18px; height: 18px; }
.explore-card:hover .explore-card__arrow { background: var(--emerald); color: #fff; transform: rotate(45deg); }

/* =================================================================
   CTA band (welcome include)
   ================================================================= */
.cta-band { padding: 0 0 120px; background: var(--paper); }
.cta-band__inner {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: end;
  padding: 72px 64px; border-radius: 32px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(63, 196, 138, .28) 0%, rgba(63, 196, 138, 0) 55%),
    linear-gradient(135deg, var(--emerald-700) 0%, var(--ink) 75%);
  color: rgba(255, 255, 255, .78);
}
.cta-band__inner::after { /* road line motif */
  content: ""; position: absolute; left: 64px; right: 64px; top: 0; height: 3px;
  background: repeating-linear-gradient(90deg, var(--sand) 0 26px, transparent 26px 44px); opacity: .55;
}
.cta-band__title { font-size: clamp(30px, 3.6vw, 46px); color: #fff; margin-bottom: 18px; }
.cta-band__text { margin: 0; font-size: 17.5px; max-width: 620px; }
.cta-band__text a { color: #BFE7D2; font-weight: 600; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; justify-self: end; }
.cta-band__actions .btn--primary { background: #fff; color: var(--emerald-700); box-shadow: none; }
.cta-band__actions .btn--primary:hover { background: var(--sand-soft); }

.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; min-width: 46px; padding: 0 14px; border-radius: 999px;
  color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .28);
  transition: background-color .2s, color .2s, border-color .2s;
}
.social-btn .icon { width: 18px; height: 18px; }
.social-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.social-row--dark .social-btn { color: var(--ink); border-color: var(--line); background: #fff; }
.social-row--dark .social-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* =================================================================
   Share
   ================================================================= */
.share { background: #fff; border-top: 1px solid var(--line); }
.share__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.share__title { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.share__title .icon { color: var(--emerald); }
.share__links { display: flex; flex-wrap: wrap; gap: 10px; }
.share-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.share-btn .icon { width: 19px; height: 19px; }
.share-btn:hover { background: var(--emerald); color: #fff; border-color: var(--emerald); transform: translateY(-2px); }

/* =================================================================
   Footer
   ================================================================= */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .66); font-size: 15px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-top: 88px; padding-bottom: 64px; }
.footer-logo img { height: 52px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 340px; line-height: 1.65; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); transition: background-color .2s, color .2s; }
.footer-social a:hover { background: #fff; color: var(--ink); }
.footer-social .icon { width: 17px; height: 17px; }
.footer-heading { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin: 8px 0 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-note { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .55); }
.footer-note .icon { color: var(--emerald-400); }
.footer-coolest { display: inline-block; padding: 14px 18px; background: #fff; border-radius: 14px; margin-bottom: 14px; }
.footer-coolest img { height: 40px; width: auto; }
.footer-network p { font-size: 14px; line-height: 1.55; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 26px; padding-bottom: 30px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px; color: rgba(255, 255, 255, .5);
}
.footer-bottom a { color: rgba(255, 255, 255, .7); }

/* =================================================================
   Content pages
   ================================================================= */
.prose-wrap { background: #fff; }
.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: start; }
.prose { font-size: 18px; color: #34443D; }
.prose > p:first-of-type { font-size: 21px; line-height: 1.6; color: var(--ink); }
.prose h2 { font-size: 30px; margin: 56px 0 20px; }
.aside-card { position: sticky; top: 104px; padding: 32px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.aside-card h3 { font-size: 20px; margin-bottom: 18px; }
.source-list { list-style: none; margin: 0; padding: 0; }
.source-list li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; }
.source-list li:first-child { border-top: 0; padding-top: 0; }
.source-list a { font-weight: 600; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px 0 8px; }
.highlight { padding: 24px; border-radius: 16px; background: var(--mint); }
.highlight .icon { width: 26px; height: 26px; color: var(--emerald); margin-bottom: 14px; }
.highlight strong { display: block; color: var(--ink); font-size: 17px; line-height: 1.3; }
.highlight span { font-size: 14.5px; color: var(--muted); }

/* Gallery */
.gallery-section { background: #fff; }
.photo-grid { columns: 3 320px; column-gap: 20px; }
.photo {
  position: relative; display: block; width: 100%; margin: 0 0 20px; padding: 0; border: 0;
  break-inside: avoid; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--mint);
}
.photo img { width: 100%; transition: transform .7s var(--ease), filter .4s; }
.photo:hover img { transform: scale(1.04); }
.photo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 26, 19, .45)); opacity: 0; transition: opacity .35s;
}
.photo:hover::after { opacity: 1; }
.photo:nth-child(3n+2) img { aspect-ratio: 4 / 5; object-fit: cover; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 64px 24px;
  background: rgba(6, 20, 15, .94);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 12px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer;
}
.lightbox__btn:hover { background: #fff; color: var(--ink); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.6); font-size: 14px; letter-spacing: .1em; }

/* Widgets (Elfsight feeds, CoolestCarib directory) */
.widget-section { background: var(--paper); }
.widget-card { padding: 40px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 240px; }
.widget-card--flush { padding: 28px; }
/* Directory page wrapper. NB: do not use the class "directory-card" here,
   CoolestCarib's include uses it for its own two-column listing rows. */
.directory-wrap {
  width: 100%; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-sm);
}
.directory-wrap__head { padding: 36px 40px 28px; border-bottom: 1px solid var(--line); }
.directory-wrap__head .eyebrow { margin-bottom: 10px; }
.directory-wrap__title { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.directory-wrap__title a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.directory-wrap__title a:hover { color: var(--emerald); }
.directory-wrap__title .icon { width: 24px; height: 24px; color: var(--emerald); }
.directory-wrap__body { width: 100%; }
.directory-wrap__body #Tabs3 { width: 100%; }
/* CoolestCarib's logo/social header uses var(--sand), which here would pick up
   our brand sand (#C9A86A) - force a clean white header instead. */
.directory-wrap__body .CoolestCaribLogo,
.directory-wrap__body .CoolestCaribSocial { background: #fff; text-align: center; justify-content: center; }
.directory-wrap__body .CoolestCaribLogo { padding-top: 32px; }
.directory-wrap__body .CoolestCaribLogo img { margin: 0 auto; }
.directory-wrap__body .CoolestCaribSocial { padding-bottom: 28px; }
.directory-wrap__body .directory-mobile-nav { margin-top: 20px; margin-bottom: 20px; }
@media (max-width: 600px) {
  .directory-wrap { border-radius: 20px; }
  .directory-wrap__head { padding: 26px 22px 20px; }
}
.directory-fallback { text-align: center; padding: 48px 24px 56px; }
.directory-fallback .icon { width: 40px; height: 40px; color: var(--emerald); margin: 0 auto 16px; display: block; }

/* Reservations page */
.booking-panel {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; overflow: hidden;
  border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.booking-panel__copy { padding: 64px 56px; }
.booking-panel__copy h2 { font-size: clamp(30px, 3.4vw, 44px); }
.booking-panel__copy p { font-size: 18px; color: #3A4A43; }
.booking-panel__media { min-height: 420px; background-size: cover; background-position: center; }
.check-list { list-style: none; padding: 0; margin: 26px 0 34px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-weight: 500; color: var(--ink); }
.check-list .icon { color: var(--emerald); margin-top: 4px; }

/* =================================================================
   Reveal on scroll (js/main.js adds .is-in)
   ================================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > .reveal:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger > .reveal:nth-child(4) { transition-delay: .24s; }

.hero-anim { animation: rise 1.1s var(--ease) both; }
.hero-anim--2 { animation-delay: .12s; }
.hero-anim--3 { animation-delay: .24s; }
.hero-anim--4 { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 1100px) {
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prose-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .cta-band__inner { grid-template-columns: 1fr; padding: 56px 44px; }
  .cta-band__actions { justify-self: start; }
  .fleet-track { grid-auto-columns: minmax(280px, calc((100% - 48px) / 3)); }
}

@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .container { padding: 0 22px; }
  .section { padding: 88px 0; }
  .intro__grid, .routes__grid, .feature-grid, .booking-panel { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { gap: 20px; }
  .routes__media { position: static; }
  .routes__media img { aspect-ratio: 16 / 10; }
  .hero__facts { grid-template-columns: 1fr; margin-top: 48px; }
  .fact { padding: 18px 0; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
  .hero__scroll { display: none; }
  .fleet__head { flex-direction: column; align-items: flex-start; }
  .fleet-track { grid-auto-columns: 78%; }
  .highlights { grid-template-columns: 1fr; }
  .booking-panel__copy { padding: 44px 30px; }
  .booking-panel__media { min-height: 260px; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .container { padding: 0 18px; }
  .hero__content { padding-top: 120px; padding-bottom: 32px; }
  .hero__actions .btn { width: 100%; }
  .feature { padding: 36px 26px; min-height: 0; border-radius: 22px; }
  .explore-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .explore-card__body { padding: 16px 16px 18px; }
  .explore-card__title { font-size: 16.5px; }
  .explore-card__text { display: none; }
  .explore-card__arrow { display: none; }
  .cta-band { padding-bottom: 72px; }
  .cta-band__inner { padding: 44px 26px; border-radius: 24px; }
  .cta-band__inner::after { left: 26px; right: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; }
  .page-hero { min-height: 420px; }
  .page-hero__inner { padding-bottom: 48px; }
  .route { padding-left: 58px; }
  .route::before { font-size: 32px; }
  .widget-card { padding: 20px; border-radius: 20px; }
  .share__inner { justify-content: center; text-align: center; }
  .photo-grid { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-anim, .page-hero__media { animation: none; }
  .page-hero__media { transform: none; }
}

/* =================================================================
   Fleet page (fleet.php)
   ================================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.btn--sm { padding: 10px 18px; font-size: 14.5px; }
.btn--sm .icon { width: 16px; height: 16px; }

.fleet-filter {
  position: sticky; top: var(--nav-h-scrolled, 68px); z-index: 50;
  background: rgba(247, 248, 245, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.fleet-filter__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: 16px; }
.chip-row { min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; cursor: pointer;
  font-family: var(--font); font-size: 14.5px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line);
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip span { font-size: 12px; font-weight: 700; min-width: 22px; padding: 2px 7px; border-radius: 999px; background: var(--mint); color: var(--emerald); }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active span { background: rgba(255, 255, 255, .16); color: #fff; }
.fleet-filter__note { display: flex; align-items: center; gap: 8px; margin: 0; flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.fleet-filter__note .icon { color: var(--emerald); }

.fleet-group { padding: 96px 0 24px; background: var(--paper); }
.fleet-group[hidden] { display: none; }
.fleet-group:last-of-type { padding-bottom: 96px; }
.fleet-group__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.fleet-group__text { margin: 0; font-size: 18px; color: var(--muted); max-width: 460px; justify-self: end; }

.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vehicle {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  scroll-margin-top: 160px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.vehicle:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.vehicle:target { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(11, 122, 75, .18), var(--shadow-lg); }
.vehicle__media {
  position: relative; aspect-ratio: 3 / 2; overflow: hidden;
  background: radial-gradient(80% 70% at 50% 60%, #fff 0%, var(--mint) 100%);
}
.vehicle__media img { width: 100%; height: 100%; object-fit: contain; padding: 6% 6% 2%; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.vehicle:hover .vehicle__media img { transform: scale(1.05) translateX(1.5%); }
.vehicle__code, .vehicle__tag {
  position: absolute; top: 16px; z-index: 1;
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 8px;
}
.vehicle__code { left: 16px; background: #fff; color: var(--emerald); box-shadow: var(--shadow-sm); }
.vehicle__tag { right: 16px; background: var(--sand); color: var(--ink); letter-spacing: .06em; }
.vehicle__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.vehicle__class { margin: 0 0 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald); }
.vehicle__model { font-size: 23px; margin: 0 0 10px; }
.vehicle__model span { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.vehicle__desc { font-size: 15.5px; line-height: 1.6; color: #44544D; margin-bottom: 20px; }
.specs { list-style: none; margin: 0 0 22px; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.specs li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 8px; background: var(--paper);
  font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.2;
}
.specs .icon { width: 15px; height: 15px; color: var(--emerald); }
.vehicle__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vehicle__ideal { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--muted); }
.vehicle__ideal .icon { width: 16px; height: 16px; color: var(--sand); }

/* Compare table */
.compare { background: #fff; }
.compare-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; }
.compare-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 15.5px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.compare-table thead th { background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.compare-table tbody th { font-weight: 700; color: var(--ink); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: var(--paper); }
.compare-code { display: inline-block; min-width: 54px; margin-right: 8px; font-size: 11.5px; letter-spacing: .1em; color: var(--emerald); background: var(--mint); padding: 4px 8px; border-radius: 6px; text-align: center; }
.compare-table .yes { color: var(--emerald); }
.compare-table .link-arrow { font-size: 14.5px; }

/* Slogan band */
.fleet-slogan { background: #fff; padding-bottom: 96px; }
.fleet-slogan__inner {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
  padding: 64px; border-radius: 32px;
  background: linear-gradient(rgba(8, 26, 19, .72), rgba(8, 26, 19, .82)), url('../images/home/scenic-route-st-croix-usvi.jpg') center / cover;
}
.fleet-slogan__title { margin: 0; color: #fff; font-size: clamp(32px, 4vw, 52px); max-width: 640px; }
.fleet-slogan__title .accent { color: #BFE7D2; }
.fleet-slogan__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Good to know */
.good-to-know { background: var(--paper); }
.gtk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gtk { padding: 34px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.gtk > .icon { width: 30px; height: 30px; color: var(--emerald); margin-bottom: 20px; }
.gtk h3 { font-size: 20px; margin-bottom: 10px; }
.gtk p { margin: 0; font-size: 15.5px; color: var(--muted); }

@media (max-width: 1100px) {
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .fleet-group { padding-top: 72px; }
  .fleet-group__head { grid-template-columns: 1fr; gap: 14px; }
  .fleet-group__text { justify-self: start; }
  .gtk-grid { grid-template-columns: 1fr; }
  .fleet-filter__note { display: none; }
  .fleet-slogan__inner { padding: 44px 28px; }
}
@media (max-width: 640px) {
  .fleet-filter { top: var(--nav-h-scrolled, 62px); }
  .vehicle-grid { grid-template-columns: 1fr; gap: 18px; }
  .vehicle__body { padding: 20px 20px 22px; }
}

a.car-card { display: block; text-decoration: none; color: inherit; }
.car-card__img { background: radial-gradient(80% 70% at 50% 60%, #fff 0%, var(--mint) 100%); }
.car-card__img img { object-fit: contain; padding: 5%; mix-blend-mode: multiply; }

/* Reservations: single-car showcase */
.booking-panel__media--car {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 48px 40px 72px;
  background: radial-gradient(75% 65% at 50% 55%, #fff 0%, var(--mint) 100%);
}
.booking-panel__media--car img { width: 100%; max-width: 560px; height: auto; mix-blend-mode: multiply; }
.booking-panel__caption {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none;
}
.booking-panel__caption span { font-weight: 500; color: var(--muted); }
.booking-panel__caption .icon { width: 16px; height: 16px; color: var(--emerald); transition: transform .25s var(--ease); }
.booking-panel__caption:hover { color: var(--emerald); }
.booking-panel__caption:hover .icon { transform: translateX(3px); }
@media (max-width: 900px) { .booking-panel__media--car { padding: 32px 24px 70px; min-height: 0; } }
