/* ==========================================================================
   Visit Sicily Experiences — estilos que theme.json no puede resolver
   (header, footer, cards, placeholders de media, responsive).
   ========================================================================== */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Foco visible en todo elemento interactivo con navegación por teclado. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--wp--preset--color--terracotta);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- Sistema de motion (curvas de Emil Kowalski / animations.dev) ----------
   ease-out para elementos que entran/salen, ease-in-out para lo que se
   mueve en pantalla. Nunca ease-in — arranca lento y se siente pesado. */
:root {
	--vse-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--vse-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
	--vse-duration-fast: 160ms;
	--vse-duration-base: 200ms;
	--vse-duration-modal: 250ms;
}

/* ---------- Scroll reveal ---------- */
.vse-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity var(--vse-duration-modal) var(--vse-ease-out),
		transform var(--vse-duration-modal) var(--vse-ease-out);
	transition-delay: var(--vse-reveal-delay, 0ms);
}

.vse-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Escala de z-index del sitio: 10 elementos sueltos, 20 overlays locales,
   30 menús/dropdowns, 40 UI flotante persistente, 50 header/nav global fijo. */

/* ---------- Botón flotante de WhatsApp ---------- */
.vse-whatsapp-button {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 40;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #ffffff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease;
}

.vse-whatsapp-button:hover {
	transform: scale(1.06);
	color: #ffffff;
}

/* ---------- Sticky "Book Now" bar (solo mobile) ---------- */
.vse-sticky-book-bar {
	display: none;
}

@media (max-width: 600px) {
	.vse-sticky-book-bar {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 40;
		padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
		background: var(--wp--preset--color--white);
		box-shadow: 0 -4px 16px rgba(32, 38, 52, 0.12);
	}

	.vse-sticky-book-bar .btn {
		display: block;
		width: 100%;
		text-align: center;
	}

	/* Subir el botón de WhatsApp para que no tape la sticky bar. */
	.vse-whatsapp-button {
		bottom: calc(4.5rem + env(safe-area-inset-bottom));
	}

	/* Espacio para que la sticky bar no tape el final del footer. */
	body {
		padding-bottom: calc(4.25rem + env(safe-area-inset-bottom));
	}
}

/* ---------- Hero: video de fondo autohospedado ---------- */
.vse-hero {
	position: relative;
	overflow: hidden;
}

.vse-hero-video-wrap {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center;
}

.vse-hero-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vse-hero-video-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(37, 48, 99, 0.9) 0%, rgba(37, 48, 99, 0.78) 55%, rgba(37, 48, 99, 0.6) 100%);
}

.vse-hero-content {
	position: relative;
	z-index: 1;
}

.vse-hero-illustration img {
	filter: drop-shadow(0 20px 40px rgba(13, 16, 28, 0.35));
}

/* Reduced motion y mobile: se ahorra el video, queda el poster de fondo
   (ya puesto vía background-image en .vse-hero-video-wrap) + overlay. */
@media (prefers-reduced-motion: reduce), (max-width: 782px) {
	.vse-hero-video {
		display: none;
	}
}

/* ---------- Header ---------- */
.vse-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--wp--preset--color--white);
	border-bottom: 1px solid rgba(37, 48, 99, 0.08);
	transition: box-shadow 0.2s ease;
}

.vse-header.is-scrolled {
	box-shadow: 0 2px 12px rgba(32, 38, 52, 0.08);
}

