/* ==========================================================================
   Authentic Incan — estilos principales (mobile-first)
   ========================================================================== */

/* Fuente ------------------------------------------------------------------ */
@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans-italic-latin.woff2") format("woff2");
	font-weight: 400 800;
	font-style: italic;
	font-display: swap;
}

/* Tokens ------------------------------------------------------------------ */
:root {
	/* Rojo del logo (#B3001B): 7,2:1 sobre blanco. */
	--brand: #B3001B;
	--brand-hover: #8F0016;
	--brand-text: #B3001B;
	--brand-on-dark: #FF6B7A;   /* variante legible sobre el verde oscuro (5,6:1) */
	--brand-50: #FCEBED;
	--brand-100: #F5CBD1;
	--gold: #F5B301;             /* estrellas de calificación */

	--green-950: #0A211A;
	--green-900: #0D2A21;
	--green-800: #123A2D;
	--green-700: #1B4D3C;
	--green-50: #EEF4F1;

	--ink: #14231D;
	--text: #3D4945;
	--muted: #5F6C67;
	--line: #E7E2D9;
	--sand: #FAF8F5;
	--sand-2: #F3EEE6;
	--white: #fff;

	--wa: #25D366;
	--success: #1E7B4F;
	--danger: #B42318;

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(13, 42, 33, .05), 0 4px 14px -6px rgba(13, 42, 33, .12);
	--shadow: 0 18px 40px -20px rgba(13, 42, 33, .35);

	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1200px;
	--gutter: 16px;
	--header-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1180px) { :root { --header-h: 84px; } }

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand-text); text-underline-offset: .18em; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-100); color: var(--ink); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto;
	padding: 12px 18px; background: var(--green-900); color: #fff; border-radius: var(--radius-sm);
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 780px); }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -.2em; }
.icon--sm { width: 1em; height: 1em; }
.icon--fill { fill: currentColor; }

