/* =============================================================
   RODATAYRONA — Agencia de Viajes y Turismo · Santa Marta
   Paleta cálida tropical: arena, sol, mango, coral y atardecer
   caribeño, con un toque de mar Caribe.
   1. Tokens
   ============================================================= */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x     { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y     { syntax: "<percentage>"; inherits: false; initial-value: 40%; }

:root {
  /* Arena */
  --bg:        #fdf5e9;
  --bg-2:      #f8e4c6;
  --paper:     #fffbf5;
  /* Tinta café (cacao) */
  --ink:       #2b160d;
  --ink-soft:  #4a2c1e;
  --ink-mute:  #80604d;
  /* Sol y atardecer */
  --sun:       #ffb627;
  --orange:    #f47c36;
  --coral:     #e0582f;
  --coral-dark:#b8401d;
  --bougainvillea: #c2366b;
  /* Mar Caribe (acento puntual) */
  --sea:       #12938d;
  --sea-dark:  #0a6b68;
  /* Rosa Barbie (tour Barbie Bahías) */
  --pink:      #e0457f;
  --pink-dark: #b3285f;
  --blush:     #fff0ea;
  --blush-2:   #fde0db;
  /* Neón de las chivas rumberas */
  --neon:      #ff5fae;
  /* Noche caribeña */
  --night:     #2a130b;
  --night-2:   #3f1d10;
  --sand-on-dark: #f7e6cc;

  --line:      rgba(43,22,13,0.12);
  --line-soft: rgba(43,22,13,0.07);

  --grad-sun:    linear-gradient(120deg, #ffc247 0%, #f7943a 55%, #f0703a 100%);
  --grad-ribbon: linear-gradient(90deg, #ffb627 0%, #f7893a 45%, #e8603a 100%);
  --shadow-card: 0 1px 0 var(--line-soft), 0 22px 44px -30px rgba(140,55,20,0.5);
  --shadow-warm: 0 40px 80px -30px rgba(224,88,47,0.45), 0 20px 40px -24px rgba(43,22,13,0.35);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --serif:  "Fraunces", Georgia, serif;
  --sans:   "Manrope", "Segoe UI", system-ui, sans-serif;
  --script: "Caveat", "Segoe Print", cursive;

  --nav-h: 76px;
  --container: 1240px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body:has(.nav-toggle-input:checked) { overflow: hidden; }
/* La cinta inclinada y las palmeras sobresalen a propósito: se recortan
   aquí para que nunca aparezca scroll horizontal en móvil. */
html, main { overflow-x: clip; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 {
  text-wrap: balance; line-height: 1.06; letter-spacing: -0.015em;
  font-family: var(--serif); font-weight: 600; color: var(--ink);
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--coral-dark); }
::selection { background: var(--sun); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--bg);
  border-radius: 8px; font-weight: 700; transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 720px) { .container { padding-inline: 2rem; } }

.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;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 800; font-size: .76rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--coral-dark);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad-sun); flex: none;
}
.eyebrow-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #25D366; flex: none;
  box-shadow: 0 0 0 0 rgba(37,211,102,.6);
  animation: eyebrowPulse 2.4s infinite;
}
@keyframes eyebrowPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .eyebrow-dot { animation: none; } }

.script-note {
  display: inline-block; margin-top: .6rem;
  font-family: var(--script); font-weight: 600; font-size: 1.7rem; line-height: 1;
  color: var(--coral); transform: rotate(-3deg);
}

.section { position: relative; padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { max-width: 660px; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-block: .7rem 0; }
.section-sub { color: var(--ink-mute); font-size: 1.05rem; margin-top: 1rem; }

/* Palmeras decorativas (heredan el color del texto) */
.deco-palm, .cta-palm, .footer-palm, .nav-mobile-palm { fill: currentColor; }
.deco-palm {
  position: absolute; pointer-events: none; z-index: 0;
  width: clamp(140px, 18vw, 260px); aspect-ratio: 2 / 3; height: auto;
  color: rgba(224,88,47,0.08);
}
.deco-palm-tours { top: 2rem; right: -2rem; transform: rotate(8deg); }
.section-tours > .container { position: relative; z-index: 1; }

/* =============================================================
   4. Components
   ============================================================= */

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--sans); font-weight: 800; font-size: .95rem; letter-spacing: .005em;
  white-space: nowrap;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .3s var(--ease-out), border-color .3s var(--ease-out), color .3s var(--ease-out);
}
.btn:hover { transform: translateY(-4px); }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

.btn-primary {
  background: var(--grad-sun);
  color: var(--ink);
  box-shadow: 0 12px 26px -12px rgba(224,88,47,0.7), inset 0 -2px 0 rgba(43,22,13,0.12);
}
.btn-primary:hover {
  box-shadow: 0 24px 44px -16px rgba(224,88,47,0.7), 0 8px 16px rgba(43,22,13,0.12), inset 0 -2px 0 rgba(43,22,13,0.12);
}

.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(43,22,13,0.24); }
.btn-ghost:hover { border-color: var(--coral); box-shadow: 0 20px 40px -18px rgba(224,88,47,0.4); }

.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.14); box-shadow: 0 20px 40px -18px rgba(0,0,0,0.35); }

