/* =============================================================
   PURA VIDA WHEELS — styles
   Art direction: "Selva Viva" base + route-dash spine + kinetic
   hero. Palette: rainforest greens, mist ivory, toucan orange.
   ============================================================= */

:root {
  /* Backgrounds */
  --bg-mist:        #F5F2E9;
  --bg-jungle:      #0D2B1E;  /* footer */
  --band:           #14503A;  /* day-style dark bands (delivery, CTA) */
  --jungle-contour: #24422E;
  --surface:        #FFFFFF;
  --line-soft:      #DDD5C2;

  /* Ink */
  --ink-strong:     #16261D;
  --ink-soft:       #44544A;
  --ink-inverse:    #EDF3EC;

  /* Brand */
  --brand:          #1E6B4E;
  --brand-deep:     #14503A;

  /* Accents — graphics & display only */
  --route:          #F08A24;
  --route-deep:     #B85E00;  /* display numerals on light bg (≥3:1) */
  --macaw:          #C13A32;
  --sun:            #FFCB57;
  --sun-deep:       #A66A00;  /* stars & gold accents on light bg */

  /* WhatsApp */
  --whatsapp:       #25D366;
  --whatsapp-ink:   #0A3622;
  --whatsapp-hover: #1EBE5D;

  /* Motion */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-tap:     120ms;
  --dur-micro:   200ms;
  --dur-ui:      350ms;
  --dur-reveal:  650ms;

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 24px;
  --shadow: 0 12px 32px rgba(13, 43, 30, .14);
  --shadow-deep: 0 22px 48px rgba(13, 43, 30, .22);

  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-strong);
  background: var(--bg-mist);
  -webkit-font-smoothing: antialiased;
  /* clip (not hidden): forbids Android's canvas expansion from
     edge decorations, so the layout always spans the full screen */
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  color: var(--ink-strong);
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 44px); }
.container-narrow { max-width: 860px; }

.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;
}
.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 100;
  background: var(--bg-jungle); color: var(--ink-inverse);
  font-weight: 800; padding: 12px 20px; border-radius: 0 0 14px 14px;
  transition: top var(--dur-micro) ease;
}
.skip-link:focus-visible { top: 0; }

.eyebrow {
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 14px;
}

/* =================== Buttons =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--dur-micro) var(--ease-out), background var(--dur-micro) ease, color var(--dur-micro) ease, border-color var(--dur-micro) ease;
  position: relative;
}
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: var(--shadow-deep); opacity: 0;
  transition: opacity var(--dur-micro) ease;
  pointer-events: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(.97); transition-duration: var(--dur-tap); }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn-lg { padding: 18px 32px; font-size: 1.08rem; }
.btn-block { width: 100%; }

.btn-wa { background: var(--whatsapp); color: var(--whatsapp-ink); box-shadow: 0 8px 22px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: var(--whatsapp-hover); color: var(--whatsapp-ink); }
.btn-wa .wa-glyph { flex: 0 0 auto; transition: transform var(--dur-micro) var(--ease-spring); }
.btn-wa:hover .wa-glyph { transform: translateX(3px); }

.btn-ghost {
  background: rgba(255, 255, 255, .55);
  color: var(--ink-strong);
  border-color: rgba(22, 38, 29, .4);
}
.btn-ghost:hover { background: var(--ink-strong); color: var(--bg-mist); border-color: var(--ink-strong); }

/* =================== Header =================== */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(245, 242, 233, .88);
  backdrop-filter: blur(10px);
  transition: box-shadow var(--dur-micro) ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(13, 43, 30, .12); }
.header-inner { display: flex; align-items: center; gap: 18px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--line-soft);
}
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--ink-strong); }
.brand-text strong { font-weight: 900; color: var(--brand); }

.main-nav { display: flex; gap: 24px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.main-nav a { color: var(--ink-strong); opacity: .8; position: relative; padding: 4px 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2.5px; width: 100%;
  background: var(--route); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-micro) var(--ease-out);
}
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a.active { opacity: 1; }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.active::after { transform: scaleX(1); }

