/* Carrera Tours · sitio de muestra (TYM Digital)
   Tema único oscuro: el azul del escudo de la marca + el naranja como único acento.
   Radios: tarjetas y medios 16px, botones píldora. */
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage.woff2) format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Outfit"; src: url(fonts/outfit.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }

.ic { width: 1em; height: 1em; fill: currentColor; flex: none; display: inline-block; vertical-align: -.125em; }
:root {
  --bg: #0D1724;
  --bg-2: #111E2E;
  --surface: #16263A;
  --line: rgba(220, 232, 245, .12);
  --text: #EEF2F6;
  --muted: #A3B2C3;
  --accent: #E8892B;
  --accent-ink: #1A1006;
  --accent-soft: rgba(232, 137, 43, .14);
  --radius: 16px;
  --wrap: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.6 "Outfit", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: "Bricolage", "Outfit", sans-serif; font-weight: 700; letter-spacing: -.025em; line-height: 1.05; }
h2 { font-size: clamp(32px, 4.4vw, 54px); max-width: 18ch; text-wrap: balance; }
h3 { font-size: 24px; letter-spacing: -.015em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
section { position: relative; }

/* botones */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background .2s, border-color .2s; }
.btn .ic { font-size: 21px; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #F09A43; transform: translateY(-1px); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(13, 23, 36, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; }
.btn-line { border: 1.5px solid var(--line); color: var(--text); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* barra de muestra */
.demo-bar { background: var(--accent); color: var(--accent-ink); text-align: center; font-size: 13px; font-weight: 600; padding: 7px 16px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(16px, calc((100% - var(--wrap)) / 2)); background: rgba(13, 23, 36, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: "Bricolage"; font-weight: 700; font-size: 20px; }
.brand img { width: 40px; height: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { background: none; border: 0; color: var(--muted); font: 600 13px "Outfit"; padding: 6px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--text); }

/* hero */
.hero { min-height: calc(100dvh - 104px); display: flex; align-items: flex-end; overflow: hidden; }
.reel { position: absolute; inset: 0; overflow: hidden; background: #0A121D; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s cubic-bezier(.45, 0, .2, 1); transform-origin: 50% 55%; will-change: opacity, transform; }
.slide.is-on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .slide.is-on { animation: kenburns 9s linear both; }
  .reel.is-paused .slide { animation-play-state: paused; }
}
@keyframes kenburns { from { transform: scale(1.001); } to { transform: scale(1.09) translate3d(-1%, -.6%, 0); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 23, 36, .15) 0%, rgba(13, 23, 36, .05) 35%, rgba(13, 23, 36, .78) 78%, var(--bg) 100%), linear-gradient(90deg, rgba(13, 23, 36, .55), transparent 60%); }
.hero-content { position: relative; width: min(var(--wrap), 100% - 32px); margin: 0 auto; padding: 0 0 72px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); max-width: 13ch; text-wrap: balance; }
.hero-sub { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); color: #D5DEE8; max-width: 46ch; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* datos */
.facts { width: min(var(--wrap), 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 28px 24px; display: grid; gap: 4px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { font-family: "Bricolage"; font-size: 30px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.fact strong .ic { color: var(--accent); font-size: 24px; }
.fact span { color: var(--muted); font-size: 15px; }

/* tours */
.tours { padding: 120px 0 96px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filters button { background: none; border: 1.5px solid var(--line); color: var(--muted); font: 600 15px "Outfit"; padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.filters button:hover { color: var(--text); border-color: rgba(220, 232, 245, .3); }
.filters button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tour-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tour { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.tour[hidden] { display: none; }
.tour-media { overflow: hidden; }
.tour-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .8s var(--ease); }
.tour:hover .tour-media img { transform: scale(1.03); }
.tour-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; flex: 1; }
.tour-body p { color: var(--muted); max-width: 52ch; }
.tour-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.tour-feature .tour-media img { aspect-ratio: auto; min-height: 420px; }
.tour-feature .tour-body { padding: 40px; justify-content: center; }
.tour-feature h3 { font-size: clamp(28px, 3vw, 38px); }
.tour-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; }
.tour-wide .tour-media img { aspect-ratio: auto; min-height: 360px; }
.tour-wide-rev { grid-template-columns: 1.1fr 1fr; }
.tour-wide-rev .tour-media { order: 2; }
.price-row { margin-top: auto; padding-top: 8px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price { font-family: "Bricolage"; font-size: 28px; font-weight: 700; color: var(--text) !important; display: flex; align-items: baseline; gap: 6px; }
.price small { font-family: "Outfit"; font-size: 14px; font-weight: 400; color: var(--muted); }
.price-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin: 4px 0 6px; }
.price-split p { background: var(--bg-2); border-radius: 12px; padding: 14px 16px; display: grid; gap: 2px; color: var(--muted) !important; font-size: 14px; }
.price-split strong { font-family: "Bricolage"; font-size: 26px; color: var(--text); }
.fine { font-size: 13.5px; color: var(--muted); }
.tag { background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text); font-size: 15px; }
.meta li { display: flex; align-items: center; gap: 7px; }
.meta .ic { color: var(--accent); font-size: 19px; }
.note { margin-top: 26px; color: var(--muted); }

/* banda de video */
.band { min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.band-img { position: absolute; inset: 0; width: 100%; height: 115%; top: -7%; object-fit: cover; }
.band-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 23, 36, .88) 0%, rgba(13, 23, 36, .5) 45%, rgba(13, 23, 36, 0) 75%), linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%); }
.band-content { position: relative; }
.band h2 { max-width: 15ch; }
.band p { margin-top: 18px; max-width: 42ch; color: #D5DEE8; font-size: 19px; }

/* ruta (motion graphic) */
.route { background: var(--bg-2); }
.route-pin { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 72px 0; }
.route-stage { position: relative; width: min(1200px, 100% - 32px); margin: 150px auto 40px; aspect-ratio: 1200 / 420; }
.route-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-ghost { fill: none; stroke: rgba(220, 232, 245, .14); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; }
.route-line { fill: none; stroke: url(#wake); stroke-width: 5; stroke-linecap: round; }
.stops { list-style: none; position: absolute; inset: 0; }
.stop { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.stop-dot { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.stop img { max-width: none; height: auto; position: absolute; bottom: 30px; left: 50%; translate: -50% 0; width: 170px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 3px solid var(--bg-2); box-shadow: 0 18px 40px rgba(4, 9, 16, .55); }
.stop-card { position: absolute; top: 28px; left: 50%; translate: -50% 0; width: 210px; text-align: center; display: grid; gap: 2px; }
.stop-card strong { font-family: "Bricolage"; font-size: 17px; line-height: 1.3; }
.stop-card span { color: var(--muted); font-size: 14px; line-height: 1.35; }
.stop:first-child .stop-card { left: 0; translate: -12% 0; text-align: left; }

/* cómo reservar */
.book { padding: 120px 0; }
.book-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.steps { list-style: none; margin: 36px 0 36px; display: grid; gap: 26px; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.num { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; font: 700 22px "Bricolage"; }
.steps strong { font-family: "Bricolage"; font-size: 21px; }
.steps p { color: var(--muted); }
.book-video video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--surface); box-shadow: 0 30px 70px rgba(4, 9, 16, .5); }
.book-video figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* cotizador */
.quote { padding: 120px 0; background: var(--bg-2); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.quote-copy p { margin-top: 16px; color: var(--muted); max-width: 44ch; font-size: 18px; }
.quote-photo { margin-top: 32px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.quote-form { background: var(--surface); border-radius: 20px; padding: 32px; display: grid; gap: 18px; border: 1px solid var(--line); }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 14px; font-weight: 600; color: #C9D4E0; }
.field select, .field input { width: 100%; background: var(--bg); color: var(--text); border: 1.5px solid rgba(220, 232, 245, .2); border-radius: 12px; padding: 13px 14px; font: 400 16px "Outfit"; color-scheme: dark; }
.field select:focus, .field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input::placeholder { color: #7F8EA0; }
.field input[aria-invalid="true"] { border-color: #F07A6A; }
.stepper { display: grid; grid-template-columns: 46px 1fr 46px; border: 1.5px solid rgba(220, 232, 245, .2); border-radius: 12px; overflow: hidden; background: var(--bg); }
.stepper button { background: none; border: 0; color: var(--text); font-size: 18px; cursor: pointer; }
.stepper button:hover { color: var(--accent); }
.stepper input { border: 0 !important; border-radius: 0; text-align: center; padding: 13px 0; -moz-appearance: textfield; box-shadow: none !important; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.quote-total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; padding: 18px 0 4px; border-top: 1px solid var(--line); }
.quote-total span { color: var(--muted); font-size: 15px; }
.quote-total strong { font-family: "Bricolage"; font-size: 38px; grid-row: span 2; }
.quote-total small { color: var(--muted); font-size: 14px; }
.form-error { color: #F49A8C; font-size: 14px; }
.btn-block { justify-content: center; width: 100%; border: 0; cursor: pointer; font-family: "Outfit"; }

/* nosotros */
.about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-photos { position: relative; min-height: 520px; }
.about-photos img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(4, 9, 16, .5); }
.ap-1 { top: 0; left: 0; width: 78%; aspect-ratio: 16 / 10; }
.ap-2 { bottom: 0; right: 0; width: 58%; aspect-ratio: 4 / 3; border: 6px solid var(--bg); }
.about-copy p { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 52ch; }
.about-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.about-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.about-list .ic { color: var(--accent); font-size: 24px; }
.sign { font-family: "Bricolage"; font-weight: 700; font-size: 20px; color: var(--text) !important; display: grid; }
.sign span { font-family: "Outfit"; font-weight: 400; font-size: 14px; color: var(--muted); }

/* opiniones */
.reviews { padding: 110px 0; background: var(--bg-2); }
.rev-grid { margin-top: 44px; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.rev { background: var(--surface); border-radius: var(--radius); padding: 30px 32px; display: grid; gap: 16px; align-content: start; }
.rev-big { grid-row: span 2; align-content: center; padding: 48px; }
.rev-big p { font-family: "Bricolage"; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; letter-spacing: -.015em; }
.rev p { font-size: 18px; }
.stars { color: var(--accent); display: flex; gap: 3px; font-size: 18px; }
.rev footer { color: var(--text); font-weight: 600; display: grid; }
.rev footer span { color: var(--muted); font-weight: 400; font-size: 14px; }
.link { display: inline-block; margin-top: 28px; color: var(--accent); font-weight: 600; text-underline-offset: 4px; }

/* galería */
.gallery { padding: 110px 0; }
.masonry { margin-top: 44px; columns: 3 280px; column-gap: 16px; }
.masonry img { width: 100%; margin-bottom: 16px; border-radius: 14px; break-inside: avoid; }
.masonry img:nth-child(3n+1) { aspect-ratio: 4 / 5; object-fit: cover; }

/* faq */
.faq { padding: 100px 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 500; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; color: var(--accent); transition: rotate .3s var(--ease); }
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list details p { color: var(--muted); padding: 0 0 22px; max-width: 60ch; }

/* contacto */
.contact { padding: 100px 0 120px; background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.contact-list { list-style: none; margin: 30px 0 32px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.contact-list .ic { color: var(--accent); font-size: 22px; flex: none; }
.contact-list a { text-decoration: none; color: var(--text); }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

.footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #25A85A; color: #fff; display: grid; place-items: center; font-size: 32px; box-shadow: 0 12px 30px rgba(4, 9, 16, .45); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.06); }

/* responsive */
@media (max-width: 1020px) {
  .nav-links { display: none; }
}
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tour-grid { grid-template-columns: 1fr; }
  .tour-feature, .tour-wide, .tour-wide-rev { grid-template-columns: 1fr; }
  .tour-wide-rev .tour-media { order: 0; }
  .tour-feature .tour-media img, .tour-wide .tour-media img { min-height: 0; aspect-ratio: 16 / 10; }
  .tour-feature .tour-body { padding: 26px 24px 28px; }
  .book-grid, .faq-grid, .contact-grid, .rev-grid, .quote-grid, .about-grid { grid-template-columns: 1fr; }
  .quote-grid, .about-grid { gap: 40px; }
  .about-photos { min-height: 340px; }
  .quote-photo { display: none; }
  .rev-big { grid-row: auto; padding: 32px; }
  .route-stage { aspect-ratio: auto; height: auto; margin-top: 36px; }
  .route-svg { display: none; }
  .stops { position: static; display: grid; gap: 18px; }
  .stop { position: relative; left: auto; top: auto; transform: none; display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; }
  .stop-dot { display: none; }
  .stop img { position: static; translate: none; width: 110px; border: 0; box-shadow: none; }
  .stop-card, .stop:first-child .stop-card { position: static; translate: none; width: auto; text-align: left; }
  .stop:first-child { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav { height: 64px; }
  .brand span { display: none; }
  .nav-actions .btn-sm span { display: none; }
  .tours, .book, .reviews, .gallery, .quote, .about { padding: 80px 0; }
  .quote-form { padding: 22px; }
  .field-row, .price-split { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 48px; }
  .fact { padding: 20px 14px; }
  .fact strong { font-size: 24px; }
}

/* movimiento: sólo si la persona no pidió reducirlo */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tour img, .btn, .wa-float { transition: none; }
}
.stops[hidden] { display: none !important; }

/* ---------- titulares por palabra ---------- */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .wi { display: inline-block; will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-split]:not(.split-done) .wi { transform: translateY(105%); }
}

/* ---------- franja de lugares ---------- */
.marquee { overflow: hidden; padding: 18px 0; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 22px; width: max-content; white-space: nowrap; font-family: "Outfit"; font-weight: 500; font-size: 15px; letter-spacing: .04em; color: var(--muted); }

.marquee-track .ic { color: var(--accent); font-size: 7px; opacity: .8; }

/* ---------- tarjetas: abrir ficha ---------- */
.tour.is-clickable { cursor: pointer; }
.tour.is-clickable:hover { box-shadow: 0 0 0 1.5px rgba(232, 137, 43, .55), 0 30px 60px rgba(4, 9, 16, .45); }
.tour { transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.tour.is-clickable:hover { transform: translateY(-3px); }
.more { background: none; border: 0; color: var(--accent); font: 600 15px "Outfit"; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 4px 0; }
.more .ic { transition: transform .3s var(--ease); }
.more:hover i, .tour:hover .more .ic { transform: translate(3px, -3px); }

/* ---------- ficha del tour ---------- */
html.sheet-open { overflow: hidden; }
.sheet { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--text); display: none; grid-template-columns: 1.05fr 1fr; overflow: hidden; }
.sheet[open] { display: grid; }
.sheet::backdrop { background: rgba(5, 10, 18, .6); }
.sheet-media { position: relative; overflow: hidden; background: #050A12; }
.sheet-main { position: absolute; inset: 0; }
.sheet-slide { position: absolute; inset: 0; }
.sheet-slide img, .sheet-slide video { width: 100%; height: 100%; object-fit: cover; }
.sheet-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5, 10, 18, .35), transparent 22%, transparent 70%, rgba(5, 10, 18, .7)); }
.sheet-thumbs { position: absolute; left: 24px; bottom: 24px; z-index: 2; display: flex; gap: 10px; }
.sheet-thumbs button { position: relative; width: 78px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; opacity: .7; transition: opacity .25s, border-color .25s, transform .25s var(--ease); }
.sheet-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.sheet-thumbs button .ic { position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 1px 4px rgba(0,0,0,.6)); }
.sheet-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.sheet-thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--accent); }
.sheet-content { overflow-y: auto; padding: 96px clamp(28px, 4.5vw, 72px) 64px; overscroll-behavior: contain; }
.sheet-content:focus { outline: none; }
.sheet-bar { position: absolute; top: 20px; right: 24px; z-index: 3; display: flex; gap: 8px; }
.sheet-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(22, 38, 58, .85); backdrop-filter: blur(8px); color: var(--text); font-size: 19px; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.sheet-btn:hover { background: var(--surface); transform: scale(1.05); }
.sheet-close { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.sheet-close:hover { background: #F09A43; }
.sp-count { font-family: "Bricolage"; font-weight: 600; color: var(--muted); font-size: 14px; letter-spacing: .08em; margin-bottom: 18px; }
.sp-title { font-size: clamp(36px, 4.2vw, 60px); margin: 14px 0 18px; max-width: 14ch; }
.sp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chips li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: #D5DEE8; }
.sp-lead { margin-top: 26px; font-size: 21px; line-height: 1.5; color: var(--text); max-width: 46ch; }
.sp-body { margin-top: 16px; color: var(--muted); max-width: 56ch; }
.sp-quote { margin-top: 28px; background: var(--surface); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 8px; }
.sp-quote .ic { color: var(--accent); font-size: 26px; }
.sp-quote p { font-family: "Bricolage"; font-size: 20px; line-height: 1.35; }
.sp-quote footer { margin-top: 6px; color: var(--muted); font-size: 14px; }
.sp-h { font-size: 15px; font-family: "Outfit"; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 44px 0 18px; }
.sp-steps { --line: 1; list-style: none; position: relative; display: grid; gap: 22px; padding-left: 26px; }
.sp-steps::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), rgba(232, 137, 43, .2)); transform-origin: top; transform: scaleY(var(--line)); }
.sp-steps li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 14px; }
.sp-steps li::before { content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2.5px solid var(--accent); }
.sp-time { font-family: "Bricolage"; font-weight: 700; color: var(--text); font-size: 15px; padding-top: 1px; }
.sp-steps strong { font-family: "Bricolage"; font-size: 18px; }
.sp-steps p { color: var(--muted); font-size: 15.5px; margin-top: 2px; }
.sp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sp-list { list-style: none; display: grid; gap: 10px; }
.sp-list li { display: flex; gap: 10px; align-items: flex-start; color: #D5DEE8; }
.sp-list .ic { color: var(--accent); font-size: 20px; flex: none; margin-top: 2px; }
.sp-book { margin-top: 44px; background: var(--surface); border-radius: var(--radius); padding: 26px; display: grid; gap: 18px; }
.sp-prices { display: flex; flex-wrap: wrap; gap: 28px; }
.sp-price { display: grid; gap: 0; }
.sp-price span { color: var(--muted); font-size: 14px; }
.sp-price strong { font-family: "Bricolage"; font-size: 40px; line-height: 1.1; }
.sp-price small { color: var(--muted); font-size: 14px; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sp-actions .btn { border: 0; cursor: pointer; font-family: "Outfit"; }
.sp-actions .btn-line { border: 1.5px solid var(--line); }

@media (max-width: 860px) {
  .sheet { grid-template-columns: 1fr; grid-template-rows: 42dvh 1fr; }
  .sheet-content { padding: 30px 20px 48px; }
  .sheet-thumbs { left: 16px; bottom: 14px; gap: 8px; }
  .sheet-thumbs button { width: 58px; height: 44px; }
  .sheet-bar { top: 14px; right: 14px; }
  .sp-cols { grid-template-columns: 1fr; gap: 0; }
  .sp-steps li { grid-template-columns: 1fr; gap: 2px; }
  .sp-lead { font-size: 18px; }
  .marquee { padding: 14px 0; }
  .marquee-track { font-size: 14px; gap: 18px; }
}

/* ---------- marca ---------- */
.brand img { width: 52px; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: grid; line-height: 1.3; }
.brand-text strong { font-family: "Bricolage"; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand-text small { font-family: "Outfit"; font-weight: 500; font-size: 11.5px; letter-spacing: .03em; color: var(--muted); }
.sign-row { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.sign-row img { width: 88px; height: auto; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; height: auto; }

/* ---------- botón flotante: oculto mientras se ve el hero ---------- */
.wa-float { transition: opacity .35s var(--ease), transform .35s var(--ease); }
body.hero-in .wa-float { opacity: 0; transform: scale(.6) translateY(20px); pointer-events: none; }

/* ---------- hero en celular: video arriba, texto sobre fondo liso ---------- */
@media (max-width: 600px) {
  .demo-bar { font-size: 12px; padding: 6px 12px; }
  .nav { height: 66px; gap: 10px; }
  .brand { gap: 9px; }
  .brand img { width: 42px; }
  .brand span.brand-text { display: grid; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { display: none; }
  .lang button { padding: 6px 9px; }
  .hero { display: block; min-height: 0; }
  .reel { position: relative; height: 54svh; min-height: 300px; }
  .hero-shade { inset: auto 0 auto 0; top: 0; height: 54svh; min-height: 300px; background: linear-gradient(180deg, rgba(13, 23, 36, .25) 0%, transparent 25%, transparent 60%, var(--bg) 100%); }
  .hero-content { position: relative; margin-top: -40px; padding: 0 0 40px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 44px); max-width: none; }
  .hero-sub { margin-top: 14px; font-size: 16.5px; color: var(--muted); }
  .hero-ctas { margin-top: 24px; display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-ctas .btn { justify-content: center; }
  .btn-ghost { background: transparent; border-color: var(--line); }
}

/* ---------- superficies del navegador ---------- */
::selection { background: rgba(232, 137, 43, .35); color: #fff; }
html { scrollbar-color: #2A3E57 var(--bg); accent-color: var(--accent); caret-color: var(--accent); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2A3E57; border-radius: 999px; border: 3px solid var(--bg); }
.sheet-content { scrollbar-color: #2A3E57 transparent; }
.fact strong span { font-size: inherit; color: inherit; }

/* ---------- logo sobre sello claro (sus azules se pierden en el fondo oscuro) ---------- */
.brand img, .footer-brand img, .sign-row img {
  box-sizing: content-box; background: #F4F6F9; border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(232, 137, 43, .55), 0 6px 16px rgba(2, 6, 12, .45); filter: none;
}
.brand img { width: 52px; padding: 6px; }
.footer-brand img { width: 34px; padding: 5px; }
.sign-row img { width: 72px; padding: 9px; }
@media (max-width: 600px) { .brand img { width: 42px; padding: 5px; } }
.brand img { flex-shrink: 0; }

/* ---------- logo colgante: grande arriba, se achica al bajar ---------- */
.brand { position: relative; align-self: flex-start; padding-top: 8px; }
.brand img { width: 84px; padding: 8px; margin-bottom: -44px; transition: width .45s var(--ease), padding .45s var(--ease), margin .45s var(--ease), transform .4s var(--ease); }
body:not(.hero-in) .brand img { width: 46px; padding: 6px; margin-bottom: 0; }
body:not(.hero-in) .brand { padding-top: 7px; }
.brand-text { align-self: center; padding-top: 0; }
.nav { align-items: center; }
.nav .brand { align-self: flex-start; }
@media (max-width: 600px) {
  .brand img { width: 62px; padding: 6px; margin-bottom: -34px; }
  body:not(.hero-in) .brand img { width: 40px; padding: 5px; margin-bottom: 0; }
  .brand { padding-top: 6px; }
}

/* ---------- menú del celular ---------- */
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mmenu { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 18px 20px 26px; display: grid; gap: 2px; box-shadow: 0 30px 60px rgba(2, 6, 12, .55); }
.mmenu[hidden] { display: none; }
.mmenu a:not(.btn) { text-decoration: none; font-family: "Bricolage"; font-weight: 700; font-size: 26px; letter-spacing: -.02em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mmenu a:not(.btn):active { color: var(--accent); }
.mmenu .btn { margin-top: 18px; justify-content: center; }
body.menu-open { overflow: hidden; }
@media (max-width: 1020px) { .menu-btn { display: block; } }
@media (max-width: 600px) { .nav-actions .btn-sm { display: none; } }

/* ---------- ruta en celular: riel vertical ---------- */
.rail { display: none; }
@media (max-width: 860px) {
  .route-stage { padding-left: 34px; }
  .rail { display: block; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 2px; background: rgba(220, 232, 245, .14); border-radius: 2px; }
  .rail-fill { position: absolute; inset: 0; background: linear-gradient(var(--accent), #F3B26B); transform-origin: top; border-radius: 2px; }
  .rail-boat { position: absolute; left: 50%; top: 0; width: 26px; height: 26px; translate: -50% -50%; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 14px; box-shadow: 0 0 0 6px rgba(232, 137, 43, .2); }
  .stop { position: relative; }
  .stop-dot { display: block !important; position: absolute; left: -32px; top: 50%; translate: 0 -50%; width: 12px; height: 12px; border-width: 2.5px; }
  .stop:first-child .stop-dot { top: 12px; }
}

/* ---------- hero: interfaz del reel ---------- */
.reel-ui { position: absolute; right: max(16px, calc((100% - var(--wrap)) / 2)); bottom: 72px; z-index: 2; width: min(360px, 40vw); display: grid; grid-template-columns: 1fr auto; gap: 12px 14px; align-items: center; }
.reel-cap { grid-column: 1 / -1; overflow: hidden; font-family: "Bricolage"; font-weight: 600; font-size: 19px; letter-spacing: -.01em; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); text-align: right; }
.reel-cap span { display: inline-block; }
.reel-bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.reel-bars button { height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.reel-bars button span { display: block; position: relative; overflow: hidden; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); }
.reel-bars button span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }
.reel-bars button.is-done span::after { --p: 1; }
.reel-bars button:hover span { background: rgba(255, 255, 255, .5); }
.reel-pause { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(13, 23, 36, .45); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 14px; }
.reel-pause:hover { background: rgba(13, 23, 36, .7); }
@media (max-width: 1020px) { .reel-ui { width: min(320px, 50vw); bottom: 40px; } }
@media (max-width: 600px) {
  .reel-ui { left: 16px; right: 16px; width: auto; top: max(240px, calc(54svh - 70px)); bottom: auto; grid-template-columns: 1fr auto; }
  .hero-content { margin-top: 18px !important; }
  .reel-cap { text-align: left; font-size: 16px; }
}

/* ---------- la experiencia: galería horizontal ---------- */
.xp { background: var(--bg); overflow: hidden; }
.xp-pin { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 80px 0; }
.xp-head p { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 46ch; }
.xp-track { display: flex; gap: 22px; padding: 0 max(16px, calc((100% - var(--wrap)) / 2)); width: max-content; align-items: flex-end; }
.xp-item { flex: none; display: grid; gap: 12px; }
.xp-item:nth-child(odd) .xp-open { height: min(58vh, 520px); }
.xp-item:nth-child(even) .xp-open { height: min(46vh, 410px); }
.xp-open { display: block; aspect-ratio: 3 / 2; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--surface); }
.xp-item:nth-child(3n) .xp-open { aspect-ratio: 4 / 5; }
.xp-open img { width: 100%; height: 100%; object-fit: cover; transition: filter .4s var(--ease); }
.xp-open:hover img { filter: brightness(1.08) saturate(1.05); }
.xp-item figcaption { color: #C9D4E0; font-size: 15px; max-width: 34ch; }
@media (max-width: 860px) {
  .xp-pin { min-height: 0; padding: 72px 0; gap: 28px; }
  .xp-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 8px; scrollbar-width: none; align-items: flex-start; }
  .xp-track::-webkit-scrollbar { display: none; }
  .xp-item { scroll-snap-align: start; width: 82vw; }
  .xp-item .xp-open, .xp-item:nth-child(odd) .xp-open, .xp-item:nth-child(even) .xp-open { height: auto; aspect-ratio: 4 / 3; }
}

/* ---------- visor ---------- */
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 10, 18, .96); color: var(--text); display: none; place-items: center; }
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 80dvh; width: auto; height: auto; border-radius: 12px; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 28px; text-align: center; color: #D5DEE8; font-size: 16px; padding: 0 70px; }
.lb-prev, .lb-next, .lb-close { position: absolute; }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }
.lb-close { top: 20px; right: 20px; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 70px; translate: none; } .lb-cap { bottom: 24px; padding: 0 20px; } }
@media (prefers-reduced-motion: reduce) { .xp-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; } .xp-item { scroll-snap-align: start; } }

/* ---------- galería completa ---------- */
.gallery { padding: 110px 0; }
.gal-sub { margin-top: 14px; color: var(--muted); font-size: 18px; max-width: 52ch; }
.g-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.g-item { padding: 0; border: 0; background: var(--surface); border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; }
.g-item[hidden] { display: none; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.g-item:hover img { transform: scale(1.04); filter: brightness(1.06); }
.g-item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-more { margin: 28px auto 0; display: flex; border: 1.5px solid var(--line); cursor: pointer; background: none; font-family: "Outfit"; }
.g-count { color: var(--muted); font-weight: 500; }
@media (max-width: 1100px) { .g-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery { padding: 80px 0; } .g-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .g-item:nth-child(7n+1) { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; } }

/* ---------- reserva ---------- */
.booking { padding: 110px 0; border-top: 1px solid var(--line); }
.booking-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
.bk-form { display: grid; gap: 18px; }
.bk-sub { color: var(--muted); font-size: 18px; max-width: 50ch; margin-top: -4px; }
.field-row-3 { grid-template-columns: 1fr 1fr .7fr; }
.field textarea { width: 100%; background: var(--bg-2); color: var(--text); border: 1.5px solid rgba(220, 232, 245, .2); border-radius: 12px; padding: 13px 14px; font: 400 16px "Outfit"; resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.bk-form .field select, .bk-form .field input { background: var(--bg-2); }
.bk-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bk-actions .btn { border: 0; cursor: pointer; font-family: "Outfit"; }
.bk-actions .btn-line { border: 1.5px solid var(--line); background: none; color: var(--text); }
.bk-bank { background: var(--surface); border-radius: 20px; padding: 32px; display: grid; gap: 14px; position: sticky; top: 100px; }
.bank-ic { font-size: 34px; color: var(--accent); }
.bk-bank h3 { font-size: 24px; }
.bk-bank > p { color: var(--muted); }
.bank-data { display: grid; gap: 2px; margin: 6px 0; }
.bank-data div { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bank-data dt { color: var(--muted); font-size: 14px; }
.bank-data dd { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; font-variant-numeric: tabular-nums; word-break: break-all; }
.copy { flex: none; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); display: grid; place-items: center; cursor: pointer; font-size: 16px; transition: color .2s, border-color .2s; }
.copy:hover { color: var(--accent); border-color: var(--accent); }
.copy.is-done { color: #4CC38A; border-color: #4CC38A; }
@media (max-width: 860px) { .booking-grid { grid-template-columns: 1fr; } .bk-bank { position: static; } .field-row-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .booking { padding: 80px 0; } .bk-bank { padding: 24px; } }
