/* =========================================================
   AMAZONIA EXPERIENCE — estilos
   La web cambia de aspecto según body[data-time] = manana | tarde | noche
   ========================================================= */

/* ---------- Temas por hora del día ---------- */
:root,
body[data-time="manana"] {
  --bg: #f6f1e9; --bg2: #efe7da; --surface: #ffffff; --surface2: #faf6ef;
  --ink: #1d2721; --muted: #5f6b63; --line: rgba(29, 39, 33, .12);
  --accent: #c4694a; --accent-ink: #fff; --green: #1f4d3c; --green-ink: #fff; --gold: #d9a441;
  --chip: #e9efe6; --shadow: 0 18px 50px -20px rgba(40, 50, 30, .35);
  --bgstars: 0;

  --sky1: #3f9ee6; --sky2: #8fcaf0; --sky3: #f6e2c4; --sunglow: rgba(255, 238, 180, .75); --sun: #fff1b0;
  --sea1: #2a8fc4; --sea2: #23b7c7; --shallow: #5fd8cf; --deep1: #1c86b8; --deep2: #0c4c78;
  --sand: #f2deb2; --sand2: #e2c38c; --wet: #d8bd8a; --foam: #ffffff; --far: #6c9db5;
  --hill1: #4f9a4f; --hill2: #3f7f5c; --veg: #2b6b3a; --veg2: #3d8a45; --palm: #2c7b3a; --palm2: #3f9a46;
  --trunk: #8c6a46; --trunk2: #6e5133; --leafrib: #cfe8b0; --field: #b8d77a;
  --road: #3d4148; --road2: #6a6d72; --roadline: #f1c443; --edgeline: #f3f1ea;
  --stone: #b9ab98; --stone2: #8e7f6c; --stonecap: #d2c6b4;
  --car1: #ffffff; --car2: #c9d1db; --carroof: #e9edf2; --carline: rgba(60, 70, 85, .45); --trim: #2b2f36;
  --glass: #1f2a36; --glass2: #4d6a82; --rim: #c9ced6; --rim2: #9aa2ad;
  --bag1: #c9a46b; --bag2: #2f4a6b; --board: #2bc0b4; --rainc: rgba(220, 235, 255, .55);
  --veil: .42; --stars: 0; --moon-o: 0; --sun-o: 1; --clouds: .9; --cloud: #ffffff;
  --beam: 0; --tlg: .15; --ff: 0; --refl: .45; --refl-c: #fff8d2; --rays: .14;
  --sail: #ffffff; --boat: #ffffff; --boatshade: #c9d4dc; --inkscene: #2b3540; --starfish: #ff8a3d; --diver: #24384c;
  --reef: #c9b28a; --coral1: #ff7aa2; --coral2: #ff9f43; --coral3: #c86bd8; --weed: #3fae6a;
  --casita: #f08fae; --zinc: #9aa6ae; --door: #2bb3a6; --win: #2b3540; --hlamp: #f5f5f5;
  --dirt: #b07a4f; --dirt2: #7a4e2d; --dust: #e8cfae; --puddle: #8fb8cc; --helmet: #ffffff;
  --buggy: #f06a2a; --atv: #d93636; --rider: #2c3e50; --stripe: #1f4d7a; --marlin: #2b5f9e; --marlin2: #b9d6f2;
  --land: #cfe3a8; --route: #c4694a; --pin: #c4694a;
  --thatch: #c9a063; --thatch2: #9a7440; --lounger: #f4f1ea;
}
body[data-time="tarde"] {
  --bg: #fbefe4; --bg2: #f6e1cf; --surface: #fffaf4; --surface2: #fdf3ea;
  --ink: #2c1d18; --muted: #7a5c50; --line: rgba(60, 30, 20, .12);
  --accent: #d2603a; --green: #2d4a3a; --gold: #e3a13c; --chip: #f6e4d5;
  --shadow: 0 18px 50px -20px rgba(120, 50, 20, .35);
  --bgstars: 0;

  --sky1: #3b3d84; --sky2: #e2788a; --sky3: #ffc47a; --sunglow: rgba(255, 170, 90, .85); --sun: #ffcf7a;
  --sea1: #3a5f8f; --sea2: #b8766e; --shallow: #e0a07a; --deep1: #2b5f8a; --deep2: #1b2e52;
  --sand: #ebbd8c; --sand2: #c98f62; --wet: #b98864; --foam: #ffe4cc; --far: #5c4a7a;
  --hill1: #5d6a3a; --hill2: #4a4a4e; --veg: #33402a; --veg2: #4a5530; --palm: #3b4a2a; --palm2: #536234;
  --trunk: #6a4630; --trunk2: #4a3020; --leafrib: #e8c590; --field: #c9a65a;
  --road: #3f3640; --road2: #8a6a68; --roadline: #ffcf6a; --edgeline: #ffe2c8;
  --stone: #b48a73; --stone2: #7a5546; --stonecap: #d6a88a;
  --car1: #fff1e2; --car2: #d9a589; --carroof: #ffd9b8; --carline: rgba(90, 50, 40, .45); --trim: #2e2628;
  --glass: #2a1f2c; --glass2: #a8607a; --rim: #e2c3ad; --rim2: #a68472;
  --bag1: #c9925b; --bag2: #3a3a5c; --board: #ff9e6e; --rainc: rgba(255, 220, 200, .5);
  --veil: .40; --stars: .15; --moon-o: 0; --sun-o: 1; --clouds: .95; --cloud: #ffb49a;
  --beam: 0; --tlg: .45; --ff: 0; --refl: .9; --refl-c: #ffc27a; --rays: .1;
  --sail: #fff0e2; --boat: #fff0e2; --boatshade: #d6a48c; --inkscene: #3a2a2a; --starfish: #ff6f3d; --diver: #2a2a3c;
  --reef: #b48a6a; --coral1: #ff7a8a; --coral2: #ffa04a; --coral3: #b86bb8; --weed: #6a8a3a;
  --casita: #f08f8f; --zinc: #b0907a; --door: #2a8a86; --win: #ffcf7a; --hlamp: #fff0c8;
  --dirt: #a8683f; --dirt2: #6a3e22; --dust: #f0c49a; --puddle: #e89a7a; --helmet: #fff0e2;
  --buggy: #f0612a; --atv: #d93636; --rider: #3a2a30; --stripe: #6a2a3a; --marlin: #3a4f8a; --marlin2: #f2c4a8;
  --land: #e2c08a; --route: #d2603a; --pin: #d2603a;
  --thatch: #b07a4a; --thatch2: #7a4e2e; --lounger: #ffe6cf;
}
body[data-time="noche"] {
  --bg: #0b1024; --bg2: #10173a; --surface: #141c3c; --surface2: #18224a;
  --ink: #eef1ff; --muted: #a6aed6; --line: rgba(200, 210, 255, .12);
  --accent: #f0c463; --accent-ink: #1a1a2e; --green: #f0c463; --green-ink: #1a1a2e; --gold: #f0c463; --chip: #1d2752;
  --shadow: 0 18px 60px -20px rgba(0, 0, 0, .8);
  --bgstars: 1;

  --sky1: #040818; --sky2: #0e1a44; --sky3: #2c2f66; --sunglow: rgba(255, 220, 160, .0); --sun: #ffe9b0;
  --sea1: #0a1a3a; --sea2: #0e2c50; --shallow: #123a5a; --deep1: #0b2346; --deep2: #040c1e;
  --sand: #4a4a68; --sand2: #34344e; --wet: #3a3c5a; --foam: #9fb0e0; --far: #10163a;
  --hill1: #0f2420; --hill2: #0c1a26; --veg: #08150f; --veg2: #0f2219; --palm: #0d2219; --palm2: #133024;
  --trunk: #241e26; --trunk2: #17131a; --leafrib: #2a4a3a; --field: #1a3324;
  --road: #15171f; --road2: #2a2c3e; --roadline: #c9a84a; --edgeline: #8890b0;
  --stone: #3e3c52; --stone2: #262536; --stonecap: #545270;
  --car1: #cdd6ea; --car2: #6d7896; --carroof: #aeb8d4; --carline: rgba(20, 25, 40, .6); --trim: #10121a;
  --glass: #070a14; --glass2: #2a3658; --rim: #6a738a; --rim2: #4a5266;
  --bag1: #6a5a48; --bag2: #1f2a44; --board: #2a7a8a; --rainc: rgba(180, 200, 255, .45);
  --veil: .35; --stars: 1; --moon-o: 1; --sun-o: 0; --clouds: .35; --cloud: #3a4378;
  --beam: 1; --tlg: 1; --ff: 1; --refl: .5; --refl-c: #e6ebff; --rays: .03;
  --sail: #c8d0e6; --boat: #c8d0e6; --boatshade: #6a7290; --inkscene: #c8d0e6; --starfish: #9a4a3a; --diver: #0a1220;
  --reef: #2a2a3e; --coral1: #8a3a6a; --coral2: #8a5a2a; --coral3: #5a3a7a; --weed: #1a4a3a;
  --casita: #6a3a5a; --zinc: #3a4250; --door: #1a4a4a; --win: #ffd27a; --hlamp: #fff3c0;
  --dirt: #3e2e2a; --dirt2: #2a1e1a; --dust: #4a4458; --puddle: #2a3a6a; --helmet: #c8d0e6;
  --buggy: #8a3a1a; --atv: #7a2020; --rider: #10141e; --stripe: #2a3a6a; --marlin: #1a2f5a; --marlin2: #4a5a8a;
  --land: #233a35; --route: #f0c463; --pin: #f0c463;
  --thatch: #4a4256; --thatch2: #2e2a3a; --lounger: #7a7f9a;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.55;
  transition: background-color .9s ease, color .9s ease; overflow-x: hidden;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

#bgsky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: var(--bgstars); transition: opacity 1.2s ease; }
#app { position: relative; z-index: 1; transform-origin: 50% 50%; will-change: transform, filter; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 18px clamp(16px, 4vw, 48px); color: #fff; transition: background .4s, padding .4s, color .4s, box-shadow .4s, opacity .4s;
}
body.lock .nav { opacity: 0; pointer-events: none; }
.nav.scrolled { background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; box-shadow: 0 6px 30px -18px rgba(0,0,0,.4); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.brand small { display: block; font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-top: -3px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; opacity: .92; transition: background .2s; }
.nav-links a:hover { background: rgba(255,255,255,.16); }
.nav.scrolled .nav-links a:hover { background: var(--chip); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cur-toggle { display: flex; border: 1px solid currentColor; border-radius: 999px; padding: 3px; opacity: .9; }
.cur-toggle button { border: 0; background: none; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.cur-toggle button.on { background: currentColor; }
.cur-toggle button.on span { color: var(--bg); filter: invert(0); }
.nav:not(.scrolled) .cur-toggle button.on span { color: #1d2721; }
.cart-btn { position: relative; display: flex; align-items: center; gap: 8px; border: 0; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: #1d2721; font-size: 12px; display: grid; place-items: center; font-weight: 700; }
.cart-btn.bump { animation: bump .5s ease; }
@keyframes bump { 30% { transform: scale(1.15); } 60% { transform: scale(.95); } }
.menu-btn { display: none; border: 0; background: rgba(255,255,255,.18); color: inherit; width: 42px; height: 42px; border-radius: 12px; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: max(680px, 100svh); color: #fff; isolation: isolate; }
.hero-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero-inner { position: relative; min-height: max(680px, 100svh); display: grid; align-content: center; padding: 120px clamp(20px, 5vw, 72px) 150px; }
.hero h1 {
  margin: 0; font-weight: 700; font-size: clamp(46px, 7.6vw, 118px); line-height: .96; letter-spacing: -.035em;
  color: #fbf6ec; text-shadow: 0 4px 40px rgba(0,0,0,.25); max-width: 9.5ch;
}
.hero p.lead { font-size: clamp(17px, 1.6vw, 22px); max-width: 30ch; margin: 22px 0 30px; color: #fbf6ec; text-shadow: 0 2px 20px rgba(0,0,0,.35); font-weight: 400; }
.eyebrow-hero { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; opacity: .95; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 16px 28px; font-weight: 600; font-size: 17px; text-decoration: none; transition: transform .2s, box-shadow .2s, background .3s; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
body[data-time] .hero .btn-accent { background: #c4694a; color: #fff; }
body[data-time="noche"] .hero .btn-accent { background: #f0c463; color: #1a1a2e; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-dark { background: var(--green); color: var(--green-ink); }
.btn-line { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-block { width: 100%; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Panel de clima + hora + botones mañana/tarde/noche */
.hero-side { position: absolute; top: 96px; right: clamp(16px, 4vw, 48px); display: grid; gap: 14px; justify-items: end; z-index: 2; }
.weather {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; padding: 16px 20px; min-width: 260px;
  border-radius: 22px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 20px 40px -20px rgba(0,0,0,.4);
}
.w-icon { grid-row: span 2; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.22); }
.w-icon .ico { width: 34px; height: 34px; }
.w-temp { font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.w-temp sup { font-size: 16px; font-weight: 600; margin-left: 2px; }
.w-cond { font-size: 14px; opacity: .92; }
.w-row { grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; opacity: .9; margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.25); }
.w-row span { display: inline-flex; align-items: center; gap: 5px; }
.w-clock { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.w-clock b { font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.w-clock small { font-size: 12px; opacity: .85; text-transform: capitalize; }
.w-src { font-size: 11px; opacity: .7; grid-column: 1/-1; }

.tod { display: flex; gap: 14px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tod-btn { display: grid; justify-items: center; gap: 4px; border: 0; background: none; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.tod-btn i { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.45); transition: transform .3s, background .3s, box-shadow .3s; }
.tod-btn i .ico { width: 26px; height: 26px; }
.tod-btn:hover i { transform: translateY(-3px); }
.tod-btn.on i { background: #fff; color: #1d2721; border-color: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.25), 0 10px 30px -6px rgba(0,0,0,.4); }
.tod-btn[data-t="manana"].on i { background: linear-gradient(160deg, #ffe9a8, #ffb35c); }
.tod-btn[data-t="tarde"].on i { background: linear-gradient(160deg, #ffb37a, #e2607a); color: #fff; }
.tod-btn[data-t="noche"].on i { background: linear-gradient(160deg, #3a4a9a, #0b1024); color: #f0c463; border-color: #f0c463; }

/* Barra de búsqueda (como la referencia) */
.searchbar {
  position: relative; z-index: 5; margin: -58px auto 0; width: min(1120px, 100% - 32px);
  display: grid; grid-template-columns: 1.2fr 1.3fr 1fr auto; align-items: center; gap: 0; padding: 12px 12px 12px 8px;
  background: var(--surface); color: var(--ink); border-radius: 26px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.45);
  transition: background .9s, color .9s;
}
.sb-field { display: flex; align-items: center; gap: 14px; padding: 8px 20px; border-right: 1px solid var(--line); min-width: 0; }
.sb-field:nth-child(3) { border-right: 0; }
.sb-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--chip); flex: none; }
.sb-field label { display: block; font-weight: 600; font-size: 15px; }
.sb-field .sb-in { display: flex; gap: 6px; align-items: center; }
.sb-field select, .sb-field input { border: 0; background: none; padding: 0; color: var(--muted); font-size: 14px; outline: none; width: 100%; min-width: 0; }
.sb-field input[type="date"] { width: auto; max-width: 128px; }
.sb-field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
body[data-time="noche"] .sb-field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }
.sb-guests { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.sb-guests button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: none; display: grid; place-items: center; padding: 0; }
.sb-guests .ico { width: 14px; height: 14px; }
.searchbar .btn { padding: 18px 30px; border-radius: 18px; }

/* ---------- Secciones ---------- */
section { position: relative; }
.sec { padding: 110px 0 40px; }
.sec + .sec { padding-top: 90px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .18em; color: var(--accent); font-weight: 700; display: flex; gap: 8px; align-items: center; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -.03em; margin: 10px 0 0; font-weight: 700; }
.sec-head p { max-width: 46ch; color: var(--muted); margin: 0; }

/* Tarjetas con imagen que cambia según la hora */
.tod-stack { position: relative; overflow: hidden; background: var(--bg2); }
.tod-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
body[data-time="manana"] .tod-stack img.t-manana,
body[data-time="tarde"] .tod-stack img.t-tarde,
body[data-time="noche"] .tod-stack img.t-noche { opacity: 1; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative; border-radius: 26px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow);
  cursor: pointer; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, background .9s; outline: none; text-align: left; border: 0; padding: 0; display: block; width: 100%;
}
.card:hover, .card:focus-visible { transform: translateY(-6px); }
.card:focus-visible { box-shadow: 0 0 0 3px var(--accent), var(--shadow); }
.card { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
.card .media { aspect-ratio: 4 / 3; position: relative; flex: none; }
.media > .tod-stack, .wide-card .media > .tod-stack, .custom-band .media > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.custom-band .media { position: relative; }
.card-body { flex: 1; display: flex; flex-direction: column; }
.card-body .price-row { margin-top: auto; }
.card .tag { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover .tod-stack img, .card:hover .scene { transform: scale(1.06); }
.card .scene { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card-body { padding: 20px 22px 22px; }
.card h3 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.card .tag { color: var(--muted); font-size: 14.5px; margin: 4px 0 14px; }
.meta { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--chip); font-size: 13px; font-weight: 500; }
.chip .ico { width: 15px; height: 15px; }
.price-row { display: flex; align-items: end; justify-content: space-between; margin-top: auto; margin-block-start: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.price { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.price small { font-size: 13px; color: var(--muted); font-weight: 400; }
.price .usd { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); transition: transform .3s; }
.card:hover .go { transform: rotate(-45deg); }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.9); color: #1d2721; font-size: 12px; font-weight: 700; letter-spacing: .04em; backdrop-filter: blur(6px); }
.tod-hint { position: absolute; bottom: 12px; right: 12px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.4); color: #fff; font-size: 12px; backdrop-filter: blur(6px); }
.tod-hint .ico { width: 14px; height: 14px; }

/* Espacio compartido */
.wide-card { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 30px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); cursor: pointer; transition: transform .45s cubic-bezier(.2,.8,.2,1), background .9s; border: 0; padding: 0; text-align: left; width: 100%; }
.wide-card:hover { transform: translateY(-5px); }
.wide-card .media { min-height: 380px; }
.wide-card .wc-body { padding: clamp(24px, 4vw, 52px); display: grid; align-content: center; gap: 14px; }
.wide-card h3 { font-size: clamp(26px, 3vw, 38px); margin: 0; letter-spacing: -.02em; }
.wide-card p { color: var(--muted); margin: 0; }

/* Excursiones */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { border: 1.5px solid var(--line); background: transparent; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; transition: background .25s, color .25s, border-color .25s; }
.filter:hover { border-color: var(--accent); }
.filter.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter.special { border-color: var(--accent); color: var(--accent); }
.filter.special.on { background: var(--accent); color: var(--accent-ink); }
.scene { width: 100%; height: 100%; display: block; }
.card .media.scene-wrap { aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg2); }
.card.hide { display: none; }
.card.appear { animation: appear .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes appear { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.card-custom { background: linear-gradient(160deg, var(--surface), var(--surface2)); outline: 2px dashed color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: -8px; }

/* Bloque personalizar */
.custom-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: 32px; overflow: hidden; background: var(--green); color: var(--green-ink); box-shadow: var(--shadow); transition: background .9s; }
.custom-band .cb-body { padding: clamp(28px, 5vw, 64px); display: grid; gap: 18px; align-content: center; }
.custom-band h2 { color: inherit; }
.custom-band p { opacity: .85; margin: 0; max-width: 44ch; }
.custom-band ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; }
.custom-band li { display: flex; gap: 10px; align-items: center; }
.custom-band li .ico { color: var(--gold); }
body[data-time="noche"] .custom-band li .ico { color: #1a1a2e; }
.custom-band .media { min-height: 360px; cursor: pointer; }
.custom-band .btn { justify-self: start; background: var(--accent); color: var(--accent-ink); }
body[data-time="noche"] .custom-band .btn { background: #1a1a2e; color: #f0c463; }

/* Footer */
footer { padding: 90px 0 40px; margin-top: 110px; background: var(--bg2); transition: background .9s; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { margin: 0 0 12px; font-size: 15px; }
.foot p, .foot a { color: var(--muted); font-size: 14.5px; margin: 0 0 8px; display: flex; gap: 8px; align-items: center; text-decoration: none; }
.foot .brand { color: var(--ink); margin-bottom: 12px; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; flex-wrap: wrap; gap: 10px; }

/* ---------- PORTAL (transición tipo agujero) ---------- */
.vortex {
  position: fixed; z-index: 190; width: 160vmax; height: 160vmax; left: 0; top: 0; border-radius: 50%; pointer-events: none; opacity: 0;
  background:
    radial-gradient(circle, rgba(0,0,0,.95) 0 4%, transparent 14%),
    repeating-conic-gradient(from 0deg, transparent 0deg 9deg, color-mix(in srgb, var(--accent) 55%, transparent) 10deg 12deg, transparent 13deg 20deg),
    repeating-radial-gradient(circle, transparent 0 22px, color-mix(in srgb, var(--accent) 35%, transparent) 23px 25px);
  -webkit-mask: radial-gradient(circle, #000 0 18%, rgba(0,0,0,.6) 32%, transparent 62%);
  mask: radial-gradient(circle, #000 0 18%, rgba(0,0,0,.6) 32%, transparent 62%);
}
.portal { position: fixed; inset: 0; z-index: 200; overflow-y: auto; overflow-x: hidden; background: var(--bg); color: var(--ink); visibility: hidden; overscroll-behavior: contain; }
.portal.open { visibility: visible; }
.portal-inner { min-height: 100%; transform-origin: 50% 0; }
.p-close { position: fixed; top: 18px; right: 18px; z-index: 220; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #1d2721; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); transition: transform .3s; }
.p-close:hover { transform: rotate(90deg); }
.p-close .ico { width: 24px; height: 24px; }
.p-back { position: fixed; top: 18px; left: 18px; z-index: 220; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px; border-radius: 999px; border: 0; background: rgba(255,255,255,.92); color: #1d2721; font-weight: 600; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); }

.p-hero { position: relative; height: min(68vh, 680px); min-height: 380px; overflow: hidden; color: #fff; }
.p-hero .tod-stack, .p-hero .scene-wrap, .p-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.p-hero > img { object-fit: cover; animation: fadeIn .6s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), transparent 30%, transparent 50%, rgba(0,0,0,.65)); pointer-events: none; }
.p-hero-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 clamp(20px, 5vw, 64px) 40px; }
.p-hero-text h1 { font-size: clamp(38px, 6vw, 84px); line-height: .98; letter-spacing: -.035em; margin: 10px 0 0; }
.p-hero-text p { margin: 10px 0 0; font-size: 18px; opacity: .92; max-width: 50ch; }
.p-tod { position: absolute; z-index: 3; right: clamp(20px, 5vw, 64px); bottom: 40px; display: flex; gap: 8px; }
.p-tod button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); background: rgba(0,0,0,.25); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.p-tod button.on { background: #fff; color: #1d2721; }
.p-body { display: grid; grid-template-columns: 1fr 400px; gap: 48px; padding: 48px clamp(20px, 5vw, 64px) 100px; max-width: 1360px; margin: 0 auto; }
.p-body h3 { font-size: 24px; margin: 36px 0 14px; letter-spacing: -.01em; }
.p-body h3:first-child { margin-top: 0; }
.p-desc { font-size: 18px; color: var(--muted); max-width: 62ch; }
.amen { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.amen div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); }
.amen .ico { color: var(--accent); width: 22px; height: 22px; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gal button { border: 0; padding: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; position: relative; outline-offset: 2px; background: var(--bg2); }
.gal button.on { outline: 3px solid var(--accent); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal button:hover img { transform: scale(1.08); }
.gal .tod-stack { position: absolute; inset: 0; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 0; }
.steps li { position: relative; padding: 0 0 18px 46px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.steps li::after { content: ""; position: absolute; left: 14.5px; top: 30px; bottom: 2px; width: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.inc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.inc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.inc li { display: flex; gap: 8px; align-items: start; color: var(--muted); }
.inc li .ico { margin-top: 3px; width: 16px; height: 16px; }
.inc .yes .ico { color: #2f9a5a; }
.inc .no .ico { color: #c0473a; }

.book { position: sticky; top: 90px; align-self: start; background: var(--surface); border-radius: 26px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.book .big { font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.book .big small { font-size: 15px; font-weight: 400; color: var(--muted); }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.fld input, .fld select, .inp { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface2); outline: none; transition: border-color .2s; color: var(--ink); }
.fld input:focus, .fld select:focus, .inp:focus { border-color: var(--accent); }
body[data-time="noche"] input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stepper { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface2); }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--chip); display: grid; place-items: center; }
.stepper button .ico { width: 16px; height: 16px; }
.stepper b { font-variant-numeric: tabular-nums; }
.opt-list { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.opt input { accent-color: var(--accent); }
.opt:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.opt b { white-space: nowrap; }
.sumline { display: flex; justify-content: space-between; color: var(--muted); font-size: 14.5px; }
.sumline.total { color: var(--ink); font-weight: 700; font-size: 20px; padding-top: 10px; border-top: 1px dashed var(--line); }
.note { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: start; }
.note .ico { width: 15px; height: 15px; margin-top: 2px; }

/* ---------- Constructor "Personalizar" ---------- */
.builder { display: grid; grid-template-columns: 1fr 420px; gap: 40px; padding: 110px clamp(20px, 5vw, 64px) 100px; max-width: 1400px; margin: 0 auto; }
.builder-head h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.035em; margin: 8px 0 10px; }
.builder-head p { color: var(--muted); margin: 0 0 20px; max-width: 56ch; }
.b-step { background: var(--surface); border-radius: 24px; padding: 24px; margin-top: 18px; box-shadow: var(--shadow); }
.b-step h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 20px; }
.b-step h3 .n { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 15px; }
.b-stays { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.b-stay { position: relative; border: 2px solid var(--line); border-radius: 18px; overflow: hidden; cursor: pointer; background: var(--surface2); transition: border-color .2s, transform .2s; }
.b-stay:hover { transform: translateY(-2px); }
.b-stay input { position: absolute; opacity: 0; }
.b-stay .tod-stack { aspect-ratio: 4/3; }
.b-stay .bs-t { padding: 10px 12px; font-size: 13.5px; }
.b-stay .bs-t b { display: block; font-size: 14px; }
.b-stay:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.b-stay.none { display: grid; place-items: center; text-align: center; padding: 16px; min-height: 100%; color: var(--muted); }
.b-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 14px; }
.b-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 14px; border-radius: 18px; border: 1.5px solid var(--line); margin-top: 10px; transition: border-color .2s, background .2s; }
.b-item.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.b-item .thumb { width: 92px; height: 70px; border-radius: 12px; overflow: hidden; }
.b-item .thumb.ic { display: grid; place-items: center; background: var(--chip); }
.b-item .thumb.ic .ico { width: 28px; height: 28px; color: var(--accent); }
.b-item .bi-top { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.b-item .bi-top b { font-size: 16px; }
.b-item .bi-top small { color: var(--muted); display: block; }
.switch { position: relative; width: 50px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background .25s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .25s; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(22px); }
.bi-opts { display: none; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.b-item.on .bi-opts { display: grid; }
.bi-opts .inp { padding: 10px 12px; font-size: 14px; }
.bi-opts .stepper { padding: 4px 6px; }
.bi-opts .stepper button { width: 28px; height: 28px; }

.plan { position: sticky; top: 90px; align-self: start; background: var(--surface); border-radius: 26px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.plan h3 { margin: 0; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-height: 46vh; overflow: auto; }
.plan-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--surface2); animation: appear .4s ease both; }
.plan-list .pi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--chip); color: var(--accent); }
.plan-list .pi .ico { width: 18px; height: 18px; }
.plan-list b { font-size: 14.5px; display: block; line-height: 1.25; }
.plan-list small { color: var(--muted); font-size: 12.5px; }
.plan-list .amt { font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.empty { text-align: center; color: var(--muted); padding: 24px 10px; border: 1.5px dashed var(--line); border-radius: 16px; }

/* ---------- Carrito (drawer) ---------- */
.scrim { position: fixed; inset: 0; z-index: 300; background: rgba(5, 8, 20, .5); opacity: 0; pointer-events: none; transition: opacity .35s; backdrop-filter: blur(2px); }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 310; width: min(460px, 100%); background: var(--bg); color: var(--ink); transform: translateX(105%); transition: transform .5s cubic-bezier(.2,.8,.2,1); display: grid; grid-template-rows: auto 1fr auto; box-shadow: -30px 0 60px -30px rgba(0,0,0,.5); }
.drawer.on { transform: none; }
.dr-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.dr-head h3 { margin: 0; font-size: 22px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--chip); display: grid; place-items: center; color: var(--ink); }
.dr-list { overflow: auto; padding: 16px 24px; display: grid; gap: 10px; align-content: start; }
.dr-item { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: var(--surface); }
.dr-item .pi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--chip); color: var(--accent); }
.dr-item b { display: block; font-size: 15px; line-height: 1.25; }
.dr-item small { color: var(--muted); font-size: 12.5px; display: block; }
.dr-item .r { text-align: right; display: grid; gap: 4px; justify-items: end; }
.dr-item .del { border: 0; background: none; color: var(--muted); padding: 2px; }
.dr-item .del:hover { color: #c0473a; }
.dr-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--surface); }

/* ---------- Pago ---------- */
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.modal-box { width: min(980px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--bg); color: var(--ink); border-radius: 28px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.7); pointer-events: auto; opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.modal.on .modal-box { opacity: 1; transform: none; }
.modal:not(.on) .modal-box { pointer-events: none; }
.pay-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 26px; border-bottom: 1px solid var(--line); gap: 12px; }
.pay-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.pay-brand .lockc { width: 40px; height: 40px; border-radius: 12px; background: #12305c; color: #fff; display: grid; place-items: center; }
.pay-brand small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.demo-tag { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: #fff2cc; color: #7a5a00; }
.pay-grid { display: grid; grid-template-columns: 1.15fr 1fr; }
.pay-left { padding: 24px 26px; display: grid; gap: 16px; align-content: start; }
.pay-right { padding: 24px 26px; background: var(--surface); display: grid; gap: 12px; align-content: start; }
.paysteps { display: flex; gap: 8px; }
.paysteps span { flex: 1; height: 5px; border-radius: 5px; background: var(--line); }
.paysteps span.on { background: var(--accent); }
.tabs { display: flex; gap: 8px; }
.tabs button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 14px; border: 1.5px solid var(--line); background: none; font-weight: 600; font-size: 14.5px; }
.tabs button.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.cc {
  position: relative; aspect-ratio: 1.586; max-width: 360px; width: 100%; border-radius: 20px; padding: 22px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #12305c, #1d5aa8 60%, #3fa0d8); box-shadow: 0 20px 40px -18px rgba(18,48,92,.8); display: grid; align-content: space-between;
  transition: background .5s;
}
.cc[data-brand="visa"] { background: linear-gradient(135deg, #1a1f71, #2a46b8 60%, #4c7be0); }
.cc[data-brand="mc"] { background: linear-gradient(135deg, #2a2a2a, #5a3a2a 60%, #c46a2a); }
.cc[data-brand="amex"] { background: linear-gradient(135deg, #0b6a6a, #1a9a8a 60%, #5ac8b8); }
.cc::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; top: -110px; background: rgba(255,255,255,.1); }
.cc .chip-c { width: 42px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #f3d48a, #c99a3a); }
.cc .num { font-size: clamp(17px, 2.2vw, 21px); letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.cc .row { display: flex; justify-content: space-between; align-items: end; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.cc .row b { display: block; font-size: 14px; letter-spacing: .04em; }
.cc .brandmark { position: absolute; right: 22px; top: 20px; font-weight: 800; font-style: italic; font-size: 20px; letter-spacing: .02em; }
.field-err { color: #c0473a; font-size: 12.5px; min-height: 1em; }
.inp.bad { border-color: #c0473a; }
.bank-box { padding: 16px; border-radius: 16px; background: var(--surface); display: grid; gap: 6px; font-size: 14.5px; }
.bank-box b { font-size: 15px; }
.processing { display: grid; place-items: center; gap: 16px; padding: 60px 20px; text-align: center; }
.spinner { width: 70px; height: 70px; border-radius: 50%; border: 5px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ok-circle { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: #2f9a5a; color: #fff; animation: pop .6s cubic-bezier(.2,1.6,.4,1); }
.ok-circle .ico { width: 44px; height: 44px; }
@keyframes pop { from { transform: scale(0); } }
.receipt { width: min(560px, 100%); text-align: left; background: var(--surface); border-radius: 20px; padding: 20px; display: grid; gap: 8px; }
.code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 22px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 500; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 18px; background: #1d2721; color: #fff; box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); transition: transform .5s cubic-bezier(.2,1.2,.3,1); max-width: calc(100% - 32px); }
body[data-time="noche"] .toast { background: #f0c463; color: #1a1a2e; }
.toast.on { transform: translate(-50%, 0); visibility: visible; }
.toast .ti { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #2f9a5a; color: #fff; flex: none; }
.toast button { border: 0; background: rgba(255,255,255,.18); color: inherit; padding: 8px 12px; border-radius: 10px; font-weight: 600; white-space: nowrap; }

/* Reveal al hacer scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Animaciones de escenas SVG ---------- */
.sc-stars, .hero-svg .sc-stars { opacity: var(--stars); transition: opacity 1.2s; }
.tw { animation: tw 3s ease-in-out infinite; }
@keyframes tw { 50% { opacity: .25; } }
.sc-moon, .h-moon { opacity: var(--moon-o); transition: opacity 1.2s; }
.sc-sun { opacity: var(--sun-o); transition: opacity 1.2s; }
.sc-clouds { opacity: var(--clouds); fill: var(--cloud); transition: opacity 1.2s, fill 1.2s; }
.drift { animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(120px); } }
.sway { animation: sway 5s ease-in-out infinite alternate; transform-box: view-box; }
.sway-s { animation-duration: 3.6s; }
@keyframes sway { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
.wv { stroke: var(--foam); stroke-width: 2; stroke-linecap: round; opacity: .5; animation: wv 6s ease-in-out infinite; }
@keyframes wv { 50% { transform: translateX(10px); opacity: .15; } }
.foam { animation: foam 7s linear infinite; }
.surf { animation: surf 5s ease-in-out infinite; }
.surf2 { animation-delay: -1.6s; } .surf3 { animation-delay: -3.2s; }
@keyframes surf { 50% { transform: translate(-6px, -7px); opacity: .15; } }
.foam2 { animation-duration: 11s; animation-direction: reverse; }
@keyframes foam { to { stroke-dashoffset: -300; } }
.bob { animation: bob 4s ease-in-out infinite; transform-box: fill-box; }
@keyframes bob { 50% { translate: 0 4px; rotate: .6deg; } }
.bob-fast { animation: bobf .5s ease-in-out infinite; }
@keyframes bobf { 50% { translate: 0 -2px; } }
.swim { animation: swim 7s ease-in-out infinite alternate; }
@keyframes swim { to { transform: translateX(46px); } }
.bubble { animation: bubble 6s linear infinite; }
@keyframes bubble { to { transform: translateY(-260px); opacity: 0; } }
.rays { opacity: var(--rays); transition: opacity 1.2s; }
.jump { animation: jump 3.2s ease-in-out infinite; transform-box: fill-box; }
@keyframes jump { 50% { transform: translate(6px, -10px) rotate(-4deg); } }
.route { animation: foam 6s linear infinite; }
.maplabel { font: 600 13px "Outfit", system-ui, sans-serif; fill: var(--inkscene); }
.win { fill: var(--win); transition: fill 1.2s; }
.hlamp { fill: var(--hlamp); }
.ff { fill: #ffe98a; opacity: 0; animation: ff 3.5s ease-in-out infinite; }
@keyframes ff { 50% { opacity: var(--ff); } }

/* Hero: sol, reflejos, luces del carro */
.h-sun, .h-refl { transition: transform 1.6s cubic-bezier(.5,0,.2,1), opacity 1.2s; }
.h-sun { opacity: var(--sun-o); }
body[data-time="manana"] .h-sun { transform: translate(900px, 250px); }
body[data-time="tarde"]  .h-sun { transform: translate(905px, 430px); }
body[data-time="noche"]  .h-sun { transform: translate(905px, 640px); }
body[data-time="manana"] .h-refl { transform: translateX(900px); }
body[data-time="tarde"]  .h-refl { transform: translateX(905px); }
body[data-time="noche"]  .h-refl { transform: translateX(880px); }
.h-refl { opacity: var(--refl); }
.h-refl rect { fill: var(--refl-c); transition: fill 1.2s; }
.rf { animation: rf 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes rf { 50% { transform: scaleX(.6); opacity: .5; } }
.beam { opacity: var(--beam); transition: opacity 1.2s; }
.tl { fill: #c8122c; }
body[data-time="noche"] .tl { fill: #ff3048; }
.tlg { opacity: var(--tlg); transition: opacity 1.2s; }
.h-rain { opacity: 0; transition: opacity 1s; }
body.raining .h-rain { opacity: 1; }
.h-rain line { animation: rain .7s linear infinite; }
.h-rain line:nth-child(3n) { animation-duration: .55s; }
@keyframes rain { to { transform: translate(-30px, 100px); } }
.lay { transition: transform .4s ease-out; }
.hero-svg rect, .hero-svg path, .hero-svg circle, .hero-svg ellipse, .scene path, .scene rect, .scene circle, .scene ellipse { transition: fill 1.2s ease, stroke 1.2s ease; }
.hero-svg stop, .scene stop { transition: stop-color 1.2s ease; }

/* Transición de cambio de hora con View Transitions */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .p-body, .builder { grid-template-columns: 1fr; }
  .book, .plan { position: relative; top: 0; }
  .b-stays { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
  .pay-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open { display: grid; position: absolute; top: 100%; left: 16px; right: 16px; background: var(--surface); color: var(--ink); padding: 10px; border-radius: 20px; box-shadow: var(--shadow); }
  .menu-btn { display: grid; place-items: center; margin-left: auto; }
  .nav.scrolled .menu-btn { background: var(--chip); }
  .cur-toggle { display: none; }
  .hero { background: linear-gradient(180deg, var(--sky1), var(--sky2) 75%); min-height: 0; transition: background .9s; }
  #heroArt { position: absolute; left: 0; right: 0; bottom: 0; height: min(112vw, 640px); z-index: -1; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 24%); mask-image: linear-gradient(to bottom, transparent, #000 24%); }
  .hero-inner { min-height: 0; padding-top: 104px; align-content: start; padding-bottom: calc(min(112vw, 640px) - 20px); }
  .hero-side { position: relative; top: auto; right: auto; justify-items: stretch; margin: 26px 0 0; }
  .w-row, .w-src { display: none; }
  .tod { justify-content: space-around; }
  .searchbar { margin: -24px auto 0; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px; }
  .sb-field { border-right: 0; padding: 8px; }
  .searchbar .btn { grid-column: 1 / -1; }
  .sec { padding-top: 90px; }
  .wide-card, .custom-band { grid-template-columns: 1fr; }
  .wide-card .media { min-height: 260px; }
  .custom-band .media { min-height: 260px; order: -1; }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(42px, 13vw, 64px); }
  .weather { min-width: 0; width: 100%; }
  .searchbar { grid-template-columns: 1fr; }
  .weather { padding: 14px 16px; }
  .w-temp { font-size: 30px; }
  .amen, .inc, .row2, .b-row { grid-template-columns: 1fr; }
  .bi-opts { grid-template-columns: 1fr 1fr; }
  .b-stays { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr; }
  .p-back span { display: none; }
  .p-back { padding: 0 16px; }
  .brand small { display: none; }
  .cart-btn .lbl { display: none; }
  .tod-btn i { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Header con foto real (cambia con mañana/tarde/noche) */
#heroArt { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
#heroArt .tod-stack { position: absolute; inset: 0; }
#heroArt .tod-stack img { object-position: 60% 50%; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 70%), linear-gradient(180deg, rgba(0,0,0,.35), transparent 25%, transparent 75%, rgba(0,0,0,.35)); }
.scene-wrap img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card:hover .scene-wrap img { transform: scale(1.06); }
.b-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero { background: #0b1024; }
  #heroArt { inset: 0; height: auto; -webkit-mask-image: none; mask-image: none; }
  #heroArt .tod-stack img { object-position: 65% 50%; }
  .hero-veil { background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.35) 60%, rgba(0,0,0,.2)); }
  .hero-inner { padding-bottom: 60px; }
}
.weather, .tod { background: rgba(10, 16, 30, .38); }

/* Videos de excursiones */
.exv { position: absolute; inset: 0; background: #000; }
.exv video { width: 100%; height: 100%; object-fit: cover; display: block; }
.exv-ctrl { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 8px; z-index: 3; }
.exv-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(6px); cursor: pointer; transition: transform .2s, background .2s; }
.exv-btn:hover { transform: scale(1.08); background: rgba(0,0,0,.75); }
.exv-btn .ico { width: 20px; height: 20px; }
@media (hover: none) { .exv-ctrl { display: none; } .exv::after { content: "Toca para verlo completo"; position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; } }
.p-hero .exv-full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.p-hero:has(.exv-full)::after { pointer-events: none; height: 40%; top: auto; background: linear-gradient(180deg, transparent, rgba(0,0,0,.6)); }
.p-hero:has(.exv-full) .p-hero-text { pointer-events: none; padding-bottom: 70px; }
.card .exv video { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card:hover .exv video { transform: scale(1.04); }

/* Bloques de información */
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.info { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--surface); }
.info .ii { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--chip); color: var(--accent); flex: none; }
.info .ii .ico { width: 20px; height: 20px; }
.info b { display: block; font-size: 14.5px; }
.info span:not(.ii) { color: var(--muted); font-size: 14px; line-height: 1.45; }
.bring { margin: 0; padding-left: 20px; color: var(--muted); columns: 2; }
.hint { color: var(--muted); font-size: 12.5px; }
.p-desc a, .llegar a:not(.btn) { color: var(--accent); }
/* Cómo llegar */
.llegar { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.map-box { position: relative; border-radius: 26px; overflow: hidden; min-height: 420px; background: var(--surface); box-shadow: var(--shadow); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 24px; color: var(--muted); }
.map-fallback b { color: var(--ink); font-size: 20px; }
.llegar-info { display: grid; gap: 10px; }
@media (max-width: 860px) { .llegar { grid-template-columns: 1fr; } .map-box { min-height: 320px; } .info-grid { grid-template-columns: 1fr; } .bring { columns: 1; } }
