/* =========================================================================
   La Muela Rural · Croquis
   Un croquis de guía de escalada: papel, tinta, amarillo de vía.
   ========================================================================= */

:root {
	--paper: #fbfaf6;
	--stone: #f1ede2;
	--ink: #141414;
	--ink-soft: #3b3832;
	--yellow: #ffd400;
	--red: #d63a2c;
	--on-ink-soft: #d9d4c7;

	--f: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--cond: 68%;

	--t-hero: clamp(2.75rem, 1.4rem + 4.6vw, 5.75rem);
	--t-display: clamp(2.25rem, 1.3rem + 3.6vw, 4.5rem);
	--t-name: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
	--t-lede: clamp(1.1875rem, 1.05rem + .45vw, 1.4375rem);
	--t-body: clamp(1.0625rem, 1rem + .2vw, 1.125rem);
	--t-small: .9375rem;

	--rule: 3px solid currentColor;
	--gutter: clamp(16px, 3.6vw, 48px);
	--max: 1320px;
	--section: clamp(96px, 7vw + 48px, 168px);
	--header-h: 76px;
	--ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
	scrollbar-color: var(--ink) var(--stone);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--f);
	font-size: var(--t-body);
	line-height: 1.55;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

::selection { background: var(--yellow); color: var(--ink); }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

a {
	color: inherit;
	text-decoration-thickness: 2px;
	text-underline-offset: .2em;
}
a:hover { text-decoration-color: var(--yellow); }

:focus-visible {
	outline: 3px solid var(--ink);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px var(--yellow); /* taste-skill-ignore: anillo de foco, menú flotante o número sobre la foto */
}

h1, h2, h3, h4 { margin: 0; line-height: 1.05; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; /* taste-skill-ignore: texto solo para lectores de pantalla */
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px; top: -100px;
	z-index: 200;
	padding: 12px 18px;
	background: var(--yellow);
	color: var(--ink);
	font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Tipos ---------- */

.display,
.is-style-rotulo,
.unit__name,
.legend__name,
.topo__title {
	font-family: var(--f);
	font-stretch: var(--cond);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -.005em;
	line-height: .92;
}

.display,
h2.is-style-rotulo { font-size: var(--t-display); }
h1.is-style-rotulo { font-size: var(--t-hero); }
h3.is-style-rotulo { font-size: var(--t-name); }

.lede { font-size: var(--t-lede); line-height: 1.45; max-width: 34em; }

/* Círculos numerados: la clave del croquis */
.num {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 2.25rem; height: 2.25rem;
	border-radius: 50%;
	background: var(--ink);
	color: var(--paper);
	font-stretch: var(--cond);
	font-weight: 800;
	font-size: 1.125rem;
	line-height: 1;
	transition: background-color .25s var(--ease), color .25s var(--ease), transform .35s var(--ease);
}
.num--s { width: 1.75rem; height: 1.75rem; font-size: .9375rem; }
.num--l { width: 2.75rem; height: 2.75rem; font-size: 1.375rem; }

.tag {
	display: inline-block;
	padding: .2em .55em;
	background: var(--yellow);
	color: var(--ink);
	font-stretch: var(--cond);
	font-weight: 800;
	font-size: 1rem;
	line-height: 1.2;
	white-space: nowrap;
}

/* ---------- Botones ---------- */

.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	min-height: 52px;
	padding: .7em 1.25em;
	border: 3px solid var(--ink);
	border-radius: 0;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--f);
	font-stretch: var(--cond);
	font-weight: 800;
	font-size: 1.125rem;
	line-height: 1.1;
	letter-spacing: .01em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover,
.wp-block-button__link:hover { background: var(--yellow); color: var(--ink); }
.btn:active,
.wp-block-button__link:active { transform: translateY(2px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }

.btn--go,
.is-style-amarillo .wp-block-button__link {
	background: var(--yellow);
	border-color: var(--yellow);
	color: var(--ink);
}
.btn--go:hover,
.is-style-amarillo .wp-block-button__link:hover { background: var(--ink); border-color: var(--ink); color: var(--yellow); }

.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.btn--light { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); }

.btn--book { min-height: 46px; padding: .5em 1.1em; color: var(--yellow); }
.btn--book:hover { background: var(--yellow); color: var(--ink); }

.link {
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--yellow);
	text-decoration-thickness: 3px;
}

.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Cabecera ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--paper);
	border-bottom: var(--rule);
	color: var(--ink);
}
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
	max-width: none;
	padding-inline: var(--gutter);
}

.site-header__brand { flex: none; }
.site-header__brand img,
.custom-logo { width: auto; height: 46px; max-width: 230px; object-fit: contain; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-nav .menu > li { position: relative; display: flex; align-items: center; }
.site-nav .menu a {
	display: block;
	padding: 10px 10px;
	font-stretch: var(--cond);
	font-weight: 800;
	font-size: 1.0625rem;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-decoration: none;
	position: relative;
}
.site-nav .menu > li > a::after {
	content: "";
	position: absolute;
	left: 10px; right: 10px; bottom: 6px;
	height: .4em;
	z-index: -1;
	background: var(--yellow);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--ease);
}
.site-nav .menu > li > a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current-menu-ancestor > a::after,
.site-nav .current_page_item > a::after { transform: none; }
.site-nav .menu > li { isolation: isolate; }

