/* ==================================================
   Travel Slider — estilos propios de la plantilla (hero: el carrusel original mejorado)
   Barra, botones, secciones comunes, similares, CTA y WhatsApp vienen de themes/_kit/am-kit.css
   Las medidas del banner van en unidades del escenario (cqh / cqw), como la grilla de 1240 × 800 del original
   ================================================== */

.tv-hero {
	--foot-h: 92px;
	--sw: 84cqw;            /* ancho de la foto central (tv.js lo fija en px) */
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100svh;
	min-height: 720px;
	padding-top: 68px;
	overflow: hidden;
	color: #fff;
	background: #000;
}
.tv-stage { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; container-type: size; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tv-hero.is-drag .tv-stage { cursor: grabbing; }

/* ---------- Carrusel ---------- */
.tv-track { position: absolute; inset: 0; z-index: 1; }
.tv-slide { position: absolute; top: 0; left: 0; width: var(--sw); height: 100%; overflow: hidden; background: #111; will-change: transform; }
.tv-slide__in { position: absolute; inset: -3%; will-change: transform; }
.tv-slide img, .tv-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tv-slide video { opacity: 0; transition: opacity .8s linear; }
.tv-slide video.is-on { opacity: 1; }
.tv-slide::after { content: ''; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); pointer-events: none; }
.tv-fade { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 25cqh; background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .09) 20%, rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .77) 80%, rgba(0, 0, 0, .85) 100%); pointer-events: none; }

/* ---------- Capas del banner (posiciones del original) ---------- */
.tv-kicker { position: absolute; z-index: 3; top: 13cqh; left: 0; right: 0; margin: 0; text-align: center; padding: 0 .5em; font-family: 'Work Sans', sans-serif; font-size: clamp(12px, 3.1cqh, 25px); font-weight: 500; line-height: 1.2; letter-spacing: .42em; text-transform: uppercase; white-space: nowrap; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 2px 14px rgba(0, 0, 0, .6), 0 5px 30px rgba(0, 0, 0, .9); pointer-events: none; }
.tv-page .tv-title { position: absolute; z-index: 4; top: 29cqh; left: 50%; margin: 0; font-family: 'Anton', 'Archivo', sans-serif; font-size: min(21.25cqh, calc(92cqw / (var(--len, 9) * .5))); font-weight: 400; line-height: 1; letter-spacing: .005em; text-align: center; text-transform: uppercase; white-space: nowrap; color: #fff; transform: translate(-50%, -50%); pointer-events: none; }
.tv-title__w { display: block; will-change: transform; }
.tv-guy { position: absolute; z-index: 5; bottom: -15cqh; left: 50%; width: auto; height: 80.75cqh; max-width: none; margin-left: calc(80.75cqh * -.2322); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); pointer-events: none; will-change: transform; }

.tv-badge { position: absolute; z-index: 6; top: 7cqh; right: calc((100cqw - var(--sw)) / 2 + 3cqh); width: 21.25cqh; height: 21.25cqh; min-width: 96px; min-height: 96px; pointer-events: none; }
.tv-badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: tv-spin 20s linear infinite; }
.tv-badge__t { position: absolute; inset: 5.9%; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; font-family: 'Anton', 'Archivo', sans-serif; font-size: clamp(12px, 2.9cqh, 23px); line-height: 1.09; text-align: center; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .75); border-radius: 50%; }
@keyframes tv-spin { to { transform: rotate(360deg); } }