.btn-light {
  background: #fffaf2; color: var(--ink);
  box-shadow: 0 14px 30px -14px rgba(43,22,13,0.55);
}
.btn-light:hover { box-shadow: 0 26px 46px -18px rgba(43,22,13,0.6); }
.btn-light svg { color: #1faa53; }

/* magnetic wrapper */
.has-magnetic { display: inline-flex; position: relative; isolation: isolate; }
.magnetic-inner {
  display: inline-flex; align-items: center; justify-content: center;
  will-change: transform;
  transition: transform .8s var(--ease-soft), box-shadow .45s var(--ease-soft);
}

/* --- Chips --- */
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .42rem .82rem; border-radius: 999px;
  font-family: var(--sans); font-size: .76rem; font-weight: 800; letter-spacing: .01em; line-height: 1.2;
  background: rgba(255,251,245,0.95); color: var(--ink);
}
.chip svg { width: 1.1em; height: 1.1em; flex: none; }
.chip-accent { background: var(--coral-dark); color: #fff; }
.chip-sun { background: var(--sun); color: var(--ink); }
.chip-new { background: var(--pink-dark); color: #fff; }
.chip-neon { background: var(--neon); color: #2a0f1a; box-shadow: 0 0 20px rgba(255,95,174,0.55); }
a.chip-new { transition: transform .3s var(--ease-soft), box-shadow .3s var(--ease-soft); }
a.chip-new:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(179,40,95,0.7); }
.nav-mobile-list .chip-new { vertical-align: middle; margin-left: .35rem; }
.chip-glass {
  background: rgba(43,22,13,0.32); color: #fff;
  border: 1px solid rgba(255,236,210,0.35);
}
@supports (backdrop-filter: blur(8px)) {
  .chip-glass { background: rgba(255,240,220,0.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
}

/* =============================================================
   5. Cursor (desktop only)
   ============================================================= */
.cursor {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  display: none; mix-blend-mode: difference; opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px; background: #fff; border-radius: 50%; }
.cursor-ring {
  width: 34px; height: 34px; margin: -17px; border: 1px solid #fff; border-radius: 50%;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out);
}
.cursor.is-interactive .cursor-ring { width: 52px; height: 52px; margin: -26px; }

/* =============================================================
   6. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: radial-gradient(120% 70% at 50% 110%, #ffd59a 0%, var(--bg) 62%);
  display: grid; place-items: center;
  transition: opacity .8s var(--ease-soft), clip-path 1s var(--ease-soft);
  animation: splashSafety .01s 4.2s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-mark {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(1.9rem, 6vw, 3rem); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.splash-logo {
  width: 68px; height: 68px;
  filter: drop-shadow(0 10px 24px rgba(224,88,47,0.45));
  animation: splashRise 1.1s var(--ease-out) both;
}
@keyframes splashRise { from { transform: translateY(16px) scale(.88); opacity: 0; } to { transform: none; opacity: 1; } }
.splash-mark small {
  font-family: var(--sans); font-style: normal; font-weight: 800;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--coral-dark);
}
.splash-bar { width: 120px; height: 3px; background: var(--line); overflow: hidden; border-radius: 3px; }
.splash-bar::after {
  content: ""; display: block; width: 40%; height: 100%; background: var(--grad-sun);
  animation: splashLoad 1.1s var(--ease-soft) infinite;
}
@keyframes splashLoad { 0% { transform: translateX(-100%);} 100% { transform: translateX(350%);} }

/* =============================================================
   7. Navigation
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  color: #fff;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), color .4s var(--ease-out);
}
.nav.is-scrolled {
  color: var(--ink);
  background: rgba(253,245,233,0.96);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(140,55,20,0.4);
}
@supports (backdrop-filter: blur(12px)) {
  .nav.is-scrolled {
    background: rgba(253,245,233,0.84);
    backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  }
}
/* Con el menú móvil abierto, la barra queda transparente sobre el overlay */
.nav-toggle-input:checked ~ .nav {
  color: var(--sand-on-dark); background: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: inherit; letter-spacing: -.01em; }
.brand-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 6px 14px rgba(224,88,47,0.35)); }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; gap: .14rem; }
.brand small { display: block; font-family: var(--sans); font-weight: 800; font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; opacity: .75; }

.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1000px) { .nav-links { display: flex; } }
.nav-link { position: relative; font-weight: 700; font-size: .92rem; padding-block: .3rem; }
.nav:not(.is-scrolled) .nav-link, .nav:not(.is-scrolled) .brand { text-shadow: 0 1px 12px rgba(43,22,13,0.35); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px;
  background: var(--grad-sun); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-soft);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: .9rem; }
.nav-actions .btn { display: none; padding: .75rem 1.25rem; font-size: .88rem; }
@media (min-width: 720px) { .nav-actions .btn { display: inline-flex; } }