.site-nav .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 240px;
	margin: 0; padding: 8px 0;
	list-style: none;
	background: var(--paper);
	border: var(--rule);
	box-shadow: 0 12px 24px rgba(20, 20, 20, .14); /* taste-skill-ignore: anillo de foco, menú flotante o número sobre la foto */
	opacity: 0; visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.site-nav .sub-menu a { padding: 10px 18px; font-size: 1rem; }
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu,
.site-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.sub-toggle {
	display: grid; place-items: center;
	width: 28px; height: 28px; margin-left: -6px;
	padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
}
.sub-toggle .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.site-nav__contact { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-wa {
	display: grid; place-items: center;
	width: 46px; height: 46px;
	border: var(--rule);
	color: var(--ink);
	transition: background-color .2s var(--ease);
}
.header-wa:hover { background: var(--yellow); }

.nav-toggle {
	display: none;
	width: 46px; height: 46px;
	padding: 0;
	border: var(--rule);
	background: var(--paper);
	color: var(--ink);
	cursor: pointer;
}
.nav-toggle .icon { margin: auto; }
.nav-toggle__close { display: none; }

/* ---------- Portada croquis ---------- */

.topo {
	display: grid;
	grid-template-columns: minmax(0, 1.62fr) minmax(380px, 1fr);
	border-bottom: var(--rule);
	background: var(--paper);
}

.topo__plate {
	position: relative;
	margin: 0;
	aspect-ratio: 8 / 7;
	align-self: start;
	overflow: hidden;
	background: var(--stone);
	border-right: var(--rule);
}
.topo__img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.topo__lines {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	overflow: visible;
	pointer-events: none;
}
.topo__halo,
.topo__line {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.topo__halo { stroke: rgba(20, 20, 20, .7); stroke-width: 1.15; }
.topo__line {
	stroke: var(--red);
	stroke-width: .62;
	stroke-dasharray: 1;
	stroke-dashoffset: 0;
	transition: stroke .25s var(--ease), stroke-width .25s var(--ease);
}
.topo__line.is-active { stroke: var(--yellow); stroke-width: .8; }
.topo__line[data-unit="1"]:not(.is-active),
.topo__line[data-unit="3"]:not(.is-active) { stroke: var(--paper); }

.topo__pin {
	position: absolute;
	transform: translate(-50%, -50%);
	z-index: 2;
	display: block;
	padding: 6px;
	text-decoration: none;
}
.topo__pin .num {
	width: 2.75rem; height: 2.75rem;
	font-size: 1.375rem;
	outline: 3px solid var(--paper);
}
.topo__pin:hover .num,
.topo__pin.is-active .num { background: var(--yellow); color: var(--ink); transform: scale(1.15); }

.topo__caption {
	position: absolute;
	left: 0; top: 0;
	padding: 6px 16px 6px var(--gutter);
	background: var(--paper);
	color: var(--ink);
	font-size: .875rem;
	font-weight: 500;
}

.topo__key {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: clamp(24px, 2.6vw, 44px) var(--gutter) clamp(24px, 2.6vw, 40px) clamp(24px, 2.6vw, 44px);
}
.topo__title { font-size: clamp(2.5rem, 1.2rem + 3.3vw, 4.75rem); }
.topo__lede { margin: 0; font-size: var(--t-body); color: var(--ink-soft); max-width: 36em; }

.legend { margin: 0; padding: 0; list-style: none; border-bottom: var(--rule); }
.legend__row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 14px;
	row-gap: 2px;
	padding: 9px 10px;
	border-top: var(--rule);
	transition: background-color .25s var(--ease);
}
.legend__row.is-active { background: var(--yellow); }
.legend__row.is-active .num { background: var(--ink); color: var(--yellow); }
.legend__row.is-active .tag { background: var(--ink); color: var(--yellow); }
.legend__name {
	font-size: 1.625rem;
	text-decoration: none;
}
.legend__name::after { content: ""; position: absolute; inset: 0; }
.legend__row { position: relative; }
.legend__more {
	grid-column: 2 / -1;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2px 12px;
	font-size: var(--t-small);
	color: var(--ink-soft);
}
.legend__price strong { color: var(--ink); font-weight: 800; }

/* ---------- Buscador ---------- */

.search {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	align-items: end;
}
.search__title { grid-column: 1 / -1; margin: 0; font-weight: 700; font-size: 1.125rem; }
.search__field { display: grid; gap: 6px; grid-column: span 2; min-width: 0; }
.search__field label { font-size: .9375rem; font-weight: 600; }
.search input,
.search select {
	width: 100%;
	min-width: 0;
	min-height: 52px;
	padding: 0 12px;
	border: 2px solid var(--ink);
	border-radius: 0;
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 1.0625rem;
	font-variant-numeric: tabular-nums;
	accent-color: var(--ink);
	appearance: none;
}
.search select {
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 18px;
}
.search input:hover,
.search select:hover { background-color: #fff; }
.search input::-webkit-calendar-picker-indicator { cursor: pointer; }
.search__go { grid-column: 1 / -1; min-height: 58px; font-size: 1.25rem; }
.search__msg { grid-column: 1 / -1; margin: 0; min-height: 0; font-weight: 600; }
.search__msg:empty { display: none; }
.search__msg.is-error { color: var(--red); }
.search__perk {
	grid-column: 1 / -1;
	margin: 0;
	font-weight: 700;
	display: flex;
	gap: 8px;
	align-items: baseline;
}
.search__perk::before { content: ""; flex: none; width: .7em; height: .7em; background: var(--yellow); outline: 2px solid var(--ink); }

/* Portada: fechas y huéspedes en una fila; alojamiento junto al botón */
.search--topo { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.search--topo .search__field { grid-column: span 4; }
.search--topo .search__field--guests { grid-column: span 4; }
.search--topo .search__field--unit { grid-column: span 5; order: 5; }
.search--topo .search__go { grid-column: span 7; order: 6; }
.search--topo .search__msg,
.search--topo .search__perk { order: 7; }
.search--topo .search__field--guests select { padding-inline: 10px 28px; background-position: right 6px center; }

/* Banda amarilla */
.search--band .search__field--unit { grid-column: span 2; }
.search--band .search__field { grid-column: span 1; }
.search--band .search__field--unit + .search__field,
.search--band .search__field--unit ~ .search__field:not(.search__field--guests) { grid-column: span 1; }
.search--band { grid-template-columns: 1.4fr 1fr 1fr .7fr 1.3fr; }
.search--band .search__field,
.search--band .search__field--unit { grid-column: auto; }
.search--band .search__go { grid-column: auto; background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.search--band .search__go:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.search--band input,
.search--band select { background-color: var(--paper); }

/* Panel lateral */
.search--panel .search__field { grid-column: span 3; }
.search--panel .search__field--unit,
.search--panel .search__field--guests { grid-column: 1 / -1; }

/* ---------- Secciones ---------- */

.section-head {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 24px 64px;
	align-items: end;
	margin-bottom: clamp(48px, 5vw, 80px);
}
.section-head__text { margin: 0; font-size: var(--t-lede); line-height: 1.45; }

/* Fichas */
.units { padding-block: var(--section); }
.units__list { margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(56px, 6vw, 96px); }
.unit {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 64px);
	padding-top: 28px;
	border-top: var(--rule);
}
.unit__media { position: relative; display: block; align-self: start; margin-bottom: 28px; }
.unit__img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform .8s var(--ease);
}
.unit__media:hover .unit__img { transform: scale(1.02); }
.unit__img2 {
	position: absolute;
	right: -12px; bottom: -28px;
	width: 34%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 8px solid var(--paper);
}
.unit__name { display: flex; align-items: flex-start; gap: 16px; font-size: var(--t-name); margin-bottom: 12px; }
.unit__name .num { margin-top: -.08em; }
.unit-page__title .num { width: clamp(2.5rem, 1.8rem + 1.6vw, 3.5rem); height: auto; aspect-ratio: 1; font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); margin-top: .12em; }
.unit__name a { text-decoration: none; }
.unit__name a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 6px; }
.unit__view { font-size: 1.1875rem; font-weight: 600; margin-bottom: 20px; }
.unit__view--l { font-size: var(--t-lede); }
.unit__text { color: var(--ink-soft); max-width: 34em; }

.specs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 0 0 22px;
	padding: 16px 0;
	list-style: none;
	border-block: var(--rule);
}
.specs li { display: flex; align-items: baseline; gap: 8px; font-size: 1.0625rem; }
.specs .icon { align-self: center; width: 22px; height: 22px; }
.specs strong { font-stretch: var(--cond); font-weight: 800; font-size: 1.75rem; line-height: 1; }

.unit__foot { display: grid; gap: 16px; margin-top: 8px; }
.unit__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.price strong { font-stretch: var(--cond); font-weight: 800; font-size: 2.5rem; line-height: 1; }
.price small { flex-basis: 100%; font-size: var(--t-small); color: var(--ink-soft); margin-top: 4px; }
.price--l strong { font-size: 3.25rem; }

.rating { display: flex; align-items: center; gap: 8px; margin: 0; }
.rating .icon { fill: var(--yellow); stroke: var(--ink); }
.rating strong { font-stretch: var(--cond); font-weight: 800; font-size: 1.5rem; }
.rating span { color: var(--ink-soft); }

/* Capítulos (bloques del editor) */
.entry--designed > .wp-block-group,
.entry--designed > .alignfull { margin-block: 0; }

.wp-block-group.alignfull { padding-block: var(--section); padding-inline: var(--gutter); }
.wp-block-group.alignfull > * { max-width: calc(var(--max) - 2 * var(--gutter)); margin-inline: auto; padding-inline: 0; }

