.sales-tour-page .mast, .sales-tour-page #bf-ticket {display:none}
.sales-tour-page #inicio {
  position:relative;isolation:isolate;width:100vw;margin-inline:calc(50% - 50vw);min-height:100svh;
  display:flex;align-items:center;justify-content:center;gap:clamp(32px,8vw,144px);
  padding:12px max(12px,env(safe-area-inset-right)) 12px max(12px,env(safe-area-inset-left));
  background:linear-gradient(90deg,rgba(9,22,23,.84),rgba(21,25,24,.49) 53%,rgba(12,24,25,.89)),url('./recorrido-ambiente.webp') center 52%/cover;
  color:#fff9e7;overflow:hidden;
}
.tour-intro {width:min(35vw,460px);align-self:center}
.tour-wordmark img {height:auto;max-width:48%;filter:drop-shadow(0 2px 14px #071a1c)}
.tour-intro h1 {font:normal clamp(48px,5.4vw,88px)/.99 Georgia,serif;letter-spacing:-.055em;color:#fff8e9;margin:32px 0 0}
.tour-intro h1 em {color:#ffdda1;font-weight:400}
.tour-theater {width:min(100%,calc((100svh - 91px)*.5625));min-width:0;position:relative;border-radius:19px;overflow:hidden;background:#10201f;box-shadow:0 0 0 1px #d7b16a66,0 20px 70px #031010a8}
.tour-stage {position:relative;aspect-ratio:9/16}
.tour-stage video {display:block;width:100%;height:100%;object-fit:contain}
.tour-tools {background:linear-gradient(100deg,#162923,#182322);color:#fff;position:relative}
.tour-tools progress {appearance:none;display:block;height:3px;width:100%;border:0;color:#e6b55e;background:#506157}
.tour-tools progress::-webkit-progress-bar {background:#506157}
.tour-tools progress::-webkit-progress-value {background:#f2ca76}
.tour-tools progress::-moz-progress-bar {background:#f2ca76}
.tour-controls,.tour-controls-end {display:flex;align-items:center;justify-content:space-between;gap:8px}
.tour-controls {padding:4px 10px}
.tour-controls button,.tour-stage button {cursor:pointer;font:600 14px/1.2 system-ui;color:#fff7e5;background:transparent;border:0;min-height:42px;min-width:42px;border-radius:12px}
.tour-controls button:focus-visible,.tour-stage button:focus-visible {outline:2px solid #ffe5a4;outline-offset:-2px}
#tour-sound {padding:5px 13px;color:#ffe3a5}
#tour-sound::before {content:'♪';margin-right:8px;font-size:18px}
#tour-captions {font-size:13px;letter-spacing:.06em}
#tour-captions[aria-pressed=true] {color:#ffdd94;text-decoration:underline;text-underline-offset:4px}
#tour-fallback {position:absolute;bottom:14%;left:8%;width:84%;background:#ffdb81;color:#1d271f;padding:10px}
html:has(.tour-locked),body.tour-locked {overflow:hidden;overscroll-behavior:none}
.tour-locked #home-features,.tour-locked footer,.tour-finished #inicio {display:none}
.tour-finished:not(:has(dialog[open])) #home-features:not([hidden]) .feature-action {position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,680px);padding:8px 14px max(8px,env(safe-area-inset-bottom));z-index:5}
.sales-tour-page #home-features #features {border-bottom:0}
.tour-finished:has(#home-features:not([hidden])) footer {padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}
.sales-tour-page #feature-next {
  position:relative;min-height:64px;padding:14px 32px;text-wrap:balance;
  background:linear-gradient(174deg,#ffe96e,#ffd233 65%,#ffc529);font-size:clamp(1rem,2.4vw,1.16rem)
}
.sales-tour-page #feature-next::before,.sales-tour-page #feature-next::after {
  content:"";position:absolute;width:10px;height:10px;pointer-events:none;
  background:#fffbed;clip-path:polygon(50% 0,63% 35%,100% 50%,63% 61%,50% 100%,38% 63%,0 50%,37% 37%);
}
.sales-tour-page #feature-next::before {left:17px;top:25%}
.sales-tour-page #feature-next::after {right:18px;bottom:25%}
@media (prefers-reduced-motion:no-preference) {
  .tour-finished #feature-next {animation:offer-pulse 2.8s ease-in-out infinite}
  .tour-finished #feature-next::before,.tour-finished #feature-next::after {animation:offer-spark 2.8s ease-out infinite}
  .tour-finished #feature-next::after {animation-delay:-1.4s}
}
@keyframes offer-pulse {
  0%,85%,100% {scale:1;box-shadow:0 3px 0 #ad7d0b,0 0 0 0 #ffcb4250}
  42% {scale:1.023;box-shadow:0 3px 0 #ad7d0b,0 0 16px 4px #ffcb4270}
}
@keyframes offer-spark {
  0%,78%,100% {opacity:0;transform:translateY(4px) scale(.55)}
  24% {opacity:1;transform:translateY(-2px) scale(1.3)}
  65% {opacity:0;transform:translateY(-18px) scale(.75)}
}
.sales-tour-page video::cue {font-family:system-ui;color:white;background:#102321eb}
@media(max-width:760px){
  .tour-intro {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .sales-tour-page #inicio {padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);min-height:100svh;background-position:34% center}
  .tour-theater {width:min(100vw,calc((100svh - 54px - env(safe-area-inset-top) - env(safe-area-inset-bottom))*.5625));border-radius:0}
}
@media(max-height:465px) and (orientation:landscape){
  .sales-tour-page #inicio {padding:0}
  .tour-theater {width:min(100%,calc((100svh - 54px)*.5625));border-radius:0}
}
#tour-begin {position:absolute;top:46%;left:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:.65em;white-space:nowrap;padding:13px 22px;border:1px solid #fff2c2;background:#ffdd90;color:#21291e;border-radius:100px;box-shadow:0 6px 26px #09150caf;font-size:17px}
#tour-begin span {font-size:15px}
#tour-offer-link {position:absolute;left:10%;right:10%;bottom:5%;height:14%;border-radius:40px}
#tour-offer-link:focus-visible {outline:3px solid white;outline-offset:-4px}

/* El pie es parte del panel; solo se desplaza la zona que contiene los planes. */
#opciones .offer-exit {flex:none;width:auto;align-self:stretch;margin:0 clamp(10px,2.9vw,32px) max(5px,env(safe-area-inset-bottom));min-height:34px;padding:3px 8px;gap:9px;border-radius:7px;font-size:.76rem}
#opciones .offer-exit strong {min-height:24px;padding:2px 9px;font-size:.72rem}
#opciones .choice-toolbar {justify-content:flex-start}
#offer-music {border:0;color:inherit;background:transparent;display:grid;place-items:center;min-width:38px;min-height:40px;padding:0;margin-left:auto}
#offer-music .sound-waves,#offer-music[aria-pressed=true] .sound-off {display:none}
#offer-music[aria-pressed=true] .sound-waves {display:block}
#opciones #discount {font-size:clamp(1.28rem,4.3vw,1.68rem)}
#opciones .annual-summary .term-price #annual-price {color:#ffd633}
#annual-bonus {position:relative;isolation:isolate}
.open-present {width:clamp(43px,6vw,64px);height:auto;filter:drop-shadow(0 4px 4px #74412232)}
#annual-bonus .bonus-label {display:inline-block;padding:4px 8px;color:#653916;background:#ffe39f;border:1px solid #dfb768;border-radius:5px;font-size:.72rem;line-height:1.28}
.gift-wrap {display:none}
#annual-bonus[data-gift] .gift-wrap {
  display:flex;position:absolute;z-index:1;inset:-2px;align-items:center;justify-content:center;gap:clamp(1px,1vw,9px);
  padding:12px clamp(8px,2vw,18px);border-radius:inherit;border:2px solid #e2bd79;overflow:hidden;
  color:#fff7dc;background:linear-gradient(110deg,transparent 12%,#d49548 12.1%,#ffedac 14%,#af7235 17%,transparent 17.4%),repeating-linear-gradient(137deg,transparent 0 9px,#ffd7a30b 9px 10px),linear-gradient(125deg,#60233a,#9f3d4a 53%,#4c1a2f);
  box-shadow:inset 0 0 0 3px #ffdaa12e,0 5px 12px #09252040;
}
.gift-wrap img {width:clamp(76px,21vw,114px);height:auto;filter:drop-shadow(0 5px 5px #350f24aa)}
.gift-wrap span {max-width:8em;text-align:left;font:normal clamp(1.26rem,4.7vw,1.75rem)/1.03 Georgia,serif;color:#fff6dc}
.gift-wrap em {display:block;font-size:1.4em;color:#ffe09b}
#annual-bonus[data-gift=wrapped] > :is(.open-present,.bonus-copy) {visibility:hidden}
#annual-bonus[data-gift=revealed] .gift-wrap {display:none}
.gift-confetti {position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:4}
.gift-confetti i {position:absolute;width:7px;height:11px;border-radius:2px}
@media(prefers-reduced-motion:no-preference){
  #opciones[open] #annual-bonus[data-gift=wrapped] {animation:wrapped-gift 1.75s ease-in-out infinite}
  #opciones[open] #annual-bonus[data-gift=opening] {animation:gift-bounce .72s ease-out both}
  #annual-bonus[data-gift=opening] .gift-wrap {animation:unwrap .48s ease-in both;pointer-events:none}
  #opciones[open] #annual-bonus[data-gift=revealed] {animation:gift-pulse 2.6s ease-in-out infinite,bonus-ring 3s linear infinite}
  @keyframes wrapped-gift {0%,18%,45%,100% {transform:rotate(0)} 26% {transform:rotate(-1.2deg) scale(1.014)} 34% {transform:rotate(1deg) scale(1.015)}}
  @keyframes unwrap {to {opacity:0;transform:translateY(-22%) rotate(-4deg) scale(1.13)}}
  @keyframes gift-bounce {0% {transform:scale(.95)} 47% {transform:scale(1.047)} 73% {transform:scale(.987)} 100% {transform:scale(1)}}
  @keyframes gift-pulse {0%,20%,92%,100% {transform:scale(.988)} 50% {transform:scale(1.03)}}
}

#opciones[open] #annual-bonus[data-gift=revealed]:is(:hover,:focus-within) {animation-play-state:paused,running}

@media (prefers-reduced-motion:no-preference) {
  #gratis:not([hidden]) .offer-return {animation:return-pulse 2.2s ease-in-out infinite}
  #gratis .offer-return:is(:hover,:focus-visible,:active) {animation-play-state:paused}
  @keyframes return-pulse {
    0%,20%,90%,100% {scale:1}
    55% {scale:1.045;box-shadow:0 3px 12px #34594426}
  }
}