/* Botones ----------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .75em 1.35em;
	font-size: .95rem; font-weight: 800; line-height: 1.2; letter-spacing: .01em;
	text-decoration: none; white-space: nowrap;
	border: 2px solid transparent; border-radius: 10px;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: .875rem; }
.btn--lg { min-height: 54px; padding: .85em 1.6em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px rgba(179, 0, 27, .8); }
.btn--primary:hover { background: var(--green-900); color: #fff; box-shadow: none; }
.btn--outline { border-color: var(--brand); color: var(--green-900); background: transparent; }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--green-900); }
.btn--whatsapp { background: var(--wa); color: var(--green-950); }
.btn--whatsapp:hover { background: #1EBE5A; color: var(--green-950); }

.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
	border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--green-900);
	transition: background-color .2s, color .2s, border-color .2s;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand-text); }
.icon-btn--whatsapp { color: #128C4A; }
.icon-btn--dark { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.icon-btn--dark:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.round-btn {
	display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0;
	border: 2px solid var(--brand); border-radius: 50%; background: var(--white); color: var(--brand-text);
	transition: background-color .2s, color .2s;
}
.round-btn:hover { background: var(--brand); color: #fff; }
.round-btn[disabled] { opacity: .35; cursor: default; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 800; text-decoration: none; color: var(--green-900); }
.link-arrow .icon { color: var(--brand-text); transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

.pill { display: inline-block; padding: .25em .85em; font-size: .78rem; font-weight: 700; color: var(--brand-text); background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 999px; }

.kicker {
	display: inline-flex; align-items: center; gap: .7em; margin-bottom: .9em;
	font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-text);
}
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--brand); }
.kicker--light { color: var(--brand-on-dark); }

/* Barra promocional ------------------------------------------------------- */
.promo { background: var(--green-950); color: #fff; font-size: .875rem; }
.promo__inner { display: flex; align-items: center; justify-content: center; gap: 12px 18px; padding-block: 8px; position: relative; padding-right: 40px; flex-wrap: wrap; }
.promo__text { margin: 0; font-weight: 600; text-align: center; font-size: .8rem; }
.promo__text a { color: #fff; text-decoration: none; }
.promo__text a:hover { color: var(--brand-on-dark); }
.promo__cta { display: none; min-height: 34px; padding: .35em .9em; }
@media (min-width: 640px) {
	.promo__text { font-size: .875rem; }
	.promo__cta { display: inline-flex; }
}
.promo__close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: #fff; background: none; border: 0; opacity: .8; }
.promo__close:hover { opacity: 1; }

/* Cabecera ---------------------------------------------------------------- */
/* Sin backdrop-filter: haría de la cabecera el bloque contenedor del panel fijo del menú. */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(13, 42, 33, .35); border-color: var(--line); }

.header-top { display: none; border-bottom: 1px solid var(--line); font-size: .84rem; }
.header-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.header-top__tag { margin: 0; color: var(--muted); font-weight: 600; }
.header-top__contact { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.header-top__contact a { display: inline-flex; align-items: center; gap: .45em; color: var(--ink); text-decoration: none; font-weight: 600; }
.header-top__contact a:hover { color: var(--brand-text); }
.header-top__contact .icon { color: var(--brand); }
@media (min-width: 900px) { .header-top { display: block; } }

.header-main__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand__img { height: 56px; width: auto; }
.brand__text { font-weight: 800; color: var(--ink); font-size: 1.1rem; }
@media (min-width: 1180px) { .brand__img { height: 66px; } }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-actions__cta { display: none; }
@media (min-width: 640px) { .header-actions__cta { display: inline-flex; } }

/* Selector de idioma */
.lang { position: relative; }
.lang__toggle { display: inline-flex; align-items: center; gap: .4em; padding: 6px 4px; background: none; border: 0; font-weight: 700; color: var(--ink); }
.lang__toggle .icon:first-child { color: var(--brand); }
.lang__menu {
	position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 190px; margin: 0; padding: 6px;
	list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.lang__menu a:hover, .lang__menu a[aria-current] { background: var(--brand-50); }
.lang__code { margin-left: auto; font-size: .72rem; font-weight: 800; color: var(--muted); }
.flag { width: 22px; height: 15px; flex-shrink: 0; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(13, 42, 33, .15); }
.lang-list a { display: inline-flex; align-items: center; gap: 8px; }

/* Navegación: panel lateral en móvil */
.nav-panel {
	position: fixed; inset: 0 0 0 auto; z-index: 70; width: min(88vw, 380px); height: 100dvh;
	display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow);
	transform: translateX(105%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s;
	overflow-y: auto; overscroll-behavior: contain;
}
.nav-panel.is-open { transform: none; visibility: visible; }
.nav-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.nav-panel__head .brand__img { height: 42px; }
.nav-panel__foot { margin-top: auto; padding: 20px var(--gutter) 28px; display: grid; gap: 14px; border-top: 1px solid var(--line); background: var(--sand); }
.nav-panel__contact { display: inline-flex; align-items: center; gap: .5em; justify-content: center; font-weight: 700; color: var(--ink); text-decoration: none; }
/* El panel vive dentro de la cabecera (z-index 50): el fondo va por debajo de ella. */
.nav-backdrop { position: fixed; inset: 0; z-index: 48; background: rgba(10, 33, 26, .55); }
body.nav-open { overflow: hidden; }

.lang-list { display: flex; gap: 8px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.lang-list a { display: block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 700; color: var(--ink); font-size: .9rem; }
.lang-list a.is-current { background: var(--green-900); border-color: var(--green-900); color: #fff; }

.primary-nav .menu, .primary-nav .sub-menu { margin: 0; padding: 0; list-style: none; }
.primary-nav .menu { padding: 8px 0; }
.primary-nav li { position: relative; }
.primary-nav a, .primary-nav .menu > li > a:not([href]) {
	display: block; padding: 13px var(--gutter); color: var(--ink); font-weight: 700; text-decoration: none;
}
.primary-nav .menu > li { border-bottom: 1px solid var(--line); }
.primary-nav .menu > li.menu-item-has-children > a { padding-right: 60px; }
.primary-nav .current-menu-item > a, .primary-nav a:hover { color: var(--brand-text); }
.submenu-toggle {
	position: absolute; right: 8px; top: 4px; display: grid; place-items: center; width: 44px; height: 44px;
	padding: 0; background: none; border: 0; color: var(--muted);
}
.submenu-toggle .icon { transition: transform .2s; }
.primary-nav li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
.primary-nav .sub-menu { display: none; padding: 0 0 10px; background: var(--sand); }
.primary-nav li.is-open > .sub-menu { display: block; }
.primary-nav .sub-menu a, .primary-nav .sub-menu a:not([href]) { padding: 9px var(--gutter) 9px calc(var(--gutter) + 14px); font-weight: 600; font-size: .95rem; }
.primary-nav .sub-menu .sub-menu { display: block; padding: 0; }
.primary-nav .sub-menu .sub-menu a { padding-left: calc(var(--gutter) + 30px); font-weight: 500; color: var(--text); }
.primary-nav .sub-menu .submenu-toggle { display: none; }
.primary-nav .sub-menu > li.menu-item-has-children > a { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-text); padding-top: 14px; }

@media (min-width: 1180px) {
	.nav-toggle, .nav-panel__head, .nav-panel__foot, .nav-backdrop { display: none !important; }
	/* Menú centrado entre el logo y las acciones. */
	.header-main__inner { position: relative; }
	.nav-panel { position: static; flex: 1; display: flex; justify-content: center; width: auto; height: auto; transform: none; visibility: visible; box-shadow: none; background: none; overflow: visible; }
	.header-actions { margin-left: 0; }
	.primary-nav .menu { display: flex; align-items: center; justify-content: center; padding: 0; }
	.primary-nav .menu > li { border: 0; }
	.primary-nav .menu > li > a, .primary-nav .menu > li > a:not([href]) {
		display: flex; align-items: center; min-height: var(--header-h); padding: 0 10px; font-size: .93rem; white-space: nowrap; cursor: pointer;
	}
	.primary-nav .menu > li.menu-item-has-children > a { padding-right: 28px; }
	.primary-nav .menu > li > a::after {
		content: ""; position: absolute; left: 12px; right: 12px; bottom: 18px; height: 3px; border-radius: 3px;
		background: var(--brand); transform: scaleX(0); transition: transform .2s var(--ease);
	}
	.primary-nav .menu > li:hover > a::after, .primary-nav .menu > li.current-menu-item > a::after, .primary-nav .menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }
	.submenu-toggle { top: 50%; right: 4px; width: 28px; height: 28px; transform: translateY(-50%); }
	.primary-nav .sub-menu {
		display: block; position: absolute; left: 0; top: calc(100% - 10px); z-index: 60; min-width: 280px; padding: 10px;
		background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
		opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(6px);
		transition: opacity .18s, transform .18s, visibility 0s linear .18s;
	}
	/* Se abre con el mouse sobre el ítem, con teclado (:focus-visible) o con el botón. */
	.primary-nav .menu > li:hover > .sub-menu,
	.primary-nav .menu > li:has(:focus-visible) > .sub-menu,
	.primary-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
	.primary-nav .sub-menu a, .primary-nav .sub-menu a:not([href]) { padding: 9px 12px; border-radius: 8px; font-size: .92rem; }
	.primary-nav .sub-menu a[href]:hover { background: var(--brand-50); color: var(--ink); }
	/* Los niveles internos heredan la visibilidad: si el padre está oculto, no reciben el mouse. */
	.primary-nav .sub-menu .sub-menu { position: static; opacity: 1; visibility: inherit; pointer-events: inherit; transform: none; border: 0; box-shadow: none; padding: 0; min-width: 0; }
	.primary-nav .sub-menu .sub-menu a { padding-left: 22px; }

	/* Megamenú "Tours": todas las categorías en columnas. */
	.primary-nav .menu > li.mega { position: static; display: flex; align-items: center; }
	/* El enlace es el ancla del subrayado: el li es static para el megamenú. */
	.primary-nav .menu > li.mega > a { position: relative; padding-right: 4px; }
	.primary-nav .menu > li.mega > a::after { right: 4px; }
	.primary-nav .menu > li.mega > .submenu-toggle { position: static; transform: none; margin-right: 6px; }
	.primary-nav .menu > li.mega > .sub-menu {
		left: 50%; width: min(1140px, calc(100vw - 48px)); padding: 26px 28px 22px;
		display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px 22px;
		transform: translate(-50%, 6px);
	}
	.primary-nav .menu > li.mega:hover > .sub-menu,
	.primary-nav .menu > li.mega:has(:focus-visible) > .sub-menu,
	.primary-nav .menu > li.mega.is-open > .sub-menu { transform: translate(-50%, 0); }
	.primary-nav .mega > .sub-menu > li > a {
		display: flex; align-items: center; gap: 8px; margin-bottom: 6px; padding: 6px 10px 10px;
		font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-text);
		border-bottom: 2px solid var(--brand-50); border-radius: 0;
	}
	.primary-nav .mega > .sub-menu > li > a:hover { background: none; color: var(--green-900); }
	.primary-nav .mega .sub-menu .sub-menu a { padding: 7px 10px; font-size: .88rem; font-weight: 500; line-height: 1.35; white-space: normal; color: var(--text); }
	.primary-nav .mega .sub-menu .sub-menu a:hover { color: var(--ink); }
}

/* Secciones --------------------------------------------------------------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--sand { background: var(--sand); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head--center .kicker { justify-content: center; }
.section-head__title { font-size: clamp(1.75rem, 1.15rem + 2vw, 2.6rem); }
.section-head__title::after { content: ""; display: block; width: 64px; height: 4px; margin-top: .45em; border-radius: 4px; background: var(--brand); }
.section-head--center .section-head__title::after { margin-inline: auto; }
.section-head__text { margin: 0; color: var(--muted); font-size: 1.05rem; }
.section-cta { margin: clamp(28px, 4vw, 44px) 0 0; text-align: center; }
.section-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-bar .section-head { margin-bottom: clamp(24px, 3vw, 40px); max-width: 720px; }

.grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* Hero portada ------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(560px, 86svh, 780px); color: #fff; background: var(--green-900); }
.hero__bg, .page-hero__bg, .tour-hero__bg, .cta-band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(180deg, rgba(10, 33, 26, .25) 0%, rgba(10, 33, 26, 0) 30%, rgba(10, 33, 26, .55) 70%, rgba(10, 33, 26, .9) 100%),
		linear-gradient(90deg, rgba(10, 33, 26, .7) 0%, rgba(10, 33, 26, .15) 70%);
}
.hero__inner { padding-block: 96px clamp(40px, 7vw, 88px); }
.hero__title { max-width: 16ch; color: #fff; font-size: clamp(2.2rem, 1.3rem + 4vw, 4.1rem); letter-spacing: -.03em; }
.hero__text { max-width: 58ch; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: rgba(255, 255, 255, .9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__actions--center { justify-content: center; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 36px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .2); font-weight: 700; font-size: .95rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: .55em; }
.hero__trust .icon { color: var(--brand-on-dark); }

/* Intro -------------------------------------------------------------------- */
.intro__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .intro__grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } }
.intro .prose { font-size: 1.06rem; }
.steps { counter-reset: step; margin: 28px 0 0; padding: 0; list-style: none; }
.steps__item { position: relative; counter-increment: step; padding: 0 0 26px 64px; }
.steps__item::before {
	content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 44px; height: 44px;
	font-weight: 800; color: var(--brand-text); background: var(--brand-50); border: 2px solid var(--brand-100); border-radius: 50%;
}
.steps__item:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; border-left: 2px dashed var(--brand-100); }
.steps__item h3 { font-size: 1.12rem; margin-bottom: .3em; }
.steps__item p { margin: 0; color: var(--muted); }
.intro__media { position: relative; margin: 0; }
.intro__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.intro__media::before { content: ""; position: absolute; inset: 24px -16px -16px 24px; z-index: -1; border-radius: var(--radius-lg); background: var(--brand-50); border: 2px solid var(--brand-100); }
.intro__badge { position: absolute; left: -8px; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); font-size: .88rem; color: var(--muted); }
.intro__badge .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--brand); color: #fff; }
.intro__badge strong { display: block; color: var(--ink); font-size: 1rem; }
@media (min-width: 640px) { .intro__badge { left: -24px; } }