.is-style-campo-tinta { background: var(--ink); color: var(--paper); }
.is-style-campo-tinta a:not(.wp-block-button__link):not(.btn) { color: var(--yellow); }
.is-style-campo-tinta .wp-block-button__link:not(.is-style-amarillo *) { background: transparent; border-color: var(--paper); color: var(--paper); }
.is-style-campo-tinta .wp-block-button__link:not(.is-style-amarillo *):hover { background: var(--paper); color: var(--ink); }
.is-style-campo-tinta .is-style-amarillo .wp-block-button__link { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.is-style-campo-tinta .is-style-amarillo .wp-block-button__link:hover { background: var(--paper); border-color: var(--paper); }
.is-style-campo-tinta :focus-visible { outline-color: var(--yellow); box-shadow: none; } /* taste-skill-ignore: quita sombra */
.is-style-campo-piedra { background: var(--stone); }
.is-style-campo-amarillo { background: var(--yellow); color: var(--ink); }

.wp-block-columns {
	display: flex;
	gap: clamp(32px, 5vw, 80px);
	margin: 0;
}
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column[style*="flex-basis"] { flex-grow: 0; }
.are-vertically-aligned-center { align-items: center; }
.are-vertically-aligned-bottom { align-items: flex-end; }
.wp-block-column.is-vertically-aligned-center { align-self: center; }
.wp-block-column.is-vertically-aligned-bottom { align-self: flex-end; }

.chapter .wp-block-heading { margin-bottom: 24px; }
.chapter p { max-width: 34em; }
.chapter--hike .wp-block-image { margin-top: 36px; }
.chapter--hike + .chapter--rest { border-top: var(--rule); }
.chapter--hike { padding-bottom: clamp(72px, 5vw, 112px); }
.chapter--hike + .chapter--rest { padding-top: clamp(72px, 5vw, 112px); }

.wp-block-image { margin: 0; }
.wp-block-image.is-style-croquis img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.wp-block-image figcaption,
.wp-element-caption {
	margin-top: 10px;
	font-size: var(--t-small);
	font-weight: 600;
}

/* Listas de croquis */
.is-style-croquis.wp-block-list,
ul.is-style-croquis,
ol.is-style-croquis {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	border-bottom: var(--rule);
	counter-reset: topo;
}
.is-style-croquis.wp-block-list > li {
	position: relative;
	padding: 14px 0 14px 34px;
	border-top: var(--rule);
	font-size: 1.125rem;
}
ul.is-style-croquis > li::before {
	content: "";
	position: absolute;
	left: 0; top: 1.15em;
	width: 14px; height: 14px;
	background: var(--yellow);
	outline: 2px solid currentColor;
}
ol.is-style-croquis.wp-block-list > li { counter-increment: topo; padding-left: 56px; }
ol.is-style-croquis > li::before {
	content: counter(topo);
	position: absolute;
	left: 0; top: 10px;
	display: grid; place-items: center;
	width: 2.1rem; height: 2.1rem;
	border-radius: 50%;
	background: var(--ink);
	color: var(--paper);
	font-stretch: var(--cond);
	font-weight: 800;
}
.is-style-campo-tinta ol.is-style-croquis > li::before { background: var(--yellow); color: var(--ink); }

/* Tablas de croquis (rutas, datos) */
.wp-block-table { margin: 0; overflow-x: auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; }
.is-style-croquis table { font-size: 1.0625rem; }
.is-style-croquis thead th {
	padding: 0 16px 12px 0;
	border: 0;
	border-bottom: var(--rule);
	text-align: left;
	font-stretch: var(--cond);
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.is-style-croquis td {
	padding: 16px 16px 16px 0;
	border: 0;
	border-bottom: 1px solid currentColor;
	vertical-align: top;
	overflow-wrap: break-word;
	hyphens: auto;
}
.is-style-croquis td:first-child { font-weight: 700; }
.is-style-croquis td:last-child,
.is-style-croquis th:last-child { padding-right: 0; }
.is-style-croquis tfoot td { border: 0; }
.is-style-croquis td:not(:first-child) strong {
	display: inline-block;
	padding: .15em .5em;
	background: var(--yellow);
	color: var(--ink);
	font-stretch: var(--cond);
	font-weight: 800;
	white-space: nowrap;
}
.is-style-croquis td:first-child a {
	font-stretch: var(--cond);
	font-weight: 800;
	font-size: 1.3125rem;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.1;
}
.is-style-croquis td:first-child a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; }
.is-style-croquis.wp-block-table table.has-fixed-layout { table-layout: auto; }

/* Datos grandes (escalada) */
.facts { padding-block: clamp(56px, 5vw, 88px) !important; }
.facts .is-style-croquis tbody { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts .is-style-croquis tr { display: grid; gap: 6px; border-top: var(--rule); padding-top: 14px; }
.facts .is-style-croquis td { border: 0; padding: 0; font-weight: 500; }
.facts .is-style-croquis td strong { font-stretch: var(--cond); font-weight: 800; font-size: clamp(2.75rem, 1.8rem + 2.6vw, 4.5rem); line-height: .95; }

/* Cabecera de páginas interiores */
.page-hero { padding-top: clamp(40px, 4vw, 72px) !important; padding-bottom: clamp(56px, 6vw, 96px) !important; border-bottom: var(--rule); }
.page-hero .wp-block-heading { margin-bottom: 20px; }
.page-hero .lede { margin: 0; }
.page-hero--text { padding-bottom: clamp(40px, 4vw, 64px) !important; }
.page-hero--text > * { max-width: var(--max); }

.prose-band .wp-block-heading { margin-bottom: 20px; }
.prose-band .wp-block-heading:not(:first-child) { margin-top: 48px; }

.routes .wp-block-heading { margin-bottom: 28px; }
.routes .wp-block-table + .wp-block-heading { margin-top: clamp(56px, 6vw, 96px); }

.page-head { padding-top: clamp(40px, 4vw, 72px); padding-bottom: clamp(32px, 3vw, 56px); }
.page-head .display { font-size: var(--t-hero); margin-bottom: 18px; }
.page-head--404 { padding-bottom: var(--section); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.prose { max-width: 46rem; padding-bottom: var(--section); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-stretch: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 2rem; margin-top: 1.6em; }
.prose h3 { font-weight: 800; font-size: 1.375rem; margin-top: 1.4em; }
.prose img { margin-block: 1.5em; }
.article__media { margin: 0 auto 48px; }
.article__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.unit-page__text.prose { padding-bottom: 0; }

/* Reseñas */
.reviews { padding-block: var(--section); border-top: var(--rule); }
.reviews__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); }
.reviews__score { display: grid; margin: 28px 0 12px; }
.reviews__score strong { font-stretch: var(--cond); font-weight: 800; font-size: clamp(4rem, 3rem + 4vw, 7rem); line-height: .9; }
.reviews__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.review { border-top: var(--rule); padding-top: 18px; }
.review blockquote { margin: 0 0 12px; font-size: 1.25rem; line-height: 1.45; }
.review__by { margin: 0; color: var(--ink-soft); }

/* Webcam */
.cam { padding-block: var(--section); }
.cam--compact.is-style-campo-tinta .cam__text p { color: var(--on-ink-soft); }
.cam__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cam__frame { position: relative; display: block; overflow: hidden; }
.cam__frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease); }
.cam__frame:hover img { transform: scale(1.03); }
.cam__text .display { margin-bottom: 20px; }
.cam__text p { font-size: var(--t-lede); line-height: 1.45; margin-bottom: 28px; }
.cam__live {
	position: absolute;
	left: 16px; top: 16px;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 12px;
	background: var(--red);
	color: #fff;
	font-weight: 700;
	font-size: .9375rem;
}
.cam__live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: live 1.6s ease-in-out infinite; }
@keyframes live { 50% { opacity: .25; } }
.cam--full .display { margin-bottom: 32px; }
.cam__stage { position: relative; background: var(--ink); }
.cam__stage img,
.cam__stage iframe { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 0; }
.cam__after { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 20px; font-size: var(--t-lede); }

/* Banda de reserva */
.booking-band { background: var(--yellow); color: var(--ink); padding-block: clamp(72px, 6vw, 120px); }
.booking-band__title { margin-bottom: 16px; max-width: 18ch; }
.booking-band__text { font-size: var(--t-lede); max-width: 36em; margin-bottom: 32px; }
.booking-band .search { margin-top: 32px; }
.booking-band__text + .search { margin-top: 0; }
.booking-band :focus-visible { box-shadow: 0 0 0 6px var(--paper); } /* taste-skill-ignore: anillo de foco, menú flotante o número sobre la foto */

/* Contacto */
.contact { padding-block: clamp(56px, 5vw, 96px) var(--section); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__big { margin: 32px 0 0; padding: 0; list-style: none; border-bottom: var(--rule); }
.contact__big li { border-top: var(--rule); }
.contact__big a { display: flex; align-items: center; gap: 18px; padding: 18px 0; text-decoration: none; font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); font-weight: 700; }
.contact__big a:hover { background: var(--yellow); }
.contact__big .icon { width: 30px; height: 30px; }
.contact__label { display: block; font-size: var(--t-small); font-weight: 500; color: var(--ink-soft); }
.contact__addr { display: flex; gap: 10px; align-items: center; margin-top: 24px; }
.search--panel { padding: 28px; border: var(--rule); background: var(--paper); }

/* ---------- Ficha de alojamiento ---------- */

.unit-gallery {
	position: relative;
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 6px;
	height: min(68vh, 680px);
	min-height: 380px;
	border-bottom: var(--rule);
	background: var(--ink);
}
.unit-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.unit-gallery--2 { grid-template-rows: 1fr; }
.unit-gallery__item { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; min-height: 0; }
.unit-gallery__item:first-child { grid-row: 1 / -1; }
.unit-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.unit-gallery__item:hover img { transform: scale(1.03); }
.unit-gallery__all { position: absolute; right: 20px; bottom: 20px; background: var(--paper); border-color: var(--ink); color: var(--ink); }
.unit-gallery__all:hover { background: var(--yellow); }
.unit-gallery template { display: none; }

.unit-page__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
	gap: clamp(40px, 6vw, 96px);
	padding-top: clamp(40px, 4vw, 64px);
	padding-bottom: var(--section);
}
.unit-page__title { display: flex; align-items: flex-start; gap: .25em; font-size: var(--t-hero); margin-bottom: 16px; }
.unit-page__beds { display: flex; gap: 10px; align-items: center; font-weight: 600; margin-bottom: 32px; }
.unit-block { margin-top: 56px; }
.h-rule { padding-top: 14px; border-top: var(--rule); font-stretch: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; margin-bottom: 18px; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; background: var(--yellow); outline: 2px solid var(--ink); }
.checklist--plain { grid-template-columns: 1fr; }
.times { display: flex; gap: 40px; margin: 0 0 20px; }
.times dt { font-weight: 600; color: var(--ink-soft); }
.times dd { margin: 0; font-stretch: var(--cond); font-weight: 800; font-size: 1.75rem; }

