/* ==========================================================================
   Toque final: header flotante, marquesina, divisores, animaciones,
   navegación del tour, filtros y blog. Todo responsive.
   ========================================================================== */

:root {
	--alto-header: 76px;
	--mascara-montanas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill-opacity='.45' d='M0 120V70l120-30 90 35 120-55 120 60 110-45 130 50 110-55 130 40 120-55 120 60 120-35 150 40v40z'/%3E%3Cpath d='M0 120V95l150-35 110 35 130-40 130 45 130-35 130 35 120-40 130 38 130-36 140 38 140-30v50z'/%3E%3C/svg%3E");
	--mascara-inca: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 22'%3E%3Cpath d='M0 22V16h8V10h8V4h8V0h24v4h8v6h8v6h8v6z'/%3E%3C/svg%3E");
}

/* Lo marcado como oculto se oculta siempre (evita que reglas como img { display:block } lo anulen). */
[hidden] { display: none !important; }

/* ---------- Header flotante ---------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; margin: 0 auto;
	transition: top .35s ease, background .35s ease, box-shadow .35s ease, transform .35s ease,
		border-radius .35s ease, max-width .35s ease, left .35s ease, right .35s ease;
}
.site-header .container { padding: 14px 0; transition: padding .35s ease, width .35s ease; }
.brand img { transition: height .35s ease; }
body:not(.home) { padding-top: var(--alto-header); }

body.home .site-header:not(.is-scrolled):not(.menu-abierto) {
	background: linear-gradient(180deg, rgba(1,22,39,.7), rgba(1,22,39,0));
	backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
}
.site-header.is-scrolled {
	top: 10px; left: 16px; right: 16px; max-width: 1240px; border-radius: 18px;
	background: rgba(1,22,39,.86); border: 1px solid rgba(255,255,255,.08);
	backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 14px 34px rgba(0,0,0,.28);
}
.site-header.is-scrolled .container { padding: 8px 0; width: calc(100% - 36px); }
.site-header.is-scrolled .brand img { height: 36px; }
.site-header.is-scrolled .header-actions .btn { padding: 10px 20px; }
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.site-header.menu-abierto { background: rgba(1,22,39,.98); }
.admin-bar .site-header { top: 32px; }
.admin-bar .site-header.is-scrolled { top: 42px; }

/* Subrayado animado en el menú */
.main-nav a { position: relative; padding: 4px 0; }
.main-nav a::after {
	content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--dorado);
	transform: scaleX(0); transform-origin: right; transition: transform .3s ease;
}
.main-nav a:hover::after, .main-nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }

/* Barra de progreso de lectura */
.barra-progreso {
	position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none;
	background: linear-gradient(90deg, var(--naranja), var(--dorado)); transform: scaleX(0); transform-origin: left;
}

