/**
 * Travel Jet - hoja de estilos principal.
 * Traduce a clases la maquetacion inline de la plantilla original.
 */

/* ---------------------------------------------------------------- Tokens */
:root {
	--jt-base: #f2f3f3;
	--jt-surface: #fff;
	--jt-soft: #e4f2f4;
	--jt-field: #f8fbfb;
	--jt-ink: #2c3538;
	--jt-muted: #5d6a6e;
	--jt-subtle: #7c8b8f;
	--jt-primary: #12879b;
	--jt-primary-dark: #0b6577;
	--jt-line: #dbe6e8;
	--jt-line-2: #d7e3e5;
	--jt-line-3: #d5e1e3;
	--jt-wine: #7d1019;

	--jt-fuente-titulo: "Archivo", Helvetica, Arial, sans-serif;
	--jt-fuente-texto: "Manrope", Helvetica, Arial, sans-serif;
	--jt-fuente-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--jt-r-card: 20px;
	--jt-r-field: 12px;
	--jt-r-pill: 999px;

	--jt-ease: cubic-bezier(.2, .8, .2, 1);
	--jt-ancho: 1240px;
	--jt-gutter: 22px;

	/* Alto real de la cabecera (logo + relleno del ".jt-header__barra"), para
	   que el fondo del hero pueda extenderse por detras de ella (ver
	   .jt-hero__fondo mas abajo). Si cambia el alto del logo hay que
	   actualizar este valor tambien. */
	--jt-header-alto: 175px;
}

@media (max-width: 1020px) {
	:root { --jt-header-alto: 125px; }
}

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

/* El color de paleta "base" (theme.json) es gris claro (#F2F3F3), pero
   los bloques que usan la clase de Gutenberg .has-base-background-color
   deben verse blancos. */
.has-base-background-color { background-color: #fff !important; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--jt-base);
	color: var(--jt-ink);
	font-family: var(--jt-fuente-texto);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a { color: var(--jt-primary); text-decoration: none; }
/* Hover de botones de Gutenberg: texto blanco y fondo mas oscuro. No hay una
   regla global "a:hover" a proposito: pisaba el color de componentes como
   .jt-footer__tel; el hover de enlaces de texto lo da theme.json (baja
   especificidad) y cada componente define el suyo. */
.wp-block-button__link:hover,
.wp-element-button:hover { background-color: var(--jt-primary-dark); color: #fff; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--jt-fuente-titulo);
	margin: 0 0 .5em;
	text-wrap: pretty;
	letter-spacing: -.028em;
	line-height: 1.05;
}

h1 { font-size: clamp(38px, 5.4vw, 74px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
h2 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
h4 { font-size: 19px; font-weight: 700; }

p { text-wrap: pretty; margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

.jt-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--jt-primary);
	color: #fff;
	padding: 12px 20px;
	border-radius: 0 0 12px 0;
}
.jt-skip:focus, .jt-skip:hover { left: 0; color: #fff; }

/* ------------------------------------------------------------ Utilidades */
.jt-container {
	max-width: var(--jt-ancho);
	margin-inline: auto;
	padding-inline: var(--jt-gutter);
	width: 100%;
}

.jt-eyebrow {
	font-family: var(--jt-fuente-mono);
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--jt-primary);
	margin: 0 0 14px;
}

.jt-pildora {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--jt-fuente-mono);
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #fff;
	background: var(--jt-primary);
	padding: 8px 14px;
	border-radius: var(--jt-r-pill);
	margin: 0 0 26px;
}

.jt-nota {
	font-family: var(--jt-fuente-mono);
	font-size: 11.5px;
	color: var(--jt-subtle);
	margin: 0;
}

.jt-enlace-flecha {
	font-family: var(--jt-fuente-titulo);
	font-weight: 700;
	font-size: 15px;
	color: var(--jt-primary);
	display: inline-block;
	margin-top: 18px;
}
.jt-enlace-flecha:hover { color: var(--jt-primary-dark); }

.jt-badge {
	display: inline-block;
	font-family: var(--jt-fuente-mono);
	font-size: 10.5px;
	letter-spacing: .12em;
	text-transform: uppercase;
	background: var(--jt-primary);
	color: #fff;
	padding: 6px 11px;
	border-radius: var(--jt-r-pill);
}
.jt-badge--oficina { background: var(--jt-soft); color: var(--jt-primary-dark); letter-spacing: .04em; }

/* --------------------------------------------------------------- Botones */
.jt-btn {
	display: inline-block;
	font-family: var(--jt-fuente-titulo);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	padding: 17px 30px;
	border-radius: var(--jt-r-pill);
	border: 1px solid transparent;
	cursor: pointer;
	text-align: center;
	transition: background .25s, color .25s, transform .25s;
}

.jt-btn--primario {
	background: var(--jt-primary);
	color: #fff;
	box-shadow: 0 22px 40px -18px rgba(18, 135, 155, .95);
}
.jt-btn--primario:hover { background: var(--jt-primary-dark); color: #fff; }

.jt-btn--contorno {
	background: transparent;
	color: var(--jt-ink);
	border-color: var(--jt-ink);
	box-shadow: none;
}
.jt-btn--contorno:hover { background: var(--jt-ink); color: #fff; }

.jt-btn--pequeno { font-size: 14px; padding: 12px 20px; }

/* --------------------------------------------------------------- Campos */
.jt-input,
.jt-select,
.jt-textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="number"],
input[type="search"],
input[type="password"],
select,
textarea {
	font-family: var(--jt-fuente-texto);
	font-size: 15px;
	color: var(--jt-ink);
	padding: 14px 14px;
	border: 1px solid var(--jt-line-3);
	border-radius: var(--jt-r-field);
	background: var(--jt-field);
	width: 100%;
	min-width: 0;
}
textarea { resize: vertical; }

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--jt-primary);
	outline-offset: 2px;
}