/* Ventajas ----------------------------------------------------------------- */
.features { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 16px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.features::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .features { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; overflow: visible; } }
@media (min-width: 1180px) { .features { grid-template-columns: repeat(5, 1fr); } }
.feature { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 28px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--brand-50); color: var(--brand-text); }
.feature__icon .icon { width: 28px; height: 28px; }
.feature__title { margin: 0; font-size: 1.05rem; }
.feature__text { margin: 0; font-size: .93rem; color: var(--muted); }

/* Carrusel ----------------------------------------------------------------- */
.carousel-nav { display: none; gap: 10px; flex-shrink: 0; margin-bottom: clamp(24px, 3vw, 40px); }
@media (min-width: 700px) { .carousel-nav { display: flex; } }
.carousel {
	display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 360px); gap: 20px;
	margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 18px; overflow-x: auto;
	scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--brand-100) transparent;
}
.carousel > * { scroll-snap-align: start; }
@media (min-width: 700px) { .carousel { grid-auto-columns: calc((100% - 2 * var(--gutter) - 20px) / 2); } }
@media (min-width: 1100px) { .carousel { grid-auto-columns: calc((100% - 2 * var(--gutter) - 56px) / 3); gap: 28px; } }

/* Tarjeta de tour ---------------------------------------------------------- */
.tour-card, .post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tour-card:hover, .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tour-card__media, .post-card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-2); }
.tour-card__media img, .post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tour-card:hover .tour-card__media img, .post-card:hover .post-card__media img { transform: scale(1.05); }
.badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: .4em; padding: .35em .75em; font-size: .8rem; font-weight: 800; color: var(--green-950); background: rgba(255, 255, 255, .94); border-radius: 8px; box-shadow: var(--shadow-sm); }
.badge .icon { color: var(--brand-text); }
.tour-card__body, .post-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.tour-card__meta, .post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.tour-card__meta span { display: inline-flex; align-items: center; gap: .35em; }
.tour-card__meta .icon, .post-card__meta .icon { color: var(--brand-text); }
.tour-card__cat { padding: .15em .6em; border-radius: 6px; background: var(--green-50); color: var(--green-700); }
.tour-card__title, .post-card__title { font-size: 1.12rem; line-height: 1.3; margin-bottom: .5em; }
.tour-card__title a, .post-card__title a { color: var(--ink); text-decoration: none; }
.tour-card__title a:hover, .post-card__title a:hover { color: var(--brand-text); }
.tour-card__excerpt, .post-card__excerpt { font-size: .92rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__excerpt { -webkit-line-clamp: 3; }
.tour-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.post-card .link-arrow { margin-top: auto; }

.price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .25em; line-height: 1.1; }
.price__from, .price__per { font-size: .8rem; color: var(--muted); font-weight: 600; }
.price__amount { font-size: 1.45rem; font-weight: 800; color: var(--brand-text); letter-spacing: -.02em; }
.price--ask { font-weight: 800; color: var(--green-700); font-size: .95rem; }

