/* ==========================================================================
   Travesía — estilos principales
   Temas: [data-theme="day" | "dusk" | "night"] en <html>
   ========================================================================== */

/* Colores animables para transiciones suaves entre temas */
@property --trv-g1 { syntax: '<color>'; inherits: true; initial-value: #5fbff5; }
@property --trv-g2 { syntax: '<color>'; inherits: true; initial-value: #b7e3ff; }
@property --trv-g3 { syntax: '<color>'; inherits: true; initial-value: #fff0cc; }

:root {
	--trv-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--trv-font-display: 'Poppins', var(--trv-font);
	--trv-topbar-h: 64px;
	--trv-nav-w: 264px;
	--trv-nav-w-collapsed: 76px;
	--trv-surface-alpha: .82;
	--trv-radius: 22px;
	--trv-shadow: 0 10px 30px -12px rgba(8, 20, 45, .35);
	--trv-ease: cubic-bezier(.22, .8, .24, 1);
	--trv-plane-size: 64px;
}

[data-theme="day"] {
	--trv-g1: #5fbff5; --trv-g2: #b7e3ff; --trv-g3: #fff0cc;
	--trv-accent: #e8590c;
	--trv-on-accent: #ffffff;
	--trv-surface-rgb: 255 255 255;
	--trv-text: #10243a;
	--trv-muted: #3d5670;
	--trv-border: rgba(16, 36, 58, .12);
	--trv-field: rgba(255, 255, 255, .9);
	--trv-globe-sea1: #3aa0e8; --trv-globe-sea2: #0b4f8a; --trv-globe-land: #ffffff;
	--trv-stars: 0; --trv-clouds: .9; --trv-sun: #ffd76a; --trv-sun-y: 9vh; --trv-sun-glow: rgba(255, 220, 120, .6);
	color-scheme: light;
}
[data-theme="dusk"] {
	--trv-g1: #2a1b4d; --trv-g2: #8e3a6e; --trv-g3: #ff9259;
	--trv-accent: #ffb547;
	--trv-on-accent: #2a1033;
	--trv-surface-rgb: 38 22 58;
	--trv-text: #fff6ee;
	--trv-muted: #f0d6c8;
	--trv-border: rgba(255, 255, 255, .16);
	--trv-field: rgba(255, 255, 255, .1);
	--trv-globe-sea1: #8a4a9c; --trv-globe-sea2: #24163f; --trv-globe-land: #ffd3a8;
	--trv-stars: .45; --trv-clouds: .45; --trv-sun: #ff7b47; --trv-sun-y: 70vh; --trv-sun-glow: rgba(255, 120, 70, .55);
	color-scheme: dark;
}
[data-theme="night"] {
	--trv-g1: #040a1c; --trv-g2: #0b1a3c; --trv-g3: #1c2f63;
	--trv-accent: #4fd8e0;
	--trv-on-accent: #04121a;
	--trv-surface-rgb: 10 18 40;
	--trv-text: #eaf1ff;
	--trv-muted: #b5c4e6;
	--trv-border: rgba(255, 255, 255, .12);
	--trv-field: rgba(255, 255, 255, .07);
	--trv-globe-sea1: #15346a; --trv-globe-sea2: #040b20; --trv-globe-land: #7fe9ef;
	--trv-stars: 1; --trv-clouds: 0; --trv-sun: #f3f1e4; --trv-sun-y: 8vh; --trv-sun-glow: rgba(220, 230, 255, .35);
	color-scheme: dark;
}

:root {
	--trv-surface: rgb(var(--trv-surface-rgb) / var(--trv-surface-alpha));
	--trv-surface-strong: rgb(var(--trv-surface-rgb) / .94);
	--trv-plane-color: var(--trv-accent);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--trv-topbar-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font: 400 1rem/1.65 var(--trv-font);
	color: var(--trv-text);
	background: var(--trv-g1);
	min-height: 100vh;
	overflow-x: hidden;
	transition: --trv-g1 1.2s ease, --trv-g2 1.2s ease, --trv-g3 1.2s ease, color .4s ease;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
	outline: 3px solid var(--trv-accent);
	outline-offset: 2px;
}
h1, h2, h3, h4 { font-family: var(--trv-font-display); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.trv-skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--trv-accent); color: var(--trv-on-accent); padding: .6em 1em; border-radius: 8px; }
.trv-skip:focus { left: 8px; }
.trv-icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }

/* ---------- Cielo / fondo en degradado ---------- */
.trv-sky {
	position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
	background: linear-gradient(180deg, var(--trv-g1) 0%, var(--trv-g2) 55%, var(--trv-g3) 100%);
}
.trv-sky__stars {
	position: absolute; top: 0; left: 0; width: 1px; height: 1px; border-radius: 50%;
	opacity: var(--trv-stars); transition: opacity 1.2s ease;
	animation: trv-twinkle 6s ease-in-out infinite alternate;
}
@keyframes trv-twinkle { to { filter: brightness(.6); } }
.trv-sky__sun {
	position: absolute; right: 12vw; top: var(--trv-sun-y); width: 120px; height: 120px; border-radius: 50%;
	background: radial-gradient(circle at 40% 40%, #fff 0, var(--trv-sun) 55%, transparent 72%);
	box-shadow: 0 0 120px 40px var(--trv-sun-glow);
	transition: top 1.4s var(--trv-ease), background 1.2s, box-shadow 1.2s;
}
[data-theme="night"] .trv-sky__sun { width: 80px; height: 80px; background: radial-gradient(circle at 60% 40%, #fffef5 0, #e4e1cf 60%, transparent 72%); }
.trv-sky__cloud {
	position: absolute; height: 60px; border-radius: 60px; background: #fff; opacity: var(--trv-clouds);
	filter: blur(2px); transition: opacity 1.2s;
	animation: trv-cloud 80s linear infinite;
}
.trv-sky__cloud::before, .trv-sky__cloud::after { content: ''; position: absolute; background: inherit; border-radius: 50%; }
.trv-sky__cloud::before { width: 70px; height: 70px; top: -32px; left: 24px; }
.trv-sky__cloud::after { width: 90px; height: 90px; top: -44px; right: 22px; }
.trv-sky__cloud--1 { width: 220px; top: 22vh; left: -260px; }
.trv-sky__cloud--2 { width: 160px; top: 48vh; left: -260px; animation-duration: 110s; animation-delay: -40s; transform: scale(.7); }
.trv-sky__cloud--3 { width: 260px; top: 72vh; left: -260px; animation-duration: 140s; animation-delay: -90s; }
[data-theme="dusk"] .trv-sky__cloud { background: #ffc9b0; }
@keyframes trv-cloud { to { translate: calc(100vw + 520px) 0; } }

/* ---------- Avión con scroll (detrás de los bloques) ---------- */
.trv-flight { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.trv-flight__plane {
	position: absolute; left: 0; top: 0; width: var(--trv-plane-size); height: var(--trv-plane-size);
	color: var(--trv-plane-color);
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25));
	will-change: transform;
}
.trv-flight__plane svg { width: 100%; height: 100%; }
.trv-flight__trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.trv-flight__trail path { fill: none; stroke: var(--trv-plane-color); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .55; }

/* ---------- Cintilla superior ---------- */
.trv-topbar {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--trv-topbar-h);
	background: var(--trv-surface-strong);
	backdrop-filter: blur(12px) saturate(150%); -webkit-backdrop-filter: blur(12px) saturate(150%);
	border-bottom: 1px solid var(--trv-border);
	transition: box-shadow .3s, background .6s;
}
.trv-topbar.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .45); }
.trv-topbar__inner { height: 100%; display: flex; align-items: center; gap: 14px; padding: 0 16px; }
.trv-nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--trv-border); background: transparent; color: var(--trv-text); cursor: pointer; }
.trv-brand { display: flex; align-items: center; min-width: 0; flex: none; }
.trv-brand img { max-height: 44px; width: auto; }
.trv-brand__name { display: inline-flex; align-items: center; gap: 8px; font: 700 1.15rem/1 var(--trv-font-display); text-decoration: none; color: var(--trv-text); white-space: nowrap; }
.trv-brand__name .trv-icon { color: var(--trv-accent); width: 1.6em; height: 1.6em; }
.trv-topbar__msg { flex: 1 1 auto; min-width: 0; margin: 0 auto 0 12px; font-size: .88rem; color: var(--trv-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trv-topbar__contact { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.trv-topbar__contact a, .trv-topbar__account { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; text-decoration: none; font-size: .88rem; color: var(--trv-text); }
.trv-topbar__contact a:hover, .trv-topbar__account:hover { background: var(--trv-field); }
.trv-topbar__account { border: 1px solid var(--trv-border); font-weight: 600; }

/* Selector de tema */
.trv-theme-switch { position: relative; display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--trv-field); border: 1px solid var(--trv-border); }
.trv-theme-switch button { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--trv-muted); cursor: pointer; display: grid; place-items: center; transition: color .3s; }
.trv-theme-switch button[aria-checked="true"] { color: var(--trv-on-accent); }
.trv-theme-switch__thumb { position: absolute; top: 4px; left: 4px; width: 36px; height: 36px; border-radius: 50%; background: var(--trv-accent); transition: transform .45s var(--trv-ease), background .6s; box-shadow: 0 4px 12px -4px var(--trv-accent); }
[data-theme="dusk"] .trv-theme-switch__thumb { transform: translateX(38px); }
[data-theme="night"] .trv-theme-switch__thumb { transform: translateX(76px); }

/* Selector de idioma */
.trv-lang { position: relative; }
.trv-lang__toggle { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--trv-border); background: transparent; color: var(--trv-text); font: 500 .88rem var(--trv-font); cursor: pointer; }
.trv-lang__toggle .trv-icon { width: 1em; transition: transform .3s; }
.trv-lang.is-open .trv-lang__toggle .trv-icon { transform: rotate(180deg); }
.trv-lang__list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; list-style: none; margin: 0; padding: 6px; border-radius: 14px; background: var(--trv-surface-strong); border: 1px solid var(--trv-border); box-shadow: var(--trv-shadow); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s var(--trv-ease); }
.trv-lang.is-open .trv-lang__list { opacity: 1; visibility: visible; transform: none; }
.trv-lang__list a { display: flex; gap: 10px; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--trv-text); font-size: .92rem; }
.trv-lang__list a:hover, .trv-lang__list a:focus-visible { background: var(--trv-field); }
.trv-lang__list a[aria-current="true"] { font-weight: 700; color: var(--trv-accent); }