.jt-searchform {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	max-width: 560px;
}
.jt-searchform .jt-input { flex: 1 1 220px; }
.jt-searchform .jt-btn { flex: 0 0 auto; }

/* ------------------------------------------------------------- Cabecera */
.jt-header {
	position: sticky;
	top: 0;
	z-index: 60;
	transition: background .25s ease, backdrop-filter .25s ease;
}
/* Transparente arriba del todo; el fondo solo aparece al bajar (misma
   clase is-compacta que ya usa iniciarCabecera() en jt-app.js para
   achicar el logo, despues de 40px de scroll). */
.jt-header.is-compacta {
	background: rgba(242, 243, 243, .71);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--jt-line-2);
}

.jt-header__barra {
	padding-block: 12px;
	display: flex;
	align-items: center;
	gap: 26px;
}

.jt-header__marca { flex-shrink: 0; }
.jt-logo-link { display: flex; align-items: center; gap: 10px; }
.jt-logo { height: 150px; width: auto; transition: height .3s var(--jt-ease, ease); }
/* Al bajar mas de 40px de scroll, iniciarCabecera() (jt-app.js) le pone
   is-compacta a la cabecera: el logo se reduce a ~40% de su alto (una baja
   de ~60%), para que la cabecera pegajosa no ocupe tanto espacio en pantalla. */
.jt-header.is-compacta .jt-logo { height: 60px; }
.jt-logo--pie { height: 66px; }
.jt-logo-texto {
	font-family: var(--jt-fuente-titulo);
	font-weight: 800;
	font-size: 22px;
	color: var(--jt-ink);
	letter-spacing: -.02em;
}

.jt-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}

.jt-nav__lista {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.jt-nav__lista a,
.jt-nav__link,
.jt-nav__toggle-mega {
	font-family: var(--jt-fuente-texto);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
	color: var(--jt-ink);
	background: transparent;
	border: 0;
	padding: 10px 14px;
	border-radius: var(--jt-r-pill);
	cursor: pointer;
	white-space: nowrap;
}
.jt-nav__lista a:hover,
.jt-nav__toggle-mega:hover,
.jt-nav__toggle-mega[aria-expanded="true"] { background: var(--jt-soft); color: var(--jt-ink); }

.jt-header__cta {
	font-size: 14px;
	padding: 12px 20px;
	margin-left: 8px;
	box-shadow: 0 8px 18px -8px rgba(18, 135, 155, .8);
}
.jt-header__cta:hover { background: var(--jt-primary-dark); color: #fff; }

.jt-nav__burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid var(--jt-line-2);
	border-radius: 12px;
	cursor: pointer;
}
.jt-nav__burger-linea {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--jt-ink);
	transition: transform .3s var(--jt-ease), opacity .2s;
}
.jt-nav__burger[aria-expanded="true"] .jt-nav__burger-linea:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.jt-nav__burger[aria-expanded="true"] .jt-nav__burger-linea:nth-child(3) { opacity: 0; }
.jt-nav__burger[aria-expanded="true"] .jt-nav__burger-linea:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------- Mega menu */
.jt-mega {
	overflow: hidden;
	border-top: 1px solid var(--jt-line-2);
	background: var(--jt-surface);
	max-height: 0;
	opacity: 0;
	transition: max-height .4s var(--jt-ease), opacity .3s;
}
/* Cerrado sigue siendo [hidden]: los enlaces no quedan enfocables con Tab. */
.jt-mega.is-abierto { max-height: 520px; opacity: 1; }

.jt-mega__lista {
	list-style: none;
	margin: 0 auto;
	padding: 26px var(--jt-gutter) 30px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 4px 30px;
}

.jt-mega__link {
	display: flex;
	gap: 12px;
	padding: 12px 14px;
	border-radius: var(--jt-r-field);
	color: var(--jt-ink);
}
.jt-mega__link:hover { background: var(--jt-base); color: var(--jt-ink); }

.jt-mega__num {
	font-family: var(--jt-fuente-mono);
	font-size: 12px;
	color: var(--jt-primary);
	padding-top: 3px;
}
.jt-mega__titulo { font-family: var(--jt-fuente-titulo); font-weight: 700; font-size: 16px; display: block; }
.jt-mega__desc { font-size: 13.5px; color: var(--jt-muted); }

