/*
Theme Name:   Time Journey Perú
Theme URI:    https://www.timejourneyperu.com
Description:  Tema hijo de Astra con la identidad visual de Time Journey Perú (paleta, tipografías, botones, encabezado, tarjetas y utilidades).
Author:       Time Journey Perú
Template:     astra
Version:      1.1.5
Requires PHP: 7.4
Text Domain:  timejourney
*/

/* ==========================================================
   1. VARIABLES DE MARCA  (cambia aquí un color y se actualiza todo)
   ========================================================== */
:root {
	--tjp-navy:      #0B2A4A;  /* Azul marino – confianza, profesionalismo */
	--tjp-navy-900:  #071C33;  /* Azul más oscuro – pie de página, overlays */
	--tjp-gold:      #DAAF37;  /* Dorado – botones, acentos */
	--tjp-gold-dark: #B8912A;  /* Dorado oscuro – hover */
	--tjp-cream:     #F8F5E9;  /* Crema – fondos de secciones */
	--tjp-red:       #C62828;  /* Rojo Perú – avisos, etiquetas */
	--tjp-gray:      #6B7280;  /* Gris – textos secundarios */
	--tjp-text:      #2A3340;  /* Texto principal (más oscuro que el gris, para legibilidad) */
	--tjp-white:     #FFFFFF;

	--tjp-font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--tjp-font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
	--tjp-font-brand:'Cinzel', 'Playfair Display', Georgia, serif;

	--tjp-radius:    10px;
	--tjp-radius-lg: 16px;
	--tjp-shadow:    0 6px 24px rgba(11, 42, 74, .10);
	--tjp-shadow-lg: 0 14px 40px rgba(11, 42, 74, .18);
}

/* ==========================================================
   2. TIPOGRAFÍA
   ========================================================== */
body,
button, input, select, textarea {
	font-family: var(--tjp-font-body);
	color: var(--tjp-text);
}
h1, h2, h3, h4, h5, h6,
.entry-title, .site-title {
	font-family: var(--tjp-font-head);
	color: var(--tjp-navy);
	letter-spacing: -.01em;
}
h1 { font-weight: 700; line-height: 1.15; }
h2 { font-weight: 600; line-height: 1.2; }
h3, h4 { font-weight: 600; }

/* Enlaces dentro del contenido: azul (contraste legible), hover dorado oscuro */
.entry-content a:not(.wp-block-button__link):not(.ast-button) {
	color: var(--tjp-navy);
	text-decoration-color: var(--tjp-gold);
	text-underline-offset: 3px;
}
.entry-content a:not(.wp-block-button__link):not(.ast-button):hover {
	color: var(--tjp-gold-dark);
}

/* ==========================================================
   3. BOTONES (dorado con texto azul, como en tu diseño)
   ========================================================== */
.wp-block-button__link,
.ast-button,
.ast-custom-button,
.button,
button[type="submit"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button {
	background-color: var(--tjp-gold);
	color: var(--tjp-navy);
	border: 2px solid var(--tjp-gold);
	border-radius: var(--tjp-radius);
	font-family: var(--tjp-font-body);
	font-weight: 600;
	padding: 12px 26px;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.wp-block-button__link:hover,
.ast-button:hover,
.ast-custom-button:hover,
.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
	background-color: var(--tjp-gold-dark);
	border-color: var(--tjp-gold-dark);
	color: var(--tjp-white);
	transform: translateY(-1px);
}
/* Botón secundario (estilo "Contorno" del editor): borde dorado, fondo transparente */
.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--tjp-gold);
	border-color: var(--tjp-gold);
}
.is-style-outline > .wp-block-button__link:hover {
	background: var(--tjp-gold);
	color: var(--tjp-navy);
}

/* ==========================================================
   4. ENCABEZADO (barra azul marino, menú blanco, activo dorado)
   ========================================================== */
.ast-primary-header-bar,
.main-header-bar,
.ast-mobile-header-wrap .ast-primary-header-bar {
	background-color: var(--tjp-navy);
	border-bottom: 0;
}
.main-header-menu > .menu-item > .menu-link {
	color: var(--tjp-white);
	font-weight: 500;
	font-size: 15px;
	position: relative;
}
.main-header-menu > .menu-item > .menu-link:hover {
	color: var(--tjp-gold);
}
/* Línea dorada bajo la página actual */
.main-header-menu > .current-menu-item > .menu-link,
.main-header-menu > .current-menu-ancestor > .menu-link {
	color: var(--tjp-gold);
	text-decoration: underline;
	text-decoration-color: var(--tjp-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}
/* Submenús */
.main-header-menu .sub-menu {
	background: var(--tjp-white);
	border-top: 3px solid var(--tjp-gold);
	border-radius: 0 0 var(--tjp-radius) var(--tjp-radius);
	box-shadow: var(--tjp-shadow);
}
.main-header-menu .sub-menu .menu-link { color: var(--tjp-navy); }
.main-header-menu .sub-menu .menu-link:hover { color: var(--tjp-gold-dark); }
/* Íconos del encabezado (búsqueda, menú móvil) en blanco */
.ast-header-search .astra-search-icon,
.ast-mobile-menu-trigger-minimal,
.menu-toggle .ast-mobile-svg { color: var(--tjp-white); fill: var(--tjp-white); }

/* Botón de la cabecera "Cotiza tu viaje": una sola línea, tamaño compacto */
.site-header .ast-builder-button-wrap .ast-custom-button,
.ast-header-button-1 .ast-custom-button {
	white-space: nowrap;
	font-size: 15px;
	line-height: 1.2;
	padding: 12px 24px;
	border-radius: 999px;
}
@media (max-width: 921px) {
	.site-header .ast-builder-button-wrap .ast-custom-button,
	.ast-header-button-1 .ast-custom-button {
		font-size: 14px;
		padding: 10px 18px;
	}
}

/* ==========================================================
   5. PIE DE PÁGINA
   ========================================================== */
.site-footer,
.site-footer .site-above-footer-wrap[data-section],
.site-footer .site-primary-footer-wrap[data-section],
.site-footer .site-below-footer-wrap[data-section] {
	background-color: var(--tjp-navy-900) !important;
	color: rgba(255, 255, 255, .78);
}
.site-footer .site-primary-footer-wrap[data-section] { padding: 64px 0 40px; }
.site-footer .site-below-footer-wrap[data-section] {
	border-top: 1px solid rgba(255, 255, 255, .12) !important;
	padding: 18px 0;
	font-size: 14px;
}
.site-footer .ast-footer-copyright,
.site-footer .ast-footer-copyright p { color: rgba(255, 255, 255, .65); margin: 0; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--tjp-gold); }
.site-footer .widget-title,
.site-footer h2, .site-footer h3, .site-footer h4 { color: var(--tjp-gold); }