.lang-picker {
  display: inline-flex; gap: 2px;
  background: rgba(13, 43, 30, .07);
  border: 1.5px solid var(--line-soft);
  padding: 3px; border-radius: 999px;
}
.lang-btn {
  border: none; background: transparent; cursor: pointer;
  font-weight: 800; font-size: .8rem; letter-spacing: .04em;
  color: var(--ink-soft);
  padding: 6px 11px; border-radius: 999px;
  transition: background var(--dur-micro) ease, color var(--dur-micro) ease;
}
.lang-btn:hover, .lang-btn:focus-visible { color: var(--ink-strong); background: rgba(13, 43, 30, .08); }
.lang-btn[aria-current="true"] { background: var(--brand); color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 10px;
}
.nav-toggle span { width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink-strong); transition: transform var(--dur-micro) ease, opacity var(--dur-micro) ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 10px clamp(20px, 5vw, 44px) 22px; background: var(--bg-mist); border-bottom: 1px solid var(--line-soft); }
.mobile-menu[hidden] { display: none; }
@media (min-width: 961px) { .mobile-menu { display: none; } }
.mobile-menu a { padding: 13px 4px; font-weight: 600; color: var(--ink-strong); border-bottom: 1px solid rgba(13, 43, 30, .08); }
.mobile-menu .btn { margin-top: 12px; border-bottom: none; }

/* =================== HERO =================== */
.hero {
  position: relative;
  min-height: max(92vh, 640px);
  background: linear-gradient(#5FB4DC, #A9DCE3);
  overflow: hidden;
  display: flex;
  align-items: center;
  --px: 0; --py: 0; --sy: 0;
}
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(245, 242, 233, .92) 0%, rgba(245, 242, 233, .55) 42%, transparent 68%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 90px; max-width: 720px; margin: 0; margin-left: max(calc((100vw - var(--container)) / 2), 0px); transform: translateY(calc(var(--sy) * 0.18px)); }
.hero .eyebrow { color: var(--brand); }
.hero h1 {
  color: var(--ink-strong);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  margin-bottom: 20px;
  max-width: 13ch;
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); max-width: 540px; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; font-weight: 600; font-size: .95rem; color: var(--ink-strong); }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { color: var(--brand); flex: 0 0 auto; }