/* -------------------------------------------------------- Menu movil */
.jt-movil { display: none; }
.jt-movil.is-abierto { display: block; background: var(--jt-surface); border-top: 1px solid var(--jt-line-2); }
.jt-movil[hidden] { display: none; }
.jt-movil__lista {
	list-style: none;
	margin: 0;
	padding: 12px var(--jt-gutter) 22px;
	display: grid;
	gap: 2px;
}
.jt-movil__lista a {
	display: block;
	padding: 13px 12px;
	border-radius: var(--jt-r-field);
	color: var(--jt-ink);
	font-family: var(--jt-fuente-titulo);
	font-weight: 700;
	font-size: 16px;
}
.jt-movil__lista a:hover { background: var(--jt-base); }
.jt-movil__lista .sub-menu { list-style: none; margin: 0 0 0 14px; padding: 0; }
.jt-movil__lista .sub-menu a { font-weight: 500; font-size: 14.5px; font-family: var(--jt-fuente-texto); }

/* ------------------------------------------------------------------ Hero */
.jt-hero {
	position: relative;
	background: var(--jt-base);
	color: var(--jt-ink);
	overflow: hidden;
	display: flex;
	align-items: center;
	padding: 40px var(--jt-gutter) 48px;
	perspective: 1200px;
}

/* !important en la posicion: dentro del hero horneado en Gutenberg (ver
   .jt-hero-fondo mas abajo), una regla generica pone "position:relative" a
   todo hijo directo de una seccion a todo el ancho (para el z-index de las
   nubes decorativas) y le ganaria a esta por especificidad; el fondo
   necesita seguir siendo "absolute" para cubrir todo el alto del hero.
   max-width/margin tambien con !important: el mismo hero horneado en
   Gutenberg vive dentro de un layout "constrained" (theme.json), que le pone
   max-width:1240px (el ancho del contenido) a cualquier hijo que no sea
   .alignwide/.alignfull — el fondo necesita ignorar eso y cubrir todo el
   ancho de la pantalla, no solo la columna de contenido. */
.jt-hero__fondo {
	position: absolute !important;
	/* El top llega hasta detras de la cabecera (que es sticky y semi
	   transparente, con blur) para aprovechar ese espacio: el fondo se ve
	   tambien por detras de ella en vez de empezar justo debajo. */
	top: calc(-14% - var(--jt-header-alto));
	right: 0;
	bottom: -14%;
	left: 0;
	max-width: none !important;
	margin: 0 !important;
	will-change: transform;
}
/* Varias fotos posibles (slider configurable en Travel Jet -> Ajustes ->
   Portada): se apilan todas en el mismo sitio y solo la ".is-activa" se ve,
   con un fundido entre una y otra (iniciarHeroSlider() en jt-app.js). Con
   una sola foto configurada, esta regla no molesta: esa foto simplemente
   nace con "is-activa" y se queda asi. */
.jt-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.4s ease;
}
.jt-hero__img.is-activa { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.jt-hero__img { transition: none; }
}

.jt-hero__velo {
	position: absolute !important;
	/* Misma caja que .jt-hero__fondo (que se sale del grupo por el parallax),
	   mas un margen de 40px por el desplazamiento: si no, la parte de la
	   foto que sobresale queda sin velo. */
	top: calc(-14% - var(--jt-header-alto) - 40px);
	right: 0;
	bottom: calc(-14% - 40px);
	left: 0;
	max-width: none !important;
	margin: 0 !important;
	background: white;
	pointer-events: none;
	opacity: 0.8;
}

.jt-hero__anillo {
	position: absolute;
	top: 12%;
	right: 6%;
	width: 46vw;
	max-width: 620px;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1px solid rgba(44, 53, 56, .16);
	animation: jt-pulse 9s ease-in-out infinite;
	pointer-events: none;
}

.jt-hero__linea {
	position: absolute;
	bottom: 8%;
	left: 55%;
	width: 220px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--jt-primary), transparent);
	pointer-events: none;
}

.jt-hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 26px;
	align-items: start;
}

.jt-hero__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 48px;
	align-items: center;
}

.jt-hero__titulo {
	font-size: clamp(44px, 6.4vw, 86px);
	line-height: .96;
	font-weight: 800;
	letter-spacing: -.03em;
	margin: 0 0 24px;
}

.jt-hero__bajada {
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.6;
	color: var(--jt-muted);
	max-width: 52ch;
	margin: 0 0 38px;
}

.jt-hero__fotos { position: relative; height: 450px; max-width: 580px; width: 100%; margin-inline: auto; }
.jt-hero__foto {
	position: absolute;
	width: 60%;
	height: 320px;
	background: var(--jt-surface);
	border: 1px solid var(--jt-line);
	border-radius: 20px;
	padding: 10px;
	box-shadow: 0 34px 60px -40px rgba(44, 53, 56, .65);
	will-change: transform;
}
.jt-hero__foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.jt-hero__foto--1 { top: 0; left: 0; animation: jt-float 9s ease-in-out infinite; }
.jt-hero__foto--2 { bottom: 0; right: 0; animation: jt-float 11s ease-in-out infinite reverse; }