.unit-page__side { position: relative; }
.book-panel {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	display: grid;
	gap: 18px;
	padding: 28px;
	border: var(--rule);
	background: var(--paper);
}
.admin-bar .book-panel { top: calc(var(--header-h) + 56px); }
.book-panel .search--panel { padding: 0; border: 0; }
.book-panel__title { margin: 0; font-stretch: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 1; }
.book-panel__contact { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.book-panel__contact a { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }

.units--others { border-top: var(--rule); }

/* Visor de fotos: foto a pantalla completa sobre su propio reflejo desenfocado */
.lightbox {
	width: 100vw; height: 100dvh;
	max-width: none; max-height: none;
	margin: 0; padding: 0;
	border: 0;
	background: #000;
	color: #fff;
	overflow: hidden;
}
.lightbox::backdrop { background: #000; }
.lightbox[open] { animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }
.lb-open body { overflow: hidden; }
.lb { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); height: 100%; width: 100%; isolation: isolate; }
.lb__ambient { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.lb__ambient img { width: 100%; height: 100%; object-fit: cover; filter: blur(48px) saturate(1.3) brightness(.38); transform: scale(1.25); transition: opacity .5s var(--ease); }
.lb__progress { position: absolute; left: 0; right: 0; top: 0; z-index: 3; display: flex; gap: 3px; height: 3px; }
.lb__progress span { flex: 1; background: rgba(255, 255, 255, .22); transition: background-color .3s var(--ease); }
.lb__progress span.is-done { background: var(--yellow); }
.lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 10px var(--gutter); }
.lb__title { margin: 0; font-stretch: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 1.125rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.lb__count { white-space: nowrap; margin-left: 12px; font-stretch: 100%; font-weight: 500; text-transform: none; color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; }
.lb__tools { display: flex; gap: 8px; }
.lb__tool { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.lb__tool:hover,
.lb__tool[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; padding: 4px clamp(72px, 7vw, 128px); touch-action: pan-y; }
.lb__frame { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; cursor: zoom-in; }
.lb__img {
	display: block;
	max-width: 100%;
	max-height: calc(100dvh - 210px);
	width: auto; height: auto;
	object-fit: contain;
	user-select: none; -webkit-user-drag: none;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .55); /* taste-skill-ignore: la foto flota sobre su reflejo */
	transition: transform .45s var(--ease);
}
.is-zoomed .lb__frame { cursor: zoom-out; }
.is-zoomed .lb__img { transform: scale(2.2); }
.lb__arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	display: grid; place-items: center;
	width: 60px; height: 60px;
	border: 0; background: rgba(0, 0, 0, .35); color: #fff;
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), opacity .35s var(--ease);
}
.lb__arrow:hover { background: var(--yellow); color: var(--ink); }
.lb__arrow--prev { left: clamp(8px, 2vw, 32px); }
.lb__arrow--next { right: clamp(8px, 2vw, 32px); }
.lb__arrow--prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb__arrow--next:hover { transform: translateY(-50%) translateX(3px); }
.lb__arrow .icon { width: 28px; height: 28px; }
.icon-flip { display: grid; transform: scaleX(-1); }
.lb__foot { padding: 6px 0 16px; }
.lb__caption { margin: 0 auto 8px; padding-inline: var(--gutter); text-align: center; color: rgba(255, 255, 255, .8); font-size: var(--t-small); }
.lb__caption[hidden] { display: none; }
.lb__thumbs { display: flex; align-items: flex-end; gap: 6px; overflow-x: auto; padding: 8px var(--gutter) 4px; scrollbar-width: none; justify-content: safe center; }
.lb__thumbs::-webkit-scrollbar { display: none; }
.lb__thumb { position: relative; flex: none; width: 72px; height: 52px; padding: 0; border: 0; background: none; cursor: pointer; opacity: .45; transition: opacity .25s var(--ease), width .3s var(--ease), height .3s var(--ease); }
.lb__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb__thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: var(--yellow); transform: scaleX(0); transition: transform .3s var(--ease); }
.lb__thumb:hover { opacity: .85; }
.lb__thumb.is-current { opacity: 1; width: 96px; height: 64px; }
.lb__thumb.is-current::after { transform: none; }
.lb__chrome { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.is-idle .lb__chrome { opacity: 0; pointer-events: none; }
.is-idle .lb__bar { transform: translateY(-8px); }
.is-idle .lb__foot { transform: translateY(8px); }
.is-idle .lb__frame { cursor: none; }
.lightbox :focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; box-shadow: none; } /* taste-skill-ignore: quita sombra */
@media (max-width: 700px) {
	.lb__stage { padding: 0; }
	.lb__img { max-height: calc(100dvh - 190px); box-shadow: none; }
	.lb__arrow { width: 44px; height: 44px; }
	.lb__thumb { width: 54px; height: 40px; }
	.lb__thumb.is-current { width: 66px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.lb__img, .lb__chrome, .lb__thumb { transition: none; }
}

/* ---------- Blog ---------- */

.posts { margin: 0 0 64px; padding: 0; list-style: none; border-bottom: var(--rule); }
.post-row { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; padding: 28px 0; border-top: var(--rule); }
.post-row__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-row__title { font-stretch: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; margin-bottom: 6px; }
.post-row__title a { text-decoration: none; }
.post-row__meta { color: var(--ink-soft); font-size: var(--t-small); }
.pagination { padding-bottom: var(--section); }

/* ---------- Pie ---------- */

.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(64px, 6vw, 112px); overflow: hidden; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer :focus-visible { outline-color: var(--yellow); box-shadow: none; } /* taste-skill-ignore: quita sombra */
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer__claim { font-stretch: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 1.2rem + .9vw, 2.25rem); line-height: .95; margin-bottom: 24px; }
.site-footer .site-footer__book .btn--go { color: var(--ink); }
.site-footer__book .btn--go:hover { background: var(--paper); border-color: var(--paper); }
.site-footer__h { font-stretch: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 1.125rem; letter-spacing: .02em; margin-bottom: 16px; color: var(--yellow); }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.topo-mini a { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.topo-mini .num { background: var(--paper); color: var(--ink); }
.topo-mini a:hover .num { background: var(--yellow); }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list a { display: inline-flex; gap: 10px; align-items: center; }
.site-footer__name {
	margin-top: clamp(56px, 6vw, 96px);
	font-stretch: 62%;
	font-weight: 900;
	text-transform: uppercase;
	font-size: clamp(2rem, 5.6vw, 6.25rem);
	line-height: .86;
	text-align: left;
	letter-spacing: -.02em;
	color: var(--yellow);
	white-space: nowrap;
}
.site-footer__legal { padding-block: 24px 32px; font-size: var(--t-small); color: var(--on-ink-soft); text-align: left; }
.site-footer__legal p { margin: 0; }

/* Barra de reserva del móvil */
.bookbar { display: none; }

/* ---------- Editor: avisos ---------- */
.editor-note { padding: 14px 18px; border: 2px dashed var(--ink-soft); background: var(--stone); color: var(--ink); font-size: 1rem; }

/* ---------- Animación ---------- */

.js .topo__line { stroke-dashoffset: 1; }
.js .topo.is-drawn .topo__line { animation: draw 1.4s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 140ms + 200ms); }
.js .topo__pin { opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.js .topo.is-drawn .topo__pin { opacity: 1; transform: translate(-50%, -50%); transition-delay: calc(var(--i, 0) * 140ms + 900ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.js [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s var(--ease), transform .9s var(--ease);
	transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .topo__line { stroke-dashoffset: 0; }
	.js .topo__pin { opacity: 1; transform: translate(-50%, -50%); }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
	.site-nav .menu a { padding-inline: 7px; font-size: 1rem; }
	.topo { grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); }
	.search--band { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.search--band .search__field--unit { grid-column: 1 / -1; }
	.search--band .search__go { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
	:root { --header-h: 66px; }

	.nav-toggle { display: grid; }
	.site-header__actions { margin-left: auto; }
	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		z-index: 99;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		margin: 0;
		padding: 16px var(--gutter) 120px;
		background: var(--paper);
		border-top: var(--rule);
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-12px);
		transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .3s;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 46px)); }
	.nav-open .site-nav { visibility: visible; opacity: 1; transform: none; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.nav-open body { overflow: hidden; }

	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu > li { flex-wrap: wrap; border-bottom: var(--rule); }
	.site-nav .menu > li > a { flex: 1; padding: 16px 0; font-size: 1.875rem; }
	.site-nav .menu > li > a::after { left: 0; right: auto; width: 3em; bottom: 14px; }
	.sub-toggle { width: 52px; height: 52px; margin: 0; }
	.sub-toggle .icon { width: 26px; height: 26px; }
	.site-nav .sub-menu {
		position: static;
		flex-basis: 100%;
		display: none;
		min-width: 0;
		padding: 0 0 12px;
		border: 0;
		box-shadow: none; /* taste-skill-ignore: quita sombra */
		opacity: 1; visibility: visible; transform: none;
		background: none;
	}
	.site-nav li.is-open > .sub-menu { display: block; }
	.site-nav li:hover > .sub-menu:not(.is-open *) { display: none; }
	.site-nav li.is-open:hover > .sub-menu { display: block; }
	.site-nav .sub-menu a { padding: 10px 0 10px 16px; font-size: 1.25rem; }

	.site-nav__contact { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
	.site-nav__contact a { display: flex; gap: 12px; align-items: center; font-size: 1.25rem; font-weight: 700; text-decoration: none; padding: 8px 0; }

	.topo { grid-template-columns: 1fr; }
	.topo__plate { border-right: 0; border-bottom: var(--rule); }
	.topo__key { padding: 32px var(--gutter) 40px; }
	.topo__title { font-size: clamp(2.5rem, 1.5rem + 5vw, 4.5rem); }

	.unit-page__grid { grid-template-columns: 1fr; }
	.book-panel { position: static; }
	.unit-page__side { order: -1; }
	.unit-page__side { order: 0; }
}

@media (max-width: 900px) {
	body { padding-bottom: 68px; }

	.header-wa { display: none; }
	.btn--book { display: none; }

	.bookbar {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 90;
		display: flex;
		gap: 0;
		background: var(--ink);
		border-top: 3px solid var(--ink);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.bookbar a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		min-height: 62px;
		color: var(--paper);
		text-decoration: none;
		font-stretch: var(--cond);
		font-weight: 800;
		font-size: 1.25rem;
		text-transform: uppercase;
	}
	.bookbar__main { flex: 1; background: var(--yellow); color: var(--ink) !important; }
	.bookbar__icon { width: 66px; }
	.bookbar__icon .icon { width: 26px; height: 26px; }

	.section-head { grid-template-columns: 1fr; }
	.unit { grid-template-columns: 1fr; }
	.unit__img2 { right: 0; width: 34%; border-width: 6px; }

	.wp-block-columns { flex-direction: column; }
	.wp-block-column,
	.wp-block-column[style*="flex-basis"] { flex-basis: auto !important; width: 100%; }
	.page-hero .wp-block-column:last-child { order: -1; }

	.facts .is-style-croquis tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.reviews__grid,
	.reviews__list,
	.cam__grid,
	.contact__grid { grid-template-columns: 1fr; }

	.search--band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.search--band .search__field--guests { grid-column: 1 / -1; }

	.unit-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: auto; aspect-ratio: 1 / 1; min-height: 0; }
	.unit-gallery__item:first-child { grid-column: 1 / -1; grid-row: auto; }
	.unit-gallery--1 { aspect-ratio: 4 / 3; grid-template-rows: 1fr; }
	.unit-gallery--2 { grid-template-rows: 1fr; aspect-ratio: 4 / 3; }
	.unit-gallery--2 .unit-gallery__item:first-child { grid-column: auto; }
	.unit-gallery__all { right: 12px; bottom: 12px; min-height: 44px; font-size: 1rem; }

	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__book { grid-column: 1 / -1; }
	.post-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.site-header__brand img,
	.custom-logo { height: 36px; max-width: 180px; }
	.topo__pin .num { width: 2.25rem; height: 2.25rem; font-size: 1.125rem; }
	.legend__name { font-size: 1.4375rem; }
	.legend__row { padding-inline: 4px; }
	.search--panel .search__field { grid-column: span 3; }
	.search--topo .search__field { grid-column: span 6; order: 3; }
	.search--topo .search__field--unit { grid-column: span 8; order: 1; }
	.search--topo .search__field--guests { grid-column: span 4; order: 2; }
	.search--topo .search__go { grid-column: 1 / -1; order: 6; }
	.checklist { grid-template-columns: 1fr; }
	.times { gap: 28px; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.specs { gap: 10px 20px; }
	.specs strong { font-size: 1.5rem; }
	.is-style-croquis td:first-child a { font-size: 1.125rem; }
	/* Rutas en el móvil: cada ruta es una fila de leyenda con sus datos debajo */
	.routes .is-style-croquis thead,
	.chapter--hike .is-style-croquis thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.routes .is-style-croquis :is(table, tbody, tr, td),
	.chapter--hike .is-style-croquis :is(table, tbody, tr, td) { display: block; }
	.routes .is-style-croquis tr,
	.chapter--hike .is-style-croquis tr { padding: 14px 0; border-bottom: 1px solid currentColor; }
	.routes .is-style-croquis tbody,
	.chapter--hike .is-style-croquis tbody { border-top: var(--rule); }
	.routes .is-style-croquis td,
	.chapter--hike .is-style-croquis td { display: inline; padding: 0; border: 0; }
	.routes .is-style-croquis td:first-child,
	.chapter--hike .is-style-croquis td:first-child { display: block; margin-bottom: 6px; }
	.routes .is-style-croquis td:nth-child(2):not(:last-child)::after,
	.chapter--hike .is-style-croquis td:nth-child(2):not(:last-child)::after { content: " · "; }
	.routes .is-style-croquis td:nth-child(4),
	.chapter--hike .is-style-croquis td:nth-child(4) { display: block; margin-top: 4px; color: var(--ink-soft); }
}

/* Fechas compactas en la portada */
.search--topo input[type="date"] { padding-inline: 10px 8px; font-size: 1rem; }

/* ---------- Foto a sangre: en las secciones foto + texto, la foto ocupa
   media pantalla hasta el borde, sin márgenes; el texto se alinea con la
   retícula de la página. ---------- */
.bleed-img { position: relative; }

@media (min-width: 901px) {
	.wp-block-group.alignfull:has(.wp-block-columns > .wp-block-column > .wp-block-image.is-style-croquis:only-child) {
		padding: 0 !important;
	}
	.wp-block-group.alignfull:has(.wp-block-columns > .wp-block-column > .wp-block-image.is-style-croquis:only-child) > .wp-block-group__inner-container { max-width: none; }
	.wp-block-group.alignfull .wp-block-columns:has(> .wp-block-column > .wp-block-image.is-style-croquis:only-child) {
		max-width: none;
		gap: 0;
		align-items: stretch;
	}
	.wp-block-columns > .wp-block-column:has(> .wp-block-image.is-style-croquis:only-child) {
		position: relative;
		flex: 0 0 50% !important;
		align-self: stretch !important;
		min-height: min(80vh, 780px);
	}
	.wp-block-column > .wp-block-image.is-style-croquis:only-child {
		position: absolute;
		inset: 0;
		margin: 0;
	}
	.wp-block-column > .wp-block-image.is-style-croquis:only-child img {
		width: 100%;
		height: 100%;
		aspect-ratio: auto;
		object-fit: cover;
	}
	.wp-block-column > .wp-block-image.is-style-croquis:only-child figcaption {
		position: absolute;
		left: 0; bottom: 0;
		margin: 0;
		padding: 6px 16px;
		background: var(--paper);
		color: var(--ink);
	}
	/* El texto: la mitad restante, con el margen exterior de la página */
	.wp-block-columns:has(> .wp-block-column > .wp-block-image.is-style-croquis:only-child) > .wp-block-column:not(:has(> .wp-block-image.is-style-croquis:only-child)) {
		flex: 0 0 50% !important;
		padding-block: var(--section);
		--outer: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
		--inner: clamp(40px, 5vw, 96px);
	}
	.wp-block-column:has(> .wp-block-image.is-style-croquis:only-child) + .wp-block-column {
		padding-left: var(--inner);
		padding-right: var(--outer);
	}
	.wp-block-column:has(+ .wp-block-column > .wp-block-image.is-style-croquis:only-child) {
		padding-left: var(--outer);
		padding-right: var(--inner);
	}
	.page-hero .wp-block-columns > .wp-block-column:has(> .wp-block-image.is-style-croquis:only-child) { min-height: min(72vh, 680px); }
	.page-hero .wp-block-columns:has(> .wp-block-column > .wp-block-image.is-style-croquis:only-child) > .wp-block-column:not(:has(> .wp-block-image)) { padding-block: clamp(48px, 5vw, 96px); }
}

@media (max-width: 900px) {
	.wp-block-columns > .wp-block-column:has(> .wp-block-image.is-style-croquis:only-child) {
		margin-inline: calc(-1 * var(--gutter));
		width: calc(100% + 2 * var(--gutter)) !important;
	}
	.wp-block-column > .wp-block-image.is-style-croquis:only-child figcaption { padding-inline: var(--gutter); }
	.wp-block-group.alignfull:has(.wp-block-columns > .wp-block-column:first-child > .wp-block-image.is-style-croquis:only-child) { padding-top: 0 !important; }
}

/* ---------- Webcam: el directo a todo lo ancho, con controles propios ---------- */
.cam-full { background: #000; color: var(--paper); padding-top: clamp(32px, 3.5vw, 56px); }
.cam-full__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 16px 64px;
	align-items: end;
	margin-bottom: clamp(24px, 2.5vw, 40px);
}
.cam-full__title { font-size: var(--t-hero); }
.cam-full__head .lede { margin: 0; color: var(--on-ink-soft); }
.cam-full__screen {
	width: min(calc(100% - 2 * var(--gutter)), calc(var(--max) - 2 * var(--gutter)), calc((100svh - var(--header-h) - 110px) * 16 / 9));
	min-width: min(100%, 720px);
	margin-inline: auto;
}
.cam-crop { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.cam-crop iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; border: 0; }
.cam-crop--img img { width: 100%; height: 100%; object-fit: cover; }
.cam-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	padding: 16px 0 clamp(32px, 3vw, 48px);
}
.cam-bar__live { display: inline-flex; align-items: center; gap: 10px; font-stretch: var(--cond); font-weight: 800; font-size: 1.125rem; text-transform: uppercase; }
.cam-bar__live::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--red); animation: live 1.6s ease-in-out infinite; }
.cam-bar__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cam-bar .btn { min-height: 48px; font-size: 1.0625rem; }
.cam-bar .btn--go:hover { background: var(--paper); border-color: var(--paper); color: #000; }
.cam-bar .btn--light:hover { color: #000; }
.cam-full :focus-visible { outline-color: var(--yellow); box-shadow: none; } /* taste-skill-ignore: quita sombra */

@media (max-width: 900px) {
	.cam-full__head { grid-template-columns: 1fr; }
	.cam-full__screen { width: 100%; min-width: 0; }
	.cam-bar { padding-inline: var(--gutter); }
	.cam-bar__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
	.cam-bar .btn { padding-inline: .6em; font-size: 1rem; }
	.cam-bar .btn--go { grid-column: 1 / -1; }
}

/* ---------- No te pierdas: tarjetas enteras dentro del ancho de la página ---------- */
.must-see { overflow-x: clip; }
.must-see > .wp-block-group__inner-container { position: relative; }
.must-see .must-see__list {
	--per: 3;
	--gap: clamp(16px, 2vw, 28px);
	position: relative;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	margin-top: clamp(28px, 3vw, 48px);
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
}
.must-see .must-see__list::-webkit-scrollbar { display: none; }
.must-see .must-see__list > .wp-block-group__inner-container,
.must-see .must-see__list:not(:has(> .wp-block-group__inner-container)) {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
	gap: var(--gap);
	counter-reset: must;
	max-width: none;
	padding: 0;
}
.must-see .must-see__list > .wp-block-group__inner-container { width: 100%; }
.must-see .must-see__list.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.must-see .must-see__list.is-dragging a { pointer-events: none; }
.must-see__item { position: relative; scroll-snap-align: start; counter-increment: must; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.must-see__item > .wp-block-group__inner-container { display: flex; flex-direction: column; gap: 12px; }
.must-see__item .wp-block-image { margin: 0; overflow: hidden; }
.must-see__item .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; -webkit-user-drag: none; transition: transform .7s var(--ease); }
.must-see__item:hover .wp-block-image img { transform: scale(1.04); }
.must-see__item h3 {
	display: flex; gap: 12px; align-items: flex-start;
	font-stretch: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1;
	margin-top: 4px;
}
.must-see__item h3::before {
	content: counter(must);
	display: grid; place-items: center; flex: none;
	width: 2rem; height: 2rem; margin-top: -.2rem;
	border-radius: 50%;
	background: var(--yellow); color: var(--ink);
	font-size: 1.0625rem;
}
.must-see__item h3 a { text-decoration: none; }
.must-see__item h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* toda la tarjeta enlaza */
.must-see__item:hover h3 a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; }
.must-see__item p { margin: 0; }
.must-see__item p + p { opacity: .8; font-size: var(--t-small); }
.is-style-campo-tinta .must-see__item p + p { opacity: 1; color: var(--on-ink-soft); }

/* Flechas a media altura de las fotos: en el margen si cabe; si no, sobre la foto */
.must-see__arrow {
	position: absolute;
	z-index: 3;
	top: var(--arrow-y, 40%);
	transform: translateY(-50%);
	display: grid; place-items: center;
	width: 52px; height: 52px;
	border: 3px solid var(--ink);
	background: var(--paper); color: var(--ink);
	cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), opacity .25s var(--ease), visibility .25s;
}
.must-see__arrow:hover { background: var(--yellow); }
.must-see__arrow--prev { left: max(-76px, calc((100% - 100vw) / 2 + 8px)); }
.must-see__arrow--next { right: max(-76px, calc((100% - 100vw) / 2 + 8px)); }
.must-see__arrow--prev .icon { transform: scaleX(-1); }
.must-see__arrow[hidden] { display: grid; opacity: 0; visibility: hidden; pointer-events: none; }
.is-style-campo-tinta .must-see__arrow { border-color: var(--paper); }
@media (max-width: 1100px) { .must-see .must-see__list { --per: 2; } }
@media (max-width: 600px) {
	.must-see .must-see__list { --per: 1; }
	.must-see__arrow { width: 46px; height: 46px; }
}