/* ---------- Menú lateral colapsable (izquierda) ---------- */
.trv-nav {
	position: fixed; z-index: 45; top: var(--trv-topbar-h); left: 0; bottom: 0; width: var(--trv-nav-w);
	padding: 18px 12px 24px; overflow-y: auto; overflow-x: hidden;
	background: var(--trv-surface-strong);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-right: 1px solid var(--trv-border);
	transition: width .4s var(--trv-ease), transform .4s var(--trv-ease), background .6s;
}
.trv-nav__collapse { display: none; position: absolute; top: 14px; right: 10px; width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--trv-border); background: transparent; color: var(--trv-text); cursor: pointer; place-items: center; transition: transform .4s var(--trv-ease); }
.trv-nav__menu { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 4px; }
.trv-nav__menu a { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 14px; text-decoration: none; color: var(--trv-text); font-weight: 500; white-space: nowrap; transition: background .2s, color .2s, transform .2s; }
.trv-nav__menu a .trv-icon { width: 22px; height: 22px; color: var(--trv-accent); }
.trv-nav__menu a:hover, .trv-nav__menu a.is-active, .trv-nav__menu .current-menu-item > a { background: var(--trv-field); transform: translateX(3px); }
.trv-nav__menu a.is-active { box-shadow: inset 3px 0 0 var(--trv-accent); }
.trv-nav__text { transition: opacity .25s; }
.trv-nav .menu-item-has-children { position: relative; }
.trv-nav .sub-menu { list-style: none; padding: 0 0 0 36px; margin: 0; display: none; }
.trv-nav .is-open > .sub-menu { display: block; }
.trv-nav__sub-toggle { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; border: 0; background: transparent; color: var(--trv-text); cursor: pointer; border-radius: 8px; }
.trv-nav .is-open > .trv-nav__sub-toggle { transform: rotate(180deg); }
.trv-nav__cta { margin-top: 22px; }
.trv-nav__cta .trv-btn { width: 100%; justify-content: center; }
.trv-nav__widgets { margin-top: 22px; font-size: .9rem; }
.trv-nav-overlay { position: fixed; inset: 0; z-index: 44; background: rgba(4, 10, 28, .5); backdrop-filter: blur(2px); }