/* Destinos (bento) --------------------------------------------------------- */
.bento { display: grid; gap: 16px; grid-auto-rows: 220px; }
@media (min-width: 760px) {
	.bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 230px; gap: 20px; }
	.tile--0 { grid-column: span 3; grid-row: span 2; }
	.tile--1, .tile--2 { grid-column: span 3; }
	.tile--3, .tile--4 { grid-column: span 3; }
}
@media (min-width: 1100px) {
	.tile--1, .tile--2 { grid-column: span 3; }
	.tile--3 { grid-column: span 2; }
	.tile--4 { grid-column: span 4; }
	.bento { grid-template-areas: none; }
}
.tile { position: relative; isolation: isolate; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--radius-lg); color: #fff; text-decoration: none; background: var(--green-800); }
.tile__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 33, 26, 0) 35%, rgba(10, 33, 26, .85) 100%); }
.tile:hover .tile__img { transform: scale(1.06); }
.tile__body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; width: 100%; padding: 22px; }
.tile__title { font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.tile__count { display: inline-flex; align-items: center; gap: .4em; flex-shrink: 0; padding: .4em .85em; font-size: .82rem; font-weight: 800; color: #fff; background: var(--brand); border-radius: 999px; }
.tile:hover { color: #fff; }

/* Banda CTA ---------------------------------------------------------------- */
.cta-band { position: relative; isolation: isolate; padding-block: clamp(72px, 10vw, 128px); color: #fff; text-align: center; background: var(--green-900); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(10, 33, 26, .78) 0%, rgba(10, 33, 26, .5) 75%); }
.cta-band__inner { max-width: 760px; }
.cta-band .kicker { justify-content: center; }
.cta-band__title { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
.cta-band__text { color: rgba(255, 255, 255, .88); font-size: 1.08rem; }
.cta-band .hero__actions { justify-content: center; }

.cta-box { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--green-900) radial-gradient(circle at 100% 0, rgba(179, 0, 27, .25), transparent 55%); color: rgba(255, 255, 255, .86); }
.cta-box .kicker { color: var(--brand-on-dark); }
.cta-box__title { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.cta-box p:last-child { margin: 0; }
@media (min-width: 860px) { .cta-box { grid-template-columns: 1fr auto; } }

/* Cabecera de páginas interiores ------------------------------------------ */
.page-hero { position: relative; isolation: isolate; padding-block: clamp(56px, 8vw, 104px) clamp(44px, 6vw, 72px); color: #fff; background: var(--green-900) radial-gradient(circle at 85% 0, rgba(179, 0, 27, .22), transparent 50%); }
.page-hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 33, 26, .88), rgba(10, 33, 26, .45)); }
.page-hero__title { color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); max-width: 22ch; margin-bottom: .3em; }
.page-hero__text { max-width: 62ch; margin: 0; color: rgba(255, 255, 255, .85); font-size: 1.08rem; }
.breadcrumbs { margin-bottom: 18px; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-on-dark); }
.article__head .breadcrumbs, .article__head .breadcrumbs a { color: var(--muted); }

/* Filtros y paginación ----------------------------------------------------- */
.filter { display: flex; gap: 10px; margin: 0 calc(-1 * var(--gutter)) 32px; padding: 0 var(--gutter) 6px; overflow-x: auto; scrollbar-width: none; }
.filter::-webkit-scrollbar { display: none; }
.filter__chip { display: inline-flex; align-items: center; gap: .5em; flex-shrink: 0; padding: .55em 1.05em; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; transition: all .2s; }
.filter__chip:hover { border-color: var(--brand); color: var(--ink); }
.filter__chip[aria-current] { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.filter__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; font-size: .75rem; border-radius: 999px; background: var(--sand-2); color: var(--muted); }
.filter__chip[aria-current] .filter__count { background: var(--brand); color: #fff; }

.pagination { margin-top: 48px; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; color: var(--ink); text-decoration: none; }
.page-numbers.current { background: var(--green-900); border-color: var(--green-900); color: #fff; }
a.page-numbers:hover { border-color: var(--brand); color: var(--brand-text); }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* Ficha de tour ------------------------------------------------------------ */
.tour-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(460px, 70svh, 640px); color: #fff; background: var(--green-900); }
.tour-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 33, 26, .35) 0%, rgba(10, 33, 26, .1) 35%, rgba(10, 33, 26, .88) 100%); }
.tour-hero__inner { padding-block: 80px 40px; }
.tour-hero__title { color: #fff; font-size: clamp(2rem, 1.25rem + 3vw, 3.4rem); max-width: 22ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: .45em; padding: .45em .9em; font-weight: 700; font-size: .9rem; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; backdrop-filter: blur(6px); }
.chips .icon { color: var(--brand-on-dark); }
.chips__rating { color: var(--gold); gap: 2px !important; }
.tour-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.tour-layout { display: grid; gap: 40px; padding-block: clamp(32px, 5vw, 56px) clamp(56px, 7vw, 88px); }
@media (min-width: 1024px) { .tour-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; } }
.tour-main { min-width: 0; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius); }
.fact__icon { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--brand-text); box-shadow: var(--shadow-sm); }
.fact__label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact__value { font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.3; }