/* Menú móvil — checkbox hack, cero JS requerido */
.nav-toggle-input { position: fixed; top: 0; left: 0; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-toggle-label {
  position: relative; z-index: 2;
  width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
  border-radius: 999px; transition: background-color .3s;
}
.nav-toggle-label:hover { background: rgba(255,255,255,0.14); }
.nav.is-scrolled .nav-toggle-label:hover { background: var(--line-soft); }
.nav-toggle-input:focus-visible ~ .nav .nav-toggle-label { outline: 2px solid var(--sun); outline-offset: 2px; }
@media (min-width: 1000px) { .nav-toggle-label { display: none; } }
.burger, .burger::before, .burger::after {
  width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .35s var(--ease-soft), background-color .2s, top .35s var(--ease-soft);
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.nav-toggle-input:checked ~ .nav .burger { background: transparent; }
.nav-toggle-input:checked ~ .nav .burger::before { top: 0; transform: rotate(45deg); }
.nav-toggle-input:checked ~ .nav .burger::after { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 490; overflow: hidden;
  background:
    radial-gradient(90% 55% at 50% 115%, rgba(244,124,54,0.45), transparent 70%),
    linear-gradient(180deg, var(--night-2), var(--night));
  color: var(--sand-on-dark);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .6s var(--ease-soft), visibility 0s linear .6s;
}
.nav-toggle-input:checked ~ .nav-mobile {
  clip-path: inset(0); visibility: visible;
  transition: clip-path .6s var(--ease-soft), visibility 0s;
}
@media (min-width: 1000px) { .nav-mobile { display: none; } }
.nav-mobile-list { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.nav-mobile-list a:not(.btn) { font-family: var(--serif); font-size: clamp(1.7rem, 7vw, 2.2rem); font-weight: 600; transition: color .3s; }
.nav-mobile-list a:not(.btn):hover { color: var(--sun); }
.nav-mobile .btn { margin-top: 1rem; }
.nav-mobile-palm {
  position: absolute; right: -40px; bottom: -20px; width: 260px; aspect-ratio: 2 / 3; height: auto;
  color: rgba(247,230,204,0.06); pointer-events: none;
}

/* =============================================================
   8. Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate; color: #fff;
  padding-block: calc(var(--nav-h) + 2rem) clamp(5.5rem, 10vw, 7rem);
}
.hero-bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 0;
  transform-origin: 60% 0; transform: scale(1.16);
  animation: ambientZoom 32s ease-in-out infinite;
}
/* Luz de hora dorada sobre la foto */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,176,64,0.6) 0%, rgba(244,124,54,0.25) 45%, rgba(194,54,107,0.35) 100%);
  mix-blend-mode: soft-light;
}
@keyframes ambientZoom {
  0%, 100% { transform: scale(1.16); }
  50%      { transform: scale(1.24) translate3d(-1%,0,0); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 45% at 88% 6%, rgba(255,182,39,0.42), transparent 70%),
    linear-gradient(90deg, rgba(43,22,13,0.5) 0%, rgba(43,22,13,0) 62%),
    linear-gradient(180deg, rgba(43,22,13,0.5) 0%, rgba(43,22,13,0.05) 26%, rgba(110,38,16,0.2) 52%, rgba(60,22,10,0.78) 80%, rgba(43,22,13,0.93) 100%);
}
.hero-content { max-width: 780px; }
.hero-content .eyebrow { color: #ffe3bf; }
.hero-title {
  color: #fff; font-size: clamp(2.5rem, 6.6vw, 4.8rem); line-height: 1.02;
  margin-block: 1rem 1.2rem; text-shadow: 0 2px 30px rgba(43,22,13,0.35);
}
.hero-title em { color: var(--sun); }
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.2rem); color: rgba(255,247,236,0.9); max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; }

/* =============================================================
   9. Marquee — cinta tropical inclinada
   ============================================================= */
.marquee-band {
  position: relative; z-index: 3;
  margin-top: -2.6rem; margin-inline: -3%;
  transform: rotate(-1.8deg);
  background: var(--grad-ribbon);
  padding-block: 1rem;
  box-shadow: 0 18px 40px -18px rgba(194,54,107,0.55);
  overflow: hidden;
}
.marquee { overflow: hidden; position: relative; }
.marquee-track {
  display: inline-flex; gap: 2.2rem; white-space: nowrap; will-change: transform;
  animation: marqueeScroll 40s linear infinite;
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.3rem; color: var(--ink);
}
.marquee-track span.dot { color: #fff; font-style: normal; margin-left: 2.2rem; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =============================================================
   10. Trust strip
   ============================================================= */
.trust-strip {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  padding-block: clamp(3.2rem, 6vw, 4.6rem) 0;
}
@media (min-width: 900px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  display: flex; flex-direction: column; gap: .8rem; align-items: flex-start;
  padding: 1.25rem 1.2rem; background: var(--paper); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
@media (min-width: 600px) { .trust-item { flex-direction: row; gap: .95rem; } }
.trust-icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad-sun); color: var(--ink);
  box-shadow: 0 0 0 5px rgba(255,182,39,0.18);
}
.trust-icon svg { width: 20px; height: 20px; }
.trust-num { display: block; font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.2rem); font-weight: 700; color: var(--ink); line-height: 1; }
.trust-label { display: block; font-size: .84rem; color: var(--ink-mute); font-weight: 600; line-height: 1.35; margin-top: .35rem; }

/* =============================================================
   11. Nosotros — postales
   ============================================================= */
.about { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: 1.05fr .95fr; } }
.about-points { display: grid; gap: .8rem; margin-top: 1.6rem; }
.about-points li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 600; color: var(--ink-soft); }
.about-points svg { width: 22px; height: 22px; color: var(--coral); flex: none; margin-top: .12rem; }
.about-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.about-chips .chip { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.about-chips .chip svg { color: var(--coral); }
.about-chips .chip-accent { background: var(--coral-dark); color: #fff; box-shadow: none; }

.postcards { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1.1 / 1; margin-inline: auto; }
.postcard {
  position: absolute; background: #fffdf8;
  padding: 12px 12px 48px; border-radius: 6px;
  box-shadow: 0 30px 60px -25px rgba(90,35,12,0.5), 0 8px 18px -10px rgba(43,22,13,0.3);
  transition: transform .7s var(--ease-soft);
}
.postcard-main { top: 0; right: 0; width: 82%; transform: rotate(2.5deg); z-index: 2; }
.postcard-back { bottom: 0; left: 0; width: 58%; transform: rotate(-5deg); z-index: 1; }
.postcards:hover .postcard-main { transform: rotate(1deg) translateY(-6px); }
.postcards:hover .postcard-back { transform: rotate(-7deg) translateX(-8px); }
.postcard-photo { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; }
.postcard-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 85% 0;
  transform: scale(1.2); transform-origin: 85% 0;
}
.postcard figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 9px;
  font-family: var(--script); font-weight: 600; font-size: 1.5rem; line-height: 1.1; color: var(--ink-soft);
}
.postcard-stamp {
  position: absolute; top: -20px; right: -12px; z-index: 3;
  width: 88px; padding: 8px 8px 7px; text-align: center;
  background: #fffaf0; border: 2px dashed var(--coral); border-radius: 4px;
  transform: rotate(9deg);
  box-shadow: 0 10px 20px -10px rgba(43,22,13,0.4);
}
.postcard-stamp svg { width: 46px; height: 46px; margin-inline: auto; }
.postcard-stamp span {
  display: block; margin-top: .35rem;
  font-size: .55rem; font-weight: 800; letter-spacing: .14em; line-height: 1.25;
  text-transform: uppercase; color: var(--coral-dark);
}