/* ---------- Hero: entrada animada y espacio para la marquesina ---------- */
.hero { min-height: 100vh; min-height: 100svh; padding: 110px 0 140px; }
/* Solo movimiento (sin opacidad): el texto del hero se ve desde el primer instante, bueno para la carga y el SEO. */
.hero .container > * { animation: inca-hero .9s cubic-bezier(.2,.7,.2,1) both; }
.hero .container > *:nth-child(1) { animation-delay: .1s; }
.hero .container > *:nth-child(2) { animation-delay: .25s; }
.hero .container > *:nth-child(3) { animation-delay: .4s; }
.hero .container > *:nth-child(4) { animation-delay: .55s; }
.hero .container > *:nth-child(5) { animation-delay: .7s; }
.hero-transporte { animation: inca-entrar-derecha 1s .6s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 span { background: linear-gradient(90deg, var(--dorado), #fde68a, var(--dorado)); background-size: 200% auto;
	-webkit-background-clip: text; background-clip: text; color: transparent; animation: inca-brillo 5s linear infinite; }

@keyframes inca-subir { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes inca-hero { from { transform: translateY(18px); } to { transform: none; } }
@keyframes inca-entrar-derecha { from { opacity: 0; transform: translate(40px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
@keyframes inca-brillo { to { background-position: 200% center; } }

/* ---------- Marquesina de logos ---------- */
.hero-marquesina {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 88px;
	display: flex; align-items: center; background: rgba(255,255,255,.95);
	border-top: 3px solid var(--dorado); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-marquesina__titulo {
	position: relative; z-index: 1; flex: 0 0 auto; height: 100%; display: flex; align-items: center;
	padding: 0 22px 0 28px; background: var(--oscuro); color: var(--dorado);
	font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.hero-marquesina__titulo::after {
	content: ""; position: absolute; right: -16px; top: 0;
	border-left: 16px solid var(--oscuro); border-top: 42.5px solid transparent; border-bottom: 42.5px solid transparent;
}
.hero-marquesina__ventana {
	flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hero-marquesina__pista { display: flex; align-items: center; width: max-content; animation: inca-marquesina 38s linear infinite; }
.hero-marquesina:hover .hero-marquesina__pista { animation-play-state: paused; }
.hero-marquesina img {
	height: 54px; width: auto; max-width: 190px; object-fit: contain; margin: 0 36px;
	filter: grayscale(1); opacity: .72; transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}
.hero-marquesina img:hover { filter: none; opacity: 1; transform: scale(1.08); }
@keyframes inca-marquesina { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Divisores temáticos ---------- */
.divisor-montanas, .divisor-inca, .page-hero, .site-footer { position: relative; }
.divisor-montanas { padding-bottom: 130px; }
.divisor-inca { padding-bottom: 96px; }
.divisor-montanas::after, .divisor-inca::after, .page-hero::after, .site-footer::before {
	content: ""; position: absolute; left: 0; right: 0; pointer-events: none;
}
.divisor-montanas::after, .page-hero::after {
	bottom: -1px; height: clamp(40px, 6vw, 86px); background: var(--divisor-color, var(--fondo));
	-webkit-mask: var(--mascara-montanas) bottom / 100% 100% no-repeat; mask: var(--mascara-montanas) bottom / 100% 100% no-repeat;
}
.divisor-inca::after {
	bottom: -1px; height: 22px; background: var(--divisor-color, #fff);
	-webkit-mask: var(--mascara-inca) bottom left / 72px 22px repeat-x; mask: var(--mascara-inca) bottom left / 72px 22px repeat-x;
}
.stats.divisor-montanas { padding-top: 48px; }
.page-hero { padding-bottom: 120px; }
.site-footer::before {
	top: -58px; height: 60px; background: #000;
	-webkit-mask: var(--mascara-montanas) bottom / 100% 100% no-repeat; mask: var(--mascara-montanas) bottom / 100% 100% no-repeat;
}

/* ---------- Textura andina de fondo ---------- */
.con-textura {
	background-color: #f1eae1;
	background-image: url("../img/textura-andina.jpg");
	background-size: cover; background-position: center; background-repeat: no-repeat;
}
.con-textura .feature, .con-textura .tour-card, .con-textura .rv__card { box-shadow: 0 10px 30px rgba(84, 62, 38, .12); }

/* ---------- Página de transporte (campos ACF) ----------
   Las fotos siempre llenan su marco con recorte automático, así cambiarlas no descuadra el diseño. */
.tr-hero { background-size: cover; background-position: center; padding-bottom: 130px; }
.tr-hero__etiqueta { color: var(--dorado); margin: 0 0 8px; }
.tr-hero h1 { max-width: 18ch; }
.tr-hero p { max-width: 58ch; }
.tr-hero__accion { margin-top: 24px; }
.tr-intro > .container > h2 { margin-bottom: 10px; }
.tr-panoramica { margin: 28px 0 8px; aspect-ratio: 21 / 9; overflow: hidden; border-radius: 18px; box-shadow: var(--sombra); background: #e5e7eb; }
.tr-panoramica img, .tr-vehiculo__foto img, .tr-rutas__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tr-ventajas { margin-top: 28px; }

.tr-flota__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 24px; }
.tr-vehiculo {
	display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
	box-shadow: var(--sombra); transition: transform .35s ease, box-shadow .35s ease;
}
.tr-vehiculo:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(1,22,39,.16); }
.tr-vehiculo__foto { aspect-ratio: 4 / 3; overflow: hidden; background: #e5e7eb; }
.tr-vehiculo__foto img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.tr-vehiculo:hover .tr-vehiculo__foto img { transform: scale(1.06); }
.tr-vehiculo__cuerpo { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tr-vehiculo__cap {
	align-self: flex-start; background: #fff4e8; color: #9a3412; font-weight: 700; font-size: .8rem;
	padding: 3px 12px; border-radius: 999px;
}
.tr-vehiculo h3 { margin: 0; font-size: 1.2rem; }
.tr-vehiculo p { margin: 0; color: #4b5563; }
.tr-vehiculo__enlace { margin-top: auto; padding-top: 8px; color: var(--naranja); font-weight: 700; text-decoration: none; }
.tr-vehiculo__enlace span { display: inline-block; transition: transform .25s ease; }
.tr-vehiculo__enlace:hover span { transform: translateX(5px); }

.tr-destacado__caja {
	display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: 36px; border-radius: 20px;
	background: linear-gradient(135deg, #011627, #0b2a44); border-top: 4px solid var(--dorado); color: #e5e7eb;
	box-shadow: var(--sombra);
}
.tr-destacado__tag {
	display: inline-block; border: 1px solid var(--dorado); color: var(--dorado); font-size: .72rem; font-weight: 800;
	letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 6px; margin-bottom: 12px;
}
.tr-destacado__caja h2 { color: #fff; margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.tr-destacado__caja h2 span { color: var(--dorado); }
.tr-destacado__texto p { margin: 0; }
.tr-destacado__datos { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.tr-destacado__duracion { margin: 0; color: var(--dorado); font-weight: 800; font-size: 1.3rem; }
.tr-destacado__precio { margin: 0 0 6px; }

.tr-rutas__capa { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; margin-top: 26px; }
.tr-rutas__capa--sola { grid-template-columns: 1fr; }
.tr-rutas__foto { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; box-shadow: var(--sombra); background: #e5e7eb; }
.tr-rutas__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tr-rutas__lista li {
	display: flex; gap: 16px; align-items: center; background: #fff; padding: 14px 18px; border-radius: 12px;
	box-shadow: 0 6px 16px rgba(84,62,38,.1); transition: transform .25s ease;
}
.tr-rutas__lista li:hover { transform: translateX(6px); }
.tr-rutas__num { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--dorado); color: #000; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.tr-rutas__lista strong { display: block; color: var(--oscuro); }
.tr-rutas__lista small { display: block; color: var(--gris); margin-top: 2px; }
.tr-cta h2 { margin-top: 0; }

@media (max-width: 860px) {
	.tr-hero { padding-bottom: 100px; }
	.tr-panoramica { aspect-ratio: 16 / 9; border-radius: 14px; }
	.tr-destacado__caja { grid-template-columns: 1fr; padding: 26px 20px; gap: 20px; }
	.tr-rutas__capa { grid-template-columns: 1fr; }
	.tr-rutas__lista li:hover { transform: none; }
}
@media (max-width: 600px) {
	.tr-flota__grid { grid-template-columns: 1fr; }
	.tr-hero h1 { max-width: none; }
}

/* ---------- Animaciones al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Micro-interacciones ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
	content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; z-index: -1;
	background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg);
	transition: left .6s ease;
}
.btn:hover::after { left: 140%; }
.btn:active { transform: translateY(0) scale(.97); }

.tour-card > a:first-child { display: block; overflow: hidden; }
.tour-card img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.tour-card:hover img { transform: scale(1.07); }
.tour-card, .tour-card.reveal.is-visible { transition: opacity .7s ease, transform .35s ease, box-shadow .35s ease; }
.tour-card:hover, .tour-card.reveal.is-visible:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(1,22,39,.18); }
.feature { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.feature:hover, .feature.reveal.is-visible:hover { transform: translateY(-4px); border-top-color: var(--naranja); }

/* ---------- Documentos oficiales (constancias en PDF) ---------- */
.docs-oficiales { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: start; gap: 24px; margin-top: 36px; }
.doc-card { flex-direction: column; align-items: stretch; padding: 14px 14px 18px; gap: 14px; border-left: 0; border-top: 4px solid var(--dorado); }
.doc-card:hover, .doc-card.reveal.is-visible:hover { border-left-color: transparent; border-top-color: var(--naranja); }
.doc-card__foto { position: relative; display: block; overflow: hidden; border-radius: 8px; aspect-ratio: 1 / 1.1; background: #f1eae1; box-shadow: inset 0 0 0 1px rgba(1,22,39,.08); }
.doc-card__foto img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.doc-card:hover .doc-card__foto img { transform: scale(1.05); }
.doc-card__lupa {
	position: absolute; inset: auto 0 0 0; padding: 12px; text-align: center; font-weight: 700; color: var(--blanco);
	background: linear-gradient(to top, rgba(1,22,39,.85), rgba(1,22,39,0)); opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease;
}
.doc-card:hover .doc-card__lupa, .doc-card:focus-visible .doc-card__lupa { opacity: 1; transform: none; }
@media (hover: none) { .doc-card__lupa { opacity: 1; transform: none; } }
.doc-card {
	display: flex; align-items: center; gap: 18px; padding: 22px 24px;
	background: var(--blanco); color: var(--texto); text-decoration: none;
	border-radius: var(--radio); box-shadow: var(--sombra); border-left: 4px solid var(--naranja);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.doc-card:hover, .doc-card.reveal.is-visible:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(1,22,39,.16); border-left-color: var(--dorado); }
.doc-card:focus-visible { outline: 3px solid var(--dorado); outline-offset: 3px; }
.doc-card__icono {
	flex: 0 0 56px; height: 56px; display: grid; place-items: center; border-radius: 12px;
	background: #fff4e8; color: var(--naranja);
}
.doc-card__texto { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.doc-card__texto strong { color: var(--oscuro); font-size: 1.05rem; line-height: 1.2; }
.doc-card__texto small { color: #4b5563; font-size: .9rem; line-height: 1.4; }
.doc-card__accion { font-weight: 700; font-size: .9rem; color: var(--naranja); white-space: nowrap; }
@media (max-width: 480px) {
	.doc-card { padding: 18px; gap: 14px; }
	.doc-card__accion { display: none; }
}
.rv__card.reveal.is-visible:hover, .rv__card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(1,22,39,.14); }

.whatsapp-float::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
	animation: inca-pulso 2.2s ease-out infinite;
}
@keyframes inca-pulso {
	0% { box-shadow: 0 0 0 0 rgba(22,163,74,.55); }
	70% { box-shadow: 0 0 0 18px rgba(22,163,74,0); }
	100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

/* ---------- Migas de pan ---------- */
.migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; font-size: .88rem; color: var(--gris); }
.migas li + li::before { content: "›"; margin-right: 6px; color: var(--naranja); }
.migas a { color: var(--gris); text-decoration: none; }
.migas a:hover { color: var(--naranja); }
.migas [aria-current] { color: var(--oscuro); font-weight: 600; }

/* ---------- Navegación de secciones del tour ---------- */
.tour-nav {
	position: sticky; top: 80px; z-index: 30; background: rgba(255,255,255,.96);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid #e5e7eb; box-shadow: 0 6px 18px rgba(1,22,39,.06); transition: top .35s ease;
}
body.header-oculto .tour-nav { top: 0; }
.tour-nav__barra { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tour-nav__lista { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tour-nav__lista::-webkit-scrollbar { display: none; }
.tour-nav__lista a {
	display: block; padding: 16px 14px; color: var(--oscuro); font-weight: 600; text-decoration: none; white-space: nowrap;
	border-bottom: 3px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.tour-nav__lista a:hover, .tour-nav__lista a.is-activo { color: var(--naranja); border-bottom-color: var(--naranja); }
.tour-nav__cta { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.tour-nav__cta strong { color: var(--naranja); }
.tour-nav__cta .btn { padding: 10px 20px; }
.tour-side { top: 150px; transition: top .35s ease; }
body.header-oculto .tour-side { top: 80px; }
[id^="tour-"] { scroll-margin-top: 150px; }

/* ---------- Filtros (tours y blog) ---------- */
.tours-filtros, .blog-categorias { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.tours-filtro {
	display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid #e5e7eb; background: #fff;
	padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer;
	color: var(--oscuro); text-decoration: none; transition: all .2s ease;
}
.tours-filtro span { background: #fff4e8; color: #9a3412; border-radius: 999px; padding: 1px 8px; font-size: .8rem; }
.tours-filtro:hover { border-color: var(--naranja); color: var(--naranja); }
.tours-filtro.is-activo { background: var(--naranja); border-color: var(--naranja); color: #fff; }
.tours-filtro.is-activo span { background: rgba(255,255,255,.25); color: #fff; }
.tours-grupo[hidden] { display: none; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; margin-top: 30px; }
.blog-card {
	background: #fff; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra);
	display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease, opacity .7s ease;
}
.blog-card:hover, .blog-card.reveal.is-visible:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(1,22,39,.16); }
.blog-card__img { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #e5e7eb; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card__cuerpo { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card__meta { margin: 0; color: var(--gris); font-size: .82rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.blog-card__cat { background: #fff4e8; color: #9a3412; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.blog-card__titulo { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.blog-card__titulo a { color: var(--oscuro); text-decoration: none; }
.blog-card__titulo a:hover { color: var(--naranja); }
.blog-card__resumen { margin: 0; color: #4b5563; }
.blog-card__mas { margin-top: auto; color: var(--naranja); font-weight: 700; text-decoration: none; }
.blog-card__mas span { display: inline-block; transition: transform .25s ease; }
.blog-card:hover .blog-card__mas span { transform: translateX(5px); }
.blog-card--destacado { grid-column: 1 / -1; flex-direction: row; }
.blog-card--destacado .blog-card__img { flex: 1.3; aspect-ratio: auto; min-height: 340px; }
.blog-card--destacado .blog-card__cuerpo { flex: 1; padding: 34px; justify-content: center; }
.blog-card--destacado .blog-card__titulo { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.blog-paginacion { margin-top: 36px; }
.blog-paginacion .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.blog-paginacion .page-numbers {
	padding: 10px 16px; border-radius: 10px; background: #fff; box-shadow: var(--sombra);
	color: var(--oscuro); text-decoration: none; font-weight: 700;
}
.blog-paginacion .page-numbers.current, .blog-paginacion .page-numbers:hover { background: var(--naranja); color: #fff; }

/* Artículo */
.articulo__cabecera { padding: 40px 0 10px; }
.articulo__ancho { max-width: 820px; }
.articulo__titulo { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 6px 0 14px; }
.articulo__meta { color: var(--gris); margin: 0 0 26px; }
.articulo__imagen { margin: 0 auto 34px; }
.articulo__imagen img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 18px; box-shadow: var(--sombra); }
.articulo__contenido { font-size: 1.08rem; line-height: 1.8; color: #1f2937; }
.articulo__contenido h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 2em 0 .6em; padding-left: 14px; border-left: 4px solid var(--dorado); }
.articulo__contenido h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.articulo__contenido p { margin: 0 0 1.2em; }
.articulo__contenido ul, .articulo__contenido ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.articulo__contenido li { margin-bottom: .5em; }
.articulo__contenido a { color: var(--naranja); font-weight: 600; text-underline-offset: 3px; }
.articulo__contenido blockquote {
	margin: 1.6em 0; padding: 18px 22px; background: #fff4e8; border-left: 4px solid var(--naranja);
	border-radius: 0 12px 12px 0; color: #7c2d12;
}
.articulo__contenido table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: .96rem; display: block; overflow-x: auto; }
.articulo__contenido th, .articulo__contenido td { padding: 10px 12px; border-bottom: 1px solid #e5e7eb; text-align: left; }
.articulo__contenido th { background: var(--oscuro); color: #fff; }
.articulo__cta {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
	margin: 40px 0 24px; padding: 30px; border-radius: 18px; background: var(--oscuro); color: #fff;
}
.articulo__cta h2 { color: #fff; margin: 4px 0 6px; }
.articulo__cta p { margin: 0; color: #cbd5e1; }
.articulo__cta-botones { display: flex; gap: 10px; flex-wrap: wrap; }
.articulo__compartir { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 50px; color: var(--gris); }
.articulo__compartir a {
	padding: 8px 16px; border-radius: 999px; border: 1.5px solid #e5e7eb; color: var(--oscuro);
	text-decoration: none; font-weight: 600; transition: all .2s ease;
}
.articulo__compartir a:hover { border-color: var(--naranja); color: var(--naranja); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	/* En pantallas medianas y móviles: primero el texto del hero, después la tarjeta de transporte. */
	.hero { display: flex; flex-direction: column; justify-content: center; padding: 100px 0 120px; min-height: auto; }
	.hero .container { order: 1; }
	.hero-transporte {
		order: 2; position: relative; top: auto; right: auto; transform: none;
		width: calc(100% - 32px); max-width: 460px; margin: 32px auto 0; animation-name: inca-subir;
	}
}
/* Laptops pequeñas y tablets horizontales: menú compacto en una fila. */
@media (min-width: 1001px) and (max-width: 1180px) {
	.site-header .container { flex-wrap: nowrap; gap: 14px; }
	.main-nav ul { gap: 14px; flex-wrap: nowrap; }
	.main-nav a { font-size: .9rem; }
	.header-actions .btn { display: none; }
	.brand img { height: 38px; }
}

/* Tablets y móviles: header en una sola fila y menú hamburguesa desplegable. */
@media (max-width: 1000px) {
	.site-header .container { flex-wrap: nowrap; position: relative; }
	.menu-toggle { display: block; padding: 4px 6px; line-height: 1; }
	.header-actions { gap: 8px; flex: 0 0 auto; }
	.header-actions .btn { display: none; }
	.gtranslate-wrap { display: flex; align-items: center; }
	.main-nav {
		display: none; position: absolute; top: calc(100% + 6px); left: -12px; right: -12px; width: auto;
		background: rgba(1,22,39,.98); border-radius: 14px; padding: 6px 20px 14px;
		box-shadow: 0 16px 30px rgba(0,0,0,.3);
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; padding: 0; }
	.main-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
	.main-nav li:last-child a { border-bottom: 0; }
	.main-nav a::after { display: none; }
}

@media (max-width: 860px) {
	:root { --alto-header: 60px; }
	.site-header .container { padding: 10px 0; }
	.brand img { height: 32px; }
	.site-header.is-scrolled .brand img { height: 30px; }
	.gtranslate-wrap a { font-size: .78rem !important; padding: 2px 3px !important; }
	.gtranslate-wrap img { width: 16px !important; height: auto !important; }
	.site-header.is-scrolled { top: 8px; left: 10px; right: 10px; border-radius: 14px; }
	.site-header.is-scrolled .container { width: calc(100% - 24px); }
	.main-nav a::after { display: none; }
	.tour-nav { top: 72px; }
	.tour-nav__cta span { display: none; }
	.tour-side { top: auto; }
	[id^="tour-"] { scroll-margin-top: 130px; }
	.blog-card--destacado { flex-direction: column; }
	.blog-card--destacado .blog-card__img { min-height: 0; aspect-ratio: 3 / 2; }
	.blog-card--destacado .blog-card__cuerpo { padding: 22px; }
	.divisor-montanas { padding-bottom: 100px; }
}
@media (max-width: 760px) {
	.tour-mosaico { grid-template-rows: auto; }
}
.hero-mini-transporte { display: none; }

@media (max-width: 600px) {
	/* Hero limpio en móvil: etiqueta, título, un botón y la franja de transporte. */
	.hero { min-height: 100vh; min-height: 100svh; justify-content: center; padding: 84px 0 96px; }
	.hero .container > p:not(.eyebrow), .hero .badges, .hero .btn--ghost, .hero-transporte { display: none; }
	.hero h1 { font-size: clamp(2.1rem, 10vw, 2.6rem); max-width: 12ch; margin-bottom: 0; }
	.hero-actions { margin-top: 22px; }
	.hero-actions .btn { padding: 14px 30px; }
	.hero-mini-transporte {
		display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px;
		border-radius: 14px; background: rgba(1,22,39,.72); border: 1px solid rgba(243,188,7,.5);
		color: #fff; text-decoration: none; font-size: .86rem; line-height: 1.35;
		backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	}
	.hero-mini-transporte__tag {
		flex: 0 0 auto; background: var(--dorado); color: #000; font-weight: 800; font-size: .66rem;
		text-transform: uppercase; letter-spacing: .04em; padding: 4px 8px; border-radius: 6px;
	}
	.hero-mini-transporte__ruta { flex: 1; }
	.hero-mini-transporte strong { color: var(--dorado); }
	.hero-marquesina { height: 70px; }
	.hero-marquesina__titulo { display: none; }
	.hero-marquesina img { height: 38px; max-width: 130px; margin: 0 22px; }
	.hero { padding-bottom: 100px; }
	.blog-grid { grid-template-columns: 1fr; }
	.tour-nav__lista a { padding: 14px 10px; font-size: .92rem; }
	.tour-nav__cta .btn { padding: 9px 14px; font-size: .9rem; }
	.articulo__cta { padding: 22px; }
	.articulo__contenido { font-size: 1.02rem; }
}

/* Accesibilidad: sin animaciones si el visitante lo prefiere */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.hero-marquesina__pista { animation: none; }
	.reveal { opacity: 1; transform: none; }
}