.tour-intro { margin-bottom: 28px; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 36px; }
.thumbs__item { padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--sand-2); }
.thumbs__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.thumbs__item:hover img { transform: scale(1.08); }

.tabs { border-top: 1px solid var(--line); }
.tabs__list { display: flex; gap: 4px; margin: 0 calc(-1 * var(--gutter)) 24px; padding: 0 var(--gutter); overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; position: sticky; top: var(--header-h); z-index: 5; background: #fff; }
.tabs__list::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .tabs__list { margin-inline: 0; padding: 0; } }
.tabs__tab { display: inline-flex; align-items: center; gap: .5em; flex-shrink: 0; padding: 16px 14px 14px; background: none; border: 0; border-bottom: 3px solid transparent; font-weight: 800; font-size: .92rem; color: var(--muted); }
.tabs__tab .icon { color: var(--brand-text); }
.tabs__tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); }
.tabs__tab:hover { color: var(--ink); }
.tabs__panel { padding-bottom: 32px; }
html.js .tabs__panel[hidden] { display: none; }
html:not(.js) .tabs__list { display: none; }
.panel-title { display: flex; align-items: center; gap: .5em; font-size: 1.35rem; margin-bottom: 18px; }
.panel-title .icon { color: var(--brand-text); }

.timeline { position: relative; display: grid; gap: 12px; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; border-left: 2px dashed var(--brand-100); }
.timeline__item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.timeline__item[open] { box-shadow: var(--shadow-sm); border-color: var(--brand-100); }
.timeline__item summary { display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 10px; cursor: pointer; list-style: none; font-weight: 800; color: var(--ink); }
.timeline__item summary::-webkit-details-marker { display: none; }
.timeline__dot { position: relative; z-index: 1; display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; margin-left: 0; font-size: .75rem; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 0 0 5px #fff; }
.timeline__title { flex: 1; line-height: 1.35; }
.timeline__chev { color: var(--muted); transition: transform .2s; }
.timeline__item[open] .timeline__chev { transform: rotate(180deg); }
.timeline__body { padding: 0 20px 18px 48px; }

.incl { display: grid; gap: 28px; }
@media (min-width: 760px) { .incl { grid-template-columns: 1fr 1fr; } }
.incl__col { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); }
.incl__col--yes { background: #F2F8F4; }
.incl__col--yes .panel-title .icon { color: var(--success); }
.incl__col--no { background: #FDF5F3; }
.incl__col--no .panel-title .icon { color: var(--danger); }
.incl .panel-title { font-size: 1.1rem; }
.incl ul { list-style: none; padding: 0; margin: 0; }
.incl li { position: relative; padding-left: 28px; margin-bottom: 10px; font-weight: 400 !important; }
.incl li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.incl__col--yes li::before { color: var(--success); --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.incl__col--no li::before { color: var(--danger); --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }

.accordion { display: grid; gap: 10px; }
.accordion__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.accordion__item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary .icon { color: var(--brand-text); transition: transform .2s; }
.accordion__item[open] summary .icon { transform: rotate(180deg); }
.accordion__item .prose { padding: 0 18px 16px; color: var(--text); }

.tour-aside { min-width: 0; }
@media (min-width: 1024px) { .tour-aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.book-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); box-shadow: var(--shadow); }
.book-card__price { margin-bottom: 16px; }
.book-card__price .price__amount { font-size: 2rem; }
.book-card__or { position: relative; margin: 18px 0; text-align: center; font-size: .82rem; font-weight: 700; color: var(--muted); }
.book-card__or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); }
.book-card__or span { position: relative; padding: 0 10px; background: #fff; }

.book-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(13, 42, 33, .4); }
@media (min-width: 1024px) { .book-bar { display: none; } }
@media (max-width: 1023px) { .single-tour { padding-bottom: 76px; } .single-tour .wa-float { bottom: 88px; } }