/* Contenido */
.trv-page { overflow-x: clip; position: relative; z-index: 2; padding-top: var(--trv-topbar-h); transition: margin-left .4s var(--trv-ease); }
.trv-main:focus { outline: none; }
.trv-container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.trv-container--narrow { width: min(860px, 100% - 32px); }

@media (min-width: 1024px) {
	.trv-nav-toggle { display: none; }
	.trv-nav__collapse { display: grid; }
	.trv-page { margin-left: var(--trv-nav-w); }
	body.trv-nav-collapsed .trv-nav { width: var(--trv-nav-w-collapsed); }
	body.trv-nav-collapsed .trv-page { margin-left: var(--trv-nav-w-collapsed); }
	body.trv-nav-collapsed .trv-nav__text, body.trv-nav-collapsed .trv-nav__cta span, body.trv-nav-collapsed .trv-nav__widgets, body.trv-nav-collapsed .trv-nav .sub-menu, body.trv-nav-collapsed .trv-nav__sub-toggle { opacity: 0; pointer-events: none; }
	body.trv-nav-collapsed .trv-nav__widgets, body.trv-nav-collapsed .trv-nav .sub-menu { display: none; }
	body.trv-nav-collapsed .trv-nav__collapse { transform: rotate(180deg); right: 21px; }
	body.trv-nav-collapsed .trv-nav__menu a { padding: 11px 15px; }
	body.trv-nav-collapsed .trv-nav__cta .trv-btn { padding: 12px; width: 48px; height: 48px; margin-inline: auto; }
	body.trv-nav-collapsed .trv-nav:not(:hover):not(:focus-within) .trv-nav__cta span { display: none; }
	body.trv-nav-collapsed .trv-nav:hover .trv-nav__cta .trv-btn, body.trv-nav-collapsed .trv-nav:focus-within .trv-nav__cta .trv-btn { width: 100%; height: auto; }
	/* Expansión temporal al pasar el ratón sobre el rail colapsado */
	body.trv-nav-collapsed .trv-nav:hover, body.trv-nav-collapsed .trv-nav:focus-within { width: var(--trv-nav-w); box-shadow: 20px 0 40px -20px rgba(0, 0, 0, .35); }
	body.trv-nav-collapsed .trv-nav:hover .trv-nav__text, body.trv-nav-collapsed .trv-nav:focus-within .trv-nav__text,
	body.trv-nav-collapsed .trv-nav:hover .trv-nav__cta span, body.trv-nav-collapsed .trv-nav:focus-within .trv-nav__cta span { opacity: 1; pointer-events: auto; }
	.trv-nav-overlay { display: none; }
}
@media (max-width: 1400px) {
	.trv-topbar__msg, .trv-topbar__contact li.hide-sm { display: none; }
	.trv-brand { margin-right: auto; }
}
@media (max-width: 1023.98px) {
	.trv-nav { transform: translateX(-105%); width: min(86vw, 320px); box-shadow: 20px 0 40px -20px rgba(0, 0, 0, .5); }
	body.trv-nav-open .trv-nav { transform: none; }
	body.trv-nav-open { overflow: hidden; }
	.trv-nav__collapse { display: grid; }
	.trv-topbar__msg { display: none; }
	.trv-brand { margin-right: auto; }
}
@media (max-width: 720px) {
	:root { --trv-topbar-h: 58px; }
	.hide-sm { display: none !important; }
	.trv-topbar__inner { gap: 6px; padding: 0 10px; }
	.trv-lang__label { display: none; }
	.trv-lang__toggle { padding: 8px; }
	.trv-theme-switch button, .trv-theme-switch__thumb { width: 32px; height: 32px; }
	[data-theme="dusk"] .trv-theme-switch__thumb { transform: translateX(34px); }
	[data-theme="night"] .trv-theme-switch__thumb { transform: translateX(68px); }
	.trv-brand__name span { display: none; }
	.trv-topbar__contact li:first-child span { display: none; }
}