/* hero content stagger (after the car arrives) */
.js .hero-item { opacity: 0; transform: translateY(22px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js.loaded .hero-item { opacity: 1; transform: none; }
.js.loaded .hero-item:nth-child(1) { transition-delay: .9s; }
.js.loaded .hero-item:nth-child(2) { transition-delay: 1.05s; }
.js.loaded .hero-item:nth-child(3) { transition-delay: 1.2s; }
.js.loaded .hero-item:nth-child(4) { transition-delay: 1.35s; }
.js.loaded .hero-item:nth-child(5) { transition-delay: 1.5s; }

/* --- scene layer motion --- */
.l-contours { transform: translate3d(calc(var(--px) * 3px), calc(var(--sy) * 0.05px), 0); }
.l-skylife  { transform: translate3d(calc(var(--px) * 5px), calc(var(--sy) * 0.07px), 0); }
.l-coast    { transform: translate3d(calc(var(--px) * 7px), calc(var(--sy) * 0.11px), 0); }
.l-sun      { transform: translate3d(calc(var(--px) * 4px), calc(var(--sy) * 0.06px), 0); }
.l-far      { transform: translate3d(calc(var(--px) * 6px), calc(var(--sy) * 0.1px), 0); }
.l-mist     { transform: translate3d(calc(var(--px) * 8px), calc(var(--sy) * 0.12px), 0); }
.l-mid      { transform: translate3d(calc(var(--px) * 10px), calc(var(--sy) * 0.16px), 0); }
.l-near     { transform: translate3d(calc(var(--px) * 16px), calc(var(--sy) * 0.2px), 0); }
.l-road     { transform: translate3d(calc(var(--px) * 14px), calc(var(--sy) * 0.22px), 0); }
.l-car      { will-change: transform; }
.l-flies    { transform: translate3d(calc(var(--px) * 18px), calc(var(--sy) * 0.25px), 0); }
.l-fronds   { transform: translate3d(calc(var(--px) * 24px), calc(var(--sy) * 0.32px), 0); }

.sun-disc { transform-box: fill-box; transform-origin: center; animation: sun-breathe 6s ease-in-out infinite alternate; }
.sun-rays { transform-box: fill-box; transform-origin: center; animation: rays-spin 150s linear infinite; }
@keyframes sun-breathe { from { transform: scale(1); } to { transform: scale(1.05); } }
@keyframes rays-spin { to { transform: rotate(360deg); } }

.volcano-smoke { animation: smoke-rise 11s ease-out infinite; }
@keyframes smoke-rise {
  0% { transform: translateY(0); opacity: .25; }
  70% { opacity: .12; }
  100% { transform: translateY(-46px); opacity: 0; }
}

.mist-a { animation: mist-drift 26s ease-in-out infinite alternate; }
.mist-b { animation: mist-drift 34s ease-in-out infinite alternate-reverse; }
.mist-c { animation: mist-drift 30s ease-in-out infinite alternate; }
@keyframes mist-drift { from { transform: translateX(-36px); } to { transform: translateX(36px); } }

.road-line { animation: road-flow 20s linear infinite; }
@keyframes road-flow { to { stroke-dashoffset: -640; } }

.route-trail { animation: trail-march 3.2s linear infinite; }
@keyframes trail-march { to { stroke-dashoffset: -104; } }

/* the Prado: drive-in, wheels, dust, idle bob */
.js #hero-car { transform: translateX(-1100px); }
.js.loaded #hero-car { animation: car-drive-in 1.3s cubic-bezier(0.25, 0.8, 0.35, 1) 0.2s forwards; }
.no-js #hero-car, #hero-car.arrived { transform: translateX(0); }
@keyframes car-drive-in { from { transform: translateX(-1100px); } to { transform: translateX(0); } }

.car-wheel { transform-box: fill-box; transform-origin: center; }
.loaded .car-wheel { animation: wheel-spin .325s linear 4; animation-delay: .2s; }
@keyframes wheel-spin { to { transform: rotate(360deg); } }

.car-body-group { transform-box: fill-box; transform-origin: center; }
#hero-car.arrived .car-body-group { animation: car-bob 1.3s ease-in-out infinite alternate; }
@keyframes car-bob { from { transform: translateY(0); } to { transform: translateY(-2px); } }

.car-dust circle { opacity: 0; transform-box: fill-box; transform-origin: center; }
.loaded .car-dust circle { animation: dust-puff .7s ease-out 1.4s; }
@keyframes dust-puff {
  0% { opacity: 0; transform: scale(.4); }
  25% { opacity: .55; }
  100% { opacity: 0; transform: scale(1.5) translateX(-14px); }
}

.frond { transform-box: fill-box; animation: frond-sway 6.5s ease-in-out infinite alternate; }
.frond-left { transform-origin: bottom left; }
.frond-right { transform-origin: top right; animation-duration: 5.6s; animation-delay: -2.4s; }
@keyframes frond-sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }

.toucan-head { transform-box: fill-box; transform-origin: 80% 80%; animation: toucan-tilt 8s ease-in-out infinite; }
@keyframes toucan-tilt {
  0%, 86%, 100% { transform: rotate(0deg); }
  90%, 96% { transform: rotate(-9deg); }
}

/* butterflies: wings flap fast, bodies drift slowly */
.bfly { transform-box: fill-box; transform-origin: center; animation: bfly-drift 7s ease-in-out infinite alternate; }
.b2 { animation-duration: 8.5s; animation-delay: -3s; }
.b3 { animation-duration: 6s; animation-delay: -1.5s; }
@keyframes bfly-drift {
  from { translate: 0 0; }
  50% { translate: 14px -18px; }
  to { translate: -10px -6px; }
}
.bwings { transform-box: fill-box; transform-origin: center; animation: bfly-flap .45s ease-in-out infinite alternate; }
@keyframes bfly-flap { from { transform: scaleX(1); } to { transform: scaleX(.4); } }

/* sky + sea life */
.cloud { transform-box: fill-box; animation: cloud-drift 46s ease-in-out infinite alternate; }
.cloud-b { animation-duration: 58s; animation-delay: -20s; }
@keyframes cloud-drift { from { transform: translateX(-26px); } to { transform: translateX(30px); } }

.mote { transform-box: fill-box; animation: mote-float 6s ease-in-out infinite alternate; }
.m2 { animation-duration: 7.5s; animation-delay: -2s; }
.m3 { animation-duration: 5.5s; animation-delay: -1s; }
.m4 { animation-duration: 8s; animation-delay: -3.4s; }
.m5 { animation-duration: 6.8s; animation-delay: -2.6s; }
@keyframes mote-float {
  from { transform: translateY(0); opacity: .7; }
  to { transform: translateY(-14px); opacity: .25; }
}

.waterfall { animation: waterfall-flow 1.6s linear infinite; }
@keyframes waterfall-flow { to { stroke-dashoffset: -56; } }

.sailboat { transform-box: fill-box; animation: boat-drift 34s ease-in-out infinite alternate; }
@keyframes boat-drift {
  from { transform: translateX(-24px) rotate(-0.6deg); }
  to { transform: translateX(46px) rotate(0.8deg); }
}

.beach-palm { transform-box: fill-box; transform-origin: bottom center; animation: palm-sway 7.5s ease-in-out infinite alternate; }
@keyframes palm-sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.4deg); } }