.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(6, 18, 14, .96); color: #fff; }
.lightbox::backdrop { background: rgba(6, 18, 14, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__slide { margin: 0; display: grid; justify-items: center; gap: 10px; }
.lightbox__slide img { max-width: 92vw; max-height: 82dvh; width: auto; object-fit: contain; border-radius: 10px; }
.lightbox__slide figcaption { font-size: .85rem; color: rgba(255, 255, 255, .7); }
.lightbox__close { position: fixed; top: 16px; right: 16px; z-index: 2; }
.lightbox__nav { position: fixed; top: 50%; z-index: 2; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

/* Formularios --------------------------------------------------------------- */
.inquiry { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field input, .field textarea, .search-form input {
	width: 100%; min-height: 48px; padding: 10px 14px; background: #fff;
	border: 1.5px solid var(--line); border-radius: 10px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .search-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(179, 0, 27, .18); }
.inquiry__note { margin: 0; text-align: center; font-size: .8rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 0; padding: 12px 14px; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.notice--success { background: #E8F5EE; color: var(--success); border: 1px solid #BFE3CF; }
.notice--error { background: #FDECEA; color: var(--danger); border: 1px solid #F6C9C3; }
.inquiry.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

.search-form { display: flex; gap: 8px; }
.search-form .btn { flex-shrink: 0; }
.search-box { max-width: 560px; margin: 0 auto 36px; }

/* Contacto ------------------------------------------------------------------ */
.contact { display: grid; gap: 40px; }
@media (min-width: 980px) { .contact { grid-template-columns: 1fr 1fr; gap: 56px; } }
.contact-cards { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
@media (min-width: 560px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--muted); text-decoration: none; font-size: .9rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); color: var(--muted); }
.contact-card strong { display: block; color: var(--ink); font-size: 1rem; }
.contact-card__icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand-text); }
.contact-card__icon--wa { background: #E7F9EE; color: #128C4A; }
.map { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; }
.contact__form { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Artículo y contenido ------------------------------------------------------ */
.article__head { padding-block: clamp(40px, 6vw, 72px) 28px; background: var(--sand); }
.article__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-weight: 600; font-size: .92rem; }
.article__meta .icon { color: var(--brand-text); }
.article__cover { margin-block: 0 clamp(28px, 4vw, 48px); }
.article__cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-lg); margin-top: -2px; }
.article__head + .article__cover { padding-top: 28px; background: linear-gradient(var(--sand) 50%, #fff 50%); width: 100%; padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); }
.article__cta { margin: 48px 0 72px; padding: 28px; border-radius: var(--radius-lg); background: var(--brand-50); border: 1px solid var(--brand-100); }
.article__cta h2 { font-size: 1.5rem; }

.prose { color: var(--text); }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose h4 { font-size: 1.08rem; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--brand-text); }
.prose img { border-radius: var(--radius); height: auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { margin-top: .6em; font-size: .85rem; color: var(--muted); text-align: center; }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--brand); background: var(--sand); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.08rem; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--sand); color: var(--ink); }
.prose iframe { width: 100%; border: 0; border-radius: var(--radius); }
.prose--article { font-size: 1.07rem; line-height: 1.75; }
.prose .wp-block-image img { margin-inline: auto; }
.prose .alignwide, .prose .alignfull { margin-inline: 0; }
.prose .wp-block-button__link { display: inline-flex; padding: .75em 1.35em; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800; text-decoration: none; }

/* Bloques de Gutenberg (sin global-styles del núcleo) */
.wp-block-columns { display: grid; gap: clamp(24px, 4vw, 56px); margin: 0 0 1.6em; }
@media (min-width: 782px) { .wp-block-columns { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
.wp-block-columns.are-vertically-aligned-center { align-items: center; }
.wp-block-column > *:first-child { margin-top: 0; }
.wp-block-column > *:last-child { margin-bottom: 0; }
.wp-block-image { margin: 0 0 1.4em; }
.wp-block-image img { border-radius: var(--radius-lg); }
.wp-block-embed { margin: 0 0 1.4em; }
.wp-block-embed__wrapper { position: relative; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius); }

/* Página "Nosotros" y bloques editoriales */
.flow > * + * { margin-top: clamp(48px, 7vw, 96px); }
.flow > .wp-block-columns { margin-bottom: 0; }
.ai-kicker { display: inline-flex; align-items: center; gap: .7em; margin-bottom: .6em !important; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-text); }
.ai-kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--brand); }
.ai-split h2, .ai-team h2 { font-size: clamp(1.75rem, 1.15rem + 2vw, 2.6rem); }
.ai-split p { font-size: 1.06rem; }
.ai-split .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.ai-team { padding: clamp(24px, 4vw, 48px); background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-lg); }
@media (min-width: 782px) { .ai-team { grid-auto-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.ai-team .wp-block-image { margin: 0; }
.ai-team .wp-block-image img { width: 100%; max-width: 320px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: var(--shadow); margin-inline: auto; }
.ai-role { font-weight: 800; color: var(--brand-text); }
.ai-quote { font-size: 1.15rem; font-style: italic; color: var(--ink); }

/* Declaración destacada (ESNNA) */
.ai-callout { position: relative; margin: 2em 0; padding: 26px 28px 26px 84px; border-radius: var(--radius-lg); background: var(--green-900); color: #fff; }
.ai-callout::before { content: ""; position: absolute; left: 24px; top: 26px; width: 40px; height: 40px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / 22px no-repeat; }
.ai-callout p { margin: 0; font-size: 1.12rem; font-weight: 800; line-height: 1.45; color: #fff; }
.wp-block-columns.ai-media-pair { align-items: start; }
.ai-media-pair .wp-block-image img { max-height: 520px; width: auto; margin-inline: auto; box-shadow: var(--shadow); }

/* Documento con índice (Términos) */
.doc { display: grid; gap: 32px; }
@media (min-width: 1000px) { .doc { grid-template-columns: 280px minmax(0, 760px); gap: 64px; justify-content: center; } }
.doc__toc nav { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sand); }
@media (min-width: 1000px) { .doc__toc nav { position: sticky; top: calc(var(--header-h) + 24px); } }
.doc__toc-title { margin: 0 0 10px; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-text); }
.doc__toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .92rem; }
.doc__toc a { color: var(--ink); text-decoration: none; }
.doc__toc a:hover { color: var(--brand-text); }
.doc__body h2 { padding-top: .4em; border-top: 1px solid var(--line); }
.doc__body h2:first-child { border-top: 0; padding-top: 0; }
.doc__updated { margin-top: 2.5em !important; font-size: .85rem; color: var(--muted); }

/* Galería */
.gallery-group + .gallery-group { margin-top: clamp(40px, 6vw, 72px); }
.gallery-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.gallery-group__head h2 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.masonry { columns: 1; column-gap: 16px; }
@media (min-width: 640px) { .masonry { columns: 2; } }
@media (min-width: 1100px) { .masonry { columns: 3; } }
.masonry__item { position: relative; display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); break-inside: avoid; cursor: zoom-in; }
.masonry__item img { width: 100%; transition: transform .5s var(--ease); }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: .85rem; font-weight: 700; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(10, 33, 26, .8)); opacity: 0; transition: opacity .25s; }
.masonry__item:hover .masonry__caption, .masonry__item:focus-visible .masonry__caption { opacity: 1; }
.lightbox__slide figcaption a { color: var(--brand); }

