/* Mundo Spot — estilos del sitio */

:root {
  --violeta: #4F22C4;
  --uva: #24124F;
  --mandarina: #FF8A3D;
  --lavanda: #E7DFFF;
  --nube: #F7F4FF;
  --blanco: #FFFFFF;
  --texto-2: #3D3456;
  --gris: #615A78;
  --borde: #E1D8F7;

  --f-titulo: 'Nunito', system-ui, sans-serif;
  --f-texto: 'DM Sans', system-ui, sans-serif;

  --radio: 20px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--nube);
  color: var(--uva);
  font-family: var(--f-texto);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
main { overflow-x: clip; } /* la cinta inclinada y la ruta del hero no generan scroll lateral */
[hidden] { display: none !important; }

a { color: var(--violeta); }
a:hover { color: var(--uva); }

:focus-visible { outline: 3px solid var(--mandarina); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--f-titulo); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--uva); color: var(--blanco); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 16px; }

/* Logo: mundo · · · ✈ spot */
.logo {
  display: inline-block; padding: 8px 0; white-space: nowrap; text-decoration: none;
  font-family: var(--f-titulo); font-weight: 900; font-size: 32px; line-height: .9;
  letter-spacing: -0.04em; color: var(--violeta);
}
.logo:hover { color: var(--violeta); }
.logo__ruta {
  display: inline-block; width: .6em; height: .36em; margin-left: .08em;
  fill: none; stroke: var(--mandarina); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: .5 7.5;
}
.logo__avion { display: inline-block; width: .36em; height: .36em; margin: 0 .12em 0 .02em; }
.logo__avion circle { fill: var(--mandarina); }
.logo__avion path { fill: var(--uva); }
.logo--light, .logo--light:hover { color: var(--blanco); font-size: 38px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--mandarina); color: var(--uva); }
.btn--primary:hover { background: #FF9D5C; color: var(--uva); }
.btn--outline { border-color: var(--violeta); color: var(--violeta); }
.btn--outline:hover { background: var(--violeta); color: var(--blanco); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 16px; }
.btn--block { width: 100%; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 255, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--borde);
  transition: box-shadow .3s ease;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; transition: padding .3s ease; }
.header.is-scrolled { box-shadow: 0 8px 30px rgba(36, 18, 79, .08); }
.header.is-scrolled .header__inner { padding-top: 10px; padding-bottom: 10px; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 16px; }
.nav a:not(.btn) { color: var(--uva); text-decoration: none; padding: 10px 0; }
.nav a, .btn { white-space: nowrap; }
.redes--nav { flex-wrap: nowrap; }
.nav a:not(.btn):hover { color: var(--violeta); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: var(--lavanda); cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--uva); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Hero */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; position: relative; z-index: 1; }
.hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--violeta); }
.hero h1 { font-weight: 900; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.03em; }
.lead { font-size: 19px; color: var(--texto-2); max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__art {
  flex: 1 1 420px; min-width: 0; position: relative; height: 460px;
  border-radius: 28px; background: var(--violeta); overflow: hidden;
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: kenburns 18s ease-in-out infinite alternate; }

/* Secciones */
.section { padding: 96px 0; }
.section--white { background: var(--blanco); }
.section--lavanda { background: var(--lavanda); }
.section--violeta { background: var(--violeta); color: var(--blanco); }
.section__head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 40px; }
.section__head h2 { font-weight: 900; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.section__head p { font-size: 18px; color: var(--texto-2); }

/* Servicios */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--nube); border-radius: var(--radio); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card__icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--lavanda);
  display: flex; align-items: center; justify-content: center; color: var(--violeta);
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-weight: 800; font-size: 22px; }
.card p { font-size: 16px; color: var(--texto-2); }

/* Destinos */
.destinos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.destino {
  background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.destino:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(36, 18, 79, .12); }
.destino__img { aspect-ratio: 3 / 2; background: var(--bg, var(--violeta)); position: relative; overflow: hidden; }
.destino__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.destino:hover .destino__img img { transform: scale(1.06); }
.destino__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.destino h3 { font-weight: 900; font-size: 26px; }
.destino p { font-size: 16px; color: var(--texto-2); }
.destino__foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 600; }
.destino__foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* Cómo trabajamos */
.pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.paso { background: var(--blanco); border-radius: var(--radio); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.paso__num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--mandarina);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-titulo); font-weight: 900; font-size: 24px;
}
.paso h3 { font-weight: 800; font-size: 22px; }
.paso p { font-size: 16px; color: var(--texto-2); }