.ak-page .tv-book { position: absolute; z-index: 7; top: 81cqh; left: 50%; display: inline-flex; align-items: center; min-height: 48px; height: 8.75cqh; padding: 0 5cqh; font-family: 'Work Sans', sans-serif; font-size: clamp(14px, 2.5cqh, 20px); font-weight: 600; text-decoration: none; white-space: nowrap; color: #fff; background: #dd4814; border-radius: 999px; box-shadow: 0 10px 30px rgba(221, 72, 20, .35); translate: -50% -50%; transition: filter .2s linear, box-shadow .2s linear; }
.ak-page .tv-book:hover, .ak-page .tv-book:focus-visible { color: #fff; filter: brightness(1.2); box-shadow: 0 14px 40px rgba(221, 72, 20, .55); }
.ak-page .tv-book:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.tv-note { position: absolute; z-index: 7; top: 90cqh; left: 50%; width: max-content; max-width: 90cqw; margin: 0; font-family: 'Work Sans', sans-serif; font-size: clamp(12px, 2cqh, 16px); line-height: 1.25; text-align: center; color: rgba(255, 255, 255, .55); translate: -50% 0; }

/* flechas sobre el borde de las fotos vecinas */
.ak-page .tv-side { position: absolute; z-index: 7; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0; padding: 0; font-size: 20px; color: #fff; background: rgba(10, 10, 10, .72); border: 2px solid #fff; cursor: pointer; transition: background .15s linear, color .15s linear; }
.tv-side--prev { left: max(10px, calc((100cqw - var(--sw)) / 2 - 26px)); }
.tv-side--next { right: max(10px, calc((100cqw - var(--sw)) / 2 - 26px)); }
.ak-page .tv-side:hover, .ak-page .tv-side:focus-visible { color: #0a0a0a; background: var(--accent); border-color: #000; }
.ak-page .tv-side:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.tv-status, .ak-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Pie del hero ---------- */
.tv-foot {
	position: relative;
	z-index: 8;
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: minmax(260px, 1fr) auto auto;
	gap: 14px clamp(20px, 3vw, 44px);
	align-items: center;
	padding: 14px calc(var(--gutter) + 140px) 16px var(--gutter);
	background: rgba(10, 10, 10, .96);
	border-top: 3px solid var(--accent);
}
.tv-foot__meta { margin: 0 0 4px; font-family: var(--mb-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.tv-foot__lead { max-width: 60ch; margin: 0; font-size: clamp(14px, 1.1vw, 17px); line-height: 1.5; color: rgba(245, 245, 240, .86); }
.tv-ctrl { display: flex; align-items: center; gap: 10px; }
.tv-count { margin: 0 6px 0 0; font-family: var(--mb-mono); font-size: 14px; color: rgba(245, 245, 240, .7); white-space: nowrap; }
.tv-idx { display: inline-block; font-family: var(--mb-display); font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: -.02em; vertical-align: -5px; color: var(--accent); }

@media (max-width: 1180px) {
	.tv-foot { grid-template-columns: minmax(0, 1fr) auto; }
	.tv-foot .ak-actions { grid-column: 1 / -1; }
}

/* ---------- Tablet y móvil ---------- */
@media (max-width: 1000px) {
	.tv-hero { height: auto; min-height: 0; }
	.tv-stage { flex: 0 0 auto; height: min(calc(100svh - 70px), 860px); min-height: 600px; }
	.tv-kicker { letter-spacing: .3em; }
}
@media (max-width: 700px) {
	.tv-hero { padding-top: 60px; }
	.tv-stage { height: min(calc(100svh - 140px), 760px); min-height: 560px; }
	.tv-kicker { top: 15cqh; font-size: clamp(11px, 3.4cqw, 15px); letter-spacing: .22em; }
	.tv-page .tv-title { top: 30cqh; font-size: min(17cqh, calc(92cqw / (var(--len, 9) * .5))); }
	.tv-guy { height: 66cqh; bottom: -6cqh; margin-left: calc(66cqh * -.2322); }
	.tv-badge { top: 3cqh; right: calc((100cqw - var(--sw)) / 2 + 2cqh); width: 96px; height: 96px; }
	.tv-badge__t { font-size: 13px; }
	.tv-book { top: 86cqh; }
	.tv-note { top: 94cqh; font-size: 11px; }
	.ak-page .tv-side { display: none; }
	.tv-foot { grid-template-columns: 1fr; padding: 14px var(--gutter) 88px; }
	.tv-ctrl { order: -1; }
	.tv-foot .ak-actions .ak-btn { flex: 1 1 auto; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	.tv-badge__ring { animation: none; }
	.ak-page .tv-book, .ak-page .tv-side { transition: none; }
	.tv-slide video { transition: none; }
}