.vse-header__inner {
	max-width: var(--wp--style--global--wide-size, 1400px);
	margin: 0 auto;
	padding: 0.75rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.vse-header__logo img {
	display: block;
	height: 56px;
	width: auto;
}

.vse-header__menu {
	display: flex;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vse-header__menu a {
	color: var(--wp--preset--color--navy);
	text-decoration: none;
	font-weight: 500;
}

.vse-header__menu a:hover {
	color: var(--wp--preset--color--terracotta);
}

.vse-header__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.vse-header__toggle {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 44px;
	height: 44px;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

.vse-header__toggle-bar {
	width: 22px;
	height: 2px;
	background: var(--wp--preset--color--navy);
}

.vse-header__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--wp--preset--color--navy);
}

.vse-header__social:hover {
	color: var(--wp--preset--color--terracotta);
}

.btn {
	display: inline-block;
	padding: 0.65rem 1.4rem;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9375rem;
	transition: background-color var(--vse-duration-base) ease,
		transform var(--vse-duration-fast) var(--vse-ease-out),
		box-shadow var(--vse-duration-base) ease;
}

.btn--primary {
	background: var(--wp--preset--color--terracotta);
	color: var(--wp--preset--color--white);
}

@media (hover: hover) and (pointer: fine) {
	.btn--primary:hover {
		background: var(--wp--preset--color--terracotta-dark);
		color: var(--wp--preset--color--white);
		transform: translateY(-1px);
		box-shadow: 0 4px 12px rgba(143, 59, 24, 0.3);
	}
}

/* Feedback de presión — confirma que la interfaz "escuchó" el click/tap. */
.btn--primary:active {
	transform: scale(0.97);
	box-shadow: none;
}

@media (max-width: 782px) {
	.vse-header__nav {
		display: none;
		width: 100%;
		order: 3;
	}

	.vse-header__nav.is-open {
		display: block;
	}

	.vse-header__menu {
		flex-direction: column;
		gap: 0.75rem;
		padding: 1rem 0;
	}

	.vse-header__toggle {
		display: flex;
	}

	.vse-header__inner {
		flex-wrap: wrap;
	}
}

/* ---------- Placeholders de media (hasta tener fotos/video reales) ---------- */
.hero-media-placeholder,
.about-media-placeholder,
.cruise-media-placeholder,
.experience-media-placeholder {
	background: linear-gradient(135deg, var(--wp--preset--color--sea-blue) 0%, var(--wp--preset--color--navy) 100%);
	border-radius: 6px;
}

/* ---------- Foto real (reemplazo de los placeholders de arriba) ----------
   Aplicar como "Clase CSS adicional" en el bloque Imagen desde el editor. */
.vse-photo {
	border-radius: 6px;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------- Card genérica (testimonios, opciones de experiencia, etc.) ---------- */
.vse-card {
	background: var(--wp--preset--color--white);
	border-radius: 8px;
	padding: 1.5rem;
	box-shadow: 0 4px 16px rgba(32, 38, 52, 0.06);
	transition: transform var(--vse-duration-base) var(--vse-ease-out),
		box-shadow var(--vse-duration-base) var(--vse-ease-out);
}

@media (hover: hover) and (pointer: fine) {
	.vse-card:hover {
		transform: translateY(-3px);
		box-shadow: 0 12px 28px rgba(32, 38, 52, 0.12);
	}
}

/* ---------- Contact form wrapper ---------- */
.contact-form-wrap {
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(32, 38, 52, 0.18);
}

/* ---------- Footer ---------- */
.vse-footer {
	background: var(--wp--preset--color--navy-dark);
	color: var(--wp--preset--color--white);
}

.vse-footer__inner {
	max-width: var(--wp--style--global--wide-size, 1400px);
	margin: 0 auto;
	padding: 3.5rem 1.5rem 2rem;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 2rem;
}

.vse-footer__logo {
	height: 48px;
	width: auto;
	margin-bottom: 0.75rem;
}

/* Logo por defecto del theme es navy sólido — sobre el footer oscuro se
   invierte a blanco vía CSS. No se aplica si se sube un logo propio para
   el footer (se asume que ya viene preparado para fondo oscuro). */
.vse-footer__logo--invert {
	filter: brightness(0) invert(1);
}

.vse-footer h3 {
	font-size: 1rem;
	margin-bottom: 0.75rem;
}

.vse-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.vse-footer a {
	color: var(--wp--preset--color--white);
	opacity: 0.85;
	text-decoration: none;
}

.vse-footer a:hover {
	opacity: 1;
	color: var(--wp--preset--color--terracotta);
}

.vse-footer__social {
	display: flex;
	gap: 0.75rem;
}

.vse-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	transition: background-color 0.2s ease;
}

.vse-footer__social a:hover {
	background: rgba(255, 255, 255, 0.24);
	color: var(--wp--preset--color--white);
}

.vse-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	max-width: var(--wp--style--global--wide-size, 1400px);
	margin: 0 auto;
	padding: 1.25rem 1.5rem;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.875rem;
	opacity: 0.85;
}