/* =============================================================
   12. Tours — bento grid
   ============================================================= */
.tours-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 680px) {
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .tours-grid .tour-card:nth-child(1) { grid-column: 1 / -1; }
  .tours-grid .tour-card:nth-child(1) .tour-card-media { min-height: 320px; }
}
@media (min-width: 1000px) {
  .tours-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(390px, auto); }
  .tours-grid .tour-card:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
  .tours-grid .tour-card:nth-child(2) { grid-column: 3; grid-row: 1; }
  .tours-grid .tour-card:nth-child(3) { grid-column: 3; grid-row: 2; }
}

.tour-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-card);
  --rx: 0deg; --ry: 0deg;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .55s var(--ease-soft), box-shadow .55s var(--ease-soft), opacity .8s var(--ease-soft), translate .8s var(--ease-soft);
}
.tour-card.has-tilt:hover { transition-duration: .15s, .55s, .8s, .8s; }
.tour-card:hover { box-shadow: var(--shadow-warm); }
.tour-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }

.tour-card-media { position: relative; flex: 1 1 auto; min-height: 220px; overflow: hidden; }
/* Las fotos vienen de folletos con un sello de texto abajo: el zoom
   anclado arriba lo recorta sin perder la escena. */
.tour-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 0; transform-origin: 50% 0; transform: scale(1.14);
  transition: transform .9s var(--ease-soft), filter .6s;
}
.tour-card:hover .tour-card-img { transform: scale(1.22); filter: saturate(1.12); }
/* Fotos reales (sin sello de folleto): zoom normal desde el centro */
.tour-card-img.img-real { transform: none; transform-origin: 50% 50%; }
.postcard-photo img.img-real { transform: none; transform-origin: 50% 50%; object-position: 50% 50%; }
.tour-card:hover .tour-card-img.img-real { transform: scale(1.08); }
/* Miniatura tipo postal para una segunda foto en la tarjeta */
.tour-card-thumb {
  position: absolute; right: .9rem; bottom: .9rem; z-index: 2;
  width: 28%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 60%;
  border: 4px solid #fff; border-radius: 10px; background: var(--blush-2);
  transform: rotate(4deg);
  box-shadow: 0 14px 28px -12px rgba(43,22,13,0.55);
  transition: transform .5s var(--ease-soft);
}
.tour-card:hover .tour-card-thumb { transform: rotate(0deg) scale(1.05); }
.tour-card-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(160deg, rgba(255,170,60,0.18), transparent 45%),
    linear-gradient(180deg, rgba(43,22,13,0) 55%, rgba(43,22,13,0.4) 100%);
}
.tour-card-tag { position: absolute; top: .9rem; left: .9rem; z-index: 2; box-shadow: 0 6px 16px -6px rgba(43,22,13,0.45); }

.tour-card-body { padding: 1.2rem 1.35rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; background: var(--paper); }
.tour-card:nth-child(1) .tour-card-body { padding: 1.5rem 1.8rem 1.6rem; }
.tour-card-title { font-size: 1.45rem; }
.tour-card:nth-child(1) .tour-card-title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.tour-card-desc { font-size: .93rem; color: var(--ink-mute); line-height: 1.55; }
.tour-card:nth-child(1) .tour-card-desc { font-size: 1rem; max-width: 56ch; }
.tour-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap;
  margin-top: .5rem; padding-top: .8rem; border-top: 1px dashed rgba(43,22,13,0.16);
}
.tour-card-zone { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; color: var(--ink-mute); }
.tour-card-zone svg { width: 15px; height: 15px; color: var(--coral); }
.tour-card-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 800; font-size: .86rem; color: var(--coral-dark); white-space: nowrap;
}
.tour-card-cta svg { width: 1.05em; height: 1.05em; transition: transform .35s var(--ease-out); }
.tour-card:hover .tour-card-cta svg { transform: translateX(4px); }

/* Recuadro de ayuda: vive dentro de la grilla y ocupa el último espacio */
.tours-help {
  padding: 2rem 1.8rem;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.3rem;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(255,182,39,0.22), transparent 70%),
    var(--paper);
  border: 1.5px dashed rgba(224,88,47,0.45); border-radius: var(--radius-lg);
}
.tours-help p { color: var(--ink-soft); max-width: 36ch; }
.tours-help strong { display: block; margin-bottom: .45rem; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; color: var(--ink); }
@media (min-width: 680px) and (max-width: 999px) { .tours-help { min-height: 320px; } }

.tours-new {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.3rem;
  font-weight: 800; font-size: .92rem; color: var(--pink-dark);
}
.tours-new svg { width: 1.05em; height: 1.05em; transition: transform .35s var(--ease-out); }
.tours-new:hover svg { transform: translateX(4px); }
.tours-new-list { display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; margin-top: 1.3rem; }
.tours-new-list .tours-new { margin-top: 0; }

/* =============================================================
   12b. Tour nuevo — Barbie Bahías
   ============================================================= */