/* Blog: entrada destacada */
.post-featured { display: grid; margin-bottom: 40px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
@media (min-width: 900px) { .post-featured { grid-template-columns: 1.15fr 1fr; } }
.post-featured__media { display: block; min-height: 260px; overflow: hidden; }
.post-featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-featured:hover .post-featured__media img { transform: scale(1.04); }
.post-featured__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: clamp(24px, 4vw, 48px); }
.post-featured__title { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); }
.post-featured__title a { color: var(--ink); text-decoration: none; }
.post-featured__title a:hover { color: var(--brand-text); }
.post-featured__excerpt { margin: 0; color: var(--muted); }
.post-featured .post-card__meta { margin: 0; }

.kicker--light::before { background: var(--brand-on-dark); }

/* Autor ------------------------------------------------------------------- */
.byline { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; text-decoration: none; }
.byline__photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--brand-100); }
.byline__name { display: block; font-weight: 800; color: var(--ink); line-height: 1.2; }
.byline__job { display: block; font-size: .85rem; font-weight: 600; color: var(--brand-text); }
.byline:hover .byline__name { color: var(--brand-text); }

.author-box { display: grid; gap: 20px; align-items: start; margin: 48px 0 0; padding: clamp(22px, 3vw, 32px); background: var(--sand); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius-lg); }
@media (min-width: 640px) { .author-box { grid-template-columns: 120px 1fr; } }
.author-box__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow-sm); }
.author-box__name { margin: 0 0 4px; font-size: 1.4rem; }
.author-box__name a { color: var(--ink); text-decoration: none; }
.author-box__name a:hover { color: var(--brand-text); }
.author-box__job { display: flex; align-items: center; gap: .45em; margin: 0 0 12px; font-weight: 700; color: var(--brand-text); }
.author-box__bio { margin: 0 0 12px; color: var(--text); }
.article__cta { margin-top: 32px; }