.vse-footer__legal {
	display: flex;
	gap: 1.5rem;
}

@media (max-width: 782px) {
	.vse-footer__inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 480px) {
	.vse-footer__inner {
		grid-template-columns: 1fr;
	}
}

/* ---------- Iconos inline junto a texto (contacto, rating) ---------- */
.vse-contact-line svg,
.vse-rating-line svg {
	vertical-align: -4px;
	margin-right: 0.25rem;
}

/* ---------- Lista "What's Included" ---------- */
.vse-included-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem 1.5rem;
}

.vse-included-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.vse-included-list svg {
	flex-shrink: 0;
	margin-top: 0.15rem;
	color: var(--wp--preset--color--terracotta);
}

@media (max-width: 480px) {
	.vse-included-list {
		grid-template-columns: 1fr;
	}
}

/* ---------- Formulario de inquiry nativo ---------- */
.vse-form-notice {
	padding: 0.75rem 1rem;
	border-radius: 4px;
	margin-bottom: 1rem;
	font-size: 0.9375rem;
}

.vse-form-notice--success {
	background: #eaf5ee;
	color: #1e5631;
}

.vse-form-notice--error {
	background: #fceeea;
	color: #8f3b18;
}

.vse-form-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.vse-inquiry-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.vse-form-row {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.vse-form-row--full {
	grid-column: 1 / -1;
}

.vse-inquiry-form label {
	font-size: 0.875rem;
	font-weight: 600;
}

.vse-inquiry-form input,
.vse-inquiry-form select,
.vse-inquiry-form textarea {
	min-height: 44px;
	padding: 0.6rem 0.75rem;
	border: 1px solid rgba(32, 38, 52, 0.2);
	border-radius: 4px;
	font-family: inherit;
	font-size: 1rem;
	color: var(--wp--preset--color--charcoal);
	background: var(--wp--preset--color--white);
	transition: border-color 0.15s ease;
}

.vse-inquiry-form input:hover,
.vse-inquiry-form select:hover,
.vse-inquiry-form textarea:hover {
	border-color: rgba(32, 38, 52, 0.35);
}

.vse-inquiry-form input:focus,
.vse-inquiry-form select:focus,
.vse-inquiry-form textarea:focus {
	border-color: var(--wp--preset--color--terracotta);
}

.vse-inquiry-form ::placeholder {
	color: var(--wp--preset--color--slate);
	opacity: 0.7;
}

.vse-inquiry-form textarea {
	min-height: 100px;
	resize: vertical;
}

/* Flecha propia en los <select> — sin esto queda con la flecha nativa
   del sistema operativo, que es lo primero que delata un form sin estilo. */
.vse-inquiry-form select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 2.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23253063' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 16px;
}

/* accent-color tiñe checkboxes/radios nativos con la marca sin perder
   la semántica/accesibilidad del control nativo del navegador. */
.vse-inquiry-form input[type="checkbox"],
.vse-inquiry-form input[type="radio"] {
	accent-color: var(--wp--preset--color--terracotta);
}

.vse-form-submit {
	grid-column: 1 / -1;
	justify-self: start;
	border: 0;
	cursor: pointer;
}

@media (max-width: 480px) {
	.vse-inquiry-form {
		grid-template-columns: 1fr;
	}
}

/* ---------- Formulario de lujo a medida (fieldsets) ---------- */
.vse-luxury-form {
	display: block;
}

.vse-form-fieldset {
	border: 0;
	padding: 0;
	margin: 0 0 var(--wp--preset--spacing--50) 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.vse-form-fieldset legend {
	grid-column: 1 / -1;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--wp--preset--color--navy);
	margin-bottom: 0.5rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(32, 38, 52, 0.12);
	width: 100%;
}

.vse-form-group-label {
	font-size: 0.875rem;
	font-weight: 600;
}