/* Columnas del pie (bloques HTML de los widgets) */
.tjp-footer-col { font-size: 15px; line-height: 1.6; }
.tjp-footer-col h4 {
	font-family: var(--tjp-font-body);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin: 0 0 18px;
}
.tjp-footer-logo { display: block; max-width: 210px; height: auto; margin-bottom: 16px; }
.tjp-footer-text { color: rgba(255, 255, 255, .72); margin: 0 0 18px; }
.tjp-footer-list { list-style: none; margin: 0; padding: 0; }
.tjp-footer-list li { margin: 0 0 10px; }
.tjp-footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.tjp-footer-contact svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--tjp-gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tjp-footer-cta {
	display: inline-block;
	margin-top: 4px;
	padding: 10px 20px;
	border-radius: 999px;
	background: var(--tjp-gold);
	color: var(--tjp-navy) !important;
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
}
.tjp-footer-cta:hover { background: var(--tjp-gold-dark); color: var(--tjp-white) !important; }
.tjp-reclamaciones {
	display: inline-flex; align-items: center; gap: 8px;
	margin-top: 6px; padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px;
	font-size: 14px;
}
.tjp-reclamaciones svg { width: 18px; height: 18px; fill: none; stroke: var(--tjp-gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 921px) {
	.tjp-footer-col { margin-bottom: 28px; text-align: left; }
}

/* ==========================================================
   6. FORMULARIOS
   ========================================================== */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="date"], input[type="time"], input[type="search"], input[type="password"],