/* -------------------------------------------------------- Barra confianza */
.jt-confianza {
	background: var(--jt-soft);
	color: var(--jt-muted);
	padding: 26px var(--jt-gutter);
	border-top: 1px solid var(--jt-line-2);
}
.jt-confianza__lista {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 46px;
	align-items: center;
	justify-content: space-between;
	font-family: var(--jt-fuente-mono);
	font-size: 12.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.jt-confianza__lista .is-destacado { color: var(--jt-primary); }

/* ------------------------------------------------------------- Secciones */
.jt-seccion { position: relative; padding: 110px var(--jt-gutter) 90px; overflow: hidden; }
.jt-seccion--base { background: var(--jt-base); }
.jt-seccion--blanca { background: var(--jt-surface); }
.jt-seccion--suave { background: var(--jt-soft); }
.jt-seccion--compacta { padding-block: 90px 80px; }

.jt-seccion__cabeza {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 54px;
}
.jt-seccion__cabeza--columna { display: block; margin-bottom: 52px; }
.jt-seccion__cabeza h2 { max-width: 22ch; margin: 0; }

.jt-page-header { padding-block: 60px 26px; }
.jt-page-title { margin: 0 0 12px; }
.jt-page-media { margin-bottom: 34px; }
.jt-page-media img { border-radius: var(--jt-r-card); }
.jt-post-meta { font-family: var(--jt-fuente-mono); font-size: 12px; color: var(--jt-subtle); }

/* --------------------------------------------------- Cabeza de servicio */
/* Imagen y resumen (precio/duracion/salida) a mitad de ancho cada uno, en
   una sola fila; el resto de la ficha (que incluye, galeria) va debajo. */
.jt-servicio-cabeza {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	align-items: stretch;
	margin-bottom: 40px;
}

.jt-servicio-cabeza__media {
	border-radius: var(--jt-r-card);
	overflow: hidden;
	min-height: 320px;
	background: var(--jt-soft);
}
.jt-servicio-cabeza__media img {
	width: 100%;
	height: 100%;
	min-height: 320px;
	object-fit: cover;
	display: block;
}
.jt-servicio-cabeza__vacio { display: block; width: 100%; height: 100%; min-height: 320px; background: var(--jt-soft) url("../images/decor/sin-foto.svg") center / cover no-repeat; }

.jt-servicio-cabeza__resumen .jt-ficha { height: 100%; margin: 0; display: flex; flex-direction: column; justify-content: center; }

@media (max-width: 860px) {
	.jt-servicio-cabeza { grid-template-columns: 1fr; gap: 20px; }
	.jt-servicio-cabeza__media,
	.jt-servicio-cabeza__media img,
	.jt-servicio-cabeza__vacio { min-height: 240px; }
}

.jt-main { display: block; }

/* Contenido de bloques: centrado y anchos alineados */
.jt-entry-content {
	max-width: var(--jt-ancho);
	margin-inline: auto;
	padding-inline: var(--jt-gutter);
	padding-block: 10px 70px;
}
.jt-entry-content > .alignwide { max-width: 1440px; margin-inline: auto; }
.jt-entry-content > .alignfull {
	max-width: none;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.jt-front .jt-entry-content { padding-block: 0; max-width: none; padding-inline: 0; }
.jt-front .jt-entry-content > *:not(.alignfull):not(.alignwide) {
	max-width: var(--jt-ancho);
	margin-inline: auto;
	padding-inline: var(--jt-gutter);
}

/* --------------------------------------------------------------- Rejillas */
.jt-grid { display: grid; gap: 20px; }
.jt-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.jt-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.jt-grid--4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.jt-layout { display: grid; gap: 40px; padding-bottom: 80px; }
.jt-layout--con-lateral { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) {
	.jt-layout--con-lateral { grid-template-columns: minmax(0, 1fr) 300px; }
}
.jt-layout__lateral .widget { margin-bottom: 34px; }
.jt-layout__lateral .widget-title { font-size: 18px; }

/* --------------------------------------------------------------- Tarjetas */
.jt-card {
	background: var(--jt-surface);
	border: 1px solid var(--jt-line);
	border-radius: var(--jt-r-card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color .25s, box-shadow .3s, transform .25s ease-out;
}
.jt-card:hover { border-color: var(--jt-primary); }

.jt-card__enlace { display: flex; flex-direction: column; height: 100%; color: inherit; }
.jt-card__enlace:hover { color: inherit; }

.jt-card__media { position: relative; height: 220px; background: var(--jt-soft); overflow: hidden; }
.jt-card__media img { width: 100%; height: 100%; object-fit: cover; }
/* Renta de autos: las fotos de vehiculos se ven completas, sin recortar. */
.jt-card--tipo-jt_auto .jt-card__media img { object-fit: contain; }
.jt-card__media-vacio { display: block; width: 100%; height: 100%; background: var(--jt-soft) url("../images/decor/sin-foto.svg") center / cover no-repeat; }
.jt-card__media .jt-badge { position: absolute; top: 14px; left: 14px; pointer-events: none; }

.jt-card__cuerpo {
	padding: 22px 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}
.jt-card__titulo { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.jt-card__texto { font-size: 14.5px; line-height: 1.6; color: var(--jt-muted); margin: 0; flex: 1; }
.jt-card__cta { font-family: var(--jt-fuente-titulo); font-weight: 700; font-size: 14px; color: var(--jt-primary); }
.jt-card__enlace:hover .jt-card__cta { color: var(--jt-primary-dark); }

.jt-card__precio {
	font-family: var(--jt-fuente-titulo);
	font-weight: 800;
	font-size: 20px;
	color: var(--jt-ink);
	letter-spacing: -.02em;
}
.jt-card__precio small { font-family: var(--jt-fuente-mono); font-size: 11px; font-weight: 400; color: var(--jt-subtle); display: block; letter-spacing: .08em; text-transform: uppercase; }

.jt-card__acciones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* Tarjeta de servicio numerada (bloque de servicios en linea, ej. Paquetes turisticos) */
.jt-servicio {
	height: 100%;
	background: var(--jt-surface);
	border: 1px solid var(--jt-line);
	border-radius: var(--jt-r-card);
	padding: 30px 28px 34px;
	transform-style: preserve-3d;
	transition: transform .25s ease-out, box-shadow .3s;
}
.jt-servicio:hover { box-shadow: 0 40px 70px -40px rgba(44, 53, 56, .5); }
.jt-servicio__cabeza {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 90px;
}
.jt-servicio__num { font-family: var(--jt-fuente-mono); font-size: 12px; color: var(--jt-primary); }
.jt-servicio__rombo { width: 12px; height: 12px; background: var(--jt-primary); transform: rotate(45deg); }
.jt-servicio__titulo { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.jt-servicio__texto { font-size: 15.5px; line-height: 1.6; color: var(--jt-muted); margin: 0; }
.jt-servicio__cta {
	font-family: var(--jt-fuente-titulo);
	font-weight: 700;
	font-size: 14px;
	color: var(--jt-primary);
	display: inline-block;
	margin-top: 16px;
}

/* Paso numerado (seccion Visas) */
.jt-paso {
	display: flex;
	gap: 16px;
	align-items: baseline;
	background: var(--jt-base);
	border: 1px solid var(--jt-line);
	border-radius: 16px;
	padding: 20px 22px;
}
.jt-seccion--blanca .jt-paso { background: var(--jt-base); }
.jt-paso__num { font-family: var(--jt-fuente-mono); font-size: 12px; color: var(--jt-primary); }
.jt-paso__titulo { font-family: var(--jt-fuente-titulo); font-weight: 700; font-size: 17px; }
.jt-paso__texto { font-size: 14.5px; color: var(--jt-muted); line-height: 1.55; }

/* Seccion Santander con marca de agua */
.jt-santander { padding-bottom: 120px; perspective: 1400px; }
.jt-santander__marca {
	position: absolute;
	top: 6%;
	left: -4%;
	font-family: var(--jt-fuente-titulo);
	font-weight: 800;
	font-size: clamp(90px, 16vw, 240px);
	letter-spacing: -.05em;
	color: #e1edef;
	pointer-events: none;
	line-height: 1;
	z-index: 0;
}
.jt-santander > .jt-container { position: relative; z-index: 1; }

/* Logos de aliados */
.jt-aliados {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 34px;
	max-width: 460px;
}
.jt-aliado {
	border: 1px solid var(--jt-line);
	border-radius: 14px;
	height: 74px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	background: var(--jt-surface);
}
.jt-aliado img { max-height: 100%; width: auto; object-fit: contain; }

/* ------------------------------------------------------- Empresas aliadas */
/* Franja de logos a todo el ancho: cada .jt-empresas__logo tiene la misma
   altura fija y el logo adentro se ajusta con object-fit:contain, asi todas
   las marcas se ven a la misma altura sin importar su proporcion original
   (unas mas anchas, otras casi cuadradas). */
.jt-empresas__cabeza { text-align: center; max-width: 560px; margin: 0 auto 40px; }
.jt-empresas__cabeza h2 { margin: 6px 0 0; }

.jt-empresas__rejilla {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 30px 46px;
}
.jt-empresas__logo {
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: .6;
	filter: grayscale(1);
	transition: opacity .25s, filter .25s, transform .25s;
}
.jt-empresas__logo:hover,
.jt-empresas__logo:focus-within {
	opacity: 1;
	filter: grayscale(0);
	transform: translateY(-2px);
}
.jt-empresas__logo img { height: 100%; width: auto; max-width: 180px; object-fit: contain; }
.jt-empresas__nota { text-align: center; margin: 30px 0 0; }

@media (max-width: 700px) {
	.jt-empresas__rejilla { gap: 24px 32px; }
	.jt-empresas__logo { height: 42px; }
	.jt-empresas__logo img { max-width: 130px; }
}

/* ------------------------------------------------------------- Contacto */
.jt-contacto { background: var(--jt-soft); padding: 110px var(--jt-gutter) 90px; position: relative; overflow: hidden; }
.jt-contacto__anillo {
	position: absolute;
	top: -20%;
	left: 40%;
	width: 700px;
	height: 700px;
	border-radius: 50%;
	border: 1px solid rgba(44, 53, 56, .1);
	pointer-events: none;
}
.jt-contacto__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 50px;
	align-items: start;
}
.jt-contacto__tel {
	font-family: var(--jt-fuente-titulo);
	font-weight: 800;
	font-size: clamp(26px, 3vw, 38px);
	letter-spacing: -.02em;
	color: var(--jt-ink);
	display: block;
}
.jt-contacto__tel:hover { color: var(--jt-primary); }
.jt-contacto__form {
	background: var(--jt-surface);
	border-radius: 22px;
	padding: 30px 30px 34px;
	border: 1px solid var(--jt-line);
	box-shadow: 0 40px 70px -45px rgba(44, 53, 56, .4);
	transform-style: preserve-3d;
	transition: transform .25s ease-out;
}
.jt-contacto__campos { display: grid; gap: 12px; }

/* ------------------------------------------------------------------- Pie */
.jt-footer { background: var(--jt-soft); padding: 60px var(--jt-gutter) 30px; border-top: 1px solid var(--jt-line-2); }
.jt-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 40px;
	align-items: start;
}
.jt-footer__lista {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-size: 14px;
}
.jt-footer__lista a { color: var(--jt-ink); }
.jt-footer__lista a:hover { color: var(--jt-primary); }
.jt-footer__tel {
	font-family: var(--jt-fuente-titulo);
	font-weight: 800;
	font-size: 22px;
	color: var(--jt-ink);
	display: block;
}
.jt-footer__redes { display: flex; gap: 14px; margin-top: 14px; font-size: 14px; }
.jt-footer__pagos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid #cddadd;
}
.jt-footer__pagos-titulo {
	font-family: var(--jt-fuente-mono);
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #6c7a7e;
}
.jt-footer__legal {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #cddadd;
	font-family: var(--jt-fuente-mono);
	font-size: 12px;
	color: #6c7a7e;
}
/* Si ya viene justo despues de los medios de pago, ese bloque ya puso su
   propia linea divisoria: no hace falta una segunda pegada a esa. */
.jt-footer__pagos + .jt-footer__legal { border-top: 0; padding-top: 0; margin-top: 16px; }
.jt-footer__legal p { margin: 0; }

/* Franja de "sitio oficial": a todo el ancho de la pantalla, aunque el pie
   tenga su propio relleno lateral (por eso el margen negativo). */
.jt-footer__oficial {
	background: var(--jt-ink, #2c3538);
	margin: 24px calc(-1 * var(--jt-gutter)) -30px;
	padding: 14px var(--jt-gutter);
}
.jt-footer__oficial p {
	max-width: 1240px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 12.5px;
	line-height: 1.5;
}
.jt-footer__oficial-icono { flex: 0 0 auto; width: 18px; height: 18px; }

/* ------------------------------------------------------- Boton flotante */
.jt-fab {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 80;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--jt-fuente-titulo);
	font-weight: 700;
	font-size: 15px;
	color: #fff;
	background: var(--jt-primary);
	padding: 14px 22px 14px 18px;
	border-radius: var(--jt-r-pill);
	box-shadow: 0 20px 40px -16px rgba(18, 135, 155, .95);
	transition: background .25s, transform .25s, opacity .3s, visibility .3s;
	/* Oculto hasta que jt-app.js confirme que hubo suficiente scroll: al
	   entrar a la pagina el visitante ya ve el buscador y los botones de
	   cada tarjeta, y este boton flotante encima les resta protagonismo. */
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	pointer-events: none;
}
.jt-fab.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}
.jt-fab:hover { background: var(--jt-primary-dark); color: #fff; transform: translateY(-2px); }
.jt-fab__icono { width: 22px; height: 22px; flex: 0 0 auto; }

@media (max-width: 500px) {
	/* En celular queda como circulo con solo el icono: el texto "WhatsApp"
	   no cabe comodo junto al resto de botones flotantes de esa pantalla. */
	.jt-fab { padding: 14px; gap: 0; }
	.jt-fab__texto { display: none; }
}

/* --------------------------------------------------------- Paginacion */
.jt-pagination { margin-top: 50px; }
.jt-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.jt-pagination .page-numbers {
	min-width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--jt-r-pill);
	border: 1px solid var(--jt-line);
	background: var(--jt-surface);
	color: var(--jt-ink);
	font-weight: 600;
	padding-inline: 12px;
}
.jt-pagination .page-numbers.current,
.jt-pagination .page-numbers:hover { background: var(--jt-primary); border-color: var(--jt-primary); color: #fff; }

/* ------------------------------------------------------- Estados vacios */
.jt-vacio, .jt-404 { padding-block: 40px 90px; max-width: 640px; }
.jt-vacio__titulo { font-size: 26px; }
.jt-404__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.jt-breadcrumbs { font-family: var(--jt-fuente-mono); font-size: 11.5px; color: var(--jt-subtle); margin-bottom: 16px; letter-spacing: .06em; text-transform: uppercase; }

.jt-comentarios { padding-block: 20px 80px; }
.jt-comentarios__lista { list-style: none; padding: 0; }
.jt-comentarios__lista .children { list-style: none; padding-left: 24px; }

/* --------------------------------------------------- Estilos de bloque */
.is-style-jt-tarjeta,
.is-style-jt-tarjeta-tilt {
	background: var(--jt-surface);
	border: 1px solid var(--jt-line);
	border-radius: var(--jt-r-card);
	padding: 30px 28px 34px;
}
.is-style-jt-tarjeta-tilt { transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .3s; }
.is-style-jt-tarjeta-tilt:hover { box-shadow: 0 40px 70px -40px rgba(44, 53, 56, .5); }

.is-style-jt-antetitulo {
	font-family: var(--jt-fuente-mono);
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--jt-primary);
}

.wp-block-button.is-style-jt-contorno .wp-block-button__link {
	background: transparent;
	color: var(--jt-ink);
	border: 1px solid var(--jt-ink);
}
.wp-block-button.is-style-jt-contorno .wp-block-button__link:hover { background: var(--jt-ink); color: #fff; }

.is-style-jt-marco img {
	border-radius: 20px;
	box-shadow: 0 50px 80px -50px rgba(44, 53, 56, .7);
}

.is-style-jt-pasos { list-style: none; padding: 0; display: grid; gap: 12px; counter-reset: jtpaso; }
.is-style-jt-pasos li {
	counter-increment: jtpaso;
	background: var(--jt-base);
	border: 1px solid var(--jt-line);
	border-radius: 16px;
	padding: 20px 22px 20px 60px;
	position: relative;
	color: var(--jt-ink);
}
.is-style-jt-pasos li::before {
	content: "0" counter(jtpaso);
	position: absolute;
	left: 22px;
	top: 20px;
	font-family: var(--jt-fuente-mono);
	font-size: 12px;
	color: var(--jt-primary);
}

/* -------------------------------------------------------- Animaciones */
@keyframes jt-float {
	0%, 100% { transform: translate3d(0, -8px, 0); }
	50% { transform: translate3d(0, 10px, 0); }
}
@keyframes jt-pulse {
	0%, 100% { opacity: .35; }
	50% { opacity: .9; }
}

[data-reveal] {
	opacity: 0;
	transform: translate3d(0, 30px, 0);
	transition: opacity .8s, transform .8s var(--jt-ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------- Responsive */
@media (max-width: 1020px) {
	.jt-nav__lista,
	.jt-nav__toggle-mega { display: none; }
	.jt-nav__burger { display: flex; }
	.jt-mega { display: none !important; }
	.jt-logo { height: 100px; }
	.jt-header.is-compacta .jt-logo { height: 40px; }
}

@media (max-width: 860px) {
	/* La clase hace lo mismo que el atributo, pero Gutenberg la conserva al
	   reguardar un bloque (className es nativo del editor; un atributo
	   data- suelto en HTML crudo puede perderse si el usuario reedita). */
	[data-hide-sm],
	.jt-hide-sm { display: none !important; }
	.jt-seccion { padding-block: 70px 60px; }
	.jt-seccion__cabeza { margin-bottom: 34px; }
	.jt-santander__marca { display: none; }
	.jt-header__cta { display: none; }
}

@media (max-width: 560px) {
	.jt-aliados { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jt-confianza__lista { justify-content: flex-start; gap: 10px 24px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	[data-reveal] { opacity: 1; transform: none; }
}

/* ================================================== Avion al hacer scroll */
.jt-avion {
	position: fixed;
	inset: 0;
	z-index: 40; /* debajo de la cabecera (60) y del boton de WhatsApp (80) */
	pointer-events: none;
	overflow: hidden;
	opacity: 0;
	transition: opacity .5s ease;
}
.jt-avion.is-activo { opacity: 1; }
.jt-avion__ruta { position: absolute; inset: 0; width: 100%; height: 100%; }
.jt-avion__nave {
	position: absolute;
	top: 0;
	left: 0;
	width: clamp(52px, 5.4vw, 84px);
	height: auto;
	will-change: transform;
	filter: drop-shadow(0 16px 10px rgba(44, 53, 56, .22));
}
@media (max-width: 860px) {
	.jt-avion__nave { width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	.jt-avion { display: none; }
}

/* ============================================ Fondos e imagenes decorativas */
/* Nubes y rutas de vuelo suaves detras de las secciones de la portada, para
   que los fondos lisos no se sientan planos. Son solo adorno (no llevan texto
   ni son clicables) y se pintan detras del contenido. */
.jt-front .jt-entry-content > .wp-block-group.alignfull {
	position: relative;
	overflow: clip;
}
/* El hero es la excepcion: su fondo (.jt-hero__fondo) se extiende a
   proposito por encima del propio borde del grupo para llegar detras de la
   cabecera (ver .jt-hero__fondo mas abajo); con "overflow: clip" heredado
   de la regla de arriba, esa parte se recortaria y nunca se veria. Selector
   igual de especifico que el de arriba, mas la clase extra, para ganarle. */
.jt-front .jt-entry-content > .wp-block-group.alignfull.jt-hero-fondo {
	overflow: visible;
}
.jt-front .jt-entry-content > .wp-block-group.alignfull::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-repeat: no-repeat;
	animation: jt-deriva 32s ease-in-out infinite alternate;
}
.jt-front .jt-entry-content > .wp-block-group.alignfull > * { position: relative; z-index: 1; }

@keyframes jt-deriva {
	from { transform: translateX(0); }
	to { transform: translateX(-34px); }
}

/* Hero: nubes arriba a la derecha y una ruta punteada abajo a la izquierda. */
.jt-front .jt-entry-content > .wp-block-group.alignfull:first-child::before {
	background-image: url("../images/decor/nubes-blanco.svg"), url("../images/decor/nubes-blanco.svg");
	background-position: right -70px top 10px, left -260px bottom 90px;
	background-size: min(780px, 64vw) auto, min(560px, 46vw) auto;
}
#salidas::before {
	background-image: url("../images/decor/ruta.svg");
	background-position: right -50px bottom 6px;
	background-size: min(440px, 42vw) auto;
}

/* Seccion "Proximas salidas y destinos": dos columnas a la misma altura
   (ver jt_insertar_viajera_salidas() en inc/template-tags.php, que envuelve
   el contenido original - antetitulo, titulo y carrusel - en estas dos
   columnas). La imagen ya no es hija directa del grupo alignfull, asi que
   no necesita pelear por encima de ".wp-block-group.alignfull > *" como
   antes. */
.jt-salidas__grid {
	display: grid;
	grid-template-columns: minmax(240px, 380px) 1fr;
	align-items: stretch;
	gap: clamp(24px, 4vw, 56px);
}
.jt-salidas__col-img {
	position: relative;
	min-height: 320px;
}
.jt-viajera-salidas {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
}
.jt-salidas__col-contenido { min-width: 0; }
@media (max-width: 860px) {
	.jt-salidas__grid { grid-template-columns: 1fr; }
	.jt-salidas__col-img { min-height: 260px; order: -1; }
}
#hoy::before {
	background-image: url("../images/decor/nubes-blanco.svg");
	background-position: left -140px top 26px;
	background-size: min(660px, 56vw) auto;
}
#resenas::before {
	background-image: url("../images/decor/ruta.svg");
	background-position: right 3% top 24px;
	background-size: min(520px, 46vw) auto;
}
#santander::before,
#internacional::before {
	background-image: url("../images/decor/nubes-blanco.svg");
	background-position: right -90px top 30px;
	background-size: min(680px, 56vw) auto;
}

/* Secciones de plugin: nubes detras del auto y ruta detras de las visas. */
.jt-sec-autos::before,
.jt-sec-visas::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-repeat: no-repeat;
}
.jt-sec-autos::before {
	background-image: url("../images/decor/nubes-suave.svg");
	background-position: right -90px center;
	background-size: min(640px, 60vw) auto;
}
.jt-sec-visas::before {
	background-image: url("../images/decor/nubes-suave.svg");
	background-position: left -120px bottom -30px;
	background-size: min(520px, 50vw) auto;
}
.jt-sec-autos > .jt-container { position: relative; z-index: 1; }

/* Contacto: paisaje real detras, difuminado hacia la izquierda para que el
   texto siga leyendose sobre color liso y el formulario (tarjeta blanca) quede
   siempre sobre fondo opaco. */
.jt-contacto::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, var(--jt-soft) 0%, var(--jt-soft) 40%, rgba(228, 242, 244, .86) 62%, rgba(228, 242, 244, .6) 100%),
		url("../images/fondos/bangkok-wat-arun.jpg") center 42% / cover no-repeat;
}
@media (max-width: 860px) {
	.jt-contacto::before {
		background:
			linear-gradient(rgba(228, 242, 244, .9), rgba(228, 242, 244, .9)),
			url("../images/fondos/bangkok-wat-arun.jpg") center / cover no-repeat;
	}
}