.monkey-mini { transform-box: fill-box; transform-origin: top center; animation: monkey-swing 5.5s ease-in-out infinite alternate; }
@keyframes monkey-swing { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }

.heliconia { transform-box: fill-box; transform-origin: bottom center; animation: sloth-doze 9s ease-in-out infinite alternate; }

.gull { transform-box: fill-box; animation: gull-drift 26s linear infinite alternate; }
.gull-b { animation-duration: 32s; animation-delay: -12s; }
@keyframes gull-drift { from { transform: translateX(0); } to { transform: translateX(90px) translateY(-12px); } }
.macaw-fly { transform-box: fill-box; animation: macaw-glide 18s ease-in-out infinite alternate; }
@keyframes macaw-glide { from { transform: translate(0, 0); } to { transform: translate(60px, -16px); } }
.dolphin { transform-box: fill-box; transform-origin: center; animation: dolphin-bob 9s ease-in-out infinite; }
@keyframes dolphin-bob {
  0%, 55%, 100% { transform: translateY(26px); opacity: 0; }
  65%, 90% { transform: translateY(0); opacity: 1; }
}
.sloth-mini { transform-box: fill-box; transform-origin: center; animation: sloth-doze 8s ease-in-out infinite alternate; }
@keyframes sloth-doze { from { transform: rotate(-1deg); } to { transform: rotate(1.5deg); } }

/* =================== Sections =================== */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; overflow-x: clip; }
section[id] { scroll-margin-top: 84px; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--band); color: var(--ink-inverse); }
.section-dark h2, .section-dark h3 { color: var(--ink-inverse); }
.section-dark .eyebrow { color: var(--sun); }
.section-dark .section-sub { color: rgba(237, 243, 236, .8); }

.section-head { max-width: 700px; margin: 0 auto clamp(40px, 6vw, 60px); text-align: center; position: relative; }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: 14px; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }

/* waypoints — the route spine */
.waypoint {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin: 0 auto 20px;
  border-radius: 50%;
  border: 2.5px dashed var(--route);
  color: var(--route-deep);
  font-weight: 800; font-size: 1.15rem;
  position: relative;
  background: transparent;
  transition: background var(--dur-ui) var(--ease-spring), color var(--dur-ui) ease, transform var(--dur-ui) var(--ease-spring);
}
.waypoint::before {
  content: ""; position: absolute; bottom: calc(100% + 6px); left: 50%;
  width: 0; height: 54px;
  border-left: 3px dashed var(--route);
  opacity: .55;
}
.waypoint.lit { background: var(--route); color: var(--bg-jungle); transform: scale(1.08); border-style: solid; }

.contours-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .6; }
.section .container { position: relative; z-index: 2; }

/* --- scroll-in decor pieces at the section edges --- */
.decor { position: absolute; z-index: 1; pointer-events: none; user-select: none; }
.decor-left { left: -18px; }
.decor-right { right: -18px; }
.decor-bottom { bottom: 36px; }
.decor-hang { top: -6px; }
.decor-mid { top: 38%; }
@media (max-width: 1280px) {
  .decor { width: 128px; height: auto; }
  .decor-left { left: -42px; }
  .decor-right { right: -42px; }
}
@media (max-width: 760px) {
  .decor { width: 92px; }
  .decor-left { left: -30px; }
  .decor-right { right: -30px; }
}