select, textarea {
	border: 1px solid #D9DEE5;
	border-radius: 8px;
	padding: 10px 14px;
	background: var(--tjp-white);
	transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus {
	border-color: var(--tjp-gold);
	box-shadow: 0 0 0 3px rgba(218, 175, 55, .25);
	outline: none;
}

/* ==========================================================
   7. CLASES DE UTILIDAD
   Úsalas en el editor: bloque > panel derecho > Avanzado > "Clase(s) CSS adicional(es)"
   ========================================================== */

/* Sección con fondo crema */
.tjp-section-cream { background: var(--tjp-cream); }

/* Sección con fondo azul marino (texto blanco) */
.tjp-section-navy { background: var(--tjp-navy); color: var(--tjp-white); }
.tjp-section-navy h1, .tjp-section-navy h2,
.tjp-section-navy h3, .tjp-section-navy h4 { color: var(--tjp-white); }

/* Texto pequeño en mayúsculas sobre los títulos (ej. "TRASLADOS") */
.tjp-eyebrow {
	font-family: var(--tjp-font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--tjp-gold);
	margin-bottom: .4em;
}

/* Tipografía de marca (como el logo) */
.tjp-brand { font-family: var(--tjp-font-brand); letter-spacing: .06em; }

/* Tarjeta (tours, destinos, vehículos) */
.tjp-card {
	background: var(--tjp-white);
	border-radius: var(--tjp-radius-lg);
	box-shadow: var(--tjp-shadow);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}
.tjp-card:hover { transform: translateY(-4px); box-shadow: var(--tjp-shadow-lg); }
.tjp-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* Precio "Desde S/ 120" */
.tjp-price { font-weight: 700; color: var(--tjp-navy); font-size: 1.15em; }
.tjp-price small { display: block; font-weight: 500; font-size: 12px; color: var(--tjp-gray); }

/* Etiquetas de estado (cuenta de cliente) */
.tjp-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.tjp-badge--ok      { background: #E6F4EA; color: #1E7B3A; }
.tjp-badge--pending { background: #FFF4D6; color: #8A6A10; }
.tjp-badge--alert   { background: #FDE8E8; color: var(--tjp-red); }

/* Portada (hero) con imagen: oscurece el fondo para que el texto se lea */
.tjp-hero.wp-block-cover .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(7, 28, 51, .55) 0%, rgba(7, 28, 51, .35) 45%, rgba(7, 28, 51, .80) 100%) !important;
	opacity: 1 !important;
}
.tjp-hero h1, .tjp-hero h2, .tjp-hero p { color: var(--tjp-white); }

/* ==========================================================
   8. MÓVIL
   ========================================================== */
@media (max-width: 921px) {
	h1 { font-size: 2.1rem; }
	h2 { font-size: 1.6rem; }
	.ast-mobile-popup-drawer .ast-mobile-popup-inner { background: var(--tjp-navy); }
	.ast-mobile-popup-drawer .menu-link { color: var(--tjp-white) !important; }
}

/* ==========================================================
   9. PORTADA (página Inicio)
   ========================================================== */
.home { overflow-x: hidden; }
.home #primary, .home .site-main { margin-top: 0 !important; margin-bottom: 0 !important; padding: 0 !important; }
.home .entry-content > *:first-child { margin-top: 0; }
.tjp-full,
.entry-content > .tjp-full,
.entry-content[data-ast-blocks-layout] > .tjp-full {
	width: 100vw !important;
	max-width: 100vw !important;
	position: relative;
	left: auto !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	box-sizing: border-box;
}
.tjp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.tjp-ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* Botones de portada */
.tjp-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 999px; font-family: var(--tjp-font-body); font-weight: 600; font-size: 15px; text-decoration: none !important; white-space: nowrap; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; }
.tjp-btn .tjp-ico { width: 20px; height: 20px; }
.tjp-btn--gold { background: var(--tjp-gold); color: var(--tjp-navy) !important; border-color: var(--tjp-gold); }
.tjp-btn--gold:hover { background: var(--tjp-gold-dark); border-color: var(--tjp-gold-dark); color: #fff !important; transform: translateY(-1px); }
.tjp-btn--ghost { background: rgba(255,255,255,.08); color: #fff !important; border-color: rgba(255,255,255,.7); }
.tjp-btn--ghost:hover { background: #fff; color: var(--tjp-navy) !important; }
.tjp-btn--navy { background: var(--tjp-navy); color: #fff !important; border-color: var(--tjp-navy); }
.tjp-btn--navy:hover { background: var(--tjp-navy-900); }

/* Encabezados de sección */
.tjp-sec { padding: 88px 0; }
.tjp-sec--cream { background: var(--tjp-cream); }
.tjp-sec-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.tjp-sec-head h2 { font-size: clamp(30px, 4vw, 42px); margin: 0 0 12px; }
.tjp-sec-head p { color: var(--tjp-gray); font-size: 17px; margin: 0; }

/* ---------- Hero ---------- */
.tjp-hero-home { min-height: 680px; display: flex; flex-direction: column; justify-content: center; text-align: center; color: #fff; background-color: var(--tjp-navy); background-size: cover; background-position: center 35%; padding: 90px 0 150px; }
.tjp-hero-home h1 { font-family: var(--tjp-font-brand); color: #fff; font-size: clamp(44px, 7.5vw, 96px); font-weight: 700; letter-spacing: .04em; line-height: 1; margin: 0; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.tjp-hero-peru { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 14px 0 22px; color: var(--tjp-gold); font-family: var(--tjp-font-brand); font-weight: 700; font-size: clamp(20px, 2.6vw, 30px); letter-spacing: .5em; }
.tjp-hero-peru::before, .tjp-hero-peru::after { content: ""; width: clamp(40px, 8vw, 110px); height: 2px; background: var(--tjp-gold); }
.tjp-hero-peru span { margin-right: -.5em; }
.tjp-hero-tag { font-family: var(--tjp-font-head); font-size: clamp(20px, 2.4vw, 28px); margin: 0; color: #fff; }
.tjp-hero-en { font-size: 15px; letter-spacing: .04em; color: rgba(255,255,255,.8); margin: 6px 0 32px; }
.tjp-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.tjp-services { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 980px; margin: 56px auto 0; }
.tjp-service { padding: 6px 16px; border-left: 1px solid rgba(255,255,255,.25); color: #fff !important; text-decoration: none !important; transition: transform .2s; }
.tjp-service:hover { transform: translateY(-3px); }
.tjp-service:first-child { border-left: 0; }
.tjp-service .tjp-ico { width: 38px; height: 38px; color: var(--tjp-gold); stroke-width: 1.5; }
.tjp-service strong { display: block; margin-top: 8px; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.tjp-service small { display: block; font-size: 13px; color: rgba(255,255,255,.78); }

/* ---------- Buscador ---------- */
.tjp-booking { background: var(--tjp-navy); padding: 0 0 56px; }
.tjp-search { position: relative; margin: -110px auto 0; max-width: 1120px; background: #fff; border-radius: var(--tjp-radius-lg); box-shadow: var(--tjp-shadow-lg); }
.tjp-tabs { display: flex; gap: 0; border-bottom: 1px solid #E3E7ED; padding: 0 12px; }
.tjp-tab { display: inline-flex; align-items: center; gap: 8px; padding: 16px 20px; background: none !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important; color: var(--tjp-gray) !important; font-weight: 600; font-size: 15px; cursor: pointer; transform: none !important; }
.tjp-tab .tjp-ico { width: 20px; height: 20px; }
.tjp-tab.is-active { color: var(--tjp-navy) !important; border-bottom-color: var(--tjp-gold) !important; }
.tjp-tab:hover { color: var(--tjp-navy) !important; }
.tjp-fields { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr .8fr .8fr auto; gap: 14px; align-items: end; padding: 22px 24px 26px; }
.tjp-field label { display: block; font-size: 13px; font-weight: 600; color: var(--tjp-navy); margin-bottom: 6px; }
.tjp-field input, .tjp-field select { width: 100%; height: 48px; font-size: 15px; }
.tjp-search .tjp-btn { height: 48px; padding: 0 26px; border-radius: 10px; }
.tjp-search-note { margin: -10px 24px 18px; font-size: 13px; color: var(--tjp-gray); }
.tjp-search-error { display: none; margin: -10px 24px 18px; font-size: 14px; color: var(--tjp-red); font-weight: 600; }
.tjp-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1120px; margin: 40px auto 0; padding: 0 20px; }
.tjp-trust div { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.35; }
.tjp-trust .tjp-ico { width: 46px; height: 46px; padding: 10px; border: 1.5px solid var(--tjp-gold); border-radius: 50%; color: var(--tjp-gold); }

/* ---------- Destinos ---------- */
.tjp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tjp-dest { display: flex; flex-direction: column; text-decoration: none !important; color: inherit !important; }
.tjp-dest .tjp-dest-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tjp-dest h3 { font-size: 24px; margin: 0 0 4px; }
.tjp-dest p { color: var(--tjp-gray); margin: 0 0 18px; font-size: 15px; }
.tjp-dest-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--tjp-navy); font-size: 15px; }
.tjp-dest-link .tjp-ico { width: 18px; height: 18px; color: var(--tjp-gold); transition: transform .2s; }
.tjp-dest:hover .tjp-dest-link .tjp-ico { transform: translateX(4px); }
.tjp-center { text-align: center; margin-top: 44px; }

/* ---------- Traslados ---------- */
.tjp-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.tjp-split img { width: 100%; height: auto; border-radius: var(--tjp-radius-lg); box-shadow: var(--tjp-shadow-lg); display: block; }
.tjp-split h2 { font-size: clamp(30px, 3.6vw, 40px); margin: 0 0 12px; }
.tjp-split .tjp-lead { color: var(--tjp-gray); font-size: 17px; margin: 0 0 26px; }
.tjp-feats { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.tjp-feats li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.4; margin: 0; }
.tjp-feats .tjp-ico { color: var(--tjp-gold); width: 26px; height: 26px; }
.tjp-feats strong { display: block; color: var(--tjp-navy); }
.tjp-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Proceso ---------- */
.tjp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; counter-reset: paso; position: relative; }
.tjp-steps::before { content: ""; position: absolute; top: 31px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, var(--tjp-gold) 0 8px, transparent 8px 16px); }
.tjp-steps li { text-align: center; position: relative; margin: 0; counter-increment: paso; }
.tjp-steps li::before { content: counter(paso); display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--tjp-navy); color: var(--tjp-gold); font-family: var(--tjp-font-head); font-size: 26px; font-weight: 700; position: relative; box-shadow: 0 0 0 8px var(--tjp-cream); }
.tjp-steps strong { display: block; font-size: 18px; color: var(--tjp-navy); font-family: var(--tjp-font-head); margin-bottom: 4px; }
.tjp-steps span { color: var(--tjp-gray); font-size: 15px; }

/* ---------- Llamado final ---------- */
.tjp-cta { background: linear-gradient(120deg, var(--tjp-navy-900), var(--tjp-navy)); color: #fff; text-align: center; padding: 80px 0; }
.tjp-cta h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin: 0 0 12px; }
.tjp-cta p { color: rgba(255,255,255,.8); font-size: 18px; margin: 0 0 30px; }
.tjp-cta .tjp-hero-btns { justify-content: center; }

/* ---------- Responsive portada ---------- */
@media (max-width: 1024px) {
	.tjp-fields { grid-template-columns: 1fr 1fr 1fr; }
	.tjp-fields .tjp-btn { grid-column: 1 / -1; justify-content: center; }
	.tjp-split { grid-template-columns: 1fr; gap: 36px; }
	.tjp-grid-3 { grid-template-columns: repeat(2, 1fr); }
	.tjp-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
	.tjp-sec { padding: 64px 0; }
	.tjp-hero-home { min-height: 0; padding: 64px 0 130px; }
	.tjp-services { grid-template-columns: repeat(2, 1fr); gap: 22px 0; margin-top: 40px; }
	.tjp-service:nth-child(3) { border-left: 0; }
	.tjp-search { margin: -100px 16px 0; }
	.tjp-tabs { overflow-x: auto; padding: 0; }
	.tjp-tab { padding: 14px 14px; font-size: 14px; }
	.tjp-fields { grid-template-columns: 1fr 1fr; padding: 18px 16px 22px; }
	.tjp-fields .tjp-field--wide { grid-column: 1 / -1; }
	.tjp-grid-3, .tjp-feats { grid-template-columns: 1fr; }
	.tjp-trust { grid-template-columns: 1fr; gap: 16px; }
	.tjp-steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
	.tjp-steps::before { display: none; }
}
/* Ajustes finos portada */
.tjp-search, .tjp-search *, .tjp-search *::before, .tjp-search *::after { box-sizing: border-box; }
.tjp-sec-head .tjp-eyebrow { color: var(--tjp-gold-dark); font-size: 13px; }
@media (max-width: 680px) {
	.tjp-tab { padding: 13px 10px; font-size: 13px; gap: 6px; }
	.tjp-tab .tjp-ico { width: 17px; height: 17px; }
}
.tjp-field { min-width: 0; }
@media (max-width: 1024px) { .tjp-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .tjp-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================
   10. CORRECCIONES v1.0.5
   ========================================================== */
/* Títulos en Playfair Display (gana a la tipografía global de Astra) */
body .entry-content :is(h1, h2, h3, h4, h5, h6),
body .site-content :is(h1, h2, h3, h4, h5, h6) {
	font-family: var(--tjp-font-head);
	letter-spacing: -.01em;
}
body .entry-content .tjp-hero-home h1 { font-family: var(--tjp-font-brand); letter-spacing: .04em; }

/* Contenedor central de las secciones de portada (máx. 1200 px) */
body .tjp-full .tjp-wrap {
	width: 100%;
	max-width: 1200px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 24px !important;
	padding-right: 24px !important;
	box-sizing: border-box;
}

/* Pie de página en celular: márgenes laterales y logo más pequeño */
@media (max-width: 921px) {
	.site-footer .site-primary-footer-wrap[data-section] { padding: 48px 24px 16px; }
	.site-footer .site-below-footer-wrap[data-section] { padding: 18px 24px 90px; }
	.tjp-footer-logo { max-width: 170px; }
}

/* ==========================================================
   11. PÁGINAS INTERNAS: TRASLADOS Y FLOTA (v1.0.6)
   ========================================================== */
.tjp-page-hero { min-height: 520px; display: flex; align-items: center; color: #fff; background-color: var(--tjp-navy); background-size: cover; background-position: center; padding: 80px 0 150px; }
.tjp-page-hero .tjp-wrap { width: 100%; }
.tjp-page-hero--short { min-height: 420px; padding-bottom: 90px; }
body .entry-content .tjp-page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 58px); line-height: 1.1; margin: 0 0 14px; max-width: 640px; text-shadow: 0 3px 18px rgba(0,0,0,.35); }
.tjp-page-hero p { color: rgba(255,255,255,.9); font-size: 18px; max-width: 560px; margin: 0 0 28px; }
.tjp-page-hero .tjp-eyebrow { color: var(--tjp-gold); }
.tjp-page-hero .tjp-hero-btns { justify-content: flex-start; }
.tjp-fields--5 { grid-template-columns: 1.3fr 1.3fr 1fr .8fr .8fr 1.1fr auto; }

/* Incluido en cada traslado */
.tjp-incl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tjp-incl > div { background: #fff; border-radius: var(--tjp-radius-lg); box-shadow: var(--tjp-shadow); padding: 28px 24px; text-align: center; }
.tjp-incl .tjp-ico { width: 44px; height: 44px; color: var(--tjp-gold); stroke-width: 1.5; margin-bottom: 12px; }
.tjp-incl strong { display: block; font-family: var(--tjp-font-head); font-size: 19px; color: var(--tjp-navy); margin-bottom: 6px; }
.tjp-incl span { color: var(--tjp-gray); font-size: 15px; }
.tjp-note { text-align: center; color: var(--tjp-gray); font-size: 14px; margin: 24px 0 0; }

/* Flota */
.tjp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tjp-veh { display: flex; flex-direction: column; }
body .tjp-card.tjp-veh img { aspect-ratio: 2 / 1; }
.tjp-veh-body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
body .entry-content .tjp-veh h3 { font-size: 26px; margin: 0 0 6px; }
.tjp-veh-cap { display: inline-flex; align-items: center; gap: 8px; color: var(--tjp-navy); font-weight: 600; font-size: 15px; margin: 0 0 14px; }
.tjp-veh-cap .tjp-ico { width: 20px; height: 20px; color: var(--tjp-gold); }
.tjp-veh-tag { font-weight: 600; color: var(--tjp-text); margin: 0 0 6px; }
.tjp-veh-desc { color: var(--tjp-gray); font-size: 15px; margin: 0 0 20px; }
.tjp-veh .tjp-btn { margin-top: auto; align-self: flex-start; padding: 11px 22px; font-size: 14px; }

/* Preguntas frecuentes */
.tjp-faq { max-width: 820px; margin: 0 auto; }
.tjp-faq details { background: #fff; border-radius: 12px; box-shadow: var(--tjp-shadow); margin-bottom: 14px; }
.tjp-faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; color: var(--tjp-navy); font-size: 16px; position: relative; }
.tjp-faq summary::-webkit-details-marker { display: none; }
.tjp-faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--tjp-gold); font-weight: 400; transition: transform .2s; }
.tjp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.tjp-faq details p { padding: 0 24px 20px; margin: 0; color: var(--tjp-gray); }

/* Pie de página: correos sin cortar */
.tjp-footer-contact a { overflow-wrap: anywhere; }
@media (min-width: 922px) { .tjp-footer-contact { font-size: 14px; } }

@media (max-width: 1024px) {
	.tjp-fields--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tjp-incl { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
	.tjp-page-hero { min-height: 0; padding: 60px 0 130px; }
	.tjp-page-hero--short { padding-bottom: 60px; }
	.tjp-fields--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tjp-grid-2, .tjp-incl { grid-template-columns: 1fr; }
}

/* v1.0.7 — Páginas con portada a todo el ancho: sin franja blanca arriba */
body.page .site-content:has(.entry-content > .tjp-full:first-child) #primary,
body.page .site-content:has(.entry-content > .tjp-full:first-child) .site-main,
body.page .site-content:has(.entry-content > .tjp-full:first-child) .ast-container,
body.page .site-content:has(.entry-content > .tjp-full:first-child) article {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
body.page .site-content:has(.entry-content > .tjp-full:first-child) .entry-header { display: none; }
body.page .entry-content > .tjp-full:first-child { margin-top: 0 !important; }
body.page .entry-content > .tjp-full:last-child { margin-bottom: 0 !important; }

/* ==========================================================
   12. PÁGINA DESTINOS (v1.0.8)
   ========================================================== */
.tjp-hstats { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; margin: 8px 0 0; padding: 0; }
.tjp-hstats li { margin: 0; padding: 12px 18px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: rgba(7,28,51,.35); backdrop-filter: blur(4px); min-width: 110px; }
.tjp-hstats strong { display: block; font-family: var(--tjp-font-head); font-size: 22px; color: var(--tjp-gold); line-height: 1.1; }
.tjp-hstats span { font-size: 13px; color: rgba(255,255,255,.85); }

/* Guía de lectura */
.tjp-dguide { background: #fff; border-bottom: 1px solid #E3E7ED; padding: 26px 0; }
.tjp-dguide-title { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tjp-gold-dark); margin: 0 0 16px; }
.tjp-dguide-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.tjp-dguide-list li { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 14px; color: var(--tjp-gray); line-height: 1.35; }
.tjp-dguide-list strong { display: block; color: var(--tjp-navy); font-size: 15px; }
.tjp-dguide-list .tjp-ico { width: 30px; height: 30px; color: var(--tjp-gold); }
.tjp-dguide-bar { flex: 0 0 34px; height: 8px; border-radius: 8px; background: #E3E7ED; position: relative; overflow: hidden; }
.tjp-dguide-bar span { position: absolute; inset: 0 40% 0 0; background: linear-gradient(90deg, var(--tjp-gold), var(--tjp-gold-dark)); border-radius: 8px; }
.tjp-dguide-pill { flex: 0 0 auto; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--tjp-navy); color: #fff; white-space: nowrap; }

/* Filtros */
.tjp-dfilters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 14px; }
body .tjp-chip { background: #fff !important; color: var(--tjp-navy) !important; border: 1.5px solid #D9DEE5 !important; border-radius: 999px !important; padding: 9px 16px !important; font-size: 14px; font-weight: 600; cursor: pointer; transform: none !important; transition: all .2s; }
body .tjp-chip span { display: inline-block; min-width: 22px; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--tjp-cream); font-size: 12px; }
body .tjp-chip:hover { border-color: var(--tjp-gold) !important; }
body .tjp-chip.is-active { background: var(--tjp-navy) !important; border-color: var(--tjp-navy) !important; color: #fff !important; }
body .tjp-chip.is-active span { background: var(--tjp-gold); color: var(--tjp-navy); }
.tjp-dcount { text-align: center; color: var(--tjp-gray); font-size: 14px; margin: 0 0 34px; }

/* Tarjetas */
.tjp-dgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tjp-dcard { background: #fff; border-radius: var(--tjp-radius-lg); box-shadow: var(--tjp-shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.tjp-dcard[hidden] { display: none; }
.tjp-dcard:hover { transform: translateY(-4px); box-shadow: var(--tjp-shadow-lg); }
body .tjp-dcard-media { position: relative; display: block; width: 100%; padding: 0 !important; margin: 0; border: 0 !important; border-radius: 0 !important; background: var(--tjp-navy) !important; cursor: pointer; overflow: hidden; transform: none !important; }
.tjp-dcard-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.tjp-dcard:hover .tjp-dcard-media img { transform: scale(1.05); }
.tjp-dbadge, .tjp-dtipo { position: absolute; top: 14px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.tjp-dbadge { left: 14px; background: rgba(255,255,255,.92); color: var(--tjp-navy); }
.tjp-dtipo { right: 14px; background: var(--tjp-navy); color: #fff; }
.tjp-dcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tjp-dregion { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tjp-gold-dark); margin: 0 0 4px; }
body .entry-content .tjp-dcard h3 { font-size: 23px; margin: 0 0 10px; }
.tjp-dmeta { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0 0 12px; padding: 0; font-size: 14px; color: var(--tjp-text); }
.tjp-dmeta li { display: flex; align-items: center; gap: 6px; margin: 0; }
.tjp-dmeta .tjp-ico { width: 17px; height: 17px; color: var(--tjp-gold); }
.tjp-dbar { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--tjp-navy); margin: 0 0 14px; }
.tjp-dbar-a { color: var(--tjp-gray); font-weight: 500; }
.tjp-dbar-track { flex: 1; height: 7px; background: #E9EDF2; border-radius: 8px; overflow: hidden; }
.tjp-dbar-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--tjp-gold), var(--tjp-gold-dark)); border-radius: 8px; }
.tjp-dbar-b { white-space: nowrap; }
.tjp-dbar--na .tjp-dbar-a { display: inline-flex; align-items: center; gap: 6px; color: var(--tjp-navy); font-weight: 600; }
.tjp-dbar--na .tjp-ico { width: 16px; height: 16px; color: var(--tjp-gold); }
.tjp-ddesc { color: var(--tjp-gray); font-size: 15px; margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tjp-dactions { margin-top: auto; display: flex; gap: 10px; align-items: center; }
.tjp-dactions .tjp-btn { flex: 1; justify-content: center; padding: 11px 18px; font-size: 14px; border-radius: 10px; }
.tjp-dwa { flex: 0 0 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--tjp-gold); color: var(--tjp-navy) !important; transition: background .2s; }
.tjp-dwa:hover { background: var(--tjp-gold-dark); color: #fff !important; }
.tjp-dwa .tjp-ico { width: 22px; height: 22px; }

/* Ficha emergente */
.tjp-noscroll { overflow: hidden; }
.tjp-dmodal { width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; }
.tjp-dmodal::backdrop { background: rgba(7,28,51,.72); backdrop-filter: blur(3px); }
.tjp-dm-inner { max-height: calc(100vh - 40px); overflow-y: auto; }
.tjp-dm-media { position: relative; }
.tjp-dm-media img { display: block; width: 100%; height: 300px; object-fit: cover; }
body .tjp-dm-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; padding: 0 !important; border-radius: 50% !important; border: 0 !important; background: rgba(255,255,255,.95) !important; color: var(--tjp-navy) !important; font-size: 26px; line-height: 1; cursor: pointer; transform: none !important; }
.tjp-dm-body { padding: 26px 32px 30px; }
body .tjp-dm-body h2 { font-size: clamp(26px, 3.5vw, 34px); margin: 0 0 14px; }
.tjp-dm-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; }
.tjp-dm-chips li { margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--tjp-cream); color: var(--tjp-navy); font-size: 13px; font-weight: 600; }
.tjp-dm-tabs { display: flex; gap: 4px; border-bottom: 1px solid #E3E7ED; margin-bottom: 18px; overflow-x: auto; }
body .tjp-dm-tabs button { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 12px 14px !important; background: none !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important; color: var(--tjp-gray) !important; font-size: 14px; font-weight: 600; cursor: pointer; transform: none !important; }
body .tjp-dm-tabs button .tjp-ico { width: 18px; height: 18px; }
body .tjp-dm-tabs button.is-active { color: var(--tjp-navy) !important; border-bottom-color: var(--tjp-gold) !important; }
.tjp-dm-panel { min-height: 130px; font-size: 16px; color: var(--tjp-text); }
.tjp-dm-panel p { margin: 0; }
.tjp-dm-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tjp-dm-panel li { position: relative; padding-left: 28px; margin: 0; }
.tjp-dm-panel li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--tjp-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2A4A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tjp-dm-cubre { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; padding: 14px 16px; border-radius: 12px; background: #FFF8E6; border-left: 4px solid var(--tjp-gold); }
.tjp-dm-cubre .tjp-ico { width: 22px; height: 22px; color: var(--tjp-gold-dark); flex: 0 0 auto; }
.tjp-dm-cubre p { margin: 0; font-size: 14px; color: var(--tjp-text); }
.tjp-dm-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.tjp-dm-nav { display: flex; gap: 8px; }
body .tjp-dm-nav button { padding: 10px 14px !important; background: #fff !important; color: var(--tjp-navy) !important; border: 1.5px solid #D9DEE5 !important; border-radius: 10px !important; font-size: 14px; font-weight: 600; cursor: pointer; transform: none !important; }
body .tjp-dm-nav button:hover { border-color: var(--tjp-gold) !important; }

@media (max-width: 1024px) {
	.tjp-dgrid { grid-template-columns: repeat(2, 1fr); }
	.tjp-dguide-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
	.tjp-dgrid { grid-template-columns: 1fr; }
	.tjp-dguide-list { grid-template-columns: 1fr; }
	.tjp-hstats li { min-width: calc(50% - 7px); }
	.tjp-dfilters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
	body .tjp-chip { flex: 0 0 auto; }
	.tjp-dmodal { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; margin: 0; }
	.tjp-dm-inner { max-height: 100vh; }
	.tjp-dm-media img { height: 200px; }
	.tjp-dm-body { padding: 20px 18px 26px; }
	.tjp-dm-foot .tjp-btn { width: 100%; justify-content: center; }
	.tjp-dm-nav { width: 100%; justify-content: space-between; }
}
.tjp-dm-close:focus:not(:focus-visible){outline:none}

/* ==========================================================
   13. PÁGINAS: NOSOTROS, CONTACTO, RESERVAR, FAQ, LEGALES (v1.0.9)
   ========================================================== */
.tjp-narrow { max-width: 880px !important; }
.tjp-mini-hero { background: linear-gradient(120deg, var(--tjp-navy-900), var(--tjp-navy)); color: #fff; padding: 72px 0 64px; text-align: center; }
body .entry-content .tjp-mini-hero h1 { color: #fff; font-size: clamp(32px, 4.5vw, 50px); margin: 0 0 10px; }
.tjp-mini-hero p { color: rgba(255,255,255,.82); font-size: 17px; margin: 0 auto; max-width: 620px; }
.tjp-mini-hero .tjp-eyebrow { color: var(--tjp-gold); }
mark.tjp-pendiente { background: #FFE58F; color: #7A5B00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }

/* Nosotros */
.tjp-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tjp-mv-item { background: #fff; border-radius: var(--tjp-radius-lg); box-shadow: var(--tjp-shadow); padding: 34px 32px; border-top: 4px solid var(--tjp-gold); }
.tjp-mv-item .tjp-ico { width: 40px; height: 40px; color: var(--tjp-gold); stroke-width: 1.5; }
body .entry-content .tjp-mv-item h3 { font-size: 26px; margin: 12px 0 8px; }
.tjp-mv-item p { color: var(--tjp-gray); margin: 0; font-size: 16px; }
.tjp-nums { padding: 48px 0; }
.tjp-hstats--center { justify-content: center; }
.tjp-hstats--center li { min-width: 170px; text-align: center; }

/* Contacto */
.tjp-ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tjp-ccard { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: #fff; border-radius: var(--tjp-radius-lg); box-shadow: var(--tjp-shadow); padding: 26px 22px; text-decoration: none !important; color: var(--tjp-text) !important; transition: transform .2s, box-shadow .2s; }
a.tjp-ccard:hover { transform: translateY(-3px); box-shadow: var(--tjp-shadow-lg); }
.tjp-ccard .tjp-ico { width: 34px; height: 34px; color: var(--tjp-gold); margin-bottom: 8px; }
.tjp-ccard strong { font-family: var(--tjp-font-head); font-size: 20px; color: var(--tjp-navy); }
.tjp-ccard span { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.tjp-ccard em { font-style: normal; font-size: 13px; color: var(--tjp-gray); }
.tjp-ccard--wa { background: #E9F9EF; }
.tjp-ccard--wa .tjp-ico { color: #1FA855; }

/* Formularios */
.tjp-formcard { background: #fff; border-radius: var(--tjp-radius-lg); box-shadow: var(--tjp-shadow); padding: 30px 32px; }
.tjp-fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 8px; }
.tjp-field--full { grid-column: 1 / -1; }
.tjp-formcard input, .tjp-formcard select, .tjp-formcard textarea { width: 100%; box-sizing: border-box; font-size: 15px; }
.tjp-formcard input, .tjp-formcard select { height: 48px; }
.tjp-formcard textarea { min-height: 110px; resize: vertical; }
.tjp-formcard label { display: block; font-size: 13px; font-weight: 600; color: var(--tjp-navy); margin-bottom: 6px; }
body .entry-content .tjp-fsec { font-family: var(--tjp-font-body); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tjp-gold-dark); margin: 22px 0 12px; padding-top: 18px; border-top: 1px solid #E3E7ED; }
body .entry-content .tjp-fsec:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.tjp-formcard .tjp-btn { margin-top: 10px; }
.tjp-formcard .tjp-search-error { margin: 8px 0 0; }
.tjp-fnote { margin: 14px 0 0 !important; }
.tjp-rsteps { display: flex; gap: 12px; list-style: none; counter-reset: rs; margin: 0 0 24px; padding: 0; }
.tjp-rsteps li { flex: 1; counter-increment: rs; margin: 0; background: #fff; border-radius: 12px; padding: 14px 16px 14px 54px; position: relative; font-size: 14px; color: var(--tjp-gray); box-shadow: var(--tjp-shadow); }
.tjp-rsteps li::before { content: counter(rs); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--tjp-navy); color: var(--tjp-gold); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.tjp-rsteps strong { color: var(--tjp-navy); }

/* FAQ */
a.tjp-chip { display: inline-block; text-decoration: none !important; }
body .entry-content .tjp-faq-h { font-size: 26px; margin: 44px 0 16px; scroll-margin-top: 110px; }
.tjp-dfilters + .tjp-faq-h { margin-top: 20px; }

/* Legales */
.tjp-legal { max-width: 800px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: var(--tjp-text); }
body .entry-content .tjp-legal h2 { font-size: 22px; margin: 34px 0 10px; }
.tjp-legal ul { padding-left: 22px; }
.tjp-legal li { margin-bottom: 6px; }
.tjp-cancel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tjp-cancel > div { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--tjp-radius-lg); background: #fff; box-shadow: var(--tjp-shadow); }
.tjp-cancel .tjp-ico { width: 32px; height: 32px; }
.tjp-cancel strong { font-family: var(--tjp-font-head); font-size: 20px; color: var(--tjp-navy); }
.tjp-cancel-ok { border-left: 5px solid #1E7B3A; } .tjp-cancel-ok .tjp-ico { color: #1E7B3A; } .tjp-cancel-ok span { color: #1E7B3A; font-weight: 600; }
.tjp-cancel-warn { border-left: 5px solid var(--tjp-gold); } .tjp-cancel-warn .tjp-ico { color: var(--tjp-gold-dark); } .tjp-cancel-warn span { color: #8A6A10; font-weight: 600; }

/* Libro de Reclamaciones */
.tjp-libro-head { display: flex; gap: 20px; align-items: center; margin-bottom: 18px; }
.tjp-libro-head p { margin: 2px 0; }
.tjp-libro-logo { flex: 0 0 64px; height: 64px; border-radius: 14px; background: var(--tjp-navy); color: var(--tjp-gold); display: flex; align-items: center; justify-content: center; }
.tjp-libro-logo .tjp-ico { width: 32px; height: 32px; }
.tjp-libro-def { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.tjp-libro-def div { background: #fff; border-radius: 12px; padding: 14px 16px; border-left: 4px solid var(--tjp-gold); font-size: 14px; color: var(--tjp-gray); }
.tjp-libro-def strong { display: block; color: var(--tjp-navy); font-size: 15px; }
.tjp-libro-legal { font-size: 13px; color: var(--tjp-gray); margin: 18px 0 0; }
.tjp-formcard .wpcf7-list-item { margin: 0 18px 0 0; }
.tjp-formcard .wpcf7-not-valid-tip { font-size: 13px; color: var(--tjp-red); }
.tjp-formcard .wpcf7-response-output { border-radius: 10px; margin: 16px 0 0 !important; }

@media (max-width: 1024px) { .tjp-ccards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
	.tjp-mv, .tjp-ccards, .tjp-fgrid, .tjp-cancel, .tjp-libro-def { grid-template-columns: 1fr; }
	.tjp-formcard { padding: 22px 18px; }
	.tjp-rsteps { flex-direction: column; }
	.tjp-hstats--center li { min-width: calc(50% - 7px); }
	.tjp-mini-hero { padding: 54px 0 46px; }
}
.tjp-ccard span { font-size: 13.5px; overflow-wrap: normal; word-break: normal; }
@media (min-width: 1025px) and (max-width: 1240px) { .tjp-ccard span { font-size: 12.5px; } }
.tjp-narrow .tjp-faq { max-width: none; }

/* ==========================================================
   14. TRADUCCIÓN (v1.1.0)
   ========================================================== */
/* En inglés o portugués no repetir el lema (ya se traduce el principal) */
html.translated-ltr .tjp-hero-en { display: none; }
/* Selector de idioma en el menú: separado de la lupa */
.main-header-menu .menu-item-gtranslate,
.main-header-menu li:has(> .gtranslate_wrapper),
.main-header-menu li:has(.gt_selector),
.main-header-menu li:has(.gt_switcher) { margin-right: 18px; display: flex; align-items: center; }
.main-header-menu .gt_selector,
.main-header-menu select.gt_selector { height: 34px; min-height: 0; padding: 0 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font-size: 13px; }
.main-header-menu .gt_selector option { color: var(--tjp-navy); }

/* ==========================================================
   15. SELECTOR DE IDIOMA EN LA CABECERA (v1.1.3)
   Elemento HTML 1 de Astra con el shortcode [gtranslate]
   ========================================================== */
:is(.site-header, .ast-mobile-popup-drawer) .gtranslate_wrapper { display: flex; align-items: center; }

/* Estilo "Nice dropdown with flags" (gt_switcher) */
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher {
	position: relative !important; overflow: visible !important; width: auto !important;
	font-family: var(--tjp-font-body) !important; font-size: 13px !important; line-height: 1 !important;
}
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_selected { background: transparent !important; z-index: 1001 !important; }
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_selected a {
	display: inline-flex !important; align-items: center; gap: 8px;
	width: auto !important; height: 36px; box-sizing: border-box !important; padding: 0 34px 0 12px !important;
	border: 1px solid rgba(255,255,255,.35) !important; border-radius: 999px !important;
	background: rgba(255,255,255,.08) !important; color: #fff !important;
	font-size: 13px !important; font-weight: 600; white-space: nowrap; transition: border-color .2s;
}
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_selected a:hover { border-color: var(--tjp-gold) !important; }
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_selected a:after {
	top: 50% !important; right: 12px !important; height: 12px !important; width: 12px !important; margin-top: -6px;
	background-size: 12px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DAAF37' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
}
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher a img { opacity: 1 !important; width: 18px; height: auto; border-radius: 2px; }
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_option {
	position: absolute !important; top: calc(100% + 6px); right: 0; width: 180px !important;
	background: #fff !important; border: 0 !important; border-radius: 12px !important;
	box-shadow: var(--tjp-shadow-lg) !important; z-index: 1000 !important;
}
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_option a {
	display: flex !important; align-items: center; gap: 8px; padding: 10px 14px !important;
	color: var(--tjp-navy) !important; font-size: 14px !important; font-weight: 500;
}
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_option a:hover { background: var(--tjp-cream) !important; }
.ast-mobile-popup-drawer .gt_switcher .gt_option { left: 0; right: auto; }

/* Estilo "lista desplegable" simple (gt_selector) */
:is(.site-header, .ast-mobile-popup-drawer) select.gt_selector {
	height: 36px; min-height: 0; width: auto; padding: 0 30px 0 12px;
	border: 1px solid rgba(255,255,255,.35) !important; border-radius: 999px !important;
	background-color: rgba(255,255,255,.08) !important; color: #fff !important;
	font-family: var(--tjp-font-body); font-size: 13px; font-weight: 600; cursor: pointer;
	-webkit-appearance: none; appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DAAF37' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important; background-position: right 10px center !important; background-size: 12px !important;
}
:is(.site-header, .ast-mobile-popup-drawer) select.gt_selector option { color: var(--tjp-navy); background: #fff; }
.ast-mobile-popup-drawer .ast-header-html { padding: 16px 20px; }

/* v1.1.4 — Lista de idiomas completa y en los colores de la marca */
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_option {
	height: auto !important; max-height: none !important; overflow: visible !important;
	width: 190px !important; padding: 6px !important; box-sizing: border-box !important;
	background: var(--tjp-navy-900) !important;
	border: 1px solid rgba(218,175,55,.45) !important; border-radius: 14px !important;
	box-shadow: 0 16px 40px rgba(0,0,0,.35) !important;
}
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_option a {
	color: #fff !important; border-radius: 10px; padding: 10px 12px !important; font-size: 14px !important; font-weight: 500;
	background: transparent !important; transition: background-color .15s, color .15s;
}
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_option a:hover,
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_option a:focus-visible {
	background: rgba(218,175,55,.16) !important; color: var(--tjp-gold) !important;
}
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_option a.gt_current,
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_option a.selected { color: var(--tjp-gold) !important; font-weight: 700; }
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_option a img { width: 20px; }
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_option::-webkit-scrollbar { display: none; }
:is(.site-header, .ast-mobile-popup-drawer) .gt_switcher .gt_selected a.open { border-color: var(--tjp-gold) !important; }

/* ==========================================================
   16. MENÚ EN UNA SOLA LÍNEA (v1.1.5)
   ========================================================== */
@media (min-width: 922px) {
	.main-header-menu { flex-wrap: nowrap !important; }
	.main-header-menu > .menu-item > .menu-link {
		white-space: nowrap;
		padding-left: .75em !important; padding-right: .75em !important;
		font-size: 14.5px;
	}
	.main-header-menu > .current-menu-item > .menu-link::after,
	.main-header-menu > .current-menu-ancestor > .menu-link::after { left: .75em; right: .75em; }
	.site-header .site-header-section > * { flex-shrink: 0; }
	.site-header .site-header-primary-section-center { flex-shrink: 1; min-width: 0; }
	.site-header .ast-builder-layout-element { margin-left: 6px; margin-right: 6px; }
}
/* Pantallas medianas (laptops pequeñas, tabletas horizontales) */
@media (min-width: 922px) and (max-width: 1280px) {
	.main-header-menu > .menu-item > .menu-link { padding-left: .5em !important; padding-right: .5em !important; font-size: 13.5px; }
	.main-header-menu > .current-menu-item > .menu-link::after,
	.main-header-menu > .current-menu-ancestor > .menu-link::after { left: .5em; right: .5em; }
	.site-header .custom-logo-link img, .site-header .custom-logo { max-width: 180px !important; height: auto; }
	.site-header .ast-custom-button { padding: 10px 18px !important; font-size: 14px !important; }
}