/* Créditos de fotos de terceros */
.photo-credits { font-size: .8125rem; color: var(--ink-soft); }
.photo-credits a { color: inherit; }

/* Créditos al pie de las páginas con fotos de terceros */
.credits-band { padding-block: 24px 40px !important; }
.practical .is-style-croquis { max-width: none; }


/* ---------- Alojamientos: cabecera con carrusel a media pantalla ---------- */
.units-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: calc(100svh - var(--header-h));
	border-bottom: var(--rule);
}
.units-hero__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 22px;
	padding: clamp(32px, 4vw, 64px) clamp(32px, 4vw, 72px) clamp(32px, 4vw, 64px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.units-hero__title { font-size: var(--t-hero); }
.units-hero__text .lede { margin: 0; }
.units-hero__text .legend { width: 100%; }
.units-hero__text .legend__row { cursor: pointer; }
.units-hero__stage { position: relative; overflow: hidden; background: var(--ink); }
.units-hero__slide {
	position: absolute; inset: 0; margin: 0;
	opacity: 0;
	transition: opacity .9s var(--ease);
}
.units-hero__slide.is-current { opacity: 1; z-index: 1; }
.units-hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s linear; }
.units-hero__slide.is-current img { transform: none; }
.units-hero__cap {
	position: absolute; left: 0; bottom: 0;
	display: flex; align-items: center; gap: 10px;
	padding: 10px 18px 10px 16px;
	background: var(--paper); color: var(--ink);
	font-stretch: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 1.125rem;
}
.units-hero__cap a { text-decoration: none; }
.units-hero__cap a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.units-hero__nav {
	position: absolute; right: 0; top: 0; z-index: 2;
	display: flex; align-items: center;
	background: var(--ink); color: var(--paper);
}
.units-hero__nav button {
	display: grid; place-items: center;
	width: 56px; height: 52px;
	border: 0; background: none; color: inherit; cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease);
}
.units-hero__nav button:hover { background: var(--yellow); color: var(--ink); }
.units-hero__nav .icon-flip { display: grid; transform: scaleX(-1); }
.units-hero__count { min-width: 3.5em; text-align: center; font-stretch: var(--cond); font-weight: 800; font-variant-numeric: tabular-nums; }
.units-hero :focus-visible { outline-color: var(--yellow); }