/* Bandas con foto (bloque Grupo con imagen de fondo + patron "Banda con foto"):
   la foto se ve completa y el texto va sobre una tarjeta blanca, asi el
   contraste no depende de que tan clara u oscura sea la imagen. */
.wp-block-group.jt-banda {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: clamp(320px, 42vw, 470px);
	padding-block: clamp(28px, 4vw, 64px);
	padding-inline: max(var(--jt-gutter), calc((100% - var(--jt-ancho)) / 2));
	background-size: cover;
	background-position: center;
	background-color: var(--jt-soft);
}
.jt-front .jt-entry-content > .wp-block-group.alignfull.jt-banda::before { content: none; animation: none; }
/* Banda con video de fondo: el poster va de fondo (carga rapida, y es lo unico
   que se ve con "reducir movimiento"); el video lo cubre. */
.wp-block-group.jt-banda--video {
	position: relative;
	overflow: hidden;
	background: var(--jt-soft) url("../images/fondos/australia-poster.jpg") center / cover no-repeat;
}
/* !important: ".wp-block-group.alignfull > *" (4 clases) fuerza position:relative; z-index:1 a todo hijo directo. */
.jt-banda__video {
	position: absolute !important;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0 !important;
	pointer-events: none;
}
.jt-banda--video > .jt-banda__tarjeta { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
	.jt-banda__video { display: none; }
}
.jt-banda__tarjeta {
	width: 100%;
	max-width: 500px;
	margin: 0;
	background: var(--jt-surface);
	color: var(--jt-ink);
	border-radius: 22px;
	padding: clamp(24px, 3vw, 38px);
	box-shadow: 0 40px 70px -40px rgba(44, 53, 56, .6);
}
.jt-banda__tarjeta > :first-child { margin-top: 0; }
.jt-banda__tarjeta > :last-child { margin-bottom: 0; }
.jt-banda__tarjeta h2 { font-size: clamp(26px, 3vw, 38px); }
@media (max-width: 700px) {
	/* En celular la tarjeta ocuparia toda la foto: se deja un tramo de foto
	   visible arriba y la tarjeta debajo. */
	.wp-block-group.jt-banda { align-items: flex-end; min-height: 0; padding-block: 190px 22px; }
	.jt-banda__tarjeta { max-width: none; }
}

/* Ancla de "Muestrame mas" (#planes-de-hoy): deja espacio para la cabecera fija. */
.jt-eyebrow[id] { scroll-margin-top: 110px; }