.author-hero { padding-block: clamp(48px, 7vw, 88px); color: #fff; background: var(--green-900) radial-gradient(circle at 85% 0, rgba(179, 0, 27, .25), transparent 50%); }
.author-hero__inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 760px) { .author-hero__inner { grid-template-columns: 220px 1fr; gap: 48px; } }
.author-hero__photo { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 6px solid rgba(255, 255, 255, .15); box-shadow: var(--shadow); }
.author-hero__name { color: #fff; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); margin-bottom: .2em; }
.author-hero__job { display: flex; align-items: center; gap: .5em; margin: 0 0 18px; font-size: 1.1rem; font-weight: 700; color: var(--brand-on-dark); }
.author-bio { font-size: 1.1rem; }

.post-card__author { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .85rem; font-weight: 700; color: var(--ink); }
.post-card__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* Restos de Elementor en páginas antiguas */
.prose [class*="elementor-"] { max-width: 100%; }
.prose .elementor-background-overlay, .prose .elementor-shape, .prose .elementor-spacer, .prose .elementor-divider { display: none; }
.prose .elementor-widget-image img { margin-block: 1em; }
.prose .elementor-image-gallery .gallery, .prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.prose .gallery-item { margin: 0; }
.prose .gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prose .elementor-icon-list-items { padding-left: 1.2em; }

/* 404 ------------------------------------------------------------------------ */
.notfound { text-align: center; }
.notfound__code { margin: 0; font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--brand-100); }

/* Pie --------------------------------------------------------------------- */
.site-footer { background: var(--green-950); color: rgba(255, 255, 255, .72); font-size: .94rem; }
.site-footer__grid { display: grid; gap: 40px; padding-block: clamp(56px, 7vw, 88px) 40px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; } }
.site-footer__brand .brand__img { height: 76px; margin-bottom: 18px; }
.site-footer__title { position: relative; margin-bottom: 18px; padding-bottom: 12px; font-size: 1rem; color: #fff; letter-spacing: 0; }
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: var(--brand-on-dark); }
.site-footer__links, .site-footer__contact { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--brand-on-dark); }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { margin-top: .25em; color: var(--brand-on-dark); }
.social { display: flex; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s, color .2s; }
.social a:hover { background: var(--brand); color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 20px 90px; }
@media (min-width: 640px) { .site-footer__bottom-inner { padding-block: 20px; padding-right: 72px; } }
.site-footer__bottom p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -10px rgba(18, 140, 74, .7); transition: transform .2s var(--ease); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: wa-ring 2.4s ease-out infinite; }
@keyframes wa-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }

/* Movimiento reducido ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