.vse-checkbox-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem 1rem;
}

.vse-checkbox {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 400;
	min-height: 44px;
	padding: 0 0.75rem;
	border: 1px solid rgba(32, 38, 52, 0.2);
	border-radius: 4px;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.vse-checkbox:hover {
	border-color: rgba(32, 38, 52, 0.35);
}

.vse-checkbox:has(input:checked) {
	border-color: var(--wp--preset--color--terracotta);
	background: var(--wp--preset--color--sky-pale);
}

.vse-checkbox input {
	min-height: 0;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

@media (max-width: 480px) {
	.vse-form-fieldset,
	.vse-checkbox-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- FAQ ---------- */
.vse-faq-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: var(--wp--preset--spacing--60);
	position: sticky;
	top: 80px;
	background: var(--wp--preset--color--white);
	padding: 0.75rem 0;
	z-index: 30;
}

.vse-faq-nav a {
	padding: 0.5rem 1rem;
	border-radius: 999px;
	background: var(--wp--preset--color--sky-pale);
	color: var(--wp--preset--color--navy);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
}

.vse-faq-nav a:hover {
	background: var(--wp--preset--color--terracotta);
	color: var(--wp--preset--color--white);
}

.vse-faq-category {
	margin-bottom: var(--wp--preset--spacing--60);
	scroll-margin-top: 130px;
}

.vse-faq-category h2 {
	font-family: var(--wp--preset--font-family--display);
	color: var(--wp--preset--color--navy);
	font-size: 1.5rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--wp--preset--color--sky-pale);
}

.vse-faq-item {
	border-bottom: 1px solid rgba(32, 38, 52, 0.12);
}

.vse-faq-item summary {
	padding: 1rem 0;
	font-weight: 600;
	color: var(--wp--preset--color--charcoal);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	min-height: 44px;
}

.vse-faq-item summary::-webkit-details-marker {
	display: none;
}

.vse-faq-item summary::after {
	content: "+";
	font-size: 1.5rem;
	color: var(--wp--preset--color--terracotta);
	flex-shrink: 0;
}

.vse-faq-item[open] summary::after {
	content: "\2212";
}

.vse-faq-answer {
	padding-bottom: 1rem;
	color: var(--wp--preset--color--slate);
}

.vse-faq-answer p {
	margin: 0;
}

.vse-faq-answer p + p {
	margin-top: 0.75rem;
}

.vse-faq-answer a {
	color: var(--wp--preset--color--terracotta);
}

@media (max-width: 782px) {
	.vse-faq-nav {
		/* En mobile hay poco alto disponible y el header sticky ya ocupa
		   espacio propio — se deja de fijar para no competir por el
		   mismo lugar ni robar scroll útil. */
		position: static;
	}
}

/* ---------- "As Featured In" (prensa) ---------- */
.vse-press-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 1rem 2.5rem;
	margin-top: 1rem;
}

.vse-press-row a {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.125rem;
	color: var(--wp--preset--color--slate);
	text-decoration: none;
	opacity: 0.75;
	transition: opacity 0.2s ease, color 0.2s ease;
}

.vse-press-row a:hover {
	opacity: 1;
	color: var(--wp--preset--color--navy);
}

/* ==========================================================================
   Galería Bento + Lightbox nativo (<dialog>)
   ========================================================================== */

.vse-bento-gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 180px;
	gap: 1rem;
}

.vse-bento-gallery .vse-bento-lg {
	grid-column: span 2;
	grid-row: span 2;
}

.vse-bento-gallery .vse-bento-wide {
	grid-column: span 2;
}

.vse-gallery-item {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	background: var(--wp--preset--color--sky-pale);
	transition: transform var(--vse-duration-base) var(--vse-ease-out);
}

.vse-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (hover: hover) and (pointer: fine) {
	.vse-gallery-item:hover {
		transform: scale(1.02);
	}
}

.vse-gallery-item:active {
	transform: scale(0.98);
}

@media (max-width: 782px) {
	.vse-bento-gallery {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 140px;
	}
}