/* =================== Fleet (3-up carousel) =================== */
.fleet-carousel { position: relative; }
.fleet-track {
  display: flex; flex-wrap: nowrap; gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  padding: 8px 4px 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.fleet-track::-webkit-scrollbar { display: none; }
/* cards live in a scroller — per-card reveals would show blank cards
   mid-scroll, so they are always visible; the section reveals as one unit */
.js .fleet-track [data-reveal] { opacity: 1; transform: none; transition-delay: 0ms; }

.fleet-arrow {
  position: absolute; top: 34%; z-index: 5;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--brand-deep);
  border: 1.5px solid var(--line-soft);
  cursor: pointer; box-shadow: var(--shadow);
  transition: background var(--dur-micro) ease, color var(--dur-micro) ease, transform var(--dur-micro) var(--ease-out), opacity var(--dur-micro) ease;
}
.fleet-arrow:hover, .fleet-arrow:focus-visible { background: var(--brand); color: #fff; transform: scale(1.07); }
.fleet-arrow[disabled] { opacity: .3; pointer-events: none; }
.fleet-arrow-prev { left: -16px; }
.fleet-arrow-next { right: -16px; }
/* vertically centered on the track, not floating near the top */
.fleet-arrow { top: 50%; margin-top: -26px; }

.car-card {
  position: relative;
  flex: 0 0 calc((100% - 56px) / 3);
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  border: 1.5px solid rgba(13, 43, 30, .06);
  box-shadow: var(--shadow);
  transition: transform 280ms var(--ease-out);
}
.car-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: var(--shadow-deep); opacity: 0;
  transition: opacity 280ms ease; pointer-events: none;
}
.car-card::before {
  content: ""; position: absolute; inset: 6px; border-radius: 18px;
  border: 2.5px dashed var(--route); opacity: 0;
  transition: opacity 280ms ease; pointer-events: none; z-index: 2;
}
.car-card:hover { transform: translateY(-6px); }
.car-card:hover::after { opacity: 1; }
.car-card:hover::before { opacity: .8; }

.car-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; color: #fff;
  box-shadow: 0 4px 12px rgba(13, 43, 30, .25);
}
.car-badge-popular { background: var(--macaw); }
.car-badge-newest { background: var(--brand); }