@media (max-width: 1100px) {
	.units-hero { grid-template-columns: 1fr; min-height: 0; }
	.units-hero__stage { order: -1; aspect-ratio: 4 / 3; }
	.units-hero__text { padding: 32px var(--gutter) 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.units-hero__slide img { transform: none !important; }
}


/* ---------- Plano (OpenStreetMap dibujado como plano de guía) ---------- */
.plano { padding-block: var(--section); border-top: var(--rule); }
.plano__grid { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.6fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.plano__key { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.plano__text { margin: 0; font-size: var(--t-lede); line-height: 1.45; }
.plano__legend { margin: 0; padding: 0; list-style: none; border-bottom: var(--rule); }
.plano__legend li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: var(--rule); font-weight: 700; }
.plano__n--view { background: var(--yellow); color: var(--ink); }
.plano__symbols { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: var(--t-small); }
.plano__symbols li { display: flex; align-items: center; gap: 10px; }
.sym { display: inline-block; flex: none; width: 34px; }
.sym--route { height: 5px; background: var(--red); outline: 1.5px solid var(--ink); }
.sym--path { height: 0; border-top: 2px dashed var(--ink); }
.sym--track { height: 0; border-top: 2px dotted var(--ink-soft); }
.sym--cliff { height: 8px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px); border-top: 2px solid var(--ink); } /* taste-skill-ignore: trama de pared del plano */
.sym--park { width: 20px; height: 20px; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--ink); font-weight: 800; font-size: .8125rem; }
.plano__src { margin: 0; font-size: .8125rem; color: var(--ink-soft); }
.plano__map { margin: 0; border: var(--rule); background: var(--paper); }
.plano__svg { display: block; width: 100%; height: auto; font-family: var(--f); }
.plano__lazy { background: #f6f3ea; }
.m-bg { fill: #f6f3ea; }
.m-water { fill: #b8d3dc; stroke: #5d8fa3; stroke-width: 1.2; }
.m-river { fill: none; stroke: #5d8fa3; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.m-stream { fill: none; stroke: #7fa9b8; stroke-width: 1.4; stroke-dasharray: 6 3; }
.m-build { fill: #cfc9bb; stroke: #9a9284; stroke-width: .5; }
.m-road { fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.m-street { fill: none; stroke: #5b574f; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.m-track { fill: none; stroke: #6b665c; stroke-width: 1.3; stroke-dasharray: 2 3; }
.m-path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 6 4; }
.m-route { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; paint-order: stroke; }
.m-routes { filter: drop-shadow(0 0 0 var(--ink)); }
.m-cliff { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.m-park rect { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.m-park--fee rect { fill: var(--yellow); }
.m-park text { font-size: 15px; font-weight: 800; text-anchor: middle; fill: var(--ink); }
.m-pin circle { fill: var(--ink); stroke: var(--paper); stroke-width: 3; }
.m-pin--view circle { fill: var(--yellow); stroke: var(--ink); }
.m-pin text { font-size: 20px; font-weight: 800; font-stretch: 68%; text-anchor: middle; fill: var(--paper); }
.m-pin--view text { fill: var(--ink); }
.m-label { font-size: 15px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: #f6f3ea; stroke-width: 4; stroke-linejoin: round; }
.m-label--town { font-size: 26px; font-weight: 800; font-stretch: 68%; letter-spacing: .08em; }
.m-label--water { font-size: 14px; font-style: italic; fill: #3f6f82; letter-spacing: .12em; }
.m-label--cliff { font-size: 15px; font-weight: 800; font-stretch: 68%; text-transform: uppercase; }
.m-scale rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.m-scale .m-scale__half { fill: var(--ink); }
.m-scale text, .m-north text { font-size: 15px; font-weight: 700; fill: var(--ink); }
.m-north path { fill: var(--ink); }
.m-north text { text-anchor: middle; }
@media (max-width: 900px) {
	.plano__grid { grid-template-columns: 1fr; }
	.plano__key { position: static; }
	.plano__map { order: -1; margin-inline: calc(-1 * var(--gutter)); border-inline: 0; }
}


/* ---------- Reparto de grados ---------- */
.grades { padding-block: var(--section); background: var(--ink); color: var(--paper); }
.grades__grid { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.7fr); gap: clamp(32px, 4vw, 72px); align-items: end; }
.grades__head { display: grid; gap: 18px; }
.grades__text { margin: 0; font-size: var(--t-lede); line-height: 1.45; color: var(--on-ink-soft); }
.grades__total { margin: 0; }
.grades__total strong { font-stretch: var(--cond); font-weight: 800; font-size: 3rem; color: var(--yellow); line-height: 1; }
.grades__chart { margin: 0; }
.grades__bars { display: flex; align-items: flex-end; gap: clamp(4px, .8vw, 12px); height: clamp(220px, 28vw, 360px); margin: 0; padding: 0; list-style: none; border-bottom: 3px solid var(--paper); }
.grades__bar { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 100%; min-width: 0; }
.grades__col { display: block; height: var(--h); min-height: 2px; background: var(--paper); transition: background-color .2s var(--ease); }
.grades__bar.is-marked .grades__col { background: var(--yellow); }
.grades__bar:hover .grades__col { background: var(--red); }
.grades__n { text-align: center; font-weight: 700; font-size: .875rem; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.grades__g { order: 3; margin-top: 8px; margin-bottom: -34px; text-align: center; font-stretch: var(--cond); font-weight: 800; font-size: 1.125rem; }
.grades__src { margin-top: 48px; font-size: .8125rem; color: var(--on-ink-soft); }
@media (max-width: 900px) {
	.grades__grid { grid-template-columns: 1fr; }
	.grades__n { font-size: .75rem; }
	.grades__g { font-size: .9375rem; }
}


/* ---------- Asistente de WhatsApp ---------- */
.wa-bot { position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-bot__toggle {
	display: grid; place-items: center;
	width: 64px; height: 64px;
	border: 3px solid var(--ink);
	background: var(--yellow); color: var(--ink);
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(20, 20, 20, .25); /* taste-skill-ignore: botón flotante */
	transition: transform .25s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.wa-bot__toggle .icon { width: 32px; height: 32px; }
.wa-bot__toggle:hover { transform: translateY(-2px); }
.wa-bot__toggle[aria-expanded="true"] { transform: none; }
.wa-bot__panel {
	width: min(360px, calc(100vw - 32px));
	max-height: min(640px, calc(100svh - 140px));
	display: flex; flex-direction: column;
	background: var(--paper); color: var(--ink);
	border: 3px solid var(--ink);
	box-shadow: 0 14px 36px rgba(20, 20, 20, .25); /* taste-skill-ignore: panel flotante */
	transform-origin: bottom right;
	animation: wa-in .3s var(--ease);
}
.wa-bot__panel[hidden] { display: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.wa-bot__head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; background: var(--ink); color: var(--paper); }
.wa-bot__avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; background: var(--yellow); color: var(--ink); }
.wa-bot__title { margin: 0; flex: 1; font-stretch: var(--cond); font-weight: 800; text-transform: uppercase; font-size: 1.125rem; line-height: 1.1; }
.wa-bot__title span { display: block; font-stretch: 100%; font-weight: 500; text-transform: none; font-size: .8125rem; color: var(--on-ink-soft); }
.wa-bot__close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; color: inherit; cursor: pointer; }
.wa-bot__close:hover { color: var(--yellow); }
.wa-bot__log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px 14px 8px; }
.wa-msg { max-width: 85%; padding: 10px 12px; font-size: .9375rem; line-height: 1.4; animation: wa-in .25s var(--ease); }
.wa-msg--bot { align-self: flex-start; background: var(--stone); border-left: 0; }
.wa-msg--me { align-self: flex-end; background: var(--yellow); font-weight: 600; }
.wa-msg--typing { color: var(--ink-soft); font-style: italic; }
.wa-bot__choices { display: grid; gap: 8px; padding: 6px 14px 14px; }
.wa-bot__choices[hidden] { display: none; }
.wa-bot__choices button {
	min-height: 44px; padding: 8px 12px;
	border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
	font: inherit; font-weight: 700; text-align: left; cursor: pointer;
	transition: background-color .2s var(--ease);
}
.wa-bot__choices button:hover { background: var(--yellow); }
.wa-bot__form { display: flex; gap: 0; padding: 6px 14px 14px; }
.wa-bot__form[hidden] { display: none; }
.wa-bot__form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 12px; border: 2px solid var(--ink); border-right: 0; background: #fff; font: inherit; }
.wa-bot__form button { width: 52px; border: 2px solid var(--ink); background: var(--ink); color: var(--yellow); cursor: pointer; display: grid; place-items: center; }
.wa-bot__form button:hover { background: var(--yellow); color: var(--ink); }
.wa-bot__go { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 14px 14px; min-height: 52px; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); font-stretch: var(--cond); font-weight: 800; text-transform: uppercase; text-decoration: none; }
.wa-bot__go[hidden] { display: none; }
.wa-bot__go:hover { background: var(--ink); color: var(--yellow); }
@media (max-width: 900px) {
	/* En el móvil se abre desde el icono de WhatsApp de la barra de reserva */
	.wa-bot { bottom: calc(76px + env(safe-area-inset-bottom)); right: 12px; }
	.wa-bot__toggle { display: none; }
	.wa-bot__panel { max-height: calc(100svh - 170px); }
}
@media (prefers-reduced-motion: reduce) { .wa-bot__panel, .wa-msg { animation: none; } }


/* ---------- Rutas: migas de pan sobre la cabecera ---------- */
.breadcrumbs { background: var(--yellow); color: var(--ink); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-block: 0; padding-block: 14px; list-style: none; font-size: var(--t-small); }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: ""; width: 7px; height: 7px; margin: 0 12px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); }
.breadcrumbs a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.breadcrumbs a:hover { text-decoration-thickness: 4px; }
.breadcrumbs [aria-current] { color: var(--ink); }
.breadcrumbs :focus-visible { box-shadow: 0 0 0 6px var(--paper); } /* taste-skill-ignore: anillo de foco */


/* Plano de una ruta: solo la ruta actual en amarillo, el resto en negro */
.plano--focus .m-pin circle { fill: var(--ink); stroke: var(--paper); }
.plano--focus .m-pin text { fill: var(--paper); }
.plano--focus .m-pin[data-current] circle { fill: var(--yellow); stroke: var(--ink); stroke-width: 4; }
.plano--focus .m-pin[data-current] text { fill: var(--ink); }
.plano--focus .plano__n { background: var(--ink); color: var(--paper); }
.plano--focus .is-current .plano__n { background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 2px var(--ink); } /* taste-skill-ignore: contorno del número */
.plano__here { font-weight: 500; color: var(--ink-soft); margin-left: 4px; }
.plano--focus .m-route { stroke: var(--ink); }
.plano--focus .sym--route { background: var(--ink); }
.plano--route-current .m-route { stroke: var(--yellow); stroke-width: 6; filter: drop-shadow(0 0 1.5px var(--ink)) drop-shadow(0 0 1px var(--ink)); }
.plano--route-current .sym--route { background: var(--yellow); }


/* ---------- Vídeo (YouTube con cartel propio) ---------- */
.video-band { padding-block: var(--section); }
.video-band__grid { display: grid; gap: clamp(28px, 3vw, 48px); }
.video-band__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; }
.video-band__text { margin: 0; font-size: var(--t-lede); line-height: 1.45; }
.is-style-campo-tinta .video-band__text { color: var(--on-ink-soft); }
.video { margin: 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.video__play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; gap: 14px; padding: clamp(16px, 2.4vw, 32px); border: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 45%); color: #fff; cursor: pointer; text-align: left; } /* taste-skill-ignore: velo neutro sobre foto */
.video__icon { display: grid; place-items: center; flex: none; width: 72px; height: 72px; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); transition: transform .25s var(--ease); }
.video__label { font-stretch: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(1.125rem, .9rem + .8vw, 1.75rem); line-height: 1.05; max-width: 28ch; }
.video__frame:hover .video__poster { transform: scale(1.03); }
.video__frame:hover .video__icon { transform: scale(1.06); }
.video__play:focus-visible { outline: 4px solid var(--yellow); outline-offset: -4px; box-shadow: none; } /* taste-skill-ignore: quita sombra */
.video__cap { margin-top: 12px; font-size: var(--t-small); color: var(--ink-soft); }
.is-style-campo-tinta .video__cap { color: var(--on-ink-soft); }
.video__cap a { color: inherit; font-weight: 700; }
@media (max-width: 900px) {
	.video-band__head { grid-template-columns: 1fr; }
	.video__icon { width: 56px; height: 56px; }
}


/* Franjas de vídeo en negro puro (como la webcam) */
.video-band,
.video-band.is-style-campo-tinta { background: #000; color: var(--paper); }
.video-band .video__cap { color: var(--on-ink-soft); }

/* ---------- Menú: «Alojamientos» siempre destacado: es lo que vendemos ---------- */
.site-nav .menu > li.menu-item--featured > a {
	background: var(--yellow);
	color: var(--ink);
	padding-inline: 14px;
}
.site-nav .menu > li.menu-item--featured > a::after { display: none; }
.site-nav .menu > li.menu-item--featured > a:hover { background: var(--ink); color: var(--yellow); }
.site-nav .menu > li.menu-item--featured { margin-right: 6px; }
@media (max-width: 1100px) {
	.site-nav .menu > li.menu-item--featured { margin: 12px 0 0; border-bottom: 0; }
	.site-nav .menu > li.menu-item--featured > a { padding: 16px; }
}

/* ---------- Webcam a pantalla completa: solo el vídeo, sobre negro ---------- */
.cam-crop:fullscreen { background: #000; width: 100vw; height: 100vh; }
.cam-crop.is-pseudo-fs {
	position: fixed !important; inset: 0; z-index: 400;
	width: 100vw !important; height: 100dvh !important;
	background: #000;
}
.cam-crop__exit {
	position: absolute; right: 16px; top: 16px; z-index: 5;
	display: none; place-items: center;
	width: 52px; height: 52px;
	border: 3px solid var(--paper); background: rgba(0, 0, 0, .55); color: var(--paper);
	cursor: pointer;
}
.cam-crop:fullscreen .cam-crop__exit,
.cam-crop.is-pseudo-fs .cam-crop__exit { display: grid; }
.cam-crop__exit:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.lb-open body { overflow: hidden; }


/* Timelapse en el mismo marco que el directo */
.cam-crop__video { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; background: #000; }
.cam-crop:fullscreen .cam-crop__video,
.cam-crop.is-pseudo-fs .cam-crop__video { object-fit: contain; }
.cam-crop__video[hidden] { display: none; }
.cam-crop.is-timelapse iframe { visibility: hidden; }
.cam-bar__live.is-tl::before { background: var(--yellow); animation: none; }
.cam-bar [aria-pressed="true"] { background: var(--paper); color: #000; border-color: var(--paper); }

/* Franjas amarillas: sin barra de desplazamiento mientras entran las cifras */
.facts .wp-block-table { overflow: visible; }
.wp-block-table { overflow-y: hidden; }

/* Tablas de rutas: el nombre siempre con el mismo estilo, tenga enlace o no */
.routes .is-style-croquis td:first-child:not(:has(strong)),
.chapter--hike .is-style-croquis td:first-child:not(:has(strong)) {
	font-stretch: var(--cond);
	font-weight: 800;
	font-size: 1.3125rem;
	text-transform: uppercase;
	line-height: 1.1;
}
@media (max-width: 560px) {
	.routes .is-style-croquis td:first-child:not(:has(strong)),
	.chapter--hike .is-style-croquis td:first-child:not(:has(strong)) { font-size: 1.125rem; }
}


/* ---------- Cómo llegar (ficha de alojamiento) ---------- */
.arrive { padding-block: var(--section); border-top: var(--rule); }
.arrive__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.arrive__text { display: grid; gap: 20px; }
.arrive__text .lede { margin: 0; }
.arrive__list { margin-top: 0 !important; }
.arrive__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.arrive__map { margin: 0; }
@media (max-width: 900px) {
	.arrive__grid { grid-template-columns: 1fr; }
	.arrive__map { order: -1; }
}

/* ---------- Menos aire entre secciones ---------- */
:root { --section: clamp(64px, 3.5vw + 40px, 112px); }
.units__list { gap: clamp(48px, 5vw, 80px); }
.page-hero { padding-bottom: clamp(48px, 5vw, 80px) !important; }

.arrive__map figcaption { padding: 12px 14px; border-top: var(--rule); }
.arrive__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: var(--t-small); font-weight: 600; }
.arrive__legend li { display: inline-flex; align-items: center; gap: 8px; }
.arrive__legend .num { background: var(--ink); color: var(--paper); }
.arrive__legend .is-current .num { background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 2px var(--ink); } /* taste-skill-ignore: contorno del número */

/* Créditos de fotos: discretos, en el pie */
.site-footer__credits { margin: 0 0 6px; font-size: .75rem; color: #8f8a7e; }
.site-footer .site-footer__credits a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.site-footer .site-footer__credits a:hover { color: var(--yellow); }

/* ---------- Móvil: secciones foto + texto. Siempre primero la foto, pegada
   arriba (sin hueco), y debajo el texto. Incluye el hero. ---------- */
@media (max-width: 900px) {
	.wp-block-columns > .wp-block-column:has(> .wp-block-image.is-style-croquis:only-child) { order: -1; }
	.wp-block-group.alignfull:is(:has(> .wp-block-columns:first-child > .wp-block-column > .wp-block-image.is-style-croquis:only-child), :has(> .wp-block-group__inner-container > .wp-block-columns:first-child > .wp-block-column > .wp-block-image.is-style-croquis:only-child)) { padding-top: 0 !important; }
	.wp-block-columns:has(> .wp-block-column > .wp-block-image.is-style-croquis:only-child) { margin-top: 0; }
	.wp-block-column > .wp-block-image.is-style-croquis:only-child { margin-top: 0; }
}

/* ---------- Menú móvil: todo alineado con «Alojamientos» (16 px) ---------- */
@media (max-width: 1100px) {
	.site-nav .menu > li > a { padding-inline: 16px; }
	.site-nav .menu > li > a::after { left: 16px; }
	.site-nav .sub-menu a { padding-left: 32px; }
	.site-nav__contact a { padding-inline: 16px; }
}

/* ---------- Dónde comer (Chulilla): lista de restaurantes ---------- */
/* La lista va dentro de «Mesa y sobremesa», debajo de foto + texto */
.mesa .eat { box-sizing: border-box; width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(40px, 4vw, 64px) var(--gutter) var(--section); }
.mesa .eat > .wp-block-group__inner-container { max-width: none; padding: 0; }
.eat .wp-block-heading { margin-bottom: 24px; }
@media (max-width: 900px) { .mesa .eat { padding: 40px 0 0; } }
.eat .is-style-croquis td:nth-child(3) a,
.eat .is-style-croquis td:nth-child(4) a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.eat .is-style-croquis td:nth-child(3) a:hover,
.eat .is-style-croquis td:nth-child(4) a:hover { text-decoration-color: var(--yellow); text-decoration-thickness: 4px; }
.eat .is-style-croquis td:nth-child(4) { white-space: nowrap; }
.eat .is-style-croquis td:last-child { text-align: right; white-space: nowrap; }
.eat .is-style-croquis th:last-child { text-align: right; }
.eat__note { margin-top: 20px; max-width: 70ch; font-size: .9375rem; color: var(--ink-soft); }
@media (max-width: 760px) {
	.eat .is-style-croquis thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.eat .is-style-croquis :is(table, tbody) { display: block; }
	.eat .is-style-croquis tbody { border-top: var(--rule); }
	.eat .is-style-croquis tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid currentColor; }
	.eat .is-style-croquis td { display: block; padding: 0; border: 0; }
	.eat .is-style-croquis td:nth-child(1) { grid-column: 1; grid-row: 1; }
	.eat .is-style-croquis td:last-child { grid-column: 2; grid-row: 1; text-align: right; }
	.eat .is-style-croquis td:nth-child(2) { grid-column: 1 / -1; color: var(--ink-soft); }
	.eat .is-style-croquis td:nth-child(3),
	.eat .is-style-croquis td:nth-child(4) { grid-column: 1 / -1; }
	.eat .is-style-croquis td:nth-child(2)::after { content: none !important; }
}
.eat .is-style-croquis td:first-child { font-stretch: var(--cond); font-weight: 800; font-size: 1.3125rem; text-transform: uppercase; line-height: 1.1; }
@media (max-width: 560px) { .eat .is-style-croquis td:first-child { font-size: 1.125rem; } }

/* ---------- Textos legales ---------- */
.legal { padding-block: clamp(48px, 5vw, 88px) !important; }
.legal > .wp-block-group__inner-container > *,
.legal > * { max-width: 46rem; }
.legal h2.wp-block-heading { margin: 48px 0 14px; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); }
.legal h2.wp-block-heading:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 1.0625rem; line-height: 1.6; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal .cookie-table { max-width: none; }
.holder { margin: 8px 0 8px; }
.holder__list { margin: 0; border-top: var(--rule); }
.holder__row { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid currentColor; }
.holder__row dt { font-stretch: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.holder__row dd { margin: 0; overflow-wrap: anywhere; }
.holder .editor-note { margin-top: 16px; }
.cookie-table code { font-size: .9375rem; white-space: nowrap; }
.cookie-table .btn { margin-top: 20px; }
@media (max-width: 760px) {
	.holder__row { grid-template-columns: 1fr; }
	.cookie-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.cookie-table :is(table, tbody, tr, td) { display: block; }
	.cookie-table tbody { border-top: var(--rule); }
	.cookie-table tr { padding: 12px 0; border-bottom: 1px solid currentColor; }
	.cookie-table td { padding: 0 !important; border: 0 !important; }
	.cookie-table td:first-child { margin-bottom: 4px; }
	.cookie-table td:nth-child(2), .cookie-table td:nth-child(3) { display: inline; color: var(--ink-soft); }
	.cookie-table td:nth-child(2)::after { content: " · "; }
	.cookie-table td:nth-child(4) { margin-top: 4px; }
	.cookie-table td:nth-child(5) { color: var(--ink-soft); }
}

/* ---------- Aviso de cookies ---------- */
.consent {
	position: fixed; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 120;
	width: min(440px, calc(100vw - 32px));
	padding: 20px 22px 22px;
	background: var(--paper); color: var(--ink);
	border: 3px solid var(--ink);
	box-shadow: 8px 8px 0 var(--ink); /* taste-skill-ignore: sombra dura de croquis */
}
.consent[hidden] { display: none; }
.consent__title { margin: 0 0 6px; font-stretch: var(--cond); font-weight: 800; font-size: 1.375rem; text-transform: uppercase; line-height: 1; }
.consent__text { margin: 0 0 16px; font-size: .9875rem; line-height: 1.5; }
.consent__text a { color: inherit; font-weight: 700; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent__actions .btn { justify-content: center; width: 100%; min-height: 50px; }
@media (max-width: 900px) {
	.consent { left: 12px; right: 12px; width: auto; bottom: calc(74px + env(safe-area-inset-bottom)); box-shadow: 6px 6px 0 var(--ink); }
	.has-consent .wa-bot { visibility: hidden; }
}
.holder--contact .holder__row dd a { font-weight: 700; }