/* ---------- Lightbox ---------- */
.vse-lightbox {
	border: 0;
	padding: 0;
	max-width: min(92vw, 1100px);
	max-height: 88vh;
	border-radius: 8px;
	background: var(--wp--preset--color--navy-dark);
	color: var(--wp--preset--color--white);
	opacity: 0;
	transform: scale(0.95);
	transition: opacity var(--vse-duration-modal) var(--vse-ease-out),
		transform var(--vse-duration-modal) var(--vse-ease-out),
		overlay var(--vse-duration-modal) allow-discrete,
		display var(--vse-duration-modal) allow-discrete;
}

.vse-lightbox[open] {
	opacity: 1;
	transform: scale(1);
}

@starting-style {
	.vse-lightbox[open] {
		opacity: 0;
		transform: scale(0.95);
	}
}

.vse-lightbox::backdrop {
	background: rgba(15, 18, 26, 0.75);
	opacity: 0;
	transition: opacity var(--vse-duration-modal) ease,
		overlay var(--vse-duration-modal) allow-discrete,
		display var(--vse-duration-modal) allow-discrete;
}

.vse-lightbox[open]::backdrop {
	opacity: 1;
}

@starting-style {
	.vse-lightbox[open]::backdrop {
		opacity: 0;
	}
}

.vse-lightbox__inner {
	position: relative;
	max-height: 88vh;
	overflow: auto;
}

.vse-lightbox__img {
	display: block;
	width: 100%;
	max-height: 75vh;
	object-fit: contain;
	background: #000;
}

.vse-lightbox__caption {
	padding: 0.75rem 1.25rem 1rem;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.85);
}

.vse-lightbox__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(15, 18, 26, 0.6);
	color: var(--wp--preset--color--white);
	cursor: pointer;
	transition: background-color var(--vse-duration-fast) ease, transform var(--vse-duration-fast) var(--vse-ease-out);
}

@media (hover: hover) and (pointer: fine) {
	.vse-lightbox__close:hover {
		background: rgba(15, 18, 26, 0.85);
	}
}

.vse-lightbox__close:active {
	transform: scale(0.92);
}

/* Navegadores sin soporte de @starting-style/allow-discrete: el dialog
   igual funciona (showModal nativo), solo aparece sin transición. */

/* ==========================================================================
   Single del tour (single-amir_tour.php)
   ========================================================================== */

.vse-tour-hero {
	position: relative;
	min-height: 55vh;
	display: flex;
	align-items: flex-end;
	background-color: var(--wp--preset--color--navy);
	background-size: cover;
	background-position: center;
}

/* Listado /tours/ — no hay foto de portada de un tour puntual, un hero
   de 55vh solo con título se ve desproporcionado. */
.vse-tour-archive-hero {
	min-height: 32vh;
	align-items: center;
}

.vse-tour-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 18, 26, 0.15) 0%, rgba(15, 18, 26, 0.85) 100%);
}

.vse-tour-hero__overlay {
	position: relative;
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1400px);
	margin: 0 auto;
	padding: var(--wp--preset--spacing--60) 1.5rem;
	color: var(--wp--preset--color--white);
}

.vse-tour-hero__eyebrow {
	font-size: 0.875rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--wp--preset--color--terracotta);
	margin: 0 0 0.5rem;
}

.vse-tour-hero__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2rem, 5vw, 3.375rem);
	line-height: 1.1;
	margin: 0 0 1rem;
	color: var(--wp--preset--color--white);
}

.vse-tour-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.vse-tour-fact {
	display: flex;
	align-items: baseline;
	gap: 0.35rem;
	background: rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
}

.vse-tour-fact__label {
	opacity: 0.75;
}

.vse-tour-fact__value {
	font-weight: 600;
}

.vse-tour-section {
	max-width: var(--wp--style--global--wide-size, 1400px);
	margin: 0 auto;
	padding: var(--wp--preset--spacing--60) 1.5rem;
}

/* ---------- Layout de dos columnas: contenido + sidebar de reserva sticky ---------- */
.vse-tour-layout {
	max-width: var(--wp--style--global--wide-size, 1400px);
	margin: 0 auto;
	padding: var(--wp--preset--spacing--60) 1.5rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 2.5rem;
	align-items: start;
}