.car-photo {
  position: relative;
  background: linear-gradient(150deg, #FBF9F2 0%, #E4EBDD 70%, #CDDCC6 100%);
  padding: 26px 22px 14px;
  overflow: hidden;
}
.car-gallery-btn {
  position: absolute; right: 12px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .92); color: var(--brand-deep);
  border: 1.5px solid var(--line-soft); border-radius: 999px;
  font-weight: 800; font-size: .78rem;
  padding: 7px 12px; cursor: pointer;
  box-shadow: 0 4px 12px rgba(13, 43, 30, .12);
  transition: background var(--dur-micro) ease, color var(--dur-micro) ease, transform var(--dur-micro) var(--ease-out);
}
.car-gallery-btn:hover, .car-gallery-btn:focus-visible { background: var(--brand); color: #fff; transform: translateY(-2px); }

/* real photos exist: thumbnail-led, impossible to miss */
.car-gallery-real {
  right: 10px; bottom: 8px;
  padding: 5px 14px 5px 5px;
  gap: 9px;
  font-size: .82rem;
  background: var(--surface);
  border: 2px solid var(--route);
  box-shadow: 0 6px 18px rgba(13, 43, 30, .22);
  animation: gal-nudge 6s ease-in-out infinite;
}
.car-gallery-real:hover, .car-gallery-real:focus-visible { border-color: var(--brand); animation-play-state: paused; }
.gal-thumb {
  width: 30px; height: 30px; border-radius: 50%;
  background-size: cover; background-position: center;
  border: 2px solid var(--sun);
  flex: 0 0 auto;
}
@keyframes gal-nudge {
  0%, 86%, 100% { transform: rotate(0); }
  88%, 92%, 96% { transform: rotate(-2.5deg); }
  90%, 94% { transform: rotate(2.5deg); }
}
.car-photo img { width: 100%; height: auto; transition: transform 500ms var(--ease-out); }
.car-card:hover .car-photo img { transform: scale(1.06) rotate(.75deg); }

.car-body { padding: 20px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.car-tagline { margin: 0 0 4px; font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.car-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.car-prices { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.price-tag {
  display: inline-flex; align-items: baseline; gap: 5px;
  background: #FFF3D6; color: #7A5A12;
  border-radius: 12px; padding: 7px 12px;
  font-size: .8rem; font-weight: 600;
  transition: transform 250ms var(--ease-spring);
}
.price-tag strong { font-family: var(--font-head); font-weight: 900; font-size: 1.35rem; color: var(--route-deep); }
.price-tag-high { background: var(--bg-mist); color: var(--ink-soft); }
.price-tag-high strong { color: var(--ink-strong); }
.car-card:hover .price-tag { transform: scale(1.05); }
.price-ask {
  display: inline-flex; align-items: center;
  background: #E4EFE9; color: var(--brand-deep);
  border-radius: 12px; padding: 10px 14px;
  font-weight: 800; font-size: .92rem;
}
.car-desc { margin: 0 0 16px; color: var(--ink-soft); font-size: .96rem; flex: 1; }
.car-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 20px; }
.chip { font-size: .8rem; font-weight: 600; color: var(--ink-soft); background: var(--bg-mist); padding: 6px 12px; border-radius: 999px; }
.chip-deposit { background: #FFF3D6; color: #7A5A12; }
.chip-rack { background: #E4EFE9; color: var(--brand-deep); }

.fleet-dots { display: flex; justify-content: center; gap: 2px; margin-top: 8px; }
.fleet-dot {
  position: relative;
  width: 44px; height: 44px; border: none; cursor: pointer;
  background: transparent; padding: 0;
}
.fleet-dot::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 999px; background: var(--line-soft);
  transition: transform 250ms var(--ease-out), background 250ms ease;
}
.fleet-dot.active::before { background: var(--route); transform: scaleX(2.6); }
.fleet-dot:focus-visible::before { outline: 2px solid var(--route-deep); outline-offset: 3px; }
.swipe-hint { display: none; text-align: center; color: var(--ink-soft); font-weight: 600; font-size: .88rem; margin: 14px 0 0; }

/* =================== Included features =================== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
/* the brand-green highlight follows the pointer — no card is statically favored */
.feature {
  background: var(--bg-mist);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, background 240ms ease;
}
.feature h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: 8px; transition: color 240ms ease; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .97rem; transition: color 240ms ease; }
.feature-icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--surface); color: var(--brand);
  margin-bottom: 16px; box-shadow: 0 4px 14px rgba(13, 43, 30, .08);
  transition: background 240ms ease, color 240ms ease;
}
.feature:hover, .feature:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--brand); }
.feature:hover h3, .feature:focus-within h3 { color: #fff; }
.feature:hover p, .feature:focus-within p { color: rgba(255, 255, 255, .9); }
.feature:hover .feature-icon, .feature:focus-within .feature-icon { background: rgba(255, 255, 255, .16); color: var(--sun); box-shadow: none; }

/* =================== Delivery (dark) =================== */
.airport-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 820px; margin: 0 auto; }
.airport-card {
  background: rgba(237, 243, 236, .07);
  border: 1.5px solid rgba(237, 243, 236, .16);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 280ms var(--ease-out), background 280ms ease;
}
.airport-card:hover { transform: translateY(-4px); background: rgba(237, 243, 236, .11); }
.airport-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--route); color: var(--bg-jungle); margin-bottom: 16px; }
.airport-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.airport-card p { margin: 0; color: rgba(237, 243, 236, .82); }
.delivery-promise {
  text-align: center; max-width: 620px; margin: 36px auto 0;
  font-weight: 600; font-size: 1.05rem; color: var(--ink-inverse);
}

/* dividers */
.divider { line-height: 0; background: var(--bg-mist); }
.divider svg { width: 100%; height: clamp(36px, 5vw, 70px); }
#included + .divider { background: var(--surface); }