.section-barbie { padding-top: 0; }
.barbie-panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
  background:
    radial-gradient(60% 45% at 100% 0%, rgba(255,182,39,0.28), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(224,69,127,0.14), transparent 70%),
    linear-gradient(160deg, var(--blush) 0%, var(--blush-2) 100%);
  box-shadow: var(--shadow-card);
}
.barbie-palm { top: auto; bottom: -1.5rem; right: -1.5rem; z-index: -1; color: rgba(224,69,127,0.09); transform: rotate(-6deg); }
.section-barbie .section-title em { color: var(--pink-dark); }
.section-barbie .section-title { margin-top: 1rem; }

.barbie-intro { display: grid; gap: clamp(2.2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 960px) { .barbie-intro { grid-template-columns: 1fr 1.1fr; } }
.barbie-includes svg { color: var(--pink); }
.barbie-ctas { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.barbie-boats { position: relative; }
.barbie-boats-photo {
  display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--blush-2);
  box-shadow: 0 30px 60px -30px rgba(179,40,95,0.55);
}
.barbie-boats-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform .9s var(--ease-soft); }
.barbie-boats-photo:hover img { transform: scale(1.05); }
.barbie-boats-list {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem;
  margin-top: -1.9rem; padding-inline: .8rem;
}
.boat {
  display: flex; align-items: center; gap: .7rem;
  padding: .55rem 1.1rem .55rem .55rem; border-radius: 999px;
  background: var(--paper); box-shadow: 0 14px 30px -16px rgba(43,22,13,0.45);
}
.boat-icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
}
.boat-icon svg { width: 22px; height: 22px; }
.boat-name { display: flex; flex-direction: column; line-height: 1.25; font-size: .8rem; font-weight: 700; color: var(--ink-mute); }
.boat-name strong { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; color: var(--ink); }

.barbie-route-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: clamp(3rem, 6vw, 4.5rem) 0 1.8rem; }
.itinerary { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 1100px) { .itinerary { grid-template-columns: 1fr auto 1fr auto 1fr; gap: .8rem; } }

.stop {
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.stop-media { position: relative; aspect-ratio: 4 / 3; }
.stop-photo {
  position: absolute; inset: 0; display: block; overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--blush-2);
}
.stop-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-soft); }
.stop-photo:hover img { transform: scale(1.06); }
.stop-num {
  position: absolute; left: 1.1rem; bottom: -26px; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-sun); color: var(--ink);
  font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.45rem;
  box-shadow: 0 0 0 5px var(--paper);
}
.stop-thumb {
  position: absolute; right: .9rem; bottom: -1.6rem; z-index: 2;
  width: 30%; aspect-ratio: 3 / 4; overflow: hidden;
  border: 4px solid #fff; border-radius: 10px; background: var(--blush-2);
  transform: rotate(4deg);
  box-shadow: 0 14px 28px -12px rgba(43,22,13,0.5);
  transition: transform .4s var(--ease-soft);
}
.stop-thumb:hover { transform: rotate(0deg) scale(1.06); }
.stop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.stop-body { flex: 1; display: flex; flex-direction: column; gap: .45rem; padding: 2.2rem 1.4rem 1.5rem; }
.stop-label { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-dark); }
.stop-title { font-size: 1.55rem; }
.stop-body p { font-size: .93rem; line-height: 1.55; color: var(--ink-mute); }
.stop-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .7rem; }
.stop-tags .chip { background: var(--blush); color: var(--pink-dark); box-shadow: inset 0 0 0 1px rgba(179,40,95,0.2); }

.stop-transfer {
  position: relative; z-index: 0;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding-block: .2rem; text-align: center;
  font-size: .82rem; font-weight: 800; color: var(--pink-dark);
}
.stop-transfer svg {
  flex: none; width: 42px; height: 42px; padding: 9px; border-radius: 50%;
  background: var(--paper); box-shadow: 0 8px 18px -10px rgba(43,22,13,0.4);
}
/* Tablet / laptop pequeño: paradas apiladas, foto a la izquierda */
@media (min-width: 680px) and (max-width: 1099px) {
  .stop { flex-direction: row; }
  .stop-media { flex: 0 0 42%; aspect-ratio: auto; min-height: 270px; }
  .stop-photo { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
  .stop-num { left: auto; right: -26px; bottom: auto; top: 1.3rem; }
  .stop-thumb { right: auto; left: .9rem; bottom: .9rem; width: 32%; }
  .stop-body { padding: 1.6rem 1.7rem 1.6rem 2.8rem; }
}
@media (min-width: 1100px) {
  .stop-transfer { flex-direction: column; align-self: center; width: 96px; }
  .stop-transfer::before {
    content: ""; position: absolute; z-index: -1; top: 21px; left: -.8rem; right: -.8rem;
    border-top: 2px dashed rgba(179,40,95,0.35);
  }
}

.barbie-cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: 1.3rem 1.6rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.6rem;
  background: var(--paper); border: 1.5px dashed rgba(179,40,95,0.35); border-radius: var(--radius-lg);
}
.barbie-cta p { max-width: 60ch; color: var(--ink-soft); }
.barbie-cta strong { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin-right: .25rem; }
@media (max-width: 719px) { .barbie-cta { justify-content: center; text-align: center; } }

/* =============================================================
   12c. Tour nuevo — Chiva Rumbera Nocturna (panel de noche)
   ============================================================= */