/* ---------- Superficies semitransparentes (legibilidad) ---------- */
.trv-card-glass {
	background: var(--trv-surface);
	backdrop-filter: blur(6px) saturate(140%); -webkit-backdrop-filter: blur(6px) saturate(140%);
	border: 1px solid var(--trv-border);
	border-radius: var(--trv-radius);
	box-shadow: var(--trv-shadow);
	color: var(--trv-text);
	transition: background .6s, color .4s, border-color .6s;
}

/* ---------- Botones ---------- */
.trv-btn {
	display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px;
	font: 600 .98rem/1 var(--trv-font-display); text-decoration: none; cursor: pointer; border: 2px solid transparent;
	transition: transform .25s var(--trv-ease), box-shadow .25s, background .3s, color .3s;
}
.trv-btn--primary { background: var(--trv-accent); color: var(--trv-on-accent); box-shadow: 0 10px 22px -10px var(--trv-accent); }
.trv-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px var(--trv-accent); }
.trv-btn--ghost { background: var(--trv-surface); color: var(--trv-text); border-color: var(--trv-border); backdrop-filter: blur(6px); }
.trv-btn--ghost:hover { border-color: var(--trv-accent); transform: translateY(-2px); }
.trv-btn--light { background: #fff; color: #1b0f2b; }
.trv-btn--light:hover { transform: translateY(-2px); }
.trv-btn .trv-icon { width: 1.15em; height: 1.15em; }
.trv-link { display: inline-flex; align-items: center; gap: 6px; color: var(--trv-accent); font-weight: 600; text-decoration: none; }
[data-theme="day"] .trv-link { color: #b8460a; }

/* ---------- Secciones ---------- */
.trv-section { padding: clamp(48px, 7vw, 96px) 0; position: relative; }
.trv-section--page { padding-top: 32px; }
.trv-section__head {
	text-align: center; max-width: 760px; margin: 0 auto 36px; padding: 22px 28px;
	background: var(--trv-surface); border: 1px solid var(--trv-border); border-radius: var(--trv-radius);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.trv-section__head--left { text-align: left; margin: 0; padding: 0; background: none; border: 0; backdrop-filter: none; }
.trv-section__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--trv-accent); color: var(--trv-on-accent); margin-bottom: 10px; }
.trv-section__icon .trv-icon { width: 28px; height: 28px; }
.trv-section__title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 800; }
.trv-section__subtitle { color: var(--trv-muted); font-size: 1.06rem; margin: 0; }
.trv-section__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.trv-kicker { display: inline-flex; align-items: center; gap: 8px; font: 600 .82rem var(--trv-font-display); text-transform: uppercase; letter-spacing: .12em; color: var(--trv-accent); margin-bottom: .8em; }
[data-theme="day"] .trv-kicker { color: #b8460a; }
.trv-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--trv-accent); color: var(--trv-on-accent); font: 700 .78rem var(--trv-font-display); text-transform: uppercase; letter-spacing: .08em; }
.trv-badge--pulse { animation: trv-pulse 2.2s ease-in-out infinite; }
@keyframes trv-pulse { 50% { box-shadow: 0 0 0 10px transparent, 0 0 24px 2px var(--trv-accent); } }
.trv-notice { padding: 20px; text-align: center; border-radius: var(--trv-radius); }
.trv-meta { color: var(--trv-muted); font-size: .88rem; display: flex; gap: 6px; align-items: center; margin-bottom: .5em; }
.trv-checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.trv-checklist li { display: flex; gap: 10px; align-items: center; }
.trv-checklist .trv-icon { color: var(--trv-accent); }
[data-theme="day"] .trv-checklist .trv-icon { color: #0b8f4d; }

/* ---------- Hero ---------- */
.trv-hero { position: relative; padding: clamp(24px, 4vw, 56px) 0 40px; min-height: calc(100vh - var(--trv-topbar-h)); display: flex; flex-direction: column; justify-content: center; }
.trv-hero__grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.trv-hero__copy {
	padding: clamp(22px, 3vw, 36px); border-radius: calc(var(--trv-radius) + 6px);
	background: var(--trv-surface); border: 1px solid var(--trv-border);
	backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--trv-shadow);
}
.trv-hero__title { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.08; margin-bottom: .35em; }
.trv-hero__subtitle { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--trv-muted); max-width: 56ch; }
.trv-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.trv-hero__search { margin-top: 28px; position: relative; z-index: 30; }
.trv-hero__scroll { position: relative; display: block; margin: 28px auto 0; left: auto; translate: none !important; width: 26px; height: 42px; border: 2px solid var(--trv-text); border-radius: 14px; opacity: .6; translate: -50% 0; }
.trv-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--trv-text); translate: -50% 0; animation: trv-scroll 1.8s infinite; }
@keyframes trv-scroll { 60% { transform: translateY(12px); opacity: 0; } }