/* =================== How it works =================== */
.steps {
  list-style: none; padding: 0; margin: 0 0 48px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px;
  position: relative;
}
@media (min-width: 880px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before {
    content: ""; position: absolute; top: 26px; left: 16.7%; right: 16.7%;
    border-top: 3px dashed var(--route); opacity: .5;
  }
}
.step { text-align: center; position: relative; padding: 0 10px; }
.step-stop {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--route); color: var(--bg-jungle);
  font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(240, 138, 36, .4);
  position: relative; z-index: 1;
}
.step h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.step p { margin: 0 auto; color: var(--ink-soft); max-width: 300px; }

.requirements {
  max-width: 720px; margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 34px clamp(24px, 5vw, 44px);
  box-shadow: var(--shadow);
  border-top: 5px solid var(--route);
}
.requirements h3 { font-size: 1.4rem; margin-bottom: 8px; }
.req-intro { color: var(--ink-soft); margin: 0 0 18px; }
.req-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.req-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.req-list svg { color: var(--brand); flex: 0 0 auto; background: #E4EFE9; border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.req-deposit { margin: 0; padding: 13px 18px; background: #FFF3D6; color: #7A5A12; border-radius: 14px; font-weight: 600; font-size: .96rem; }

/* =================== Reviews =================== */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review { background: var(--bg-mist); border-radius: var(--radius); padding: 28px 26px; margin: 0; }
.stars { color: var(--sun-deep); letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 12px; }
.review blockquote { margin: 0 0 16px; font-size: 1.02rem; font-style: italic; color: var(--ink-strong); }
.review figcaption { font-weight: 800; font-size: .92rem; color: var(--ink-soft); }

/* =================== FAQ =================== */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  contain: layout;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: none; cursor: pointer;
  text-align: left;
  font-weight: 800; font-size: 1.05rem; color: var(--ink-strong);
  padding: 20px 24px;
}
.faq-chevron { color: var(--route); font-size: 1.2rem; transition: transform var(--dur-ui) var(--ease-spring); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows var(--dur-ui) var(--ease-out), visibility 0s var(--dur-ui);
}
.faq-a p {
  overflow: hidden; margin: 0; padding: 0 24px;
  color: var(--ink-soft);
  opacity: 0; transition: opacity 250ms ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.faq-item.open .faq-a p { opacity: 1; padding-bottom: 22px; transition-delay: 80ms; }

/* =================== CTA =================== */
.cta-section { text-align: center; }
.cta-inner { max-width: 640px; }
.cta-section h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: 14px; }
.cta-section p { font-size: 1.12rem; color: rgba(237, 243, 236, .85); margin: 0 0 28px; }
.cta-fine { font-size: .92rem !important; margin: 18px 0 0 !important; color: rgba(237, 243, 236, .6) !important; }

/* =================== Footer =================== */
.site-footer { background: #081F15; color: rgba(237, 243, 236, .72); padding: 56px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(237, 243, 236, .1); }
.footer-brand .brand-text { font-size: 1.25rem; }
.footer-brand p { margin: 12px 0 0; max-width: 340px; font-size: .95rem; }
.footer-col h3 { font-family: var(--font-body); font-weight: 800; font-size: .95rem; color: var(--ink-inverse); margin: 0 0 14px; text-transform: uppercase; letter-spacing: .05em; }
.footer-col a, .footer-col p { display: block; margin: 0 0 10px; font-size: .95rem; color: rgba(237, 243, 236, .72); }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--sun); }
.footer-bottom { padding-top: 20px; font-size: .86rem; display: flex; justify-content: center; }
.footer-bottom p { margin: 0; }

/* =================== WhatsApp float =================== */
.wa-float {
  position: fixed; right: clamp(16px, 4vw, 28px); bottom: clamp(16px, 4vw, 28px); z-index: 90;
  display: flex; align-items: center; gap: 0;
  background: var(--whatsapp); color: var(--whatsapp-ink);
  border-radius: 999px; padding: 14px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .5);
  transition: transform var(--dur-micro) var(--ease-spring), box-shadow var(--dur-micro) ease;
}
.js .wa-float { transform: scale(0); }
.js.loaded .wa-float { animation: wa-pop 450ms var(--ease-spring) 1.2s forwards; }
@keyframes wa-pop { to { transform: scale(1); } }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 2.5px solid var(--whatsapp);
  animation: wa-radar 8s ease-out infinite 3s;
  opacity: 0; pointer-events: none;
}
@keyframes wa-radar {
  0% { transform: scale(1); opacity: .7; }
  18% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}