.section-chiva { padding-top: 0; }
.chiva-panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem);
  color: rgba(247,230,204,0.82);
  background:
    radial-gradient(55% 45% at 100% 0%, rgba(255,79,163,0.32), transparent 70%),
    radial-gradient(45% 40% at 0% 100%, rgba(255,182,39,0.16), transparent 70%),
    linear-gradient(160deg, #3a1420 0%, var(--night) 70%);
  box-shadow: 0 40px 80px -40px rgba(42,19,11,0.7);
}
.chiva-panel h2, .chiva-panel h3, .chiva-panel h4 { color: #fff7ec; }
.chiva-panel .section-title { margin-top: 1rem; }
.chiva-panel .section-title em { color: var(--neon); }
.chiva-panel .section-sub { color: rgba(247,230,204,0.8); }

.chiva-intro { display: grid; gap: clamp(2.2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 960px) { .chiva-intro { grid-template-columns: 1.05fr 1fr; } }
.chiva-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1.6rem; }
@media (max-width: 420px) { .chiva-facts { grid-template-columns: 1fr; } }
.chiva-facts li {
  display: flex; align-items: center; gap: .7rem;
  padding: .8rem .9rem; border-radius: var(--radius-md);
  background: rgba(255,240,220,0.06); border: 1px solid rgba(255,240,220,0.12);
  font-size: .88rem; line-height: 1.3;
}
.chiva-facts svg {
  flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%;
  color: #2a0f1a; background: var(--neon); box-shadow: 0 0 16px rgba(255,95,174,0.5);
}
.chiva-facts strong { display: block; font-size: 1rem; color: #fff7ec; }

.chiva-photos { position: relative; width: 100%; max-width: 440px; margin: 0 auto; padding-bottom: 2.6rem; }
.chiva-photo-main {
  display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: #1a0b14;
  box-shadow: 0 0 0 1px rgba(255,95,174,0.35), 0 30px 70px -20px rgba(255,79,163,0.5);
}
.chiva-photo-main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform .9s var(--ease-soft); }
.chiva-photo-main:hover img { transform: scale(1.05); }
.chiva-photo-thumb {
  position: absolute; left: -1.2rem; bottom: 0; width: 40%; aspect-ratio: 3 / 4; overflow: hidden;
  border: 5px solid #fff; border-radius: 14px; background: #1a0b14;
  transform: rotate(-5deg); box-shadow: 0 18px 36px -14px rgba(0,0,0,0.65);
  transition: transform .4s var(--ease-soft);
}
.chiva-photo-thumb:hover { transform: rotate(0deg) scale(1.05); }
.chiva-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.chiva-photo-thumb .chip { position: absolute; left: .5rem; bottom: .5rem; font-size: .66rem; padding: .3rem .6rem; }
@media (max-width: 719px) { .chiva-photo-thumb { left: -.3rem; } }

.chiva-route-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: clamp(3rem, 6vw, 4.5rem) 0 1.8rem; }
.route { display: grid; gap: 1.6rem; }
.route-step { position: relative; padding-left: 4.2rem; }
.route-step::before {
  content: ""; position: absolute; left: 1.45rem; top: 3.4rem; bottom: -1.4rem;
  border-left: 2px dashed rgba(255,95,174,0.45);
}
.route-step:last-child::before { display: none; }
.route-dot {
  position: absolute; left: 0; top: 0;
  width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--neon); color: #2a0f1a;
  font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.35rem;
  box-shadow: 0 0 0 6px rgba(255,95,174,0.18), 0 0 24px rgba(255,95,174,0.55);
}
.route-dot svg { width: 22px; height: 22px; }
.route-start .route-dot { background: var(--sun); box-shadow: 0 0 0 6px rgba(255,182,39,0.18), 0 0 24px rgba(255,182,39,0.45); }
.route-label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--neon); }
.route-start .route-label { color: var(--sun); }
.route-step h4 { font-size: 1.35rem; margin: .3rem 0 .35rem; }
.route-step p { font-size: .93rem; line-height: 1.55; color: rgba(247,230,204,0.75); }
@media (min-width: 960px) {
  .route { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
  .route-step { padding-left: 0; padding-top: 4.2rem; }
  .route-step::before { left: 3.6rem; right: -1.2rem; top: 1.45rem; bottom: auto; border-left: 0; border-top: 2px dashed rgba(255,95,174,0.45); }
}

.chiva-options { display: grid; gap: 1rem; margin-top: clamp(2.8rem, 5vw, 3.8rem); }
@media (min-width: 720px) { .chiva-options { grid-template-columns: 1fr 1fr; } }
.chiva-option {
  padding: 1.5rem 1.5rem 1.4rem; border-radius: var(--radius-lg);
  background: rgba(255,240,220,0.06); border: 1px solid rgba(255,95,174,0.3);
}
.chiva-option-icon { width: 40px; height: 40px; color: var(--neon); margin-bottom: .8rem; }
.chiva-option h4 { font-size: 1.3rem; margin-bottom: .4rem; }
.chiva-option p { font-size: .94rem; color: rgba(247,230,204,0.78); }

.chiva-fleet { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 720px) { .chiva-fleet { grid-template-columns: 1fr 1fr; } }
.chiva-fleet a { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-lg); background: #1a0b14; }
.chiva-fleet img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transition: transform .9s var(--ease-soft); }
.chiva-fleet a:hover img { transform: scale(1.05); }
.chiva-fleet-note { grid-column: 1 / -1; text-align: center; font-family: var(--script); font-weight: 600; font-size: 1.5rem; line-height: 1.2; color: var(--sun); }
.chiva-cta { border-color: rgba(255,95,174,0.55); }

/* =============================================================
   13. Olas (divisores)
   ============================================================= */