/* Contacto */
.contacto { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.contacto__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contacto__info h2 { font-weight: 900; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; }
.contacto__info > p { font-size: 18px; color: var(--lavanda); }
.datos { margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.datos dt { font-size: 14px; color: var(--lavanda); }
.datos dd { margin: 4px 0 0; font-size: 18px; font-weight: 600; }
.datos a { color: var(--blanco); text-decoration-color: rgba(255, 255, 255, .4); }
.datos a:hover { color: var(--lavanda); }

.form {
  flex: 1 1 460px; min-width: 0; background: var(--blanco); color: var(--uva);
  border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.form h3 { font-weight: 900; font-size: 24px; }
.form__hint { font-size: 15px; color: var(--gris); margin-top: -8px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1.5px solid #CFC4EE; border-radius: 12px; background: var(--blanco);
  font: inherit; font-weight: 400; font-size: 16px; color: var(--uva);
}
.form textarea { padding: 12px 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--violeta); box-shadow: 0 0 0 3px var(--lavanda); }
.form [aria-invalid="true"] { border-color: #C2302B; }
.form__status { font-size: 15px; min-height: 1.2em; }
.form__status.is-error { color: #C2302B; }

/* Salidas */
.salidas { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.salidas__vacio { font-size: 18px; color: var(--texto-2); }
.salida {
  background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio);
  overflow: hidden; display: flex; flex-direction: column;
}
.salida {
  transition: transform .2s ease, box-shadow .2s ease;
}
.salida:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(36, 18, 79, .14); }
.salida__img { position: relative; aspect-ratio: 16 / 9; background: var(--violeta); overflow: hidden; }
.salida__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.salida:hover .salida__img img { transform: scale(1.06); }
.salida__badge {
  position: absolute; left: 16px; top: 16px; padding: 6px 14px; border-radius: 999px;
  background: var(--blanco); color: #0B7A3B; font-weight: 700; font-size: 14px;
}
.salida__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.salida__region { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violeta); }
.salida h3 { font-weight: 900; font-size: 32px; line-height: 1; }
.salida__fecha { font-weight: 700; }
.salida__incluye { margin: 0; padding-left: 20px; font-size: 15px; color: var(--texto-2); }
.salida__precios { display: flex; flex-wrap: wrap; gap: 8px; }
.salida__precios span { padding: 6px 12px; border-radius: 999px; background: var(--nube); border: 1px solid var(--borde); font-size: 14px; }
.salida__precios b { color: var(--violeta); }
.salida__nota { font-size: 13px; color: var(--gris); }
.salida__foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.salida__foot span { font-size: 15px; }
.salida__foot b { font-family: var(--f-titulo); font-weight: 900; font-size: 26px; color: var(--uva); }

/* Footer */
.footer { background: var(--uva); color: var(--lavanda); padding: 56px 0 32px; font-size: 16px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 4px; }
.footer a:not(.logo) { color: var(--lavanda); padding: 6px 0; text-decoration: none; }
.footer a:not(.logo):hover { color: var(--blanco); text-decoration: underline; }
.footer__credits { flex-basis: 100%; margin: 0; font-size: 12px; color: #B9AEDB; }
.footer__legal { border-top: 1px solid #4A3A75; padding-top: 24px; font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; background: var(--mandarina); color: var(--uva);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(36, 18, 79, .25); transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); color: var(--uva); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Movimiento ---------- */

/* Aparición al hacer scroll (js/main.js). Sin JS, todo se ve normal. */
.js-anim [data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
  transition-delay: var(--d, 0s);
}
.js-anim [data-reveal="izq"] { transform: translateX(-40px); }
.js-anim [data-reveal="der"] { transform: translateX(40px); }
.js-anim [data-reveal="zoom"] { transform: scale(.92); }
.js-anim [data-reveal].is-visible { opacity: 1; transform: none; }

/* Reflejo: una franja de luz que cruza botones, fotos y logo */
.btn--primary::after,
.destino__img::after,
.salida__img::after,
.hero__art::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 45%; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.btn--primary::after { animation: brillo 5s ease-in-out infinite; }
.btn--primary:hover::after { animation-duration: 1.2s; }
.destino:hover .destino__img::after,
.salida:hover .salida__img::after { left: 140%; transition: left .9s ease; }
.hero__art::after { animation: brillo 7s ease-in-out 3s infinite; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); }
@keyframes brillo { 0%, 72% { left: -75%; } 100% { left: 140%; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1) translate(-1.5%, -1%); } }

/* Logo del header: un reflejo cuando termina la intro */
.logo--brillo {
  background: linear-gradient(110deg, var(--violeta) 42%, #B79CFF 50%, var(--violeta) 58%) 100% 0 / 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: brilloTexto 1.1s ease .1s both;
}

/* ---------- Intro de la home (js/intro.js) ---------- */
.intro { display: none; }
html.intro-on { overflow: hidden; }
html.intro-on .header .logo { opacity: 0; }
html.intro-on .intro {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  background: var(--violeta); overflow: hidden; cursor: pointer;
  transition: background-color .9s cubic-bezier(.7, 0, .2, 1);
}
.intro::before, .intro::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; transition: opacity .6s ease; }
.intro::before { width: 80vmax; height: 80vmax; left: -30vmax; top: -34vmax; background: #5E33D1; }
.intro::after { width: 60vmax; height: 60vmax; right: -26vmax; bottom: -30vmax; background: var(--mandarina); opacity: .16; }
.intro__logo {
  position: relative; z-index: 1; transform-origin: 0 0; white-space: nowrap;
  font-family: var(--f-titulo); font-weight: 900; font-size: clamp(56px, 13vw, 184px); line-height: .9;
  letter-spacing: -0.04em; color: var(--blanco);
  transition: transform .9s cubic-bezier(.7, 0, .2, 1), color .9s ease;
}
.intro__logo .logo__ruta, .intro__logo .logo__avion { vertical-align: baseline; }
.intro__txt { display: inline-block; }
.intro__mundo { animation: introIzq .8s cubic-bezier(.2, .9, .3, 1.15) .15s both; }
.intro__spot { animation: introDer .8s cubic-bezier(.2, .9, .3, 1.15) .3s both; }
.intro__logo .logo__ruta { animation: rutaIn .5s ease .65s both; }
.intro__logo .logo__avion { animation: avionIn .7s cubic-bezier(.3, 1.6, .5, 1) .95s both; }
.intro__txt--brillo {
  background: linear-gradient(110deg, #fff 42%, #FFC59E 50%, #fff 58%) 100% 0 / 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.intro__mundo.intro__txt--brillo { animation: introIzq .8s cubic-bezier(.2, .9, .3, 1.15) .15s both, brilloTexto 1.1s ease 1.3s both; }
.intro__spot.intro__txt--brillo { animation: introDer .8s cubic-bezier(.2, .9, .3, 1.15) .3s both, brilloTexto 1.1s ease 1.4s both; }
.intro__tag {
  position: relative; z-index: 1; font-family: 'Pacifico', cursive; font-size: clamp(20px, 2.6vw, 32px);
  color: var(--mandarina); animation: subir .7s ease 1.2s both; transition: opacity .3s ease;
}
.intro--sale { background-color: rgba(79, 34, 196, 0) !important; pointer-events: none; }
.intro--sale::before, .intro--sale::after, .intro--sale .intro__tag { opacity: 0; }
.intro--sale .intro__logo { color: var(--violeta); }

@keyframes introIzq { from { opacity: 0; transform: translateX(-.5em); } }
@keyframes introDer { from { opacity: 0; transform: translateX(.5em); } }
@keyframes rutaIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes avionIn { from { transform: scale(0) rotate(-200deg); } }
@keyframes subir { from { opacity: 0; transform: translateY(16px); } }
@keyframes brilloTexto { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------- Hero ---------- */
.hero h1 .resalte { color: var(--violeta); }
.hero__ruta { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__ruta path { fill: none; stroke: #CDBEF5; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 14; }
.hero__avion circle { fill: var(--mandarina); }
.hero__avion path { fill: var(--uva); stroke: none; }
.hero__art { box-shadow: 0 30px 60px rgba(36, 18, 79, .18); }
.hero__chip {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: grid; grid-template-columns: auto; gap: 2px; padding: 14px 22px 14px 20px;
  background: rgba(255, 255, 255, .95); color: var(--uva); text-decoration: none;
  border-radius: 20px; box-shadow: 0 16px 40px rgba(36, 18, 79, .25);
  animation: flotar 4s ease-in-out infinite;
}
.hero__chip:hover { color: var(--uva); background: var(--blanco); }
.hero__chip-k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #0B7A3B; display: flex; align-items: center; gap: 8px; }
.hero__chip-k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1DB954; box-shadow: 0 0 0 0 rgba(29, 185, 84, .6); animation: latido 1.8s ease-out infinite; }
.hero__chip b { font-family: var(--f-titulo); font-weight: 900; font-size: 20px; line-height: 1.15; }
.hero__chip-p { font-size: 14px; font-weight: 700; color: var(--violeta); }
@keyframes flotar { 50% { transform: translateY(-8px); } }
@keyframes latido { 70% { box-shadow: 0 0 0 10px rgba(29, 185, 84, 0); } 100% { box-shadow: 0 0 0 0 rgba(29, 185, 84, 0); } }

/* Cinta de destinos */
.cinta { background: var(--uva); color: var(--blanco); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg); margin: -10px -20px 0; position: relative; z-index: 2; }
.cinta__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: cinta 38s linear infinite; }
.cinta span { font-family: var(--f-titulo); font-weight: 900; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.02em; white-space: nowrap; }
.cinta svg { width: 26px; height: 26px; flex-shrink: 0; }
.cinta:hover .cinta__track { animation-play-state: paused; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* Transición entre páginas (js/main.js) */
.transicion {
  position: fixed; inset: 0; z-index: 300; pointer-events: none; visibility: hidden;
  background: var(--violeta); display: flex; align-items: center; justify-content: center;
  clip-path: circle(0 at var(--x, 50%) var(--y, 50%));
}
.transicion svg { width: 96px; height: 96px; }
.transicion circle { fill: var(--mandarina); }
.transicion path { fill: var(--uva); }
.transicion.is-entrando { visibility: visible; pointer-events: auto; clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); transition: clip-path .62s cubic-bezier(.7, 0, .3, 1); }
.transicion.is-entrando svg { animation: despegue .62s cubic-bezier(.5, 0, .5, 1) both; }
.transicion.is-cubriendo { visibility: visible; clip-path: inset(0 0 0 0); }
.transicion.is-saliendo { clip-path: inset(0 0 100% 0); transition: clip-path .75s cubic-bezier(.7, 0, .2, 1) .1s; }
.transicion.is-cubriendo svg { animation: despegue2 .7s ease both; }
@keyframes despegue { from { transform: translate(-30vw, 20vh) scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes despegue2 { to { transform: translate(40vw, -40vh) scale(.5); opacity: 0; } }

/* ---------- Página de reserva (reservar.html) ---------- */
.header__acciones { display: flex; align-items: center; gap: 20px; }
.link-volver { font-weight: 600; text-decoration: none; color: var(--uva); }

.r-banner { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; background: var(--uva); color: var(--blanco); }
.r-banner__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 20s ease-in-out infinite alternate; }
.r-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(36, 18, 79, .15) 0%, rgba(36, 18, 79, .45) 50%, rgba(36, 18, 79, .92) 100%); }
.r-banner__inner { position: relative; z-index: 2; width: 100%; padding-top: 80px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 14px; }
.r-banner__kicker { align-self: flex-start; font-family: 'Pacifico', cursive; font-size: 26px; color: var(--blanco); background: var(--mandarina); padding: 2px 22px 8px; border-radius: 999px; transform: rotate(-3deg); animation: subir .6s ease .2s both; }
.r-banner h1 { font-weight: 900; font-size: clamp(54px, 9vw, 112px); line-height: .95; letter-spacing: -0.04em; text-shadow: 0 6px 30px rgba(0, 0, 0, .3); animation: subir .7s cubic-bezier(.2, .8, .2, 1) .3s both; }
.r-banner__chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.r-banner__chips li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .3); font-weight: 600; font-size: 15px; animation: subir .6s ease both; animation-delay: calc(.5s + var(--d, 0s)); }
.r-banner__credito { position: absolute; right: 16px; top: 12px; z-index: 2; font-size: 12px; color: rgba(255, 255, 255, .8); }

.r-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; margin-top: -80px; position: relative; z-index: 3; padding-bottom: 96px; }
.r-panel { background: var(--blanco); border-radius: 28px; padding: 36px; box-shadow: 0 30px 70px rgba(36, 18, 79, .14); scroll-margin-top: 90px; animation: subir .7s cubic-bezier(.2, .8, .2, 1) .45s both; }

.r-pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-weight: 700; font-size: 15px; color: var(--gris); }
.r-pasos li { display: flex; align-items: center; gap: 10px; transition: color .3s ease; }
.r-pasos li:nth-child(2) { justify-content: center; }
.r-pasos li:nth-child(3) { justify-content: flex-end; }
.r-pasos span { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--lavanda); color: var(--violeta); font-family: var(--f-titulo); font-weight: 900; transition: background-color .3s ease, color .3s ease, transform .3s ease; }
.r-pasos .is-actual { color: var(--uva); }
.r-pasos .is-actual span { background: var(--mandarina); color: var(--uva); transform: scale(1.12); }
.r-pasos .is-hecho span { background: var(--violeta); color: var(--blanco); }
.r-ruta { position: relative; height: 34px; margin: 10px 16px 18px; }
.r-ruta::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 3px dotted #CDBEF5; }
.r-ruta__avion { position: absolute; top: 50%; left: 0; width: 34px; height: 34px; transform: translate(-50%, -50%); transition: left .8s cubic-bezier(.6, 0, .2, 1); }
.r-ruta__avion svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(36, 18, 79, .25)); }
.r-ruta__avion circle { fill: var(--mandarina); }
.r-ruta__avion path { fill: var(--uva); }