/* !important needed: wa-pop's forwards fill pins transform above normal author rules */
.wa-float:hover, .wa-float:focus-visible { transform: scale(1.06) !important; box-shadow: 0 14px 34px rgba(37, 211, 102, .6); }
.wa-float:hover::after { animation-play-state: paused; }
.wa-float-label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-weight: 800; font-size: .95rem;
  transition: max-width var(--dur-ui) var(--ease-out), padding var(--dur-ui) var(--ease-out);
}
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { max-width: 160px; padding: 0 8px 0 4px; }

/* =================== Photo gallery modal =================== */
.gallery-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.gallery-modal[hidden] { display: none; }
.gallery-backdrop { position: absolute; inset: 0; background: rgba(13, 43, 30, .78); backdrop-filter: blur(4px); animation: gal-fade 200ms ease; }
@keyframes gal-fade { from { opacity: 0; } }
.gallery-panel {
  position: relative; z-index: 1;
  width: min(880px, 94vw);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-deep);
  animation: gal-pop 260ms var(--ease-spring);
}
@keyframes gal-pop { from { transform: scale(.92); opacity: 0; } }
.gallery-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-mist); color: var(--ink-strong);
  border: 1.5px solid var(--line-soft); cursor: pointer;
  transition: background var(--dur-micro) ease, color var(--dur-micro) ease;
}
.gallery-close:hover, .gallery-close:focus-visible { background: var(--macaw); color: #fff; }
.gallery-caption { font-size: 1.25rem; font-weight: 700; margin: 0 48px 14px 4px; }
.gallery-stage { position: relative; display: grid; place-items: center; background: var(--bg-mist); border-radius: 16px; min-height: 300px; }
.gallery-img { max-width: 100%; max-height: min(62vh, 520px); border-radius: 12px; object-fit: contain; padding: 12px; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--brand-deep);
  border: 1.5px solid var(--line-soft); cursor: pointer;
  box-shadow: var(--shadow);
  transition: background var(--dur-micro) ease, color var(--dur-micro) ease;
}
.gallery-nav:hover, .gallery-nav:focus-visible { background: var(--brand); color: #fff; }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.gallery-soon { margin: 12px 4px 0; font-size: .9rem; font-weight: 600; color: var(--ink-soft); font-style: italic; }
.gallery-count { margin: 8px 4px 0; font-weight: 800; font-size: .85rem; color: var(--ink-soft); text-align: center; }
@media (max-width: 560px) {
  .gallery-panel { padding: 16px 12px 14px; }
  .gallery-caption { font-size: 1.05rem; }
  .gallery-nav { width: 40px; height: 40px; }
}

/* =================== Reveals =================== */
.js [data-reveal] { opacity: 0; transition: opacity var(--dur-reveal) ease-out, transform var(--dur-reveal) var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal="up"] { transform: translateY(28px); }
.js [data-reveal="left"] { transform: translateX(40px); }
.js [data-reveal="right"] { transform: translateX(-40px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =================== Responsive =================== */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .lang-toggle { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .hero { min-height: 100svh; align-items: flex-end; }
  .hero-content { padding-top: 96px; padding-bottom: 140px; }
  .hero::after { background: linear-gradient(180deg, rgba(245, 242, 233, .94) 0%, rgba(245, 242, 233, .6) 55%, rgba(245, 242, 233, .25) 100%); }

  /* one card at a time on phones; arrows give way to swiping */
  .fleet-track { scroll-padding-inline: 24px; }
  .car-card { flex: 0 0 82%; scroll-snap-align: center; }
  .fleet-arrow { display: none; }
  .swipe-hint { display: block; }

  .footer-inner { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
}

/* =================== Reduced motion =================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero-item { opacity: 1; transform: none; }
  .js #hero-car { transform: translateX(0); }
  .js .wa-float { transform: scale(1); }
  .l-contours, .l-skylife, .l-sun, .l-far, .l-coast, .l-mist, .l-mid, .l-near, .l-road, .l-flies, .l-fronds { transform: none; }
  .hero-content { transform: none; }
  .car-dust circle { opacity: 0 !important; }
  .dolphin { opacity: 0; }
}