.wave {
  position: absolute; left: 0; right: 0; z-index: 1;
  height: clamp(28px, 4.5vw, 64px);
  overflow: hidden; pointer-events: none; line-height: 0;
}
.wave svg { width: 200%; max-width: none; height: 100%; fill: currentColor; animation: waveDrift 26s linear infinite; }
.wave-top { top: 1px; transform: translateY(-100%); }
.wave-bottom { bottom: 1px; transform: translateY(100%) rotate(180deg); }
@keyframes waveDrift { to { transform: translateX(-50%); } }

/* =============================================================
   14. Cómo reservar
   ============================================================= */
.steps { background: var(--bg-2); margin-block: clamp(2.5rem, 6vw, 4rem); }
.steps .wave { color: var(--bg-2); }
.steps-list { display: grid; gap: 1.2rem; }
@media (min-width: 860px) { .steps-list { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.step {
  position: relative; background: var(--paper); border-radius: var(--radius-lg);
  padding: 2rem 1.7rem 1.9rem; box-shadow: var(--shadow-card);
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1.2rem;
  background: var(--grad-sun); color: var(--ink);
  font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.55rem;
  box-shadow: 0 0 0 7px rgba(255,182,39,0.2);
}
.step h3 { font-size: 1.4rem; margin-bottom: .55rem; }
.step p { color: var(--ink-mute); font-size: .96rem; }
.step-icon { position: absolute; top: 1.7rem; right: 1.6rem; width: 30px; height: 30px; color: var(--coral); opacity: .5; }

/* =============================================================
   15. Galería mosaico + lightbox
   ============================================================= */
/* Mosaico por columnas: cada foto conserva su forma, sin recortes ni
   huecos, y se pueden agregar o quitar fotos sin recalcular nada.
   Cada <img> lleva width/height para reservar su espacio al cargar. */
.gallery-grid { columns: 2; column-gap: .9rem; }
@media (min-width: 720px) { .gallery-grid { columns: 3; } }
@media (min-width: 1100px) { .gallery-grid { columns: 4; } }
.gallery-item {
  position: relative; display: block; margin: 0 0 .9rem; break-inside: avoid;
  border-radius: var(--radius-md); overflow: hidden; background: var(--bg-2);
}
.gallery-item img {
  display: block; width: 100%; height: auto;
  transition: transform .9s var(--ease-soft);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,22,13,0) 55%, rgba(43,22,13,0.6) 100%);
  transition: background-color .4s;
}
.gallery-item:hover::after { background-color: rgba(224,88,47,0.12); }
.gallery-item-label {
  position: absolute; left: .85rem; bottom: .75rem; z-index: 2;
  font-family: var(--script); font-weight: 600; font-size: 1.35rem; line-height: 1; color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.gallery-item-zoom {
  position: absolute; top: .7rem; right: .7rem; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,251,245,0.92); color: var(--ink);
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease-out);
}
.gallery-item-zoom svg { width: 16px; height: 16px; }
.gallery-item:hover .gallery-item-zoom, .gallery-item:focus-visible .gallery-item-zoom { opacity: 1; transform: none; }

.lightbox {
  border: 0; margin: 0; padding: clamp(1rem, 4vw, 3rem);
  width: 100%; height: 100%; max-width: none; max-height: none;
  background: transparent; color: #fff; overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(30,12,6,0.92); }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; gap: .8rem; max-width: min(1100px, 100%); }
.lightbox-img {
  max-width: 100%; max-height: calc(100vh - 9rem); max-height: calc(100svh - 9rem);
  border-radius: var(--radius-md); box-shadow: 0 30px 80px rgba(0,0,0,0.5); object-fit: contain;
}
.lightbox-caption { font-family: var(--script); font-weight: 600; font-size: 1.8rem; line-height: 1.1; color: var(--sun); text-align: center; }
.lightbox-btn {
  position: fixed; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.9rem; line-height: 1; padding-bottom: .15rem;
  background: rgba(255,250,242,0.12); color: #fff; border: 1px solid rgba(255,250,242,0.28);
  transition: background-color .3s, color .3s;
}
.lightbox-btn:hover { background: var(--sun); color: var(--ink); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 1rem; top: 50%; translate: 0 -50%; }
@media (max-width: 719px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1.2rem; translate: none; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
  .lightbox-img { max-height: calc(100svh - 12rem); }
}

/* =============================================================
   16. FAQ (details/summary nativo — cero JS)
   ============================================================= */
.faq-list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  background: var(--paper); border: 1px solid transparent; border-radius: var(--radius-md);
  padding: .2rem 1.4rem; box-shadow: var(--shadow-card);
  transition: border-color .3s;
}
.faq-item[open] { border-color: rgba(224,88,47,0.35); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.15rem 0;
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--sans); font-size: 1.3rem; font-weight: 600; line-height: 1;
  background: var(--bg-2); color: var(--coral-dark);
  transition: transform .35s var(--ease-soft), background-color .3s, color .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--sun); color: var(--ink); }
.faq-item p { padding-bottom: 1.25rem; color: var(--ink-mute); font-size: .97rem; max-width: 62ch; }