.r-form { display: flex; flex-direction: column; gap: 16px; }
.etapa { display: flex; flex-direction: column; gap: 22px; }
.etapa.is-activa { animation: etapaIn .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes etapaIn { from { opacity: 0; transform: translateX(30px); } }
.etapa h2 { font-weight: 900; font-size: clamp(28px, 3.6vw, 38px); outline: none; }
.etapa__hint { margin-top: -12px; color: var(--gris); font-size: 15px; }
.etapa__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 6px; }
.etapa__nav .btn--primary:only-child { margin-left: auto; }

.r-form label, .r-ok label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.r-form input, .r-form select, .r-form textarea {
  width: 100%; min-height: 50px; padding: 0 14px;
  border: 1.5px solid #CFC4EE; border-radius: 14px; background: var(--blanco);
  font: inherit; font-weight: 400; font-size: 16px; color: var(--uva);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.r-form textarea { padding: 12px 14px; resize: vertical; }
.r-form input:focus, .r-form select:focus, .r-form textarea:focus { outline: none; border-color: var(--violeta); box-shadow: 0 0 0 4px var(--lavanda); }
.r-form [aria-invalid="true"] { border-color: #C2302B; animation: sacudir .35s ease; }
@keyframes sacudir { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.r-form .form__status { font-size: 15px; min-height: 1.2em; }
.r-form .form__status.is-error { color: #C2302B; font-weight: 600; }

.grupo { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.grupo legend, .grupo__titulo { padding: 0; margin-bottom: 12px; font-family: var(--f-titulo); font-weight: 800; font-size: 18px; }
.grupo__titulo { margin-bottom: 0; }
.opciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.r-form .opcion {
  position: relative; cursor: pointer; gap: 2px; padding: 18px 18px 16px; border-radius: 18px;
  border: 2px solid var(--borde); background: var(--nube);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.r-form .opcion:hover { transform: translateY(-2px); border-color: #CDBEF5; }
.r-form .opcion input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.opcion__t { font-family: var(--f-titulo); font-weight: 900; font-size: 19px; color: var(--uva); }
.opcion__p { font-family: var(--f-titulo); font-weight: 900; font-size: 22px; color: var(--violeta); }
.opcion__s { font-size: 13px; font-weight: 500; color: var(--gris); }
.r-form .opcion:has(input:checked) { border-color: var(--violeta); background: var(--blanco); box-shadow: 0 10px 26px rgba(79, 34, 196, .16); }
.r-form .opcion:has(input:checked)::after {
  content: "✓"; position: absolute; right: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--violeta); color: var(--blanco); font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; animation: avionIn .35s ease both;
}
.r-form .opcion:has(input:focus-visible) { outline: 3px solid var(--mandarina); outline-offset: 3px; }

.contador { display: inline-flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--nube); border: 2px solid var(--borde); align-self: flex-start; }
.contador button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blanco); color: var(--violeta); font: 800 24px/1 var(--f-titulo); cursor: pointer; box-shadow: 0 2px 8px rgba(36, 18, 79, .1); transition: transform .15s ease; }
.contador button:hover:not(:disabled) { transform: scale(1.08); }
.contador button:disabled { opacity: .35; cursor: default; }
.contador output { min-width: 48px; text-align: center; font-family: var(--f-titulo); font-weight: 900; font-size: 26px; }

.r-form .pasajero { margin: 0; padding: 20px; border: 1.5px solid var(--borde); border-radius: 18px; display: flex; flex-direction: column; gap: 12px; }
.r-form .pasajero legend { padding: 0 8px; font-weight: 800; font-family: var(--f-titulo); display: flex; align-items: center; gap: 8px; }
.pasajero__n { width: 26px; height: 26px; border-radius: 50%; background: var(--mandarina); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
#pasajeros { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.r-form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 15px; }
.r-form .check input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; accent-color: var(--violeta); }
.oculto { position: absolute; left: -9999px; }

/* Pase de viaje (resumen) */
.pase { position: sticky; top: 100px; border-radius: 26px; background: var(--blanco); box-shadow: 0 30px 70px rgba(36, 18, 79, .16); overflow: hidden; animation: subir .7s cubic-bezier(.2, .8, .2, 1) .6s both; }
.pase__top { position: relative; overflow: hidden; background: var(--violeta); color: var(--blanco); padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 4px; }
.pase__top::after { content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-20deg); animation: brillo 6s ease-in-out 1.5s infinite; }
.pase__fila { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lavanda); margin-bottom: 8px; }
.pase__logo { font-family: var(--f-titulo); font-weight: 900; font-size: 18px; letter-spacing: -0.04em; text-transform: none; color: var(--blanco); display: inline-flex; align-items: center; }
.pase__logo i { display: inline-block; width: 8px; height: 8px; margin: 0 3px; border-radius: 50%; background: var(--mandarina); }
.pase__destino { font-family: var(--f-titulo); font-weight: 900; font-size: 40px; line-height: 1; letter-spacing: -0.03em; }
.pase__sub { font-size: 14px; color: var(--lavanda); }
.pase__corte { position: relative; height: 0; border-top: 3px dashed var(--borde); margin: 0 22px; }
.pase__corte::before, .pase__corte::after { content: ""; position: absolute; top: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--nube); }
.pase__corte::before { left: -36px; }
.pase__corte::after { right: -36px; }
.pase__det { margin: 0; padding: 22px 26px 8px; display: flex; flex-direction: column; gap: 8px; }
.pase__det div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.pase__det dt { color: var(--texto-2); }
.pase__det dd { margin: 0; font-weight: 600; white-space: nowrap; }
.pase__total { border-top: 1.5px solid var(--borde); padding-top: 10px; margin-top: 4px; align-items: baseline; }
.pase__total dt { font-weight: 800; color: var(--uva); }
.pase__total dd { font-family: var(--f-titulo); font-weight: 900; font-size: 26px; }
.pase__total dd.late { animation: late .5s ease; }
@keyframes late { 40% { transform: scale(1.12); color: var(--violeta); } }
.pase__sena { margin: 8px 26px 0; padding: 14px 18px; border-radius: 16px; background: #FFF1E7; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 12px; }
.pase__sena span { font-weight: 700; }
.pase__sena b { font-family: var(--f-titulo); font-weight: 900; font-size: 24px; color: #C2551A; }
.pase__sena small { grid-column: 1 / -1; color: var(--gris); font-size: 13px; }
.pase__barras { height: 46px; margin: 20px 26px 24px; background: repeating-linear-gradient(90deg, var(--uva) 0 3px, transparent 3px 6px, var(--uva) 6px 7px, transparent 7px 11px, var(--uva) 11px 15px, transparent 15px 17px); opacity: .85; border-radius: 4px; }
.pase__sello { position: absolute; right: 22px; bottom: 26px; padding: 6px 16px; border: 3px solid #0B7A3B; border-radius: 10px; color: #0B7A3B; font-family: var(--f-titulo); font-weight: 900; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .92); transform: rotate(-10deg) scale(2); opacity: 0; pointer-events: none; }
.pase--enviado .pase__sello { animation: sello .45s cubic-bezier(.3, 1.4, .5, 1) .3s both; }
@keyframes sello { to { transform: rotate(-10deg) scale(1); opacity: 1; } }

/* Reserva enviada */
.r-ok { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; outline: none; }
.r-ok h2 { font-weight: 900; font-size: clamp(30px, 4vw, 40px); }
.r-ok__check { width: 84px; height: 84px; border-radius: 50%; background: var(--violeta); display: flex; align-items: center; justify-content: center; animation: avionIn .6s cubic-bezier(.3, 1.6, .5, 1) both; }
.r-ok__check svg { width: 46px; height: 46px; fill: none; stroke: var(--blanco); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: trazo .5s ease .4s forwards; }
@keyframes trazo { to { stroke-dashoffset: 0; } }
.reserva__pago { padding: 16px 20px; border-radius: 14px; background: var(--lavanda); font-weight: 600; }

.r-vacio { padding-top: 64px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.r-vacio h2 { font-weight: 900; font-size: clamp(28px, 4vw, 40px); }
.r-barra { display: none; }
.footer--mini { padding: 28px 0 32px; }
.footer--mini a { color: var(--lavanda); }


/* Cuenta regresiva, compartir, galería y avisos (reserva y tarjetas) */
.salida__cuenta { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 6px 14px; border-radius: 999px; background: var(--uva); color: var(--blanco); font-size: 14px; }
.salida__cuenta b { font-family: var(--f-titulo); font-weight: 900; color: var(--mandarina); }
.salida__btns { display: flex; align-items: center; gap: 10px; }
.btn-icono { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--borde); background: var(--blanco); color: var(--violeta); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
.btn-icono:hover { transform: translateY(-1px); border-color: var(--violeta); }
.btn-icono svg, .btn--blanco svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--blanco { background: var(--blanco); color: var(--uva); gap: 10px; }
.btn--blanco:hover { background: var(--lavanda); color: var(--uva); }

.r-banner__fotos { position: absolute; inset: 0; }
.r-banner__fotos .r-banner__foto { opacity: 0; transition: opacity 1.4s ease; }
.r-banner__fotos .r-banner__foto.is-activa { opacity: 1; }
.r-banner__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; animation: subir .6s ease .8s both; }
.cuenta { margin: 0; padding: 10px 18px; border-radius: 14px; background: var(--uva); color: var(--lavanda); font-size: 16px; font-weight: 600; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.cuenta b { font-family: var(--f-titulo); font-weight: 900; font-size: 24px; color: var(--mandarina); }
.r-banner__puntos { position: absolute; right: 24px; bottom: 96px; z-index: 2; display: flex; gap: 8px; }
.r-banner__puntos span { width: 9px; height: 9px; border-radius: 999px; background: rgba(255, 255, 255, .5); transition: width .4s ease, background-color .4s ease; }
.r-banner__puntos .is-activo { width: 26px; background: var(--blanco); }

.aviso-menor { margin: 0; padding: 12px 16px; border-radius: 12px; background: #FFF4D6; color: #6B4A00; font-size: 14px; border-left: 4px solid #F2B21B; animation: subir .35s ease both; }
.etapa__hint--in { margin: -4px 0 0; }


/* Redes y mail */
.redes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.redes a { display: inline-flex; align-items: center; gap: 10px; min-width: 44px; min-height: 44px; justify-content: center; border-radius: 999px; text-decoration: none; transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.redes a:hover { transform: translateY(-2px); }
.redes svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.redes svg .lleno { fill: currentColor; stroke: none; }
.redes--nav { gap: 4px; }
.nav .redes--nav a { color: var(--violeta); padding: 0; border: 0; }
.nav .redes--nav a:hover { background: var(--lavanda); color: var(--uva); }
.footer .redes--pie a { background: rgba(255, 255, 255, .1); color: var(--blanco); padding: 0 12px; }
.footer .redes--pie a:hover { background: var(--mandarina); color: var(--uva); text-decoration: none; }
.redes--texto a { padding: 0 18px 0 14px; font-weight: 600; font-size: 15px; }
.footer__mini-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; }
.footer__mini-titulo { font-family: var(--f-titulo); font-weight: 900; font-size: 22px; color: var(--blanco); }
.r-ok__redes { font-size: 15px; color: var(--texto-2); }


/* Turismo joven */
.joven { background: var(--uva); color: var(--blanco); position: relative; overflow: hidden; }
.joven::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; background: var(--violeta); opacity: .55; right: -220px; top: -240px; }
.joven__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.joven__texto { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.joven__tag { align-self: flex-start; font-family: 'Pacifico', cursive; font-size: 24px; padding: 0 22px 8px; border-radius: 999px; background: var(--mandarina); color: var(--blanco); transform: rotate(-3deg); }
.joven h2 { font-weight: 900; font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.joven h2 span { color: var(--mandarina); display: block; }
.joven__texto > p { font-size: 18px; color: var(--lavanda); max-width: 560px; }
.joven__lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.joven__lista li { display: grid; grid-template-columns: 14px 1fr; column-gap: 14px; }
.joven__lista li::before { content: ""; grid-row: span 2; width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; background: var(--mandarina); }
.joven__lista b { font-family: var(--f-titulo); font-weight: 900; font-size: 19px; }
.joven__lista span { color: var(--lavanda); font-size: 16px; }
.btn--claro { border-color: rgba(255, 255, 255, .6); color: var(--blanco); }
.btn--claro:hover { background: var(--blanco); color: var(--uva); }

.chat { flex: 0 1 380px; min-width: 0; margin: 0 auto; border-radius: 28px; overflow: hidden; background: #EFE7DE; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); transform: rotate(2deg); }
.chat__head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--violeta); }
.chat__head b { display: block; font-family: var(--f-titulo); font-weight: 900; font-size: 18px; }
.chat__head small { color: var(--lavanda); font-size: 13px; }
.chat__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--mandarina); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.chat__body { padding: 20px 16px 24px; display: flex; flex-direction: column; gap: 10px; }
.msg { align-self: flex-start; max-width: 82%; padding: 8px 14px 10px; border-radius: 18px 18px 18px 4px; background: var(--blanco); color: var(--uva); font-size: 15px; line-height: 1.35; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.msg b { display: block; font-size: 12px; color: #C2551A; }
.msg--yo { align-self: flex-end; border-radius: 18px 18px 4px 18px; background: #D9FDD3; }
.js-anim .chat.is-visible .msg { animation: msgIn .45s cubic-bezier(.3, 1.4, .5, 1) both; }
.chat .msg:nth-child(2) { animation-delay: .5s !important; }
.chat .msg:nth-child(3) { animation-delay: 1s !important; }
.chat .msg:nth-child(4) { animation-delay: 1.5s !important; }
.chat .msg:nth-child(5) { animation-delay: 2s !important; }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(.9); } }

/* Avisos de próximas salidas */
.avisos { background: linear-gradient(180deg, var(--nube), var(--lavanda)); }
.avisos__inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.avisos__head { flex: 1 1 340px; min-width: 0; margin-bottom: 0; }
.avisos__form { flex: 1 1 520px; box-shadow: 0 24px 60px rgba(36, 18, 79, .12); }
.chips { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.form .chips label { flex-direction: row; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--borde); background: var(--nube); font-weight: 600; font-size: 15px; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.chips label:hover span { border-color: #CDBEF5; }
.chips input:checked + span { background: var(--violeta); border-color: var(--violeta); color: var(--blanco); }
.chips input:focus-visible + span { outline: 3px solid var(--mandarina); outline-offset: 2px; }
.avisos__form.is-enviado .form__status { padding: 14px 18px; border-radius: 14px; background: #E5F7EC; color: #0B5A2C; }

/* Preguntas frecuentes (reserva) */
.faq { padding-bottom: 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.faq__head { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 100px; }
.faq__head h2 { font-weight: 900; font-size: clamp(30px, 4vw, 42px); line-height: 1.05; }
.faq__head p { color: var(--texto-2); }
.faq__lista { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--blanco); border: 1px solid var(--borde); border-radius: 18px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: 0 14px 34px rgba(36, 18, 79, .1); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative; font-family: var(--f-titulo); font-weight: 800; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--lavanda); color: var(--violeta); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; transition: transform .25s ease, background-color .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--mandarina); color: var(--uva); }
.faq summary:focus-visible { outline: 3px solid var(--mandarina); outline-offset: -3px; border-radius: 18px; }
.faq__resp { padding: 0 24px 22px; color: var(--texto-2); display: flex; flex-direction: column; gap: 8px; }
.faq__resp ul { margin: 0; padding-left: 20px; }
.faq details[open] .faq__resp { animation: subir .3s ease both; }


/* Términos y condiciones (condiciones.html) */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 24px 96px; display: flex; flex-direction: column; gap: 22px; }
.legal__kicker { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violeta); }
.legal h1 { font-weight: 900; font-size: clamp(36px, 6vw, 56px); line-height: 1.02; margin-top: -12px; }
.legal p, .legal li { color: var(--texto-2); }
.legal mark { background: #FFE58A; color: var(--uva); padding: 0 4px; border-radius: 4px; }
.legal__resumen { background: var(--blanco); border: 2px solid var(--violeta); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 18px 44px rgba(36, 18, 79, .1); }
.legal__resumen h2 { font-weight: 900; font-size: 24px; }
.legal__resumen ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal__nota { font-size: 14px; color: var(--gris); }
.tabla { overflow-x: auto; }
.tabla table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tabla th, .tabla td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--borde); }
.tabla th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.tabla td:last-child { font-family: var(--f-titulo); font-weight: 900; color: var(--violeta); }
.legal__agencia { display: flex; flex-direction: column; gap: 12px; }
.legal__agencia h2, .legal__indice h2 { font-weight: 900; font-size: 22px; }
.legal__agencia dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 24px; }
.legal__agencia dt { font-size: 13px; color: var(--gris); }
.legal__agencia dd { margin: 2px 0 0; font-weight: 600; }
.legal__indice { background: var(--lavanda); border-radius: 20px; padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.legal__indice ol { margin: 0; padding-left: 22px; columns: 2 260px; column-gap: 32px; }
.legal__indice li { padding: 3px 0; break-inside: avoid; }
.legal__indice a { color: var(--uva); }
.legal__texto { display: flex; flex-direction: column; gap: 28px; }
.legal__texto section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 90px; }
.legal__texto h2 { font-weight: 900; font-size: 24px; padding-top: 20px; border-top: 1px solid var(--borde); }
.legal__texto h3 { font-weight: 800; font-size: 18px; }
.legal__texto ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal__texto a { overflow-wrap: anywhere; }


/* Etiqueta "Turismo joven" junto al logo (siempre visible en el header) */
.marca { display: flex; align-items: center; gap: 12px; min-width: 0; }
.marca__tag {
  font-family: 'Pacifico', cursive; font-size: 15px; line-height: 1; white-space: nowrap; text-decoration: none;
  padding: 5px 12px 9px; border-radius: 999px; background: var(--mandarina); color: var(--blanco);
  transform: rotate(-4deg); box-shadow: 0 4px 0 var(--uva); transition: transform .2s ease;
}
.marca__tag:hover { color: var(--blanco); transform: rotate(-4deg) translateY(-2px); }
html.intro-on .header .marca__tag { opacity: 0; }
.header .marca__tag { animation: subir .6s ease .3s both; }
.hero__tag { align-self: flex-start; }


/* ---------- Detalles facheros de la home ---------- */
.section { position: relative; }
.section > .container { position: relative; z-index: 1; }

/* Stickers 3D (js/extras.js los mueve con el scroll) */
.sticker {
  position: absolute; z-index: 2; pointer-events: none; user-select: none;
  top: var(--top, auto); left: var(--left, auto); right: var(--right, auto);
  width: var(--size, 140px); height: auto; transform: rotate(var(--rot, 0deg));
  filter: drop-shadow(0 18px 24px rgba(36, 18, 79, .28));
  animation: flotarSticker 5s ease-in-out infinite;
}
@keyframes flotarSticker { 50% { transform: rotate(var(--rot, 0deg)) translateY(-12px); } }

/* Reel en un celular */
.reel { background: var(--nube); overflow: hidden; }
.reel__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 64px; }
.telefono { flex: 0 0 auto; width: min(300px, 78vw); padding: 12px; border-radius: 46px; background: var(--uva); box-shadow: 0 40px 80px rgba(36, 18, 79, .35), inset 0 0 0 2px #3A2670; position: relative; transform: rotate(-3deg); }
.telefono::before { content: ""; position: absolute; top: 18px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 999px; background: #000; z-index: 2; }
.telefono__pantalla { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #000; }
.telefono__pantalla video { width: 100%; height: 100%; object-fit: cover; display: block; }
.telefono__ui { position: absolute; inset: auto 0 0; padding: 16px 16px 20px; display: flex; justify-content: space-between; align-items: flex-end; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); color: #fff; }
.telefono__usuario { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.telefono__usuario i { width: 26px; height: 26px; border-radius: 50%; background: var(--mandarina); border: 2px solid #fff; }
.telefono__acciones { display: flex; flex-direction: column; gap: 14px; }
.telefono__acciones svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.reel__texto { flex: 1 1 380px; min-width: 0; max-width: 520px; display: flex; flex-direction: column; gap: 20px; }
.reel__texto h2 { font-weight: 900; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.03; letter-spacing: -0.03em; text-wrap: balance; }
.reel__texto h2 span { color: var(--violeta); display: block; }
.reel__texto p { font-size: 18px; color: var(--texto-2); }

/* Cuenta regresiva tipo cartel de aeropuerto */
.flip { margin-bottom: 36px; padding: 26px 28px; border-radius: 26px; background: var(--uva); color: var(--blanco); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; box-shadow: 0 24px 50px rgba(36, 18, 79, .25); }
.flip__titulo { font-size: 18px; color: var(--lavanda); }
.flip__titulo b { color: var(--blanco); font-family: var(--f-titulo); font-weight: 900; font-size: 24px; }
.flip__unidades { display: flex; gap: 12px; }
.flip__u { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.flip__u small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lavanda); }
.flip__n {
  position: relative; min-width: 76px; padding: 10px 8px; border-radius: 12px; text-align: center;
  font-family: var(--f-titulo); font-weight: 900; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(#3B2475 50%, #2E1A60 50%); color: var(--mandarina);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25), 0 6px 14px rgba(0, 0, 0, .25);
}
.flip__n::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--uva); }
.flip__n.gira { animation: gira .45s cubic-bezier(.3, 1.3, .5, 1); }
@keyframes gira { from { transform: perspective(300px) rotateX(-80deg); } }

/* Test "¿Cuál es tu spot?" */
.test { background: linear-gradient(160deg, var(--violeta), #3A1B98); color: var(--blanco); overflow: hidden; }
.test__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.test__head { align-items: center; text-align: center; margin-bottom: 0; }
.test__head .joven__tag { align-self: center; }
.test__head p { color: var(--lavanda); }
.test__caja { width: 100%; max-width: 760px; background: var(--blanco); color: var(--uva); border-radius: 28px; padding: 32px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); display: flex; flex-direction: column; gap: 18px; }
.test__barra { height: 8px; border-radius: 999px; background: var(--lavanda); overflow: hidden; }
.test__barra span { display: block; height: 100%; border-radius: 999px; background: var(--mandarina); transition: width .4s ease; }
.test__paso { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violeta); }
.test__pregunta { font-weight: 900; font-size: clamp(26px, 3.4vw, 34px); outline: none; animation: etapaIn .4s ease both; }
.test__opciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.test__op { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 18px; border-radius: 18px; border: 2px solid var(--borde); background: var(--nube); color: var(--uva); font: 700 17px/1.25 var(--f-texto); text-align: left; cursor: pointer; transition: transform .15s ease, border-color .15s ease, background-color .15s ease; animation: etapaIn .4s ease both; }
.test__op:nth-child(2) { animation-delay: .05s; } .test__op:nth-child(3) { animation-delay: .1s; } .test__op:nth-child(4) { animation-delay: .15s; }
.test__op span { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--lavanda); color: var(--violeta); display: flex; align-items: center; justify-content: center; font-family: var(--f-titulo); font-weight: 900; }
.test__op:hover { transform: translateY(-2px); border-color: var(--violeta); }
.test__op.is-elegida { background: var(--violeta); border-color: var(--violeta); color: var(--blanco); }
.test__op.is-elegida span { background: var(--mandarina); color: var(--uva); }
.test__volver { align-self: flex-start; border: 0; background: none; padding: 8px 0; font: 600 15px var(--f-texto); color: var(--violeta); cursor: pointer; text-decoration: underline; }
.test__resultado { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: center; animation: subir .5s ease both; }
.test__foto { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--lavanda); }
.test__foto img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 12s ease-in-out infinite alternate; }
.test__res-texto { display: flex; flex-direction: column; gap: 12px; }
.test__destino { font-weight: 900; font-size: clamp(40px, 6vw, 64px); line-height: .95; letter-spacing: -0.03em; color: var(--violeta); outline: none; }
.test__nota { padding: 10px 14px; border-radius: 12px; background: #FFF1E7; font-size: 15px; }

/* Tira de Instagram */
.ig { overflow: hidden; }
.ig__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.ig__head > div:first-child { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.ig__head h2 { font-weight: 900; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; }
.ig__head p { color: var(--texto-2); font-size: 18px; }
.ig__nav { display: flex; align-items: center; gap: 10px; }
.ig__nav .btn-icono svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ig__lista { list-style: none; margin: 0; padding: 6px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 18px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ig__lista::-webkit-scrollbar { display: none; }
.ig__lista li { flex: 0 0 auto; width: clamp(220px, 26vw, 290px); scroll-snap-align: start; }
.ig__lista a { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 30px rgba(36, 18, 79, .14); transition: transform .25s ease; }
.ig__lista a:hover { transform: translateY(-6px) rotate(-1deg); }
.ig__lista img { width: 100%; height: 100%; object-fit: cover; }
.ig__tipo { position: absolute; top: 10px; right: 10px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(36, 18, 79, .85); color: #fff; font-size: 12px; font-weight: 700; }
.ig__hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(79, 34, 196, .55); opacity: 0; transition: opacity .2s ease; }
.ig__hover svg { width: 52px; height: 52px; fill: none; stroke: #fff; stroke-width: 2; }
.ig__hover svg .lleno { fill: #fff; stroke: none; }
.ig__lista a:hover .ig__hover, .ig__lista a:focus-visible .ig__hover { opacity: 1; }


/* Menú del botón de WhatsApp */
.wa-float.is-abierto { transform: rotate(-10deg) scale(1.06); }
.wa-menu {
  position: fixed; z-index: 45; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  width: min(320px, calc(100vw - 32px)); padding: 16px; border-radius: 22px; background: var(--blanco);
  box-shadow: 0 24px 60px rgba(36, 18, 79, .28); display: flex; flex-direction: column; gap: 8px;
  transform-origin: bottom right; animation: menuIn .25s cubic-bezier(.3, 1.3, .5, 1) both;
}
@keyframes menuIn { from { opacity: 0; transform: translateY(10px) scale(.92); } }
.wa-menu__titulo { font-family: var(--f-titulo); font-weight: 900; font-size: 18px; padding: 2px 4px 6px; }
.wa-menu a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 14px; background: var(--nube); color: var(--uva); font-weight: 600; font-size: 15px; text-decoration: none; transition: background-color .15s ease, transform .15s ease; }
.wa-menu a:hover, .wa-menu a:focus-visible { background: var(--lavanda); transform: translateX(3px); }
.wa-menu a span { color: var(--violeta); font-weight: 800; }
.wa-menu a:first-of-type { background: var(--mandarina); }
.wa-menu__pie { font-size: 12px; color: var(--gris); padding: 4px 4px 0; }
.form__legal { font-size: 13px; color: var(--gris); }


/* Test: botón del hero, invitación, ventana emergente y cartelito flotante */
.hero__test { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 2px dashed #CDBEF5; background: var(--blanco); color: var(--uva); font: 600 16px var(--f-texto); cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
.hero__test b { color: var(--violeta); }
.hero__test:hover { transform: translateY(-2px) rotate(-1deg); border-color: var(--violeta); }
.hero__test-ico, .test-flota__abrir span { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--mandarina); color: var(--uva); display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-titulo); font-weight: 900; font-size: 18px; animation: latidoTest 2.4s ease-in-out infinite; }
@keyframes latidoTest { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.18) rotate(-10deg); } 90% { transform: scale(.95); } }

.test__inner { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px; }
.test__invita { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.test__invita h2 { font-weight: 900; font-size: clamp(40px, 6vw, 72px); line-height: .98; letter-spacing: -0.03em; }
.test__invita p { font-size: 18px; color: var(--lavanda); max-width: 480px; }
.test__polaroids { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 170px)); justify-content: center; gap: 18px; }
.test__polaroids figure { margin: 0; padding: 10px 10px 12px; background: var(--blanco); border-radius: 8px; box-shadow: 0 18px 36px rgba(0, 0, 0, .3); transform: rotate(var(--r, 0deg)); transition: transform .3s ease; }
.test__polaroids figure:hover { transform: rotate(0deg) scale(1.05); }
.test__polaroids img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.test__polaroids figcaption { margin-top: 8px; text-align: center; font-family: 'Pacifico', cursive; font-size: 18px; color: var(--uva); }

.test-modal { width: min(820px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 28px; background: var(--blanco); color: var(--uva); box-shadow: 0 40px 100px rgba(0, 0, 0, .45); overflow: auto; }
.test-modal[open] { animation: modalIn .35s cubic-bezier(.3, 1.3, .5, 1) both; }
.test-modal::backdrop { background: rgba(36, 18, 79, .6); backdrop-filter: blur(6px); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.test-modal__top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px 14px; background: linear-gradient(var(--blanco) 75%, rgba(255, 255, 255, 0)); }
.test-modal__top > div { display: flex; align-items: center; gap: 14px; }
.test-modal__top h2 { font-weight: 900; font-size: 26px; }
.test-modal__cerrar { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 0; background: var(--lavanda); color: var(--uva); font-size: 26px; line-height: 1; cursor: pointer; transition: transform .2s ease; }
.test-modal__cerrar:hover { transform: rotate(90deg); }
.test-modal .test__caja { max-width: none; box-shadow: none; border-radius: 0; padding: 4px 28px 28px; }
html.modal-abierto { overflow: hidden; }

.test-flota { position: fixed; z-index: 39; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: var(--uva); box-shadow: 0 14px 34px rgba(36, 18, 79, .35); animation: subir .5s cubic-bezier(.3, 1.3, .5, 1) both; }
.test-flota__abrir { display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border: 0; border-radius: 999px; background: none; color: var(--lavanda); font: 600 15px var(--f-texto); cursor: pointer; }
.test-flota__abrir b { color: var(--blanco); }
.test-flota__cerrar { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: var(--blanco); font-size: 18px; cursor: pointer; }

/* Celular */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--nube); border-bottom: 1px solid var(--borde);
    padding: 8px 24px 24px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--borde); }
  .nav .btn { margin-top: 16px; }
  .redes--nav { padding-top: 14px; gap: 10px; }
  .nav .redes--nav a { background: var(--lavanda); padding: 0; border: 0; }

  .hero { padding: 40px 0 64px; }
  .hero__art { height: 300px; flex-basis: 100%; }
  .section { padding: 64px 0; }
  .form { padding: 24px; }

  .header__acciones .link-volver { display: none; }
  .marca { gap: 8px; }
  .marca__tag { font-size: 12px; padding: 4px 9px 7px; }
  .header .logo { font-size: 26px; }
  .header__acciones .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
  .header__acciones .btn span { display: none; }
  .r-banner__credito { display: none; }
  .r-banner__chips li { padding: 6px 12px; font-size: 13px; }
  .r-banner__puntos { bottom: 84px; right: 16px; }
  .cuenta { font-size: 14px; padding: 8px 14px; }
  .cuenta b { font-size: 20px; }
  .r-banner { min-height: 340px; }
  .r-banner__inner { padding-bottom: 100px; }
  .r-layout { grid-template-columns: minmax(0, 1fr); margin-top: -64px; padding-bottom: 120px; }
  .r-panel { padding: 24px 20px; border-radius: 24px; }
  .r-pasos { font-size: 13px; }
  .r-pasos li { flex-direction: column; gap: 4px; text-align: center; }
  .r-pasos li:nth-child(n) { justify-content: flex-start; }
  .pase { position: static; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sticker { width: calc(var(--size, 140px) * .5); }
  .telefono { transform: none; }
  .flip { padding: 20px; }
  .flip__unidades { width: 100%; justify-content: space-between; gap: 8px; }
  .flip__n { min-width: 64px; font-size: 34px; }
  .test__caja { padding: 22px 18px; }
  .test-modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .test-modal__top { padding: 16px 18px 10px; }
  .test-modal .test__caja { padding: 4px 18px 24px; }
  .test__polaroids { grid-template-columns: repeat(2, minmax(0, 140px)); gap: 12px; }
  .test-flota__abrir { font-size: 14px; }
  .r-barra ~ .test-flota { display: none; }
  .test__resultado { grid-template-columns: minmax(0, 1fr); }
  .test__foto { aspect-ratio: 16 / 10; }
  .faq__head { position: static; }
  .chat { transform: none; }
  .r-barra {
    position: fixed; left: 12px; right: 88px; bottom: 16px; z-index: 39;
    display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 18px;
    background: var(--uva); color: var(--lavanda); font-size: 14px; box-shadow: 0 12px 30px rgba(36, 18, 79, .3);
  }
  .r-barra b { color: var(--blanco); font-family: var(--f-titulo); font-weight: 900; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-anim [data-reveal] { opacity: 1; transform: none; }
  .sticker { translate: none !important; rotate: none !important; }
  .transicion { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