.vse-tour-main {
	min-width: 0;
}

.vse-tour-block {
	margin-bottom: var(--wp--preset--spacing--60);
}

.vse-tour-block:last-child {
	margin-bottom: 0;
}

.vse-tour-block h2 {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.2;
	color: var(--wp--preset--color--navy);
	margin: 0 0 1rem;
}

.vse-tour-sidebar {
	position: sticky;
	top: calc(80px + 1.5rem);
}

.vse-tour-sidebar h2 {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.375rem;
	color: var(--wp--preset--color--navy);
	margin: 0 0 1rem;
}

.vse-tour-sidebar__urgency,
.vse-tour-sidebar__dates {
	margin-bottom: 1rem;
}

@media (max-width: 1024px) {
	.vse-tour-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 1.5rem;
	}

	.vse-tour-main .vse-bento-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 782px) {
	.vse-tour-layout {
		display: flex;
		flex-direction: column;
		padding: var(--wp--preset--spacing--50) 1.5rem;
	}

	/* La reserva pasa primero en mobile — ver también la barra sticky de
	   "Book Now" en functions.php, que en esta página apunta a #book. */
	.vse-tour-sidebar {
		position: static;
		order: -1;
		margin-bottom: var(--wp--preset--spacing--50);
	}
}

.vse-tour-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--50);
	border-bottom: 1px solid rgba(32, 38, 52, 0.1);
}

.vse-tour-stat {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--wp--preset--color--slate);
}

.vse-tour-stat svg {
	color: var(--wp--preset--color--terracotta);
	flex-shrink: 0;
}

.vse-tour-prose {
	max-width: 75ch;
}

.vse-tour-prose p {
	margin: 0 0 1rem;
	color: var(--wp--preset--color--slate);
}

.vse-tour-video iframe,
.vse-tour-video .wp-embed-aspect-16-9 {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
}

/* ---------- Itinerario (timeline) ---------- */
.vse-tour-itinerary {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--50);
}

.vse-tour-itinerary::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: rgba(32, 38, 52, 0.15);
}

.vse-tour-stop {
	position: relative;
	display: grid;
	grid-template-columns: 32px 1fr;
	gap: 1rem;
}

.vse-tour-stop__marker {
	position: relative;
	z-index: 1;
	width: 16px;
	height: 16px;
	margin-top: 4px;
	border-radius: 50%;
	background: var(--wp--preset--color--white);
	border: 2px solid var(--wp--preset--color--sea-blue);
}

.vse-tour-stop.is-start .vse-tour-stop__marker {
	background: var(--wp--preset--color--terracotta);
	border-color: var(--wp--preset--color--terracotta);
}

.vse-tour-stop__badge {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--wp--preset--color--terracotta);
	margin-bottom: 0.25rem;
}

.vse-tour-stop__body h3 {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	margin: 0 0 0.5rem;
	color: var(--wp--preset--color--navy);
}

.vse-tour-stop__body img {
	width: 100%;
	max-width: 420px;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	margin: 0.5rem 0;
}

.vse-tour-stop__body p {
	color: var(--wp--preset--color--slate);
	margin: 0;
}

/* ---------- Meeting point ---------- */
.vse-tour-meeting__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
}

.vse-tour-meeting__map {
	width: 100%;
	aspect-ratio: 4 / 3;
	border: 0;
	border-radius: 8px;
}

/* ---------- Booking ---------- */
.vse-tour-booking__error {
	color: var(--wp--preset--color--terracotta-dark);
	font-weight: 600;
}

@media (max-width: 782px) {
	.vse-tour-hero {
		min-height: 45vh;
	}

	.vse-tour-stop {
		grid-template-columns: 20px 1fr;
	}

	.vse-tour-itinerary::before {
		left: 3px;
	}

	.vse-tour-stop__marker {
		width: 10px;
		height: 10px;
	}

	.vse-tour-meeting__grid {
		grid-template-columns: 1fr;
	}
}