/* =============================================================
   17. CTA final — atardecer caribeño
   ============================================================= */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 3.5rem) clamp(4.5rem, 10vw, 7rem);
  color: #fff; text-align: center;
  background: var(--coral);
  box-shadow: 0 40px 80px -40px rgba(194,54,107,0.6);
}
.cta-band::before {
  content: ""; position: absolute; inset: -20%; z-index: -2;
  background:
    linear-gradient(rgba(60,20,10,0.16), rgba(60,20,10,0.16)),
    radial-gradient(40% 45% at var(--mesh-x) var(--mesh-y), rgba(255,190,70,0.85), transparent 65%),
    conic-gradient(from var(--mesh-angle) at 50% 60%, #f7943a, #e0582f, #c2366b, #8a2846, #e0582f, #f7943a);
  filter: blur(50px) saturate(115%);
  animation: meshShift 26s linear infinite;
}
@keyframes meshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 30%; --mesh-y: 35%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 68%; --mesh-y: 60%; }
  100% { --mesh-angle: 360deg; --mesh-x: 30%; --mesh-y: 35%; }
}
.cta-sun {
  position: absolute; left: 50%; bottom: -170px; z-index: -1;
  width: 340px; height: 340px; margin-left: -170px; border-radius: 50%;
  background: radial-gradient(circle, #ffe7b0 0%, #ffc04a 38%, rgba(255,182,39,0) 70%);
  opacity: .8; pointer-events: none;
}
.cta-palm {
  position: absolute; bottom: -12px; z-index: -1; pointer-events: none;
  width: clamp(90px, 17vw, 220px); aspect-ratio: 2 / 3; height: auto;
  color: rgba(43,14,8,0.55);
}
.cta-palm-left { left: -18px; }
.cta-palm-right { right: -18px; transform: scaleX(-1); }
.cta-band .eyebrow { color: #fff1dc; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 20ch; margin: .8rem auto 0; text-shadow: 0 2px 24px rgba(60,20,10,0.3); }
.cta-band h2 em { color: #ffe08a; }
.cta-band p { color: rgba(255,248,238,0.94); max-width: 52ch; margin: 1rem auto 2rem; font-size: 1.05rem; text-shadow: 0 1px 12px rgba(60,20,10,0.35); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* =============================================================
   18. Footer — noche caribeña
   ============================================================= */
.footer {
  position: relative; background: var(--night); color: rgba(247,230,204,0.75);
  padding-block: clamp(3.5rem, 7vw, 5rem) 5.5rem; /* espacio para el botón flotante */
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.footer .wave { color: var(--night); }
.footer-palm {
  position: absolute; right: 3%; bottom: 0; width: 200px; aspect-ratio: 2 / 3; height: auto;
  color: rgba(247,230,204,0.05); pointer-events: none;
}
.footer > .container { position: relative; z-index: 1; }
.footer-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand { color: var(--sand-on-dark); margin-bottom: .9rem; }
.footer-brand p { font-size: .93rem; max-width: 40ch; }
.footer-col h4 {
  font-family: var(--sans); font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sun); margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a, .footer-col span { font-size: .94rem; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--sun); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(247,230,204,0.14);
  display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; justify-content: space-between;
  font-size: .8rem; color: rgba(247,230,204,0.6);
}

/* =============================================================
   19. Botón flotante de WhatsApp
   ============================================================= */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 400;
  display: flex; align-items: center; gap: .6rem;
  background: #25D366; color: #fff; padding: .85rem 1.1rem; border-radius: 999px;
  box-shadow: 0 14px 34px rgba(37,211,102,0.45);
  font-weight: 800; font-size: .88rem;
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft);
}
.wa-float:hover { transform: translateY(-4px) scale(1.03); }
.wa-float svg { width: 22px; height: 22px; flex: none; }
.wa-float span.wa-label { display: none; }
@media (min-width: 640px) { .wa-float span.wa-label { display: inline; } }

/* =============================================================
   20. Reveal on scroll
   Solo se oculta si hay JS (clase .js en <html>), con red de
   seguridad CSS por si main.js no llega a cargar.
   ============================================================= */
.js [data-reveal] {
  opacity: 0; translate: 0 36px;
  transition: opacity .8s var(--ease-soft), translate .8s var(--ease-soft);
  animation: revealSafety .01s 7s forwards;
}
.js [data-reveal].is-revealed { opacity: 1; translate: 0 0; animation: none; }
@keyframes revealSafety { to { opacity: 1; translate: 0 0; } }
/* Las tarjetas de tours conservan sus transiciones de tilt/sombra */
.js .tour-card[data-reveal] {
  transition: transform .55s var(--ease-soft), box-shadow .55s var(--ease-soft), opacity .8s var(--ease-soft), translate .8s var(--ease-soft);
}
.js .tour-card.has-tilt[data-reveal]:hover { transition-duration: .15s, .55s, .8s, .8s; }

.js [data-reveal-stagger="1"] { transition-delay: .08s; }
.js [data-reveal-stagger="2"] { transition-delay: .16s; }
.js [data-reveal-stagger="3"] { transition-delay: .24s; }
.js .tour-card[data-reveal-stagger="1"] { transition-delay: 0s, 0s, .08s, .08s; }
.js .tour-card[data-reveal-stagger="2"] { transition-delay: 0s, 0s, .16s, .16s; }

/* =============================================================
   21. Reduced motion — SOLO efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .marquee-track { animation-duration: 90s; }
  .wave svg { animation-duration: 60s; }
}

/* =============================================================
   22. Pantallas pequeñas
   ============================================================= */
@media (max-width: 719px) {
  :root { --nav-h: 68px; }
  .hero { min-height: 92vh; min-height: 92svh; }
  .hero-title { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero-ctas .btn { padding: .9rem 1.3rem; }
  .marquee-band { margin-top: -2rem; }
  .marquee-track { font-size: 1.1rem; }
  .postcard { padding: 8px 8px 38px; }
  .postcard figcaption { font-size: 1.2rem; bottom: 7px; left: 12px; }
  .postcard-stamp { width: 70px; top: -14px; right: -4px; }
  .postcard-stamp svg { width: 36px; height: 36px; }
  .tours-help { align-items: center; text-align: center; }
  .tours-help p { max-width: none; }
  .cta-palm { color: rgba(43,14,8,0.35); }
}