@media (min-width: 960px) {
	.trv-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; }
}

/* Globo */
.trv-hero__stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 640px; margin-inline: auto; display: grid; place-items: center; }
.trv-globe { position: relative; z-index: 5; width: 62%; aspect-ratio: 1; display: grid; place-items: center; }
.trv-globe__canvas { position: relative; z-index: 2; border-radius: 50%; }
.trv-globe__glow { position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(circle, var(--trv-accent) 0%, transparent 62%); opacity: .35; filter: blur(18px); animation: trv-breathe 6s ease-in-out infinite; }
@keyframes trv-breathe { 50% { opacity: .55; transform: scale(1.04); } }
.trv-globe__texture { position: absolute; inset: 0; z-index: 1; border-radius: 50%; background-size: 200% 100%; background-repeat: repeat-x; box-shadow: inset -24px -18px 50px rgba(0, 0, 0, .55), inset 10px 8px 30px rgba(255, 255, 255, .2); }

/* Destinos en órbita */
.trv-orbit { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; pointer-events: none; }
.trv-orbit__item { position: absolute; left: 50%; top: 50%; width: clamp(64px, 13%, 92px); transition: opacity .3s; will-change: transform; pointer-events: auto; }
.trv-orbit__link { display: block; position: relative; text-decoration: none; color: #fff; }
.trv-orbit__link img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .55); transition: border-radius .5s var(--trv-ease); }
.trv-orbit__item.is-back { filter: blur(.6px) saturate(.7); }
.trv-orbit__item.is-back .trv-orbit__label { opacity: 0; }
.trv-orbit__label { transition: opacity .3s; }
.trv-orbit__label {
	position: absolute; left: 50%; top: 100%; translate: -50% 4px; min-width: 120%; padding: 4px 8px; border-radius: 10px;
	background: rgba(8, 16, 36, .82); text-align: center; font-size: .72rem; line-height: 1.25; white-space: nowrap; pointer-events: none;
}
.trv-orbit__label strong { display: block; font: 600 1em var(--trv-font-display); }
.trv-orbit__label small, .trv-orbit__cta { display: none; }
.trv-orbit__item.is-focus .trv-orbit__link img { border-radius: 22%; }
.trv-orbit__item.is-focus .trv-orbit__label { font-size: .5rem; padding: 5px 8px; min-width: 150%; }
.trv-orbit__item.is-focus .trv-orbit__label small { display: block; opacity: .85; }
.trv-orbit__item.is-focus .trv-orbit__cta { display: inline-flex; gap: 3px; align-items: center; font-style: normal; color: #ffd27a; margin-top: 2px; }
.trv-orbit__cta .trv-icon { width: 1em; height: 1em; }

/* ---------- Buscador de tours ---------- */
.trv-search { padding: 20px 22px; }
.trv-search__title { font-size: 1.05rem; display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.trv-search__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; }
.trv-field { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--trv-muted); }
.trv-field > span { display: inline-flex; gap: 6px; align-items: center; }
.trv-field input, .trv-field select, .trv-field textarea,
.trv-input {
	width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--trv-border);
	background: var(--trv-field); color: var(--trv-text); font: 500 1rem var(--trv-font);
}
.trv-field select option { color: #10243a; }
.trv-search__submit { min-height: 48px; justify-content: center; }

/* ---------- Slider de servicios ---------- */
.trv-slider { position: relative; }
.trv-slider__track {
	list-style: none; margin: 0; padding: 8px 4px 20px; display: grid; grid-auto-flow: column;
	grid-auto-columns: minmax(220px, calc((100% - 3 * 18px) / 4)); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.trv-slider__track::-webkit-scrollbar { display: none; }
@media (max-width: 900px) { .trv-slider__track { grid-auto-columns: minmax(200px, 46%); } }
@media (max-width: 560px) { .trv-slider__track { grid-auto-columns: 78%; } }
.trv-service { scroll-snap-align: start; padding: 26px 22px; text-align: center; transition: transform .35s var(--trv-ease), box-shadow .35s; }
.trv-service:hover { transform: translateY(-6px); }
.trv-service__link { text-decoration: none; color: inherit; display: block; }
.trv-service__icon { display: inline-grid; place-items: center; width: 66px; height: 66px; border-radius: 20px; background: linear-gradient(135deg, var(--trv-accent), color-mix(in srgb, var(--trv-accent) 55%, #7a3cff)); color: #fff; margin-bottom: 14px; box-shadow: 0 12px 24px -12px var(--trv-accent); }
.trv-service__icon .trv-icon { width: 32px; height: 32px; }
.trv-service:hover .trv-service__icon { animation: trv-wiggle .6s ease; }
@keyframes trv-wiggle { 30% { transform: rotate(-8deg) scale(1.06); } 60% { transform: rotate(6deg); } }
.trv-service__title { font-size: 1.1rem; margin-bottom: .3em; }
.trv-service__text { color: var(--trv-muted); font-size: .92rem; margin: 0; }
.trv-slider__btn { position: absolute; top: 50%; z-index: 3; translate: 0 -60%; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--trv-border); background: var(--trv-surface-strong); color: var(--trv-text); cursor: pointer; display: grid; place-items: center; box-shadow: var(--trv-shadow); }
.trv-slider__btn--prev { left: -12px; }
.trv-slider__btn--next { right: -12px; }

/* ---------- Arma tu paquete ---------- */
.trv-builder__wrap { display: grid; gap: 32px; padding: clamp(22px, 4vw, 44px); }
@media (min-width: 960px) { .trv-builder__wrap { grid-template-columns: .8fr 1.2fr; } }

/* ---------- Grids genéricos ---------- */
.trv-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.trv-results-count { color: var(--trv-text); font-weight: 600; background: var(--trv-surface); display: inline-block; padding: 6px 14px; border-radius: 999px; }
.trv-archive-search { margin-bottom: 24px; }
.trv-page-head { padding: 24px 28px; margin-bottom: 24px; }
.trv-post-card { overflow: hidden; display: flex; flex-direction: column; }
.trv-post-card__media img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.trv-post-card__body { padding: 18px 20px 22px; }
.trv-post-card__title { font-size: 1.15rem; }
.trv-post-card__title a { text-decoration: none; }
.trv-pagination { margin-top: 28px; display: flex; justify-content: center; gap: 6px; }
.trv-pagination .page-numbers { padding: 8px 14px; border-radius: 10px; background: var(--trv-surface); text-decoration: none; border: 1px solid var(--trv-border); }
.trv-pagination .current { background: var(--trv-accent); color: var(--trv-on-accent); }
.trv-prose { padding: clamp(22px, 4vw, 44px); }
.trv-prose a:not([class]) { color: var(--trv-accent); }
[data-theme="day"] .trv-prose a:not([class]) { color: #b8460a; }
.trv-article__media img { border-radius: calc(var(--trv-radius) - 6px); margin-bottom: 18px; }
.trv-404 { text-align: center; padding: 48px 24px; }
.trv-404__icon .trv-icon { width: 80px; height: 80px; color: var(--trv-accent); animation: trv-spin 8s linear infinite; }
@keyframes trv-spin { to { transform: rotate(360deg); } }

/* ---------- Tours Conciertos (destacado) ---------- */
.trv-concerts { overflow: hidden; }
.trv-concerts__panel {
	position: relative; border-radius: calc(var(--trv-radius) + 10px); padding: clamp(22px, 4vw, 48px); color: #fff;
	background:
		linear-gradient(135deg, rgba(40, 6, 70, .92), rgba(120, 10, 90, .86) 50%, rgba(255, 70, 90, .82)),
		var(--trv-concerts-bg, none) center / cover;
	box-shadow: 0 30px 60px -25px rgba(120, 10, 90, .8);
	isolation: isolate;
}
.trv-concerts__panel::before { content: ''; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; background: conic-gradient(from var(--trv-angle, 0deg), #ff4d8d, #ffb547, #4fd8e0, #9b5cff, #ff4d8d); animation: trv-rotate 6s linear infinite; filter: blur(10px); opacity: .7; }
@property --trv-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes trv-rotate { to { --trv-angle: 360deg; } }
.trv-concerts .trv-section__head { background: rgba(0, 0, 0, .25); border-color: rgba(255, 255, 255, .18); color: #fff; }
.trv-concerts .trv-section__subtitle { color: #ffe3f0; }
.trv-concerts .trv-badge, .trv-concerts .trv-btn--primary { background: #ffb547; color: #2a1033; }
.trv-concerts .trv-btn--primary { box-shadow: 0 10px 22px -10px #ffb547; }
.trv-concerts__title { display: inline-flex; align-items: center; gap: 14px; }
.trv-concerts__perks { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.trv-concerts__perks li { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .9rem; }
.trv-eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 28px; }
.trv-eq i { width: 5px; background: #ffb547; border-radius: 3px; animation: trv-eq 1s ease-in-out infinite; }
.trv-eq i:nth-child(2) { animation-delay: -.2s; background: #ff4d8d; }
.trv-eq i:nth-child(3) { animation-delay: -.5s; background: #4fd8e0; }
.trv-eq i:nth-child(4) { animation-delay: -.7s; background: #9b5cff; }
.trv-eq i:nth-child(5) { animation-delay: -.35s; }
@keyframes trv-eq { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.trv-concerts__lights span { position: absolute; top: -10%; width: 26vw; height: 140%; background: linear-gradient(180deg, rgba(255, 255, 255, .22), transparent 70%); transform-origin: top center; filter: blur(14px); animation: trv-spot 7s ease-in-out infinite alternate; pointer-events: none; }
.trv-concerts__lights span:nth-child(1) { left: 5%; }
.trv-concerts__lights span:nth-child(2) { left: 30%; animation-delay: -2s; }
.trv-concerts__lights span:nth-child(3) { left: 55%; animation-delay: -4s; }
.trv-concerts__lights span:nth-child(4) { left: 78%; animation-delay: -6s; }
@keyframes trv-spot { from { transform: rotate(-18deg); } to { transform: rotate(18deg); } }

/* ---------- CTA ---------- */
.trv-cta__box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(24px, 4vw, 48px); background: linear-gradient(120deg, var(--trv-surface), rgb(var(--trv-surface-rgb) / .6)); }
.trv-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Ficha de paquete ---------- */
.trv-package__hero {
	position: relative; border-radius: calc(var(--trv-radius) + 6px); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end;
	background: linear-gradient(180deg, rgba(0, 0, 0, .05) 20%, rgba(0, 0, 0, .78)), var(--trv-pkg-bg, linear-gradient(135deg, #36d1dc, #5b86e5)) center / cover;
	color: #fff; margin-bottom: 26px;
}
.trv-package__hero-inner { padding: clamp(22px, 4vw, 40px); }
.trv-package__title { font-size: clamp(1.8rem, 4vw, 3rem); text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
.trv-package__layout { display: grid; gap: 26px; }
@media (min-width: 1100px) { .trv-package__layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } .trv-package__aside { position: sticky; top: calc(var(--trv-topbar-h) + 20px); } }
.trv-booking-box { padding: 24px; }
.trv-booking-box__from, .trv-booking-box__per { margin: 0; color: var(--trv-muted); font-size: .9rem; }
.trv-booking-box__price { font: 800 2rem var(--trv-font-display); color: var(--trv-text); }

/* ---------- Footer ---------- */
.trv-footer { padding: 56px 0 24px; position: relative; z-index: 2; }
.trv-footer__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.trv-footer__col { padding: 22px; }
.trv-footer .widget-title { font-size: 1rem; display: flex; gap: 8px; align-items: center; }
.trv-footer .widget ul { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 6px; }
.trv-footer .widget h2 { font-size: 1rem; }
.trv-footer__menu, .trv-footer__legal { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.trv-footer__menu a, .trv-footer__legal a { text-decoration: none; color: var(--trv-text); opacity: .9; }
.trv-footer__menu a:hover { color: var(--trv-accent); }
.trv-footer__legal { display: flex; flex-wrap: wrap; gap: 16px; }
.trv-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding: 14px 20px; border-radius: var(--trv-radius); background: var(--trv-surface); font-size: .88rem; }
.trv-footer__bottom p { margin: 0; }
.trv-social { list-style: none; padding: 0; margin: 12px 0 0; display: flex; gap: 8px; }
.trv-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--trv-border); color: var(--trv-text); }
.trv-social a:hover { background: var(--trv-accent); color: var(--trv-on-accent); }
.trv-payments { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.trv-payments li { padding: 4px 10px; border-radius: 8px; border: 1px solid var(--trv-border); font: 700 .74rem var(--trv-font-display); letter-spacing: .02em; }
.trv-rates__row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--trv-field); margin-bottom: 8px; }
.trv-rates__pair { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.trv-rates__pair .trv-icon { width: 1em; color: var(--trv-accent); }
.trv-rates__val { font: 700 1.2rem var(--trv-font-display); }
.trv-rates__meta { font-size: .76rem; color: var(--trv-muted); margin: 4px 0 0; }
.trv-weather__now { display: flex; gap: 14px; align-items: center; }
.trv-weather__icon .trv-icon { width: 54px; height: 54px; color: var(--trv-accent); animation: trv-float 5s ease-in-out infinite; }
@keyframes trv-float { 50% { transform: translateY(-5px); } }
.trv-weather__temp { font: 800 2rem/1 var(--trv-font-display); }
.trv-weather__city, .trv-weather__desc { font-size: .88rem; color: var(--trv-muted); }
.trv-weather__meta { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.trv-weather__meta li { display: inline-flex; gap: 4px; align-items: center; }
.trv-weather__days { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.trv-weather__days li { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; background: var(--trv-field); font-size: .8rem; }
.trv-weather__dname { text-transform: capitalize; font-weight: 600; }

/* WhatsApp flotante */
.trv-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .5); animation: trv-float 4s ease-in-out infinite; }
.trv-fab .trv-icon { width: 30px; height: 30px; }

/* ---------- Animación de entrada ---------- */
.trv-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--trv-ease) var(--d, 0ms), transform .8s var(--trv-ease) var(--d, 0ms); }
.trv-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.trv-flight { display: none; }
}

/* ---------- Soporte sin backdrop-filter: superficies más opacas ---------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	:root { --trv-surface-alpha: .94; }
}

/* ---------- Contenido de bloques de WP ---------- */
.alignwide { width: min(1240px, 100vw - 32px); }
.wp-block-button__link { background: var(--trv-accent); color: var(--trv-on-accent); border-radius: 999px; }

/* ---------- Ajustes móviles ---------- */
.trv-builder__wrap > *, .trv-hero__grid > *, .trv-package__layout > * { min-width: 0; }
@media (max-width: 480px) {
	.trv-topbar__contact { display: none; }
	.trv-topbar__account { padding: 8px; border: 0; }
	.trv-container { width: calc(100% - 24px); }
	.trv-builder__wrap { padding: 18px; }
}
