/* ==========================================================================
   MCM Casas — diseño B «De la parcela a la llave»
   CSS propio, sin frameworks. Archivo (títulos) + Instrument Sans (texto).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--c-ink: #1F2429;
	--c-red: #B10E1C;
	--c-red-hover: #940B17;
	--c-white: #FFFFFF;
	--c-light: #F4F5F6;
	--c-g700: #3A424C;
	--c-g600: #5C636B;
	--c-g400: #9AA3AD;
	--c-g300: #C9CED4;
	--c-g200: #E6E8EB;

	--f-head: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--maxw: 1320px;
	--gutter: clamp(20px, 4vw, 40px);
	--pad: clamp(56px, 8vw, 120px);
	--pad-s: clamp(48px, 6vw, 96px);
	--header-h: 68px;

	--t-h1: clamp(2.5rem, 1.15rem + 4.8vw, 5.75rem);
	--t-h1-xl: clamp(2.75rem, 0.9rem + 6.6vw, 6.75rem);
	--t-h2: clamp(2rem, 1.1rem + 3.2vw, 4rem);
	--t-h2-m: clamp(1.75rem, 1.05rem + 2.2vw, 2.75rem);
	--t-h3: clamp(1.3rem, 1rem + 1vw, 2rem);
	--t-lead: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
}

@media (min-width: 1200px) {
	:root { --header-h: 96px; }
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

body {
	margin: 0;
	background: var(--c-white);
	color: var(--c-ink);
	font-family: var(--f-body);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }

h1, h2, h3, h4 { font-family: var(--f-head); color: inherit; }

:focus-visible {
	outline: 3px solid var(--c-red);
	outline-offset: 2px;
}
.band--dark :focus-visible,
.mcm-section--dark :focus-visible,
.mcm-section--accent :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.fhero :focus-visible,
.phead--photo :focus-visible,
.bform__intro :focus-visible,
.nav__sub :focus-visible,
.rapido :focus-visible,
.lb :focus-visible,
.ficha__aside :focus-visible,
.feat :focus-visible,
.side-cta :focus-visible,
.mcm-hero :focus-visible {
	outline-color: var(--c-white);
}

.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 {
	position: absolute;
	left: 12px; top: -100px;
	z-index: 200;
	background: var(--c-ink);
	color: var(--c-white);
	padding: 12px 18px;
	font-weight: 600;
	text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
	width: 100%;
	max-width: calc(var(--maxw) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ---------- Botones, chips, etiquetas ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 2px;
	font-family: var(--f-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn--lg { min-height: 56px; padding: 16px 26px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--red { background: var(--c-red); color: var(--c-white); }
.btn--red:hover { background: var(--c-red-hover); }
.btn--dark { background: var(--c-ink); color: var(--c-white); }
.btn--dark:hover { background: var(--c-g700); }
.btn--ghost { border-color: var(--c-ink); color: var(--c-ink); background: transparent; }
.btn--ghost:hover { background: var(--c-ink); color: var(--c-white); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .75); color: var(--c-white); background: transparent; }
.btn--ghost-light:hover { background: var(--c-white); color: var(--c-ink); }

.eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--c-red);
}
.eyebrow--light { color: var(--c-g200); }

.chip {
	display: inline-block;
	padding: 6px 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .5px;
	line-height: 1.2;
}
.chip--onimg {
	position: absolute;
	top: 12px; left: 12px;
	background: var(--c-white);
	color: var(--c-ink);
}
.chip--red {
	align-self: flex-start;
	background: var(--c-red);
	color: var(--c-white);
	letter-spacing: 1px;
	text-transform: uppercase;
}

.chip-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 9px 16px;
	border: 1px solid var(--c-g300);
	border-radius: 999px;
	background: var(--c-white);
	color: var(--c-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color .2s, background-color .2s;
}
.chip-btn:hover { border-color: var(--c-ink); }
.chip-btn[aria-current] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.chip-btn__n { font-weight: 500; color: var(--c-g600); }
.chip-btn[aria-current] .chip-btn__n { color: var(--c-g300); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }

.link-under {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--c-ink);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid var(--c-red);
	line-height: 1.3;
	padding-top: 10px;
	padding-bottom: 3px;
	min-height: 0;
}
.link-under:hover { color: var(--c-red); }
.link-under--light { color: var(--c-white); }
.link-under--light:hover { color: var(--c-g200); }

.ph {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--c-g700);
	color: var(--c-g400);
}

/* ---------- Migas ---------- */
.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--c-g600);
}
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--c-g400); }
.crumbs a { color: var(--c-g600); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--c-ink); }
.crumbs [aria-current] { color: var(--c-ink); font-weight: 600; }
.crumbs--light ol, .crumbs--light a { color: var(--c-g200); }
.crumbs--light a:hover, .crumbs--light [aria-current] { color: var(--c-white); }
.crumbs--light li + li::before { color: var(--c-g300); }

/* ==========================================================================
   Cabecera (B-Header)
   ========================================================================== */
.site-header {
	position: relative;
	z-index: 50;
	background: var(--c-white);
	border-bottom: 1px solid var(--c-g200);
}
.site-header__bar {
	max-width: calc(var(--maxw) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
	height: var(--header-h);
	display: flex;
	align-items: center;
	gap: 8px;
}
.site-header__logo { display: flex; flex: none; margin-right: auto; }
.site-header__logo img { height: 40px; width: auto; }

.site-header__actions { display: flex; align-items: center; gap: 4px; order: 2; }
.site-header__tel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	color: var(--c-ink);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
}
.site-header__tel span { display: none; }
.site-header__cta { display: none; }

.site-header__burger {
	order: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px; height: 48px;
	border: 0;
	background: none;
	color: var(--c-ink);
	padding: 0;
}
.site-header__burger .burger-close { display: none; }
.site-header.is-open .site-header__burger .burger-open { display: none; }
.site-header.is-open .site-header__burger .burger-close { display: inline-flex; }

/* Navegación — móvil (por defecto) */
.nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0; right: 0;
	max-height: calc(100vh - var(--header-h));
	max-height: calc(100dvh - var(--header-h));
	overflow-y: auto;
	background: var(--c-ink);
	color: var(--c-white);
	padding: 12px var(--gutter) 28px;
	box-shadow: 0 24px 40px rgba(31, 36, 41, .3);
}
.site-header.is-open .nav { display: block; }
.nav__list, .nav__sublist { list-style: none; margin: 0; padding: 0; }
.nav__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid var(--c-g700);
}
.nav__link {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	min-height: 52px;
	color: var(--c-white);
	font-family: var(--f-head);
	font-size: 22px;
	font-weight: 800;
	text-decoration: none;
}
.nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px; height: 48px;
	border: 0;
	background: none;
	color: inherit;
	padding: 0;
}
.nav__toggle .icon { transition: transform .2s; }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub { display: none; flex: 1 0 100%; padding: 0 0 14px; }
.nav__toggle[aria-expanded="true"] + .nav__sub { display: block; }
.nav__eyebrow { display: none; }
.nav__sublink {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--c-g300);
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
}
.nav__sublink:hover, .nav__sublink[aria-current] { color: var(--c-white); }
.nav__feature { display: none; }
.nav__mobile-cta { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 20px; }
.nav__mobile-cta .btn { flex: 1 1 200px; }

/* Navegación — escritorio */
@media (min-width: 1200px) {
	.site-header__logo { margin-right: 0; }
	.site-header__logo img { height: 46px; }
	.site-header__bar { gap: 20px; }
	.site-header__burger { display: none; }
	.site-header__actions { order: 0; gap: 16px; }
	.site-header__cta { display: inline-flex; }

	.nav {
		display: block;
		position: static;
		flex: 1 1 auto;
		max-height: none;
		overflow: visible;
		background: none;
		color: var(--c-ink);
		padding: 0;
		box-shadow: none;
	}
	.nav__mobile-cta { display: none; }
	.nav__list { display: flex; align-items: center; justify-content: center; gap: 20px; }
	.nav__item { position: relative; flex-wrap: nowrap; border: 0; }
	.nav__link {
		flex: none;
		min-height: 44px;
		padding: 6px 0 4px;
		border-bottom: 2px solid transparent;
		color: var(--c-ink);
		font-family: var(--f-body);
		font-size: 15px;
		font-weight: 600;
		letter-spacing: .2px;
		white-space: nowrap;
	}
	.nav__link:hover { border-bottom-color: var(--c-g300); }
	.nav__item.is-current > .nav__link { border-bottom-color: var(--c-red); }
	.nav__toggle { width: 28px; height: 44px; margin-left: -2px; }

	.nav__sub {
		position: absolute;
		top: 100%;
		left: -28px;
		z-index: 60;
		width: 340px;
		margin-top: 10px;
		padding: 28px;
		background: var(--c-ink);
		color: var(--c-white);
		border-radius: 4px;
		box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
	}
	.nav__sub::before { /* puente para el hover */
		content: "";
		position: absolute;
		left: 0; right: 0;
		top: -12px; height: 12px;
	}
	.nav__item:hover > .nav__sub,
	.nav__toggle[aria-expanded="true"] + .nav__sub { display: block; }
	.nav__sub--mega { width: 640px; }
	.nav__item:hover > .nav__sub--mega,
	.nav__toggle[aria-expanded="true"] + .nav__sub--mega { display: flex; gap: 28px; }
	.nav__subcol { flex: 1 1 0; min-width: 0; }
	.nav__eyebrow {
		display: block;
		margin-bottom: 8px;
		font-size: 11px;
		letter-spacing: 2px;
		text-transform: uppercase;
		color: var(--c-g400);
	}
	.nav__subitem { border-bottom: 1px solid var(--c-g700); }
	.nav__subitem:last-child { border-bottom: 0; }
	.nav__sublink { color: var(--c-white); font-size: 15px; }
	.nav__sublink:hover { color: var(--c-g300); }
	.nav__feature {
		flex: 0 0 230px;
		display: flex;
		flex-direction: column;
		gap: 8px;
		color: var(--c-white);
		text-decoration: none;
	}
	.nav__feature-img { position: relative; display: block; height: 150px; overflow: hidden; background: var(--c-g700); }
	.nav__feature-img img { width: 100%; height: 100%; object-fit: cover; }
	.nav__feature-kicker { font-size: 13px; color: var(--c-g300); }
	.nav__feature-title { font-family: var(--f-head); font-size: 18px; line-height: 1.2; }
	.nav__feature:hover .nav__feature-title { text-decoration: underline; }
}
@media (min-width: 1360px) {
	.site-header__logo img { height: 54px; }
	.site-header__bar { gap: 32px; }
	.nav__list { gap: 30px; }
	.site-header__tel span { display: inline; }
	.site-header__actions { gap: 22px; }
}

/* ==========================================================================
   Bandas y cabeceras de sección
   ========================================================================== */
.band { padding-block: var(--pad); }
.band--light { background: var(--c-light); }
.band--dark { background: var(--c-ink); color: var(--c-white); }
.band--tight { padding-block: clamp(40px, 5vw, 72px); }
.band--top0 { padding-top: 0; }

.sec-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px 32px;
	margin-bottom: clamp(28px, 3vw, 44px);
}
.sec-head > div { display: flex; flex-direction: column; gap: 12px; }
.sec-head--rule { border-top: 1px solid var(--c-ink); padding-top: 18px; }
.band--dark .sec-head--rule { border-top-color: var(--c-g600); }
.sec-title {
	margin: 0;
	font-family: var(--f-head);
	font-weight: 900;
	font-size: var(--t-h2);
	line-height: .95;
	letter-spacing: -.03em;
}
.sec-title--m { font-size: var(--t-h2-m); letter-spacing: -.02em; }
.sec-sub { margin: 0; max-width: 440px; font-size: 16px; line-height: 1.6; color: var(--c-g600); }
.band--dark .sec-sub { color: var(--c-g300); }

/* ---------- Hero de portada (B-Home) ---------- */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(560px, 88vh, 920px);
	overflow: hidden;
	background: var(--c-ink);
	color: var(--c-white);
}
.hero--noimg { background: linear-gradient(160deg, var(--c-g700) 0%, var(--c-ink) 60%); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.1s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 6s ease; }
.hero__slide.is-active img { transform: scale(1.06); }
.hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(31, 36, 41, .45) 0%, rgba(31, 36, 41, .05) 30%, rgba(31, 36, 41, .3) 55%, rgba(31, 36, 41, .92) 100%);
}
.hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: clamp(14px, 1.6vw, 20px);
	padding-top: 96px;
	padding-bottom: clamp(28px, 3.4vw, 44px);
}
.hero__title {
	margin: 0;
	max-width: 1100px;
	font-weight: 900;
	font-size: var(--t-h1-xl);
	line-height: .92;
	letter-spacing: -.035em;
}
.hero__lead { margin: 0; font-size: var(--t-lead); font-weight: 500; color: var(--c-g200); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__now { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.hero__nowrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero__caption {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	min-height: 44px;
	color: var(--c-white);
	font-size: 14px;
	text-decoration: none;
}
.hero__caption-title { font-weight: 700; }
.hero__caption-more { text-decoration: underline; text-underline-offset: 3px; }
.hero__play {
	flex: none;
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 2px;
	background: none;
	color: var(--c-white);
	font-size: 13px;
}
.hero__bars { display: flex; gap: 6px; }
.hero__bar { flex: 1 1 0; height: 24px; padding: 10px 0; border: 0; background: none; }
.hero__bar span { display: block; height: 4px; background: rgba(255, 255, 255, .35); transition: background-color .4s; }
.hero__bar.is-active span, .hero__bar:hover span { background: var(--c-white); }

/* ---------- Propuesta de valor ---------- */
.values {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--c-g200);
	border: 2px solid var(--c-g200);
}
.value { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; background: var(--c-white); }
.value__num { font-family: var(--f-head); font-weight: 900; font-size: 44px; line-height: 1; color: var(--c-red); }
.value__title { font-family: var(--f-head); font-weight: 800; font-size: 20px; line-height: 1.15; }
.value__title a { text-decoration: none; }
.value__title a:hover { text-decoration: underline; text-decoration-color: var(--c-red); text-underline-offset: 4px; }
.value__text { font-size: 15px; line-height: 1.55; color: var(--c-g600); }

/* ---------- Carrusel horizontal y rejillas ---------- */
.scroller {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 14px;
	scrollbar-width: thin;
}
.scroller > * { flex: 0 0 min(82%, 420px); scroll-snap-align: start; }

.grid-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 36px 24px;
}
.grid-cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-cards--posts { gap: 44px 28px; }

/* ---------- Tarjeta de obra ---------- */
.pcard { position: relative; display: flex; flex-direction: column; gap: 10px; }
.pcard__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--c-g700);
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__title { margin: 0; font-weight: 800; font-size: 21px; line-height: 1.15; }
.pcard__title a { color: var(--c-ink); text-decoration: none; }
.pcard__title a:hover { color: var(--c-red); }
.pcard__meta { font-size: 13px; color: var(--c-g600); }
.pcard__more {
	align-self: flex-start;
	color: var(--c-red);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border-bottom: 1px solid var(--c-red);
	padding-bottom: 2px;
}

/* ---------- Cómo construimos ---------- */
.split__main { display: flex; flex-direction: column; gap: 18px; max-width: 860px; }
.lead-text { margin: 0; font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); line-height: 1.7; color: var(--c-g200); }
.band--dark .lead-text a { color: var(--c-white); font-weight: 600; text-decoration-color: var(--c-red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 2px;
	margin: clamp(32px, 4vw, 56px) 0 0;
	padding: 2px;
	list-style: none;
	background: var(--c-g700);
}
.step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px 24px;
	background: var(--c-ink);
	border-top: 3px solid transparent;
	transition: border-color .2s;
}
.step:hover, .step:focus-within { border-top-color: var(--c-red); }
.step__num { font-family: var(--f-head); font-weight: 900; font-size: 40px; line-height: 1; color: var(--c-g400); }
.step__title { margin: 0; font-weight: 800; font-size: 22px; line-height: 1.15; }
.step__title a { color: var(--c-white); text-decoration: none; }
.step__title a::after { content: ""; position: absolute; inset: 0; }
.step__text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-g300); }
.step__more { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--c-white); text-decoration: underline; text-decoration-color: var(--c-red); text-underline-offset: 4px; }

/* ---------- Cifras + caja de reformas ---------- */
.figures {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 32px;
	margin: 0;
	padding: 28px 0 0;
	list-style: none;
	border-top: 1px solid var(--c-ink);
}
.figure { display: flex; flex-direction: column; gap: 6px; }
.figure__num { font-family: var(--f-head); font-weight: 900; font-size: clamp(3.5rem, 2rem + 5vw, 7.5rem); line-height: .9; letter-spacing: -.03em; }
.figure__num--red { color: var(--c-red); }
.figure__label { font-size: 16px; color: var(--c-g600); }
.reform-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 20px 32px;
	margin-top: clamp(40px, 5vw, 64px);
	padding: clamp(24px, 3vw, 40px);
	background: var(--c-light);
}
.reform-box__title { margin: 8px 0 0; font-weight: 900; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); line-height: 1.05; max-width: 720px; }

/* ---------- Glosario y blog en portada ---------- */
.learn { display: grid; gap: 48px; }
@media (min-width: 1000px) { .learn { grid-template-columns: 1fr 1.35fr; gap: 56px; } }
.learn__gloss, .learn__blog { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.learn__title { margin: 0; font-weight: 800; font-size: 22px; }
.learn__posts { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 24px; }
.learn__posts .bcard__title { font-size: 18px; }

/* ==========================================================================
   Glosario (B-Sistema)
   ========================================================================== */
.az ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 clamp(28px, 3vw, 40px); padding: 0; list-style: none; }
.az a, .az span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border: 1px solid var(--c-g300);
	font-family: var(--f-head);
	font-weight: 800;
	font-size: 17px;
	text-decoration: none;
}
.az a { color: var(--c-ink); background: var(--c-white); }
.az a:hover { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.az span { color: var(--c-g300); border-color: var(--c-g200); }
.gloss__group { scroll-margin-top: 24px; margin-top: clamp(28px, 3vw, 44px); }
.gloss__letter { margin: 0 0 6px; font-weight: 900; font-size: clamp(2.5rem, 1.8rem + 2vw, 3.5rem); line-height: 1; color: var(--c-red); }
.gloss__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
	gap: 0 40px;
	width: 100%;
	margin: 0;
}
.gloss__list--compact { grid-template-columns: 1fr; }
.gloss__item { padding: 18px 0; border-top: 1px solid var(--c-g300); }
.gloss__item dt { font-family: var(--f-head); font-weight: 800; font-size: 20px; line-height: 1.2; }
.gloss__item dt a { color: var(--c-ink); text-decoration: none; }
.gloss__item dt a:hover { color: var(--c-red); text-decoration: underline; text-underline-offset: 4px; }
.gloss__item dd { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--c-g700); }

.gterm__head { display: flex; flex-direction: column; gap: 16px; max-width: 980px; margin-bottom: clamp(28px, 3vw, 44px); padding-bottom: 24px; border-bottom: 1px solid var(--c-ink); }
.gterm__title { margin: 0; font-weight: 900; font-size: var(--t-h1); line-height: .95; letter-spacing: -.03em; }
.gterm__body { display: grid; gap: 48px; }
@media (min-width: 1000px) { .gterm__body { grid-template-columns: minmax(0, 760px) minmax(260px, 340px); gap: 64px; align-items: start; } }
.gterm__aside { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; border-top: 3px solid var(--c-ink); padding-top: 16px; }
.gterm__aside-title { margin: 0; font-weight: 800; font-size: 20px; }

/* ==========================================================================
   Cabeceras de página (B-Sección / B-Sistema)
   ========================================================================== */
.phead--plain { padding-top: clamp(24px, 4vw, 56px); }
.phead--plain .phead__inner {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--c-ink);
}
.phead--plain + * { margin-top: 0; }
.phead--plain ~ .band:not(.band--top0) { padding-top: clamp(40px, 5vw, 72px); }
.phead--plain ~ .band--top0 { padding-top: clamp(32px, 4vw, 56px); }

.phead--photo {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(440px, 72vh, 780px);
	overflow: hidden;
	background: var(--c-ink);
	color: var(--c-white);
}
.phead__media { position: absolute; inset: 0; }
.phead__media img { width: 100%; height: 100%; object-fit: cover; }
.phead--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(31, 36, 41, .5) 0%, rgba(31, 36, 41, .1) 35%, rgba(31, 36, 41, .9) 100%);
}
.phead--photo .phead__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 120px;
	padding-bottom: clamp(28px, 3.6vw, 48px);
}
.phead__title {
	margin: 0;
	max-width: 1050px;
	font-family: var(--f-head);
	font-weight: 900;
	font-size: var(--t-h1);
	line-height: .95;
	letter-spacing: -.03em;
}
.phead__lead { margin: 0; max-width: 860px; font-size: var(--t-lead); line-height: 1.55; color: var(--c-g700); }
.phead--photo .phead__lead { color: var(--c-g200); }
.phead__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

/* ==========================================================================
   Listado de obras (B-Proyectos)
   ========================================================================== */
.listing { padding-top: clamp(24px, 4vw, 48px); padding-bottom: var(--pad); }
.listing__head {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-bottom: 26px;
	margin-bottom: clamp(32px, 4vw, 56px);
	border-bottom: 1px solid var(--c-ink);
}
.listing__title { margin: 0; max-width: 1000px; font-weight: 900; font-size: var(--t-h1); line-height: .95; letter-spacing: -.03em; }
.listing__intro { max-width: 820px; font-size: var(--t-lead); line-height: 1.6; color: var(--c-g700); }
.listing__intro p { margin: 0 0 .6em; }
.listing__body { display: grid; gap: 40px; }
@media (min-width: 1000px) {
	.listing__body { grid-template-columns: 280px minmax(0, 1fr); align-items: start; }
	.listing__aside { position: sticky; top: 24px; }
}
.listing__aside { display: flex; flex-direction: column; gap: 24px; }
.filters { border-top: 1px solid var(--c-g200); padding-top: 16px; }
.filters__label { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--c-g600); }
.filters__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.note-box { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 22px; background: var(--c-light); }
.note-box strong { font-family: var(--f-head); font-size: 19px; line-height: 1.2; }
.note-box p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-g700); }
.listing__count { margin: 0 0 20px; font-family: var(--f-head); font-weight: 800; font-size: 22px; }

.empty { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 32px; border: 1px solid var(--c-g200); }
.empty p { margin: 0; color: var(--c-g600); }
.empty__title { font-family: var(--f-head); font-weight: 900; font-size: 24px; line-height: 1.15; }
.empty-line { margin: 0; color: var(--c-g600); }

.pager ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 48px 0 0; padding: 0; list-style: none; }
.pager a, .pager span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid var(--c-g300);
	color: var(--c-ink);
	font-weight: 600;
	text-decoration: none;
}
.pager a:hover { border-color: var(--c-ink); }
.pager .current { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.pager .dots { border-color: transparent; }

/* ==========================================================================
   Ficha de obra (B-Ficha)
   ========================================================================== */
.fhero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(520px, 84vh, 920px);
	overflow: hidden;
	background: var(--c-ink);
	color: var(--c-white);
}
.fhero--noimg { min-height: clamp(320px, 46vh, 520px); background: linear-gradient(160deg, var(--c-g700) 0%, var(--c-ink) 65%); }
.fhero__media { position: absolute; inset: 0; }
.fhero__media img { width: 100%; height: 100%; object-fit: cover; }
.fhero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(31, 36, 41, .45) 0%, rgba(31, 36, 41, 0) 30%, rgba(31, 36, 41, .25) 55%, rgba(31, 36, 41, .92) 100%);
}
.fhero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-top: 96px;
	padding-bottom: clamp(28px, 3.4vw, 44px);
}
.fhero__title { margin: 0; max-width: 1100px; font-weight: 900; font-size: var(--t-h1); line-height: .92; letter-spacing: -.03em; }

.subnav { position: sticky; top: 0; z-index: 40; background: var(--c-white); border-bottom: 1px solid var(--c-g200); }
.subnav__inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.subnav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.subnav__list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
	color: var(--c-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}
.subnav__list a:hover, .subnav__list a.is-active { border-bottom-color: var(--c-red); }
.subnav__cta { display: none; margin-left: auto; flex: none; }
@media (min-width: 900px) { .subnav__cta { display: inline-flex; } }

.ficha { display: grid; gap: 48px; padding-block: var(--pad-s); }
@media (min-width: 1000px) {
	.ficha { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
	.ficha__aside { position: sticky; top: 88px; }
}
.ficha__aside {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 30px;
	background: var(--c-ink);
	color: var(--c-white);
}
.ficha__aside-title { margin: 0; font-family: var(--f-head); font-weight: 900; font-size: 28px; line-height: 1.05; }
.kv { margin: 0; display: flex; flex-direction: column; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--c-g700); font-size: 15px; }
.kv dt { color: var(--c-g300); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }
.ficha__aside-tel {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	color: var(--c-white);
	font-weight: 600;
	text-decoration: none;
}
.ficha__aside-tel:hover { text-decoration: underline; }

/* ==========================================================================
   Blog (B-Blog) y entrada (B-Post)
   ========================================================================== */
.blogidx { padding-top: clamp(28px, 4vw, 56px); padding-bottom: var(--pad); }
.blog__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
	padding-bottom: 22px;
	margin-bottom: clamp(36px, 4.4vw, 64px);
	border-bottom: 1px solid var(--c-ink);
}
.blog__head > div { display: flex; flex-direction: column; gap: 12px; }
.blog__title { margin: 0; font-weight: 900; font-size: var(--t-h1); line-height: .92; letter-spacing: -.03em; }
.blog__title--xl { font-size: clamp(4rem, 1.8rem + 8vw, 8.75rem); line-height: .88; letter-spacing: -.045em; }
.blog__desc { max-width: 760px; color: var(--c-g700); }

.feat { display: grid; margin-bottom: clamp(44px, 5vw, 72px); background: var(--c-ink); color: var(--c-white); }
@media (min-width: 900px) { .feat { grid-template-columns: 3fr 2fr; } }
.feat__media { position: relative; display: block; min-height: clamp(240px, 36vw, 520px); overflow: hidden; background: var(--c-g700); }
.feat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: clamp(24px, 3.4vw, 48px); }
.feat__title { margin: 0; font-weight: 900; font-size: clamp(1.75rem, 1rem + 2.2vw, 2.75rem); line-height: 1; letter-spacing: -.02em; }
.feat__title a { color: var(--c-white); text-decoration: none; }
.feat__title a:hover { text-decoration: underline; text-decoration-color: var(--c-red); text-underline-offset: 6px; }
.feat__excerpt { margin: 0; font-size: 16px; line-height: 1.7; color: var(--c-g300); }
.feat__date { font-size: 13px; color: var(--c-g400); }

.bcard { position: relative; display: flex; flex-direction: column; gap: 12px; }
.bcard__n { padding-top: 12px; border-top: 1px solid var(--c-ink); font-family: var(--f-head); font-weight: 900; font-size: 15px; color: var(--c-red); }
.bcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-g700); }
.bcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bcard:hover .bcard__media img { transform: scale(1.04); }
.bcard__cat { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-g600); }
.bcard__title { margin: 0; font-weight: 800; font-size: 22px; line-height: 1.15; }
.bcard__title a { color: var(--c-ink); text-decoration: none; }
.bcard__title a:hover { color: var(--c-red); }
.bcard__excerpt { margin: 0; font-size: 14px; line-height: 1.65; color: var(--c-g600); }
.bcard__date { font-size: 13px; color: var(--c-g600); }

.article { padding-top: clamp(24px, 4vw, 48px); padding-bottom: var(--pad); }
.post__head { display: flex; flex-direction: column; gap: 18px; max-width: 980px; }
.post__title { margin: 0; font-weight: 900; font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.75rem); line-height: .98; letter-spacing: -.03em; }
.post__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; font-size: 14px; color: var(--c-g600); }
.post__hero { margin: clamp(24px, 3vw, 40px) 0 0; }
.post__hero img { width: 100%; height: clamp(240px, 42vw, 600px); object-fit: cover; }
.post__body { display: grid; gap: 32px; margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 1000px) {
	.post__body { grid-template-columns: 260px minmax(0, 760px); gap: 56px; align-items: start; }
	.post__aside { position: sticky; top: 24px; }
}
.side-cta { display: none; }
@media (min-width: 1000px) {
	.side-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; padding: 20px; background: var(--c-ink); color: var(--c-white); }
	.post__body--notoc .side-cta { margin-top: 0; }
}
.side-cta__title { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: 19px; line-height: 1.15; }
.side-cta__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--c-g300); }

.toc { border-top: 3px solid var(--c-ink); padding-top: 16px; }
.toc__title { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--c-g600); }
.toc__list { margin: 10px 0 0; padding: 0; list-style: none; }
.toc__list a {
	display: block;
	padding: 8px 0 8px 13px;
	border-left: 3px solid transparent;
	color: var(--c-g600);
	text-decoration: none;
	line-height: 1.35;
}
.toc__list a:hover, .toc__list a.is-active { color: var(--c-ink); border-left-color: var(--c-red); font-weight: 600; }

/* ==========================================================================
   Contacto (B-Contacto)
   ========================================================================== */
.phead--plain ~ .band .contact,
.contact { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1.2fr 1fr; } }
.contact__list { margin: 0; padding: 0; list-style: none; }
.contact__row { display: flex; gap: 24px; padding: 22px 0; border-top: 1px solid var(--c-ink); }
.contact__row:last-child { border-bottom: 1px solid var(--c-ink); }
.contact__n { flex: 0 0 44px; font-family: var(--f-head); font-weight: 900; font-size: 20px; color: var(--c-red); }
.contact__k { display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-g600); }
.contact__tel { font-family: var(--f-head); font-weight: 900; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); letter-spacing: -.02em; color: var(--c-ink); text-decoration: none; }
.contact__tel:hover { color: var(--c-red); }
.contact__v { display: block; font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); font-weight: 600; line-height: 1.5; }
.contact__side { display: flex; flex-direction: column; gap: 18px; }
.contact__map {
	flex: 1 1 auto;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 24px;
	background: var(--c-ink);
	color: var(--c-white);
	text-align: center;
	text-decoration: none;
}
.contact__map-title { font-family: var(--f-head); font-weight: 800; font-size: 22px; }
.contact__map-link { text-decoration: underline; text-decoration-color: var(--c-red); text-underline-offset: 4px; font-weight: 600; }
.entry--after { margin-top: clamp(40px, 5vw, 64px); }

/* ==========================================================================
   CTA final + formulario (B-Form)
   ========================================================================== */
.bform {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--c-ink);
	color: var(--c-white);
	scroll-margin-top: 0;
}
.bform--photo {
	background-image:
		linear-gradient(90deg, rgba(31, 36, 41, .92) 0%, rgba(31, 36, 41, .72) 55%, rgba(31, 36, 41, .45) 100%),
		var(--bform-img);
	background-size: cover;
	background-position: center;
}
@media (min-width: 960px) { .bform { min-height: 760px; } }
.bform__inner { display: grid; gap: 40px; align-items: center; padding-block: clamp(64px, 7vw, 96px); }
@media (min-width: 960px) { .bform__inner { grid-template-columns: minmax(0, 1fr) minmax(360px, 500px); gap: 56px; } }
.bform__intro { display: flex; flex-direction: column; gap: 20px; }
.bform__title { margin: 0; font-weight: 900; font-size: clamp(2.5rem, 1rem + 4.4vw, 5.25rem); line-height: .98; letter-spacing: -.03em; }
.bform__sub { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--c-g200); }
.bform__facts { display: flex; flex-wrap: wrap; gap: 20px 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 14px; color: var(--c-g200); }
.bform__fact { display: flex; flex-direction: column; gap: 2px; color: inherit; text-decoration: none; }
a.bform__fact { color: var(--c-white); min-height: 44px; }
.bform__fact-k { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-g300); }
.bform__fact-tel { font-family: var(--f-head); font-size: 22px; font-weight: 800; }
.bform__card { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 32px); background: var(--c-white); color: var(--c-ink); border-radius: 2px; }
.bform__card-title { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: 22px; line-height: 1.2; }
.bform__nofrm { margin: 0; font-size: 16px; line-height: 1.6; color: var(--c-g700); }
.bform__nofrm a { color: var(--c-red); font-weight: 700; }

/* Formulario del mu-plugin: mcm_form() */
.mcm-form { display: flex; flex-direction: column; gap: 16px; color: var(--c-ink); }
.mcm-form p { margin: 0; }
.mcm-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--c-g600);
}
.mcm-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),
.mcm-form select,
.mcm-form textarea {
	width: 100%;
	min-height: 46px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--c-g600);
	border-radius: 0;
	background: transparent;
	color: var(--c-ink);
	font-family: var(--f-body);
	font-size: 17px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	transition: border-color .2s, box-shadow .2s;
}
.mcm-form textarea { min-height: 96px; padding: 8px 0; resize: vertical; line-height: 1.5; }
.mcm-form input:focus, .mcm-form select:focus, .mcm-form textarea:focus {
	outline: none;
	border-bottom-color: var(--c-red);
	box-shadow: 0 2px 0 var(--c-red);
}
.mcm-form [aria-invalid="true"] { border-bottom-color: var(--c-red) !important; }
.mcm-form label:has(input[type="checkbox"]),
.mcm-form label:has(input[type="radio"]) {
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--c-ink);
	line-height: 1.4;
}
.mcm-form input[type="checkbox"], .mcm-form input[type="radio"] { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--c-red); }
.mcm-form input[type="checkbox"]:focus-visible, .mcm-form input[type="radio"]:focus-visible { outline: 3px solid var(--c-red); outline-offset: 2px; }
.mcm-form a { color: var(--c-red); }
.mcm-form button[type="submit"], .mcm-form input[type="submit"] {
	min-height: 56px;
	padding: 0 24px;
	border: 0;
	border-radius: 2px;
	background: var(--c-red);
	color: var(--c-white);
	font-family: var(--f-body);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	transition: background-color .2s;
}
.mcm-form button[type="submit"]:hover, .mcm-form input[type="submit"]:hover { background: var(--c-red-hover); }
.mcm-form button[type="submit"]:disabled { opacity: .6; cursor: progress; }
.mcm-form__legal { margin: 0; font-size: 11px; line-height: 1.6; color: var(--c-g600); letter-spacing: 0; text-transform: none; font-weight: 400; }
.mcm-form__ok, .mcm-form__error { margin: 0; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.mcm-form__ok { background: var(--c-light); border-left: 4px solid var(--c-ink); color: var(--c-ink); }
.mcm-form__error { background: var(--c-white); border: 1px solid var(--c-red); border-left-width: 4px; color: var(--c-red); }
.mcm-form__row { display: flex; flex-wrap: wrap; gap: 16px; }
.mcm-form__row > * { flex: 1 1 180px; }

/* ==========================================================================
   Pie (B-Footer)
   ========================================================================== */
.site-footer { background: var(--c-ink); color: var(--c-g300); padding: clamp(56px, 6vw, 88px) 0 28px; }
.site-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	padding-bottom: 32px;
	margin-bottom: 36px;
	border-bottom: 1px solid var(--c-g700);
}
.site-footer__claim { margin: 0; font-family: var(--f-head); font-weight: 900; font-size: clamp(1.9rem, 1rem + 3vw, 3.25rem); line-height: .95; letter-spacing: -.02em; color: var(--c-white); }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 40px; }
.site-footer__company { flex: 1 1 300px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.55; }
.site-footer__logo { align-self: flex-start; display: inline-block; padding: 10px 14px; background: var(--c-white); border-radius: 2px; }
.site-footer__logo img { height: 40px; width: auto; }
.site-footer__company strong { margin-top: 6px; color: var(--c-white); }
.site-footer__tel { display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; color: var(--c-white); font-weight: 700; text-decoration: none; }
.footer__col, .footer__menu-list > li { flex: 1 1 170px; }
.footer__kicker, .footer__menu-list > li > a {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--c-g400);
	text-decoration: none;
}
.footer__col ul, .footer__menu-list, .footer__menu-list .sub-menu { list-style: none; margin: 0; padding: 0; }
.footer__menu-list { display: flex; flex-wrap: wrap; gap: 32px 40px; }
.footer__menu { flex: 3 1 600px; }
.footer__col a, .footer__menu-list .sub-menu a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: var(--c-g200);
	font-size: 15px;
	text-decoration: none;
}
.footer__col a:hover, .footer__menu-list a:hover { color: var(--c-white); text-decoration: underline; }
.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 22px;
	margin-top: 36px;
	padding-top: 12px;
	border-top: 1px solid var(--c-g700);
	font-size: 13px;
}
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-g400); }
.site-footer__legal a:hover { color: var(--c-white); }

/* ==========================================================================
   Contenido convertido desde Divi (.mcm-*) + tipografía de texto
   ========================================================================== */
.entry--prose { max-width: 760px; }
.entry--intro { margin-bottom: clamp(28px, 3vw, 44px); }

.entry--prose, .mcm-text {
	font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
	line-height: 1.75;
	color: var(--c-g700);
}
.entry--prose > :first-child, .mcm-text > :first-child { margin-top: 0; }
.entry--prose > :last-child, .mcm-text > :last-child { margin-bottom: 0; }
.entry p, .mcm-text p { margin: 0 0 1.1em; }
.entry h2 {
	margin: 1.6em 0 .55em;
	font-weight: 900;
	font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem);
	line-height: 1.1;
	letter-spacing: -.015em;
	color: var(--c-ink);
	scroll-margin-top: 88px;
}
.entry h3 { margin: 1.4em 0 .45em; font-weight: 800; font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); line-height: 1.2; color: var(--c-ink); }
.entry h4 { margin: 1.2em 0 .4em; font-weight: 800; font-size: 1.1rem; color: var(--c-ink); }
.entry ul, .entry ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.entry li { margin: .3em 0; }
.entry li::marker { color: var(--c-red); }
.entry a:not([class]) {
	color: var(--c-ink);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--c-red);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.entry a:not([class]):hover { color: var(--c-red); }
.entry strong { color: var(--c-ink); }
.entry blockquote {
	margin: 1.4em 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--c-red);
	font-family: var(--f-head);
	font-weight: 800;
	font-size: clamp(1.3rem, 1rem + 1vw, 2rem);
	line-height: 1.25;
	color: var(--c-ink);
}
.entry blockquote p { margin: 0; }
.entry figure { margin: 1.6em 0; }
.entry figcaption, .entry .wp-caption-text { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--c-g600); }
.entry img { max-width: 100%; height: auto; }
.entry .wp-caption { max-width: 100%; }
.entry .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.entry .alignright { float: right; margin: .3em 0 1em 1.4em; }
.entry .aligncenter { margin-inline: auto; }
.entry table { width: 100%; margin: 1.4em 0; border-collapse: collapse; font-size: .95em; }
.entry th, .entry td { padding: 10px 8px; border-bottom: 1px solid var(--c-g200); text-align: left; vertical-align: top; }
.entry th { color: var(--c-ink); font-weight: 700; border-bottom-color: var(--c-ink); }
.entry iframe { border: 0; }

/* Secciones y filas */
.entry--sections > :where(p, h2, h3, h4, ul, ol, blockquote, figure, table, .mcm-text, .mcm-gallery, .mcm-faq, .mcm-cta, .mcm-video, .mcm-stats, .mcm-toc, hr) {
	max-width: calc(var(--maxw) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.mcm-section { padding-block: var(--pad-s); }
.entry--sections > .mcm-section:not([class*="--"]) + .mcm-section:not([class*="--"]) { padding-top: 0; }
.mcm-section--alt { background: var(--c-light); }
.mcm-section--dark { background: var(--c-ink); color: var(--c-white); }
.mcm-section--accent { background: var(--c-red); color: var(--c-white); }
.mcm-section--dark .mcm-text, .mcm-section--dark.entry, .mcm-section--dark p { color: var(--c-g200); }
.mcm-section--accent .mcm-text, .mcm-section--accent p { color: var(--c-white); }
.mcm-section--dark :is(h2, h3, h4, strong),
.mcm-section--accent :is(h2, h3, h4, strong) { color: var(--c-white); }
.mcm-section--dark a:not([class]), .mcm-section--accent a:not([class]) { color: var(--c-white); text-decoration-color: currentColor; }
.mcm-section--dark li::marker, .mcm-section--accent li::marker { color: currentColor; }

.mcm-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(24px, 3vw, 48px);
	width: 100%;
	max-width: calc(var(--maxw) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.mcm-row + .mcm-row { margin-top: clamp(24px, 3vw, 48px); }
@media (min-width: 600px) {
	.mcm-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
	.mcm-cols-2, .mcm-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
	.mcm-row--3-5_2-5 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}
@media (min-width: 1024px) {
	.mcm-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mcm-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.mcm-cols-1 { grid-template-columns: minmax(0, 1fr); }
.mcm-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.mcm-col > * { margin-top: 0; margin-bottom: 0; }

/* Contenido dentro de columna (fichas de obra) */
.entry--inset .mcm-row { padding-inline: 0; }
.entry--inset .mcm-section { padding-block: clamp(28px, 3.6vw, 48px); }
.entry--inset .mcm-section:first-child { padding-top: 0; }
.entry--inset .mcm-section:is(.mcm-section--alt, .mcm-section--dark, .mcm-section--accent) { padding-inline: clamp(20px, 3vw, 36px); }
.entry--inset .mcm-section:is(.mcm-section--alt, .mcm-section--dark, .mcm-section--accent):first-child { padding-top: clamp(28px, 3.6vw, 48px); }
.entry--inset > .mcm-section + .mcm-section { border-top: 1px solid var(--c-g200); }
.entry--inset > .mcm-section + .mcm-section:is(.mcm-section--alt, .mcm-section--dark, .mcm-section--accent),
.entry--inset > .mcm-section:is(.mcm-section--alt, .mcm-section--dark, .mcm-section--accent) + .mcm-section { border-top: 0; }
.entry--inset h2:first-child { margin-top: 0; }
.entry--inset .mcm-text, .entry--inset > p { max-width: 760px; }

/* Hero del contenido */
.mcm-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(440px, 72vh, 820px);
	padding: 120px var(--gutter) clamp(28px, 3.6vw, 48px);
	background-color: var(--c-ink);
	background-image:
		linear-gradient(180deg, rgba(31, 36, 41, .5) 0%, rgba(31, 36, 41, .1) 35%, rgba(31, 36, 41, .9) 100%),
		var(--hero-img, none);
	background-size: cover;
	background-position: center;
	color: var(--c-white);
}
.mcm-hero > * { width: 100%; max-width: var(--maxw); margin-inline: auto; }
.mcm-hero__title {
	margin-top: 0;
	margin-bottom: 16px;
	max-width: 1050px;
	font-family: var(--f-head);
	font-weight: 900;
	font-size: var(--t-h1);
	line-height: .94;
	letter-spacing: -.03em;
	color: var(--c-white);
}
.mcm-hero__sub { margin-top: 0; margin-bottom: 20px; max-width: 760px; font-size: var(--t-lead); line-height: 1.5; color: var(--c-g200); }
.mcm-hero__sub p { margin: 0; }
.mcm-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.entry--inset .mcm-hero { min-height: 360px; padding: 64px clamp(20px, 3vw, 36px) 32px; margin-bottom: 32px; }
.entry--inset .mcm-hero__title { font-size: var(--t-h2-m); }

/* Botones del contenido */
a.mcm-btn, a.mcm-btn--ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 26px;
	border: 1px solid transparent;
	border-radius: 2px;
	background: var(--c-red);
	color: var(--c-white);
	font-family: var(--f-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}
a.mcm-btn:hover { background: var(--c-red-hover); }
a.mcm-btn--ghost { background: transparent; border-color: currentColor; color: var(--c-ink); }
a.mcm-btn--ghost:hover { background: var(--c-ink); color: var(--c-white); }
.mcm-hero a.mcm-btn--ghost, .mcm-section--dark a.mcm-btn--ghost, .mcm-section--accent a.mcm-btn--ghost, .mcm-cta a.mcm-btn--ghost { color: var(--c-white); border-color: rgba(255, 255, 255, .75); }
.mcm-hero a.mcm-btn--ghost:hover, .mcm-section--dark a.mcm-btn--ghost:hover, .mcm-section--accent a.mcm-btn--ghost:hover, .mcm-cta a.mcm-btn--ghost:hover { background: var(--c-white); color: var(--c-ink); }
.mcm-section--accent a.mcm-btn:not(.mcm-btn--ghost) { background: var(--c-white); color: var(--c-red); }
.mcm-section--accent a.mcm-btn:not(.mcm-btn--ghost):hover { background: var(--c-ink); color: var(--c-white); }

/* Figura y galería */
figure.mcm-figure { margin: 0; }
figure.mcm-figure img { width: 100%; height: auto; }
figure.mcm-figure figcaption { margin-top: 8px; font-size: 14px; color: var(--c-g600); }
.mcm-section--dark figure.mcm-figure figcaption { color: var(--c-g300); }

.mcm-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
	gap: 10px;
	margin-block: 1.4em;
}
.mcm-gallery figure { margin: 0; }
.mcm-gallery a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-g700); cursor: zoom-in; }
.mcm-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mcm-gallery a:hover img { transform: scale(1.05); }
.mcm-gallery figcaption { margin-top: 6px; font-size: 13px; color: var(--c-g600); }

/* CTA, tarjetas, FAQ, cifras, separador, vídeo, índice */
.mcm-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: clamp(28px, 4vw, 48px);
	background: var(--c-ink);
	color: var(--c-white);
}
.entry--sections > .mcm-cta { padding-block: clamp(28px, 4vw, 48px); }
.mcm-cta__title { margin: 0; font-family: var(--f-head); font-weight: 900; font-size: clamp(1.6rem, 1rem + 2vw, 2.75rem); line-height: 1.05; letter-spacing: -.02em; color: var(--c-white) !important; }
.mcm-cta p { margin: 0; color: var(--c-g200); max-width: 680px; }
.mcm-section--dark .mcm-cta { background: var(--c-g700); }
.mcm-section--accent .mcm-cta { background: var(--c-ink); }

.mcm-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	padding: 24px;
	background: var(--c-white);
	border: 1px solid var(--c-g200);
	color: var(--c-ink);
}
.mcm-card img { width: auto; max-width: 100%; max-height: 220px; object-fit: contain; align-self: flex-start; }
.mcm-card svg { width: 34px; height: 34px; color: var(--c-red); }
.mcm-card :is(h2, h3, h4) { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: 20px; line-height: 1.15; color: var(--c-ink) !important; }
.mcm-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-g700) !important; }

.mcm-faq { margin-block: 1em; }
.mcm-faq details { padding: 18px 0; border-top: 1px solid var(--c-g300); }
.mcm-faq details:last-child { border-bottom: 1px solid var(--c-g300); }
.mcm-faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 44px;
	list-style: none;
	cursor: pointer;
	font-family: var(--f-head);
	font-weight: 800;
	font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem);
	line-height: 1.2;
	color: var(--c-ink);
}
.mcm-faq summary::-webkit-details-marker { display: none; }
.mcm-faq summary::after { content: "+"; flex: none; font-size: 28px; font-weight: 400; line-height: 1; color: var(--c-red); }
.mcm-faq details[open] summary::after { content: "−"; }
.mcm-faq details > :not(summary) { margin: 12px 0 0; max-width: 760px; }
.mcm-section--dark .mcm-faq summary, .mcm-section--accent .mcm-faq summary { color: var(--c-white); }
.mcm-section--dark .mcm-faq summary::after, .mcm-section--accent .mcm-faq summary::after { color: var(--c-white); }
.mcm-section--dark .mcm-faq details, .mcm-section--accent .mcm-faq details { border-color: rgba(255, 255, 255, .3); }

.mcm-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
	gap: 32px;
	margin-block: 1em;
	padding-top: 24px;
	border-top: 1px solid currentColor;
}
.mcm-stat { display: flex; flex-direction: column; gap: 6px; }
.mcm-stat__num { font-family: var(--f-head); font-weight: 900; font-size: clamp(3rem, 2rem + 4vw, 6rem); line-height: .9; letter-spacing: -.03em; color: var(--c-red); }
.mcm-stat__label { font-size: 16px; color: var(--c-g600); }
.mcm-section--dark .mcm-stat__num, .mcm-section--accent .mcm-stat__num { color: var(--c-white); }
.mcm-section--dark .mcm-stat__label { color: var(--c-g300); }
.mcm-section--accent .mcm-stat__label { color: var(--c-white); }

hr.mcm-divider { height: 0; border: 0; border-top: 1px solid var(--c-ink); margin-block: clamp(32px, 4vw, 56px); }
.entry--sections > hr.mcm-divider { max-width: var(--maxw); padding: 0; }
.mcm-section--dark hr.mcm-divider { border-top-color: var(--c-g600); }

.mcm-video { position: relative; aspect-ratio: 16 / 9; margin-block: 1.4em; background: var(--c-ink); }
.mcm-video iframe, .mcm-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.mcm-toc { margin-block: 1.4em; padding: 22px 24px; background: var(--c-light); border-top: 4px solid var(--c-red); color: var(--c-ink); }
.mcm-toc :is(strong, h2, h3, p:first-child) { margin: 0 0 8px; font-family: var(--f-head); font-weight: 800; font-size: 20px; }
.mcm-toc :is(ul, ol) { margin: 0; padding-left: 20px; }
.mcm-toc a { color: var(--c-ink); }

/* ---------- Lightbox (main.js) ---------- */
.lb {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 16px;
	background: rgba(22, 26, 30, .95);
	color: var(--c-white);
}
.lb[hidden] { display: none; }
.lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; }
.lb__img { max-width: min(92vw, 1600px); max-height: 80vh; width: auto; height: auto; object-fit: contain; }
.lb__cap { font-size: 14px; color: var(--c-g200); text-align: center; }
.lb__btn {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px; height: 48px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
	background: rgba(31, 36, 41, .6);
	color: var(--c-white);
	padding: 0;
}
.lb__btn:hover { background: var(--c-white); color: var(--c-ink); }
.lb__close { top: 12px; right: 12px; }
.lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; top: 24px; left: 20px; font-size: 13px; color: var(--c-g300); }
body.lb-open { overflow: hidden; }

/* ---------- Búsqueda, 404 ---------- */
.searchform { display: flex; gap: 8px; max-width: 560px; }
.searchform input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 52px;
	padding: 0 14px;
	border: 1px solid var(--c-g600);
	border-radius: 2px;
	font-size: 16px;
	background: var(--c-white);
}
.searchform .btn { min-height: 52px; }
.search-again { margin-bottom: 32px; }
.results { margin: 0; padding: 0; list-style: none; }
.result { padding: 20px 0; border-top: 1px solid var(--c-g300); }
.result__type { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-g600); }
.result__title { margin: 6px 0; font-weight: 800; font-size: 22px; line-height: 1.2; }
.result__title a { color: var(--c-ink); text-decoration: none; }
.result__title a:hover { color: var(--c-red); text-decoration: underline; }
.result__excerpt { margin: 0; color: var(--c-g700); }
.notfound { display: flex; flex-direction: column; gap: 28px; }

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

/* ---------- Impresión ---------- */
@media print {
	.site-header__burger, .nav, .rapido, .bform, .subnav, .site-header__actions { display: none !important; }
	body.has-rapido { padding: 0; }
}

/* ==========================================================================
   Ajustes al marcado real del contenido importado y del mu-plugin
   ========================================================================== */
/* Hero del contenido extraído o envuelto en su sección */
.entry--hero .mcm-hero { min-height: clamp(520px, 84vh, 920px); }
.mcm-section:has(> .mcm-hero:only-child) { padding: 0; }
.mcm-hero__body { display: flex; flex-wrap: wrap; gap: 14px; }
.mcm-hero__body > p { flex: 1 0 100%; margin: 0; max-width: 760px; font-size: var(--t-lead); color: var(--c-g200); }

/* Botones heredados de Divi que quedan en el contenido */
.entry a.et_pb_button, .entry a.et_pb_promo_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 26px;
	border: 1px solid transparent;
	border-radius: 2px;
	background: var(--c-red);
	color: var(--c-white);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}
.entry a.et_pb_button:hover { background: var(--c-red-hover); }
.mcm-hero a.et_pb_button + a.et_pb_button,
.mcm-hero__body a.et_pb_button:nth-of-type(n+2) { background: transparent; border-color: rgba(255, 255, 255, .75); }
.mcm-hero a.et_pb_button + a.et_pb_button:hover,
.mcm-hero__body a.et_pb_button:nth-of-type(n+2):hover { background: var(--c-white); color: var(--c-ink); }
.mcm-section--accent a.et_pb_button { background: var(--c-white); color: var(--c-red); }

/* Tarjetas y CTA del contenido */
.mcm-card__title { margin: 0; }
.mcm-col > .mcm-cta + .mcm-cta { margin-top: -20px; padding-top: 0; }
.mcm-section--accent .mcm-cta { background: transparent; padding: 0; }
.mcm-section--accent .mcm-cta h2 { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); font-weight: 800; }

/* Rejilla de [mcm_proyectos] */
.mcm-project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 36px 24px;
	margin-block: 1.4em;
}
.mcm-project-card a { display: flex; flex-direction: column; gap: 10px; color: var(--c-ink); text-decoration: none; }
.mcm-project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mcm-project-card h3 { margin: 0; font-size: 20px; }
.mcm-section--dark .pcard__title a, .mcm-section--accent .pcard__title a { color: var(--c-white); }
.mcm-section--dark .pcard__meta { color: var(--c-g300); }
.mcm-section--dark .pcard__more { color: var(--c-white); border-color: var(--c-white); }

/* mcm_form(): honeypot, parejas de campos, casilla de privacidad, avisos */
.mcm-form [hidden] { display: none !important; }
.mcm-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mcm-form { position: relative; }
.mcm-form__pair { display: flex; flex-wrap: wrap; gap: 16px; }
.mcm-form__pair > label { flex: 1 1 180px; }
.mcm-form label.mcm-form__check {
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--c-ink);
	line-height: 1.4;
	min-height: 44px;
	padding-top: 4px;
}
.mcm-form__legal a { color: var(--c-g600); }
.mcm-form label.mcm-form__check { display: block; position: relative; padding: 10px 0 0 32px; min-height: 44px; }
.mcm-form label.mcm-form__check input[type="checkbox"] { position: absolute; left: 0; top: 10px; }

/* ==========================================================================
   B · Funcionalidades interactivas
   ========================================================================== */
.eyebrow--muted { color: var(--c-g400); }
.crumbs--caps ol { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.band--black { background: var(--c-ink); color: var(--c-white); }
.band--black .sec-head--rule { border-top-color: var(--c-g600); }
.band--black .sec-sub { color: var(--c-g300); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--c-g700); }
.checks li::before { content: "✓"; margin-right: 10px; color: var(--c-red); font-weight: 700; }

/* ---------- Hero: título del contenido dentro del pase de fotos ---------- */
.hero__from-content { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 20px); }
.hero__from-content .mcm-hero__title {
	margin: 0;
	max-width: 1100px;
	font-family: var(--f-head);
	font-weight: 900;
	font-size: var(--t-h1-xl);
	line-height: .92;
	letter-spacing: -.035em;
	color: var(--c-white);
}
.hero__from-content .mcm-hero__body, .hero__from-content .mcm-hero__actions { display: none; } /* los botones del hero son los de la plantilla */
.hero__from-content .mcm-hero__sub { margin: 0; max-width: 760px; color: var(--c-g200); font-size: var(--t-lead); }
.hero__play { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- 01 Calculadora ---------- */
.calc-wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .calc-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; } }
.calc-intro { display: flex; flex-direction: column; gap: 16px; }
.calc-intro__text { margin: 0; max-width: 500px; font-size: 17px; line-height: 1.65; color: var(--c-g700); }
.calc { background: var(--c-white); box-shadow: 0 20px 60px rgba(31, 36, 41, .12); min-width: 0; }
.calc__bars { display: flex; gap: 4px; padding: 20px clamp(20px, 3vw, 28px) 0; }
.calc__bars span { flex: 1 1 0; height: 4px; background: var(--c-g200); transition: background-color .3s; }
.calc__bars span.is-done { background: var(--c-red); }
.calc__inner { display: flex; flex-direction: column; gap: 18px; padding: 18px clamp(20px, 3vw, 28px) 28px; }
.js .calc__inner { min-height: 440px; }
.calc__label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--c-g600); }
.calc__q { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.calc__q + .calc__q { padding-top: 20px; border-top: 1px solid var(--c-g200); }
.js .calc__q + .calc__q { padding-top: 0; border-top: 0; }
.calc__q[hidden] { display: none; }
.calc__qt { padding: 0; margin: 0 0 4px; font-family: var(--f-head); font-weight: 900; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; color: var(--c-ink); }
.calc__qt:focus { outline: none; }
.calc__opts { display: grid; gap: 10px; }
@media (min-width: 560px) { .calc__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.calc__opt {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 60px;
	padding: 14px 18px;
	border: 1px solid var(--c-g300);
	background: var(--c-white);
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.calc__opt:hover { border-color: var(--c-ink); }
.calc__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc__opt:has(input:checked) { border-color: var(--c-ink); background: var(--c-ink); color: var(--c-white); }
.calc__opt:has(input:checked) .calc__arrow { color: var(--c-white); }
.calc__opt:has(input:focus-visible) { outline: 3px solid var(--c-red); outline-offset: 2px; }
.calc__arrow { color: var(--c-red); }
.calc__sum { margin: 0; padding: 12px 14px; background: var(--c-light); font-size: 15px; color: var(--c-g700); }
.calc__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.calc__back { min-height: 48px; padding: 0 4px; border: 0; background: none; color: var(--c-g600); font-weight: 600; font-size: 15px; }
.calc__back:hover { color: var(--c-ink); }
.calc__next { margin-left: auto; }
.calc__next:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- 02 Selector de estilo ---------- */
.stylepick__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
@media (max-width: 699px) { .stylepick__chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; } }
.stylepick__chips .chip-btn { flex: none; white-space: nowrap; }
.chip-btn[aria-pressed="true"] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.chip-btn[aria-pressed="true"] .chip-btn__n { color: var(--c-g300); }
.stylepick__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.stylepick__count { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: 20px; }
.scroller { list-style: none; margin: 0; padding: 0 0 14px; }
.scroller > li[hidden] { display: none; }

/* ---------- 03 Mapa ---------- */
.mapstats { display: flex; gap: clamp(20px, 3vw, 36px); margin: 0; }
.mapstats div { display: flex; flex-direction: column-reverse; }
.mapstats dd { margin: 0; font-family: var(--f-head); font-weight: 900; font-size: clamp(2.1rem, 1.5rem + 2vw, 3.5rem); line-height: 1; color: var(--c-white); }
.mapstats dd.is-red { color: #E5737D; }
.mapstats dt { font-size: 13px; color: var(--c-g300); }
.map[hidden] { display: none; }
.map__tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.map__hint { margin: 0; font-size: 13px; color: var(--c-g300); }
.seg { display: inline-flex; border: 1px solid var(--c-g600); }
.seg button { min-height: 44px; padding: 0 18px; border: 0; background: transparent; color: var(--c-white); font-weight: 600; font-size: 14px; }
.seg button[aria-pressed="true"] { background: var(--c-white); color: var(--c-ink); }
.map__layout { display: grid; gap: 20px; }
@media (min-width: 1000px) { .map__layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: stretch; } }
.map__canvas {
	position: relative;
	height: clamp(420px, 56vw, 640px);
	overflow: hidden;
	background: radial-gradient(ellipse at 45% 35%, var(--c-g700) 0%, var(--c-ink) 70%);
	border: 1px solid var(--c-g700);
}
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__land { fill: #2B323A; stroke: var(--c-g600); stroke-width: 1.2; }
.map__pins { position: absolute; inset: 0; }
.map__pin {
	position: absolute;
	transform: translate(-50%, -50%);
	width: 40px; height: 40px;
	padding: 0;
	border: 2px solid var(--c-white);
	border-radius: 50%;
	background: var(--c-g700) center / cover no-repeat;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
	color: var(--c-white);
	transition: width .2s, height .2s, box-shadow .2s;
	z-index: 2;
}
.map__pin:hover, .map__pin:focus-visible { z-index: 4; width: 48px; height: 48px; }
.map__pin[aria-pressed="true"] { z-index: 5; width: 54px; height: 54px; border-color: var(--c-red); box-shadow: 0 0 0 4px rgba(177, 14, 28, .45), 0 6px 18px rgba(0, 0, 0, .5); }
.map__pin-n {
	position: absolute;
	right: -8px; top: -8px;
	min-width: 24px; height: 24px;
	padding: 0 6px;
	border: 2px solid var(--c-white);
	border-radius: 12px;
	background: var(--c-red);
	font-family: var(--f-head);
	font-weight: 900;
	font-size: 12px;
	line-height: 20px;
}
.map__lbl {
	position: absolute;
	transform: translate(-50%, 18px);
	padding: 2px 7px;
	background: rgba(31, 36, 41, .85);
	color: var(--c-white);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	pointer-events: none;
	z-index: 3;
}
.map__city { position: absolute; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--c-g400); pointer-events: none; transform: translate(-4px, -50%); }
.map__city::before { content: ""; width: 7px; height: 7px; background: var(--c-g400); transform: rotate(45deg); }
.map__note { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: var(--c-g400); pointer-events: none; }
.map__card { display: flex; flex-direction: column; background: var(--c-white); color: var(--c-ink); min-width: 0; }
.map__card-img { position: relative; height: 220px; background: var(--c-g700); overflow: hidden; }
.map__card-img img { width: 100%; height: 100%; object-fit: cover; }
.map__card-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; flex: 1 1 auto; }
.map__card-zone { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-g600); }
.map__card-title { margin: 0; font-family: var(--f-head); font-weight: 900; font-size: 26px; line-height: 1.05; }
.map__card-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-g200); }
.map__card-list a { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 44px; padding: 8px 0; border-bottom: 1px solid var(--c-g200); color: var(--c-ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.map__card-list a:hover { color: var(--c-red); }
.map__card-list span { font-weight: 500; color: var(--c-g600); }
.map__card .btn { margin-top: auto; }
.map__card-ask { color: var(--c-red); font-weight: 600; font-size: 15px; text-align: center; text-decoration: none; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.mapzones { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 20px 32px; margin-top: 28px; }
.mapzone__t { margin: 0 0 6px; font-size: 12px; font-family: var(--f-body); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--c-g400); }
.mapzone__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 14px; }
.mapzone__list a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--c-white); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c-g600); text-underline-offset: 4px; }
.mapzone__list a:hover, .mapzone__list a[aria-current] { text-decoration-color: var(--c-red); }
.mapzone__n { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 11px; background: var(--c-red); font-size: 12px; text-align: center; text-decoration: none; }
.map__more { margin: 28px 0 0; }

/* ---------- 04 Cómo construimos (cabecera con caja de reformas) ---------- */
.split { display: grid; gap: 32px; padding-top: 18px; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: start; } }
.band:not(.band--dark) .lead-text { color: var(--c-g700); }
.band:not(.band--dark) .lead-text a { color: var(--c-ink); font-weight: 600; text-decoration-color: var(--c-red); text-decoration-style: dotted; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.split .reform-box { margin-top: 0; flex-direction: column; align-items: flex-start; }
.band:not(.band--dark) .steps { background: var(--c-g200); }
.band:not(.band--dark) .step { background: var(--c-white); }
.band:not(.band--dark) .step__title a { color: var(--c-ink); }
.band:not(.band--dark) .step__text { color: var(--c-g700); }
.band:not(.band--dark) .step__num { color: var(--c-red); }
.band:not(.band--dark) .step__more { color: var(--c-ink); }

/* ---------- 05 FAQ ---------- */
.faqwrap { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faqwrap { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; } }
.faqwrap__head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; border-top: 1px solid var(--c-ink); padding-top: 18px; }
.faqwrap__head a:not(.link-under) { color: var(--c-ink); }
.faq__item { border-top: 1px solid var(--c-g300); padding: 18px 0; }
.faq__item:last-child { border-bottom: 1px solid var(--c-g300); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { margin: 0; font-weight: 800; font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem); line-height: 1.2; }
.faq__icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--c-red); transition: transform .2s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding-top: 10px; max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--c-g700); }
.faq__a p { margin: 0 0 .8em; }

/* ---------- Contenido real de la portada ---------- */
.entry--front > .mcm-section:first-child:not([class*="--"]) { padding-top: var(--pad-s); }

/* ---------- Ficha: datos clave, bloques desplegables, rasgos, fases, antes/después ---------- */
.fhero__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.keyfacts { display: flex; flex-wrap: wrap; margin: 6px 0 0; border-top: 1px solid rgba(255, 255, 255, .3); }
.keyfacts div { flex: 1 1 120px; padding: 14px 20px 0 0; display: flex; flex-direction: column; gap: 4px; }
.keyfacts dt { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-g300); }
.keyfacts dd { margin: 0; font-family: var(--f-head); font-weight: 800; font-size: clamp(1.1rem, .9rem + .9vw, 1.75rem); }
.ficha__main { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 72px); min-width: 0; }
.sec { scroll-margin-top: 80px; }
.sec__sum { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding-top: 18px; border-top: 1px solid var(--c-ink); cursor: pointer; list-style: none; }
.sec__sum::-webkit-details-marker { display: none; }
.sec__sum .icon { flex: none; transition: transform .2s; }
.sec[open] > .sec__sum .icon { transform: rotate(180deg); }
.sec__h { margin: 0; display: flex; align-items: baseline; gap: 14px; }
.sec__n { font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: 3px; color: var(--c-red); }
.sec__t { font-weight: 900; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); letter-spacing: -.01em; line-height: 1.05; }
.sec__body { display: flex; flex-direction: column; gap: 20px; padding-top: 22px; }
.sec__note { margin: 0; font-size: 13px; color: var(--c-g600); }
.entry--obra .mcm-gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.entry--obra h3:first-child { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 600; line-height: 1.3; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 2px; background: var(--c-g200); border: 2px solid var(--c-g200); }
.feat-tile { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 112px; padding: 18px 16px; background: var(--c-white); }
.feat-tile::before { content: ""; width: 26px; height: 3px; margin-bottom: auto; background: var(--c-red); }
.feat-tile__k { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--c-g600); }
.feat-tile__v { font-family: var(--f-head); font-weight: 800; font-size: 17px; line-height: 1.2; }

.phases__tabs { display: flex; gap: 3px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.phases__tab {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 120px;
	min-height: 56px;
	padding: 0 4px 6px;
	border: 0;
	background: none;
	color: var(--c-g600);
	text-align: left;
	font-size: 13px;
	font-weight: 600;
}
.phases__tab::before { content: ""; display: block; height: 6px; background: var(--c-g200); transition: background-color .2s; }
.phases__tab.is-done::before { background: rgba(177, 14, 28, .45); }
.phases__tab[aria-selected="true"] { color: var(--c-ink); }
.phases__tab[aria-selected="true"]::before { background: var(--c-red); }
.phases__tab:hover::before { background: var(--c-g400); }
.phases__tab[aria-selected="true"]:hover::before { background: var(--c-red); }
.phase { padding-top: 20px; }
.phase + .phase { border-top: 1px solid var(--c-g200); margin-top: 28px; }
.js-phases .phase + .phase { border-top: 0; margin-top: 0; }
.phase[hidden] { display: none; }
.phase__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; }
.phase__n { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--c-red); }
.phase__title { margin: 0; font-weight: 900; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); line-height: 1.1; }
.phase__count { font-size: 13px; color: var(--c-g600); }
.phase__body .mcm-gallery { margin-top: 0; }
.phase__body .mcm-gallery figure:first-child { grid-column: 1 / -1; }
.phase__body .mcm-gallery figure:first-child a { aspect-ratio: 16 / 9; }
.phase__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.phase__nav button { min-height: 44px; padding: 0 14px; border: 1px solid var(--c-g300); background: var(--c-white); font-weight: 600; font-size: 14px; }
.phase__nav button:hover { border-color: var(--c-ink); }
.phase__nav button:disabled { visibility: hidden; }

.ba { margin: 0 0 8px; }
.ba__stage { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba__pane { position: relative; overflow: hidden; background: var(--c-g700); aspect-ratio: 4 / 3; }
.ba__pane img { width: 100%; height: 100%; object-fit: cover; }
.ba__tag { position: absolute; top: 12px; padding: 6px 10px; background: rgba(31, 36, 41, .85); color: var(--c-white); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.ba__pane--before .ba__tag { left: 12px; }
.ba__pane--after .ba__tag { right: 12px; background: var(--c-red); }
.ba__handle { display: none; }
.ba__cap { margin-top: 8px; font-size: 14px; color: var(--c-g600); }
.ba--on .ba__stage { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-g700); --pos: 50%; }
.ba--on .ba__pane { position: absolute; inset: 0; aspect-ratio: auto; }
.ba--on .ba__pane--after { clip-path: inset(0 0 0 var(--pos)); }
.ba--on .ba__handle { display: block; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1px; background: var(--c-white); box-shadow: 0 0 8px rgba(0, 0, 0, .5); pointer-events: none; }
.ba--on .ba__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--c-white); color: var(--c-ink); font-size: 20px; line-height: 44px; text-align: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.ba__ctl { display: block; margin-top: 10px; }
.ba__ctl input { width: 100%; height: 32px; margin: 0; accent-color: var(--c-red); cursor: ew-resize; }

/* ---------- Listado: barra, chips activos, zonas ---------- */
.listing__ahead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.listing__ftitle { margin: 0; font-weight: 800; font-size: 22px; }
.listing__reset { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-red); font-weight: 600; font-size: 14px; }
.listing__reset[hidden] { display: none; }
.listing__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.listing__bar .listing__count { margin: 0; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.active-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; background: var(--c-ink); color: var(--c-white); font-size: 13px; font-weight: 600; text-decoration: none; }
.active-chip:hover { background: var(--c-g700); }
.listing__grid { list-style: none; margin: 0; padding: 0; }
.listing__grid > li[hidden] { display: none; }
.chip-btn[aria-current] .chip-btn__n, .chip-btn.is-zero .chip-btn__n { color: inherit; }
.chip-btn.is-zero { opacity: .55; }
.listing__zones { display: grid; gap: 24px; margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--c-ink); }
@media (min-width: 1000px) { .listing__zones { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; } }
.listing__zones > div { display: flex; flex-direction: column; gap: 12px; }
.zone-links { list-style: none; margin: 0; padding: 0; }
.zone-links a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--c-g200); color: var(--c-ink); font-weight: 600; text-decoration: none; }
.zone-links a:hover { color: var(--c-red); }

/* ---------- Artículo: Pregunta a tu IA, copiar, definiciones ---------- */
.askai { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 24px; padding: 12px 0; border-top: 1px solid var(--c-g200); border-bottom: 1px solid var(--c-g200); }
.askai__label { margin-right: 6px; font-size: 13px; font-weight: 700; }
.askai__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.askai__btn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border: 1px solid var(--c-g300); color: var(--c-ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.askai__btn:hover { border-color: var(--c-ink); }
.askai__copy { margin-left: auto; min-height: 44px; padding: 0 14px; border: 0; background: var(--c-ink); color: var(--c-white); font-size: 13px; font-weight: 600; }
.askai__copy:hover { background: var(--c-g700); }
.askai__copy.is-done { background: var(--c-red); }
.entry a.gl-term { text-decoration-style: dotted; text-decoration-color: var(--c-red); text-decoration-thickness: 2px; text-underline-offset: 5px; cursor: help; }
.gl-tip {
	position: absolute;
	z-index: 120;
	max-width: min(340px, calc(100vw - 32px));
	padding: 14px 16px;
	background: var(--c-ink);
	color: var(--c-white);
	font-size: 14px;
	line-height: 1.55;
	box-shadow: 0 12px 30px rgba(31, 36, 41, .35);
	pointer-events: none;
}
.gl-tip strong { display: block; margin-bottom: 4px; font-family: var(--f-head); font-size: 16px; }
.gl-tip[hidden] { display: none; }

/* ---------- Capas del muro (B-Sistema) ---------- */
.wall__layout { display: grid; gap: 28px; }
@media (min-width: 1000px) { .wall__layout { grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: 32px; align-items: stretch; } }
.wall__vis { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.wall__axis { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-g600); }
.wall__layers { display: flex; gap: 3px; height: clamp(240px, 32vw, 420px); }
.wall__layer {
	position: relative;
	flex: var(--g, 1) 1 0;
	min-width: 0;
	padding: 0;
	border: 0;
	background: var(--c);
	box-shadow: inset 0 0 0 1px rgba(31, 36, 41, .12);
	transition: transform .25s ease, box-shadow .25s;
}
.wall__layer:hover { transform: translateY(-6px); }
.wall__layer[aria-pressed="true"] { transform: translateY(-14px); box-shadow: 0 0 0 3px var(--c-red), 0 14px 26px rgba(31, 36, 41, .25); }
.wall__n { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-family: var(--f-head); font-weight: 800; font-size: 14px; color: var(--t, var(--c-ink)); }
.wall__note { font-size: 12px; color: var(--c-g600); }
.wall__details { display: flex; flex-direction: column; gap: 16px; }
.wall__detail { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 32px); background: var(--c-ink); color: var(--c-white); }
.js .wall__detail[hidden] { display: none; }
.wall__dn { font-family: var(--f-head); font-weight: 900; font-size: 56px; line-height: 1; color: #E5737D; }
.wall__dt { margin: 0; font-weight: 800; font-size: 24px; line-height: 1.15; }
.wall__dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--c-g200); }
.wall__links { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
.wall__links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--c-white); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c-red); text-underline-offset: 4px; }

/* ---------- Glosario: buscador y filtro por letra ---------- */
.gsearch { display: flex; flex-direction: column; gap: 8px; max-width: 620px; margin-bottom: 24px; }
.gsearch[hidden] { display: none; }
.gsearch__label { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--c-g600); }
.gsearch__row { display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid var(--c-g600); background: var(--c-white); }
.gsearch__row:focus-within { outline: 3px solid var(--c-red); outline-offset: 2px; }
.gsearch__input { flex: 1 1 auto; min-width: 0; min-height: 54px; border: 0; background: transparent; font-size: 17px; }
.gsearch__input:focus { outline: none; }
.gsearch__count { margin: 0; font-size: 14px; color: var(--c-g600); min-height: 1.4em; }
.az button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--c-g300); background: var(--c-white); font-family: var(--f-head); font-weight: 800; font-size: 15px; }
.az a[aria-pressed="true"], .az button[aria-pressed="true"] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.gloss__group[hidden], .gloss__item[hidden] { display: none; }

/* ---------- Formularios dentro de secciones de color del contenido ---------- */
.mcm-section--accent .mcm-form, .mcm-section--dark .mcm-form { max-width: 620px; padding: clamp(22px, 3vw, 32px); background: var(--c-white); color: var(--c-ink); }
.mcm-section--accent .mcm-form :is(p, strong), .mcm-section--dark .mcm-form :is(p, strong) { color: inherit; }
.mcm-section--accent .mcm-form .mcm-form__legal { color: var(--c-g600); }
.mcm-section--accent .mcm-form label, .mcm-section--dark .mcm-form label { color: var(--c-g600); }
.mcm-section--accent .mcm-form label.mcm-form__check, .mcm-section--dark .mcm-form label.mcm-form__check { color: var(--c-ink); }
.mcm-section--accent .mcm-form a, .mcm-section--dark .mcm-form a { color: var(--c-red); }
.mcm-section--accent .mcm-row:has(.mcm-form) { justify-items: center; }
.anchor { display: block; position: relative; top: -80px; visibility: hidden; }

/* ==========================================================================
   Contacto rápido (B-Rapido): barra abajo en móvil, carril a la derecha en escritorio
   ========================================================================== */
.rapido { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; transition: transform .3s ease, opacity .3s ease; }
.rapido.is-hidden:not(.is-open) { transform: translateY(110%); opacity: 0; pointer-events: none; }
.rapido__bar { display: flex; background: var(--c-ink); box-shadow: 0 -8px 24px rgba(31, 36, 41, .25); padding-bottom: env(safe-area-inset-bottom, 0); }
.rapido__btn {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	min-height: 60px;
	padding: 0 6px;
	border: 0;
	background: none;
	color: var(--c-white);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	line-height: 1.15;
}
.rapido__btn--back { flex-grow: 1.4; background: var(--c-red); }
.rapido__btn--back:hover, .rapido__btn--back[aria-expanded="true"] { background: var(--c-red-hover); }
.rapido__btn--call:hover { background: var(--c-g700); }
.rapido__btn--quote { display: none; }
.rapido__l-long { display: inline; }
.rapido__l-short { display: none; }
.rapido__panel {
	position: absolute;
	left: 0; right: 0; bottom: 100%;
	max-height: calc(100vh - 140px);
	max-height: calc(100dvh - 140px);
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px var(--gutter) 22px;
	background: var(--c-white);
	color: var(--c-ink);
	border-top: 3px solid var(--c-red);
	box-shadow: 0 -16px 40px rgba(31, 36, 41, .3);
}
.rapido__panel[hidden] { display: none; }
.rapido__phead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rapido__ptitle { margin: 0; font-family: var(--f-head); font-weight: 900; font-size: 24px; line-height: 1.05; }
.rapido__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -8px -8px 0 0; border: 0; background: none; color: var(--c-ink); }
.rapido__ptext { margin: 0; font-size: 14px; line-height: 1.5; color: var(--c-g600); }
.rapido .mcm-form { gap: 12px; }
.rapido .mcm-form__legal { display: none; }
body.has-rapido { padding-bottom: 60px; }

@media (min-width: 900px) {
	body.has-rapido { padding-bottom: 0; }
	.rapido { left: auto; right: 0; bottom: auto; top: calc(var(--header-h) + 44px); }
	.rapido.is-hidden:not(.is-open) { transform: translateX(110%); }
	.rapido__bar { flex-direction: column; width: 84px; padding: 0; box-shadow: 0 12px 32px rgba(31, 36, 41, .3); }
	.rapido__btn { flex: none; min-height: 0; padding: 16px 6px; gap: 6px; font-size: 12px; border-bottom: 1px solid var(--c-g700); }
	.rapido__btn--back { background: var(--c-ink); }
	.rapido__btn--back:hover, .rapido__btn--back[aria-expanded="true"] { background: var(--c-red); }
	.rapido__btn--quote { display: flex; background: var(--c-red); border-bottom: 0; }
	.rapido__btn--quote:hover { background: var(--c-red-hover); }
	.rapido__l-long { display: none; }
	.rapido__l-short { display: inline; }
	.rapido__panel { left: auto; right: 84px; top: 0; bottom: auto; width: 340px; max-height: calc(100vh - var(--header-h) - 60px); padding: 24px; border-top: 0; box-shadow: 0 20px 50px rgba(31, 36, 41, .35); }
}

/* ---------- Banner de cookies del mu-plugin (#mcm-consent) ---------- */
.mcm-consent { position: fixed; left: 0; right: 0; bottom: 60px; z-index: 95; padding: 0 12px 12px; }
.mcm-consent[hidden] { display: none; }
.mcm-consent__box { max-width: 980px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 18px 20px; background: var(--c-ink); color: var(--c-g200); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); border-top: 3px solid var(--c-red); }
.mcm-consent__text { flex: 1 1 380px; margin: 0; font-size: 14px; line-height: 1.55; }
.mcm-consent__text a { color: var(--c-white); }
.mcm-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mcm-consent .mcm-btn, .mcm-consent .mcm-btn--ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 2px; background: var(--c-red); color: var(--c-white); font-weight: 600; font-size: 15px; }
.mcm-consent .mcm-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .7); }
.mcm-consent .mcm-btn:hover { background: var(--c-red-hover); }
.mcm-consent .mcm-btn--ghost:hover { background: var(--c-white); color: var(--c-ink); }
.mcm-consent :focus-visible { outline-color: var(--c-white); }
.mcm-consent-reopen { position: fixed; left: 10px; bottom: 70px; z-index: 60; min-height: 36px; padding: 0 12px; border: 1px solid var(--c-g300); border-radius: 18px; background: var(--c-white); color: var(--c-g700); font-size: 12px; font-weight: 600; }
.mcm-consent-reopen[hidden] { display: none; }
@media (max-width: 899px) {
	.rapido.is-typing:not(.is-open) { transform: translateY(110%); opacity: 0; pointer-events: none; }
}
.az button:hover { border-color: var(--c-ink); }

/* ---------- Correcciones tras revisión visual ---------- */
body:has(.site-header.is-open) .rapido { display: none; }
@media (max-width: 999px) {
	.post__body, .gterm__body, .contact, .learn, .listing__body, .calc-wrap, .map__layout, .split, .faqwrap, .wall__layout, .ficha, .bform__inner { grid-template-columns: minmax(0, 1fr); }
}
[hidden] { display: none !important; }
.entry .mcm-hero__title { margin-block: 0 16px; margin-inline: auto; color: var(--c-white); }
.entry h2.mcm-hero__title { font-size: var(--t-h2); line-height: .98; letter-spacing: -.02em; }
.entry .mcm-hero p { color: var(--c-g200); }
.js .calc__inner { min-height: 380px; }
.mcm-gallery { grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); }
.fbox { display: flex; flex-direction: column; gap: 16px; }
.fbox:not([open]) { gap: 0; }
.fbox__sum { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 16px; border: 1px solid var(--c-ink); cursor: pointer; list-style: none; }
.fbox__sum::-webkit-details-marker { display: none; }
.fbox__sum .icon { transition: transform .2s; }
.fbox[open] > .fbox__sum .icon { transform: rotate(180deg); }
.fbox .listing__ahead { justify-content: flex-end; }
@media (min-width: 1000px) {
	.fbox__sum { padding: 0; border: 0; min-height: 44px; }
	.fbox__sum .icon { display: none; }
}
.phead--plain .phead__inner { border-bottom: 0; background: linear-gradient(var(--c-ink), var(--c-ink)) center bottom / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.mcm-gallery:has(> figure:only-child) { grid-template-columns: minmax(0, 1fr); }
.mcm-gallery:has(> figure:only-child) a { aspect-ratio: 16 / 9; }
.memo { margin: 0; }
.memo__row { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--c-g200); }
.memo__row dt { flex: 0 0 200px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--c-g600); }
.memo__row dd { flex: 1 1 300px; margin: 0; font-size: 15px; line-height: 1.65; color: var(--c-g700); }
.feats { align-items: stretch; }
.feat-tile { justify-content: flex-start; }
.feat-tile::before { margin-bottom: 10px; }
.hero__title, .hero__from-content .mcm-hero__title { font-size: clamp(2.6rem, .9rem + 5.4vw, 6rem); max-width: 1200px; margin-top: 4px; }
@media (min-width: 900px) {
	.mcm-consent { bottom: 0; padding: 0 16px 16px; }
	.mcm-consent-reopen { bottom: 16px; left: 16px; }
}


/* === Ajustes de revisión (orquestador) === */
/* Cabeceras de contenido: título, subtítulo y botones alineados al mismo contenedor */
.mcm-hero { padding-left: max(clamp(20px, 3vw, 40px), calc((100% - var(--maxw)) / 2)); padding-right: max(clamp(20px, 3vw, 40px), calc((100% - var(--maxw)) / 2)); }
.mcm-hero > *, .entry .mcm-hero__title, .mcm-hero .mcm-hero__title, .mcm-hero .mcm-hero__sub, .mcm-hero .mcm-hero__body, .mcm-hero .mcm-hero__actions { margin-left: 0 !important; margin-right: 0 !important; width: auto; }
.mcm-hero .mcm-hero__title { max-width: 1100px; }
.mcm-hero .mcm-hero__sub, .mcm-hero .mcm-hero__body > p { max-width: 760px; }
/* Migas sobre foto: legibles */
.hero .crumbs, .hero .breadcrumbs, .phero .crumbs { text-shadow: 0 1px 3px rgba(0,0,0,.6); }

/* Mapa: contexto geográfico */
.map__region { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.45); stroke-width: 1.2px; stroke-dasharray: 4 3; }
.map__ridge { fill: none; stroke: #9AA3AD; stroke-width: 3px; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.map__area { position: absolute; transform: translate(-50%, -50%) rotate(-38deg); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #C9CED4; white-space: nowrap; pointer-events: none; font-style: italic; }
.map__area--soft { transform: translate(-50%, -50%); color: rgba(201,206,212,.7); font-style: normal; }
@media (max-width: 600px) { .map__area { font-size: 9px; } }
/* Ficha: migas del hero ocultas en móvil (se solapan con el título) */
@media (max-width: 600px) { .phero .crumbs, .hero .crumbs, .hero__crumbs, .phero__crumbs { display: none; } }

@media (max-width: 600px) { .fhero__crumbs { display: none; } }
.fhero__crumbs { text-shadow: 0 1px 3px rgba(0,0,0,.65); }

h1.hero__h1 { margin: 0 0 14px; line-height: 1.4; font-family: inherit; }
.hero__from-content p.mcm-hero__title, p.hero__title { margin-top: 4px; }

/* Rejilla de proyectos dentro del contenido */
.mcm-project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 28px; width: 100%; max-width: var(--maxw); margin: 32px auto; padding-inline: clamp(20px, 3vw, 40px); box-sizing: border-box; }
.mcm-project-grid > * { min-width: 0; }
/* Enlaces legibles sobre fondos oscuros o de marca */
.mcm-cta a:not(.mcm-btn), .mcm-section--dark .mcm-text a:not(.mcm-btn), .mcm-section--accent .mcm-text a:not(.mcm-btn), .mcm-hero a:not(.mcm-btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.mcm-grid-title { max-width: var(--maxw); margin: 48px auto 0; padding-inline: clamp(20px, 3vw, 40px); box-sizing: border-box; }

/* Con el panel «Te llamamos» abierto, el banner de cookies queda por debajo */
.rapido:has(.rapido__panel:not([hidden])) { z-index: 120; }
body:has(.rapido__panel:not([hidden])) .mcm-consent { visibility: hidden; }

/* Ficha: Sigue explorando (enlazado interno) */
.explore { margin-top: 56px; margin-bottom: 24px; padding-top: 18px; border-top: 1px solid var(--c-ink); }
.explore__title { margin: 0 0 14px; font-family: var(--f-display, Archivo, sans-serif); font-weight: 800; font-size: 22px; }
.explore__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.explore__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--c-g300, #C9CED4); color: var(--c-ink, #1F2429); text-decoration: none; font-weight: 600; font-size: 15px; }
.explore__list a:hover { border-color: var(--c-red, #B10E1C); color: var(--c-red, #B10E1C); }
.mcm-related { font-size: 16px; }

/* h2 promovidos desde h3 en tarjetas/CTA: mismo tamaño que antes */
h2.mcm-card__title { margin: 0; font-weight: 800; font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); line-height: 1.2; letter-spacing: 0; }

/* Etiqueta «En construcción» */
.chip--build { display: inline-flex; align-items: center; gap: 6px; background: #F2B705; color: #1F2429; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 2px; }
.chip--build::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1F2429; animation: mcmPulse 1.6s ease-in-out infinite; }
@keyframes mcmPulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .chip--build::before { animation: none; } }
.fhero__inner > .chip--build { margin-bottom: 12px; align-self: flex-start; }
.pcard__media { position: relative; }
.chip--onimg-r { position: absolute; top: 12px; right: 12px; }

/* Sin estilos asignados todavía: no se muestran botones vacíos */
.stylepick--nostyles [data-style] { display: none; }

/* Obras sin ubicación publicada (bajo el mapa) */
.mapzones--nomap { margin-top: 8px; grid-template-columns: 1fr; }
.mapzones--nomap .mapzone__list { columns: 2 260px; }

/* Ficha técnica desde campos */
.memo--tech { margin-bottom: 20px; }
.techgroups { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px 24px; margin: 8px 0 20px; }
.techgroup__k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6B7178; margin-bottom: 8px; }
.taglist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.taglist li { border: 1px solid #D9DCDF; padding: 4px 10px; font-size: 14px; border-radius: 2px; background: #fff; }
.taglist--eq li { border-color: #1F2429; }
.techgroup--eq { margin-bottom: 20px; }

/* Ficha lateral fija: nunca más alta que la pantalla (portátiles bajos) */
@media (min-width: 1000px) {
	.ficha__aside { max-height: calc(100vh - 104px); overflow-y: auto; scrollbar-width: thin; }
}
@media (min-width: 1000px) and (max-height: 860px) {
	.ficha__aside { gap: 12px; padding-block: 20px; }
	.ficha__aside .kv > div { padding-block: 6px; font-size: 14px; }
	.ficha__aside-title { font-size: 24px; }
}

/* =====================================================================
   Revisión 09-11 (feedback Jorge): ruido, cabecera, carril, bloque final
   ===================================================================== */
/* Cabecera fija y compacta al bajar: el logo nunca se pierde */
.site-header { position: sticky; top: 0; z-index: 90; transition: box-shadow .2s ease; }
.site-header__bar { transition: height .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(31, 36, 41, .08); }
.site-header.is-scrolled .site-header__bar { height: 64px; }
.site-header.is-scrolled .site-header__logo img { height: 32px; }
.site-header__logo img { transition: height .2s ease; }
.subnav { top: 64px; }
@media (max-width: 1199px) { .subnav { top: var(--header-h); } }
@media (min-width: 1000px) {
	.ficha__aside { top: 144px; max-height: calc(100vh - 160px); }
}
/* El contenido no se mete bajo el carril lateral */
@media (min-width: 900px) {
	:root { --maxw: min(1320px, calc(100vw - 2 * var(--gutter) - 2 * 64px)); }
}
/* Carril de escritorio: solo «Te llamamos» (cabecera ya tiene teléfono y presupuesto) */
@media (min-width: 900px) {
	.rapido__bar { width: 64px; }
	.rapido__btn--call, .rapido__btn--quote { display: none !important; }
	.rapido__btn--back { padding: 14px 4px; font-size: 11px; border-bottom: 0; background: var(--c-red); }
	.rapido__btn--back:hover, .rapido__btn--back[aria-expanded="true"] { background: var(--c-red-hover); }
	.rapido__panel { right: 64px; }
	/* En la ficha la columna «Resumen» ya hace de contacto */
	body.single-project .rapido { display: none; }
}
/* Horario legible */
.hours { margin: 0; display: grid; gap: 4px; }
.hours > div { display: grid; grid-template-columns: 8.5em auto; gap: 12px; }
.hours dt { margin: 0; color: inherit; opacity: .75; }
.hours dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.bform__fact .hours { font-size: 16px; color: var(--c-white); }
.hours--footer { font-size: 14px; }
/* Bloque final: foto de fondo con capa, sin antetítulo, enlace al presupuesto detallado */
.bform--photo { background-color: var(--c-ink); }
.bform__more { margin: 16px 0 0; font-size: 15px; }
.bform__more a { color: var(--c-red); font-weight: 600; }
.bform__facts { gap: 24px 48px; }
/* Enlaces del formulario siempre visibles (también dentro de bandas rojas u oscuras) */
.mcm-form a, .mcm-section--accent .mcm-form a, .mcm-section--dark .mcm-form a, .mcm-cta .mcm-form a { color: var(--c-red) !important; text-decoration: underline; }
.mcm-form .mcm-form__legal a { color: var(--c-g600) !important; }
/* Pie */
.site-footer__top { justify-content: flex-start; }
.site-footer__claim br { display: none; }

/* Pasos numerados (contenido «1. …, 2. …») */
.csteps { list-style: none; margin: 32px 0 8px; padding: 0; display: grid; gap: 0 48px; counter-reset: none; }
@media (min-width: 800px) { .csteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.csteps__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 20px; padding: 24px 0 28px; border-top: 1px solid var(--c-g200); }
.csteps__n { grid-row: span 2; font-family: var(--f-head); font-weight: 900; font-size: 44px; line-height: 1; color: var(--c-red); letter-spacing: -.03em; }
.entry .csteps__t, .csteps__t { margin: 2px 0 6px !important; font-size: 21px; line-height: 1.25; }
.csteps__b p { margin: 0 0 8px; font-size: 16px; line-height: 1.6; color: var(--c-g700); max-width: none; }
/* Medida de lectura: el texto corrido nunca ocupa todo el ancho */
.entry .mcm-text > p, .entry .mcm-text > ul, .entry .mcm-text > ol:not(.csteps), .entry .mcm-text > h3, .entry .mcm-text > blockquote { max-width: 78ch; }
.entry .mcm-text > h2 { max-width: 28ch; }

/* Portadas de página: capa oscura suficiente con fotos claras y título a escala */
.mcm-hero, .entry--hero .mcm-hero {
	background-image:
		linear-gradient(90deg, rgba(20, 24, 28, .86) 0%, rgba(20, 24, 28, .62) 50%, rgba(20, 24, 28, .25) 100%),
		linear-gradient(180deg, rgba(20, 24, 28, .35) 0%, rgba(20, 24, 28, 0) 30%, rgba(20, 24, 28, .65) 100%),
		var(--hero-img, none);
}
.mcm-hero:not(.mcm-hero--img) { min-height: clamp(360px, 52vh, 560px); }
.entry--hero .mcm-hero { min-height: clamp(460px, 70vh, 760px); }
.mcm-hero .mcm-hero__title, .hero__title, .hero__from-content .mcm-hero__title, .entry h2.mcm-hero__title { font-size: clamp(2.4rem, 1rem + 3.6vw, 4.5rem); max-width: 18ch; line-height: .98; }
.mcm-hero p, .mcm-hero .mcm-hero__sub, .mcm-hero__body > p { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.bform__title { font-size: clamp(2.2rem, 1rem + 2.8vw, 3.75rem); max-width: 14ch; }

/* Tarjetas de obra: foto siempre a sangre, etiquetas en fila sin solaparse */
.pcard__media img, .entry .pcard__media img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.pcard__chips { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.pcard__chips .chip--onimg { position: static; }
.chip--done { background: rgba(31, 36, 41, .85); color: var(--c-white); font-size: 12px; font-weight: 700; padding: 6px 10px; }
.pcard__chips .chip--build { padding: 6px 10px; font-size: 12px; }
.fhero__crumbs .chip--build, .fhero__crumbs .chip--done { align-self: center; }
.pcard__meta { font-size: 14px; color: var(--c-g600); font-variant-numeric: tabular-nums; }
.pcard__title { font-size: 20px; }

/* Portada · Dónde construimos (tarjetas por zona, sustituye al mapa) */
.sec-sub--light { color: var(--c-g300); }
.zonecards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .zonecards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .zonecards { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 260px; } .zonecard--lead { grid-column: span 2; grid-row: span 2; } }
.zonecard { position: relative; min-height: 240px; }
.zonecard__link { position: absolute; inset: 0; display: block; overflow: hidden; color: var(--c-white); text-decoration: none; background: #2A3036; }
.zonecard__media, .zonecard__media img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.zonecard__media img { transition: transform .6s ease; }
.zonecard__link:hover .zonecard__media img { transform: scale(1.04); }
.zonecard__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 28, 0) 30%, rgba(20, 24, 28, .88) 100%); }
.zonecard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 4px; padding: 20px 56px 20px 22px; }
.zonecard__n { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #F2B705; }
.zonecard__t { font-family: var(--f-head); font-weight: 900; font-size: 26px; line-height: 1.05; }
.zonecard--lead .zonecard__t { font-size: clamp(30px, 2.4vw, 44px); }
.zonecard__m { font-size: 14px; color: var(--c-g200); line-height: 1.45; }
.zonecard__go { position: absolute; right: 20px; bottom: 20px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .6); font-size: 18px; transition: background .2s ease; }
.zonecard__link:hover .zonecard__go { background: var(--c-red); border-color: var(--c-red); }
.zonecard--plain .zonecard__link { background: transparent; border: 1px solid var(--c-g700); }
.zonecard--plain .zonecard__link::after { display: none; }
.zonecard--plain .zonecard__body { top: 0; justify-content: flex-end; }
.zonecard__link:focus-visible { outline: 3px solid var(--c-white); outline-offset: 3px; }

/* Canadienses: nota al glosario en vez de duplicarlo */
.band--tight { padding-block: clamp(40px, 5vw, 64px); }
.glossnote { display: grid; gap: 14px; justify-items: start; }
.glossnote__t { margin: 0; font-size: var(--t-h3); }
.glossnote__p { margin: 0; max-width: 60ch; color: var(--c-g700); }
.glossnote__list { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.glossnote__list a { display: inline-block; padding: 8px 14px; border: 1px solid var(--c-g300); color: var(--c-ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.glossnote__list a:hover { border-color: var(--c-red); color: var(--c-red); }
.wall .sec-sub a { color: var(--c-red); }

/* Página «Pide presupuesto» */
body.page-template-presupuesto .rapido { display: none; }
.quote { display: grid; gap: 40px; padding-block: clamp(32px, 5vw, 72px) clamp(56px, 7vw, 96px); }
@media (min-width: 1000px) { .quote { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } .quote__intro { position: sticky; top: 96px; } }
.quote__title { margin: 12px 0 14px; font-weight: 900; font-size: clamp(2.2rem, 1rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: -.03em; }
.quote__lead { margin: 0 0 28px; font-size: var(--t-lead); line-height: 1.55; color: var(--c-g700); max-width: 46ch; }
.quote__next { list-style: none; margin: 0 0 28px; padding: 0; counter-reset: q; display: grid; gap: 14px; }
.quote__next li { counter-increment: q; display: grid; grid-template-columns: 36px 1fr; gap: 0 14px; }
.quote__next li::before { content: counter(q); grid-row: span 2; width: 36px; height: 36px; display: grid; place-items: center; background: var(--c-ink); color: #fff; font-weight: 800; font-family: var(--f-head); }
.quote__next strong { font-size: 17px; }
.quote__next span { font-size: 15px; color: var(--c-g600); }
.quote__contact { display: grid; gap: 6px; padding-top: 20px; border-top: 1px solid var(--c-g200); }
.quote__k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-g600); }
.quote__tel { font-family: var(--f-head); font-weight: 900; font-size: 30px; color: var(--c-ink); text-decoration: none; }
.quote__contact .hours { font-size: 15px; color: var(--c-g700); }
.quote__card { background: #fff; border: 1px solid var(--c-g200); box-shadow: 0 24px 60px rgba(31, 36, 41, .10); padding: clamp(22px, 3.5vw, 44px); scroll-margin-top: 96px; }
.qform { gap: 20px; }
.qform__progress { list-style: none; margin: 0 0 4px; padding: 0; display: none; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--c-g400); }
.qform.is-stepped .qform__progress { display: grid; }
.qform__progress li { padding-top: 10px; border-top: 4px solid var(--c-g200); }
.qform__progress li.is-done { border-color: var(--c-ink); color: var(--c-ink); }
.qform__progress li.is-on { border-color: var(--c-red); color: var(--c-red); }
.qstep { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.qform:not(.is-stepped) .qstep + .qstep { padding-top: 24px; border-top: 1px solid var(--c-g200); }
.qstep[hidden] { display: none; }
.qstep__t { padding: 0; margin: 0 0 6px; font-family: var(--f-head); font-weight: 900; font-size: clamp(24px, 2vw, 32px); line-height: 1.1; color: var(--c-ink); outline: none; }
.qstep__n { display: block; margin-bottom: 6px; font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-red); }
.qstep__q { margin: 8px 0 0 !important; font-weight: 700; font-size: 16px; color: var(--c-ink); }
.qopt__opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--c-g400); }
.qopts { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.mcm-form .qopt { position: relative; display: block; margin: 0; text-transform: none; letter-spacing: 0; font-size: 16px; font-weight: 600; color: var(--c-ink); }
.qopt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.qopt span { display: flex; align-items: center; min-height: 56px; padding: 12px 16px 12px 46px; border: 1px solid var(--c-g300); background: #fff; position: relative; transition: border-color .15s ease, background .15s ease; }
.qopt span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid var(--c-g400); border-radius: 50%; background: #fff; }
.qopt:hover span { border-color: var(--c-ink); }
.qopt input:checked + span { border-color: var(--c-red); background: #FBF1F2; }
.qopt input:checked + span::before { border-color: var(--c-red); box-shadow: inset 0 0 0 4px #fff; background: var(--c-red); }
.qopt input:focus-visible + span { outline: 3px solid var(--c-ink); outline-offset: 2px; }
.qopts.is-invalid .qopt span { border-color: var(--c-red); }
.qopts.is-invalid::after { content: "Elige una opción para seguir"; grid-column: 1 / -1; font-size: 14px; color: var(--c-red); font-weight: 600; }
.qform__nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; }
.qform__nav[hidden] { display: none; }
.qform__nav button { min-height: 52px; padding: 0 22px; font-weight: 700; font-size: 16px; border: 1px solid var(--c-ink); background: #fff; color: var(--c-ink); cursor: pointer; }
.qform__nav .qform__next { margin-left: auto; background: var(--c-red); border-color: var(--c-red); color: #fff; }
.qform__nav button[hidden] { display: none; }
.mcm-form.is-sent > :not(.mcm-form__ok) { display: none !important; }
.mcm-form.is-sent .mcm-form__ok { font-size: 18px; line-height: 1.5; padding: 20px; background: #EEF6EE; border-left: 4px solid #2E7D32; }

.reform-box__text { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--c-g700); }

/* Presupuesto: campos de texto como pregunta + caja visible */
.mcm-form .qfield { gap: 8px; text-transform: none; letter-spacing: 0; font-size: 16px; color: var(--c-ink); }
.mcm-form .qfield .qstep__q { margin: 0 !important; }
.mcm-form .qfield input, .mcm-form .qfield textarea { min-height: 54px !important; padding: 12px 16px !important; border: 1px solid var(--c-g300) !important; background: #fff; font-size: 17px; }
.mcm-form .qfield input:focus, .mcm-form .qfield textarea:focus { border-color: var(--c-ink) !important; outline: none; box-shadow: 0 0 0 3px rgba(31, 36, 41, .12); }

.req { color: var(--c-red); font-weight: 800; margin-left: 2px; }
.qform__reqnote { margin: 0 !important; font-size: 13px; color: var(--c-g600); text-align: right; }
.mcm-form label .req { display: inline; }

/* Quiénes somos */
.about__hero { background: var(--c-ink); color: #fff; }
.about__hero-in { display: grid; gap: 32px; padding-block: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) { .about__hero-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.about__title { margin: 10px 0 16px; font-weight: 900; font-size: clamp(2.4rem, 1rem + 3.6vw, 4.5rem); line-height: .98; letter-spacing: -.03em; color: #fff; max-width: 14ch; }
.about__lead { margin: 0; max-width: 52ch; font-size: var(--t-lead); line-height: 1.55; color: var(--c-g200); }
.about__hero-img { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; max-height: 560px; }
.about__hero-img img { width: 100%; height: 100%; object-fit: cover; }
.about__facts { background: var(--c-red); color: #fff; }
.about__facts-in { margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
@media (min-width: 800px) { .about__facts-in { grid-template-columns: repeat(4, 1fr); } }
.about__facts-in > div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 26px 20px 26px 0; border-right: 1px solid rgba(255, 255, 255, .25); }
.about__facts-in > div:last-child { border-right: 0; }
.about__facts dd { margin: 0; font-family: var(--f-head); font-weight: 900; font-size: clamp(32px, 3vw, 48px); line-height: 1; }
.about__facts dt { font-size: 14px; color: rgba(255, 255, 255, .85); }
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.team__p { display: flex; flex-direction: column; gap: 4px; padding: 24px; border: 1px solid var(--c-g200); background: #fff; }
.team__av { width: 64px; height: 64px; margin-bottom: 12px; display: grid; place-items: center; border-radius: 50%; background: var(--c-ink); color: #fff; font-family: var(--f-head); font-weight: 900; font-size: 22px; letter-spacing: .02em; }
.team__p:nth-child(odd) .team__av { background: var(--c-red); }
.team__n { font-family: var(--f-head); font-weight: 800; font-size: 20px; line-height: 1.15; }
.team__r { font-size: 15px; color: var(--c-g600); }
.team__x { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--c-red); }
.team__note { margin: 24px 0 0; font-size: 16px; color: var(--c-g700); }
.team__note a { color: var(--c-red); font-weight: 600; margin-left: 6px; }
.about__how { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about__how { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; } }
.about__how-img { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; }
.about__how-img img { width: 100%; height: 100%; object-fit: cover; }
.about__pillars { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0 32px; }
@media (min-width: 700px) { .about__pillars { grid-template-columns: 1fr 1fr; } }
.about__pillars li { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--c-g200); }
.about__pillars strong { font-size: 18px; }
.about__pillars span { font-size: 15px; line-height: 1.55; color: var(--c-g700); }
.about__brands { border-top: 1px solid var(--c-g200); }
.about__brands-t { margin: 0 0 20px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-g600); font-family: var(--f-body); font-weight: 700; }
.brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.brands img { height: 44px !important; width: auto !important; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s ease, opacity .2s ease; }
.brands li:hover img { filter: none; opacity: 1; }
.about__facts-in > div + div { padding-left: 24px; }

/* Contacto: formulario primero */
body.page-template-contacto .rapido { display: none; }
.contact2 { background: linear-gradient(180deg, var(--c-g100, #F4F5F6) 0, var(--c-g100, #F4F5F6) 340px, #fff 340px); }
.contact2__in { display: grid; gap: 32px; padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }
@media (min-width: 1000px) { .contact2__in { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: start; } .contact2__side { margin-top: 150px; } }
.contact2__title { margin: 10px 0 10px; font-weight: 900; font-size: clamp(2.2rem, 1rem + 2.8vw, 3.75rem); line-height: 1; letter-spacing: -.03em; }
.contact2__lead { margin: 0 0 24px; font-size: var(--t-lead); color: var(--c-g700); max-width: 52ch; }
.contact2__card { background: #fff; border: 1px solid var(--c-g200); box-shadow: 0 24px 60px rgba(31, 36, 41, .10); padding: clamp(22px, 3.5vw, 40px); scroll-margin-top: 96px; }
.contact2__side { display: grid; gap: 12px; }
.contact2__call { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--c-red); color: #fff; text-decoration: none; }
.contact2__call:hover { background: var(--c-red-hover); }
.contact2__call strong { display: block; font-family: var(--f-head); font-weight: 900; font-size: 30px; line-height: 1.05; }
.contact2__call .contact2__k { color: rgba(255, 255, 255, .85); }
.contact2__k { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-g600); }
.contact2__block { display: block; padding: 18px 22px; border: 1px solid var(--c-g200); background: #fff; color: var(--c-ink); text-decoration: none; }
.contact2__block address { font-style: normal; font-size: 16px; line-height: 1.5; }
.contact2__block .hours { font-size: 16px; }
.contact2__quote strong { font-size: 18px; color: var(--c-red); }
.contact2__quote:hover { border-color: var(--c-red); }
.contact2__map { display: inline-block; margin-top: 8px; color: var(--c-red); font-weight: 600; }

/* Preguntas frecuentes */
.faqp__hero { background: var(--c-ink); color: #fff; padding-block: clamp(32px, 5vw, 72px) clamp(36px, 5vw, 64px); }
.faqp__title { margin: 10px 0 12px; font-weight: 900; font-size: clamp(2.4rem, 1rem + 4vw, 5rem); line-height: .95; letter-spacing: -.03em; color: #fff; }
.faqp__lead { margin: 0 0 28px; max-width: 56ch; font-size: var(--t-lead); color: var(--c-g200); }
.faqp__search { position: relative; max-width: 760px; }
.faqp__search .icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--c-ink); pointer-events: none; }
.faqp__search input { width: 100%; min-height: 64px; padding: 0 20px 0 56px; border: 0; border-radius: 0; font-size: 19px; background: #fff; color: var(--c-ink); }
.faqp__search input:focus { outline: 3px solid var(--c-red); outline-offset: 0; }
.faqp__top { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.faqp__top a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; text-decoration: none; font-family: var(--f-head); font-weight: 800; font-size: 19px; line-height: 1.2; transition: background .2s ease, border-color .2s ease; }
.faqp__top a:hover { background: var(--c-red); border-color: var(--c-red); }
.faqp__top-k { font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F2B705; }
.faqp__top a:hover .faqp__top-k { color: #fff; }
.faqp__body { display: grid; gap: 32px; padding-block: clamp(40px, 5vw, 72px); }
@media (min-width: 1000px) { .faqp__body { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; } .faqp__nav { position: sticky; top: 96px; } }
.faqp__nav-k { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-g600); }
.faqp__nav ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 1000px) { .faqp__nav ul { flex-direction: column; gap: 0; } .faqp__nav li a { border: 0 !important; border-bottom: 1px solid var(--c-g200) !important; padding: 12px 0 !important; } }
.faqp__nav li a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; border: 1px solid var(--c-g300); color: var(--c-ink); text-decoration: none; font-weight: 600; }
.faqp__nav li a:hover { color: var(--c-red); }
.faqp__nav li span { color: var(--c-g400); font-variant-numeric: tabular-nums; }
.faqp__nav-cta { display: inline-block; color: var(--c-red); font-weight: 700; }
.faqp__group { margin-bottom: 48px; scroll-margin-top: 96px; }
.faqp__gt { margin: 0 0 8px; font-size: clamp(26px, 2.2vw, 36px); padding-bottom: 12px; border-bottom: 3px solid var(--c-ink); }
.faqp__q { border-bottom: 1px solid var(--c-g200); scroll-margin-top: 96px; }
.faqp__q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--f-head); font-weight: 800; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.3; }
.faqp__q summary::-webkit-details-marker { display: none; }
.faqp__q summary::after { content: "+"; flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--c-g300); font-family: var(--f-body); font-weight: 400; font-size: 22px; transition: transform .2s ease, background .2s ease; }
.faqp__q[open] summary::after { content: "–"; background: var(--c-red); border-color: var(--c-red); color: #fff; }
.faqp__q summary:hover { color: var(--c-red); }
.faqp__a { padding: 0 52px 24px 0; font-size: 17px; line-height: 1.65; color: var(--c-g700); max-width: 75ch; white-space: pre-line; }
.faqp__a p, .faqp__a ul { margin: 0 0 12px; }
.faqp__a a { color: var(--c-red); }
.faqp__empty { font-size: 18px; padding: 24px; background: var(--c-g100, #F4F5F6); }

.hours dd { display: flex; flex-wrap: wrap; gap: 0 10px; }
.hours dd span { white-space: nowrap; }
.hours > div { grid-template-columns: 8.5em minmax(0, 1fr); }
/* Tabla de cookies */
.ctable-wrap { overflow-x: auto; margin: 16px 0 20px; }
.ctable { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.ctable th, .ctable td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--c-g200); vertical-align: top; }
.ctable th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-g600); }

/* Ficha en móvil: etiquetas visibles (sin migas) y título legible sobre fotos claras */
@media (max-width: 600px) {
	.fhero__crumbs { display: flex !important; text-shadow: none; }
	.fhero__crumbs .crumbs { display: none; }
}
.fhero__shade { background: linear-gradient(180deg, rgba(20, 24, 28, .25) 0%, rgba(20, 24, 28, .15) 30%, rgba(20, 24, 28, .78) 62%, rgba(20, 24, 28, .92) 100%) !important; }
.fhero__title { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }

/* Portada · Ventajas (bloque propio) */
.vbox { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter); }
.vbox__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--c-ink); }
.vbox__head .sec-title { margin: 0; }
.vbox__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.vbox__list li { display: flex; flex-direction: column; gap: 8px; padding: 24px 0; }
.vbox__n { font-family: var(--f-head); font-weight: 900; font-size: 36px; color: var(--c-red); line-height: 1; }
.vbox__list strong { font-size: 19px; line-height: 1.25; }
.vbox__list li > span:last-child { font-size: 15px; line-height: 1.6; color: var(--c-g700); }
.site-header__cta, .site-header__tel span { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399px) { .nav__link, .nav > ul > li > a { padding-inline: 10px; } }

.vbox__lead { margin: 16px 0 4px; max-width: 70ch; font-size: var(--t-lead); line-height: 1.55; color: var(--c-g700); }

/* Espacio: nada de bandas vacías (feedback 09-11) */
:root { --pad: clamp(48px, 5.5vw, 80px); --pad-s: clamp(36px, 4.2vw, 64px); }
.mcm-hero.mcm-hero--img, .entry--hero .mcm-hero { min-height: clamp(300px, 44vh, 480px); padding-top: clamp(56px, 6vw, 88px); }
.mcm-hero:not(.mcm-hero--img) { min-height: 0; padding-top: clamp(48px, 5vw, 72px); }
.mcm-hero .mcm-hero__title, .hero__title, .hero__from-content .mcm-hero__title, .entry h2.mcm-hero__title { font-size: clamp(2.2rem, 1rem + 3vw, 4rem); }
.bform { min-height: 0 !important; }
.bform__inner { padding-block: clamp(48px, 5.5vw, 80px); }
.mcm-section > p:empty, .mcm-text > p:empty { display: none; }
.mcm-grid-title { margin-top: 0; }
.fhero { min-height: clamp(420px, 68vh, 760px) !important; }

/* Ficha · fases: texto de la fase legible (no caja oscura) y galería sin huérfanas */
.phase__body .mcm-cta { background: var(--c-light) !important; color: var(--c-ink) !important; padding: 20px 24px !important; border-left: 4px solid var(--c-red); margin-top: 16px; }
.phase__body .mcm-cta p { color: var(--c-g700) !important; max-width: 75ch; }
.phase__body .mcm-cta a, .phase__body .mcm-cta strong { color: var(--c-ink) !important; }
.mcm-cta strong { color: inherit; }
.phase__body .mcm-gallery { display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; grid-auto-rows: 1fr; }
.phase__body .mcm-gallery figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.phase__body .mcm-gallery figure img { width: 100% !important; height: 100% !important; object-fit: cover; }
.phase__body .mcm-gallery figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
/* Si sobran fotos, la última ocupa el hueco restante de la fila */
/* Primera foto 2x2 + 4 pequeñas = 2 filas; después filas de 4. Se rellena la última fila según lo que sobre. */
.phase__body .mcm-gallery figure:nth-child(4n+6):last-child { grid-column: span 4; aspect-ratio: 16 / 5; }
.phase__body .mcm-gallery figure:nth-child(4n+7):last-child, .phase__body .mcm-gallery figure:nth-child(4n+6):nth-last-child(2) { grid-column: span 2; aspect-ratio: 8 / 3; }
.phase__body .mcm-gallery figure:nth-child(4n+8):last-child { grid-column: span 2; aspect-ratio: 8 / 3; }
.phase__body .mcm-gallery:has(figure:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
.phase__body .mcm-gallery:has(figure:nth-child(2):last-child) figure:first-child, .phase__body .mcm-gallery:has(figure:nth-child(3):last-child) figure:first-child, .phase__body .mcm-gallery:has(figure:nth-child(4):last-child) figure:first-child { grid-row: auto; }
@media (max-width: 700px) {
	.phase__body .mcm-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.phase__body .mcm-gallery figure:nth-child(n):last-child { grid-column: auto; aspect-ratio: 4 / 3; }
	.phase__body .mcm-gallery figure:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
}
.phase__body .mcm-gallery { grid-auto-rows: auto !important; align-items: stretch; }
.phase__body .mcm-gallery figure > a { display: block; width: 100%; height: 100%; }
.phase__body .mcm-gallery figure:first-child { aspect-ratio: auto !important; min-height: 100%; }
.phase__body .mcm-gallery figure:first-child img { position: static; }

/* Secciones del contenido: siempre centradas y sin aire acumulado (relleno + margen del primer elemento) */
.entry--sections > .mcm-section { padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2)); }
.entry--sections > .mcm-section > .mcm-row { padding-inline: 0; }
.mcm-section > :first-child, .mcm-col > :first-child, .mcm-text > :first-child, .mcm-section > .mcm-row:first-child .mcm-text > :first-child { margin-top: 0 !important; }
.mcm-section > :last-child, .mcm-col > :last-child, .mcm-text > :last-child { margin-bottom: 0 !important; }
.mcm-grid-title { margin: 0 0 24px !important; }
.mcm-project-grid { margin-top: 0; }
.pcard__title, .entry .pcard__title, .mcm-text .pcard__title { margin: 6px 0 0 !important; }
.pcard__meta, .pcard__more { margin: 0 !important; }
.mcm-project-grid { gap: 32px 24px; }

/* =====================================================================
   CMP propia: banner + panel de preferencias
   ===================================================================== */
.mcm-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; padding: 0; }
.mcm-consent__box { max-width: none; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 20px max(var(--gutter), calc((100% - 1320px) / 2)); background: #fff; color: var(--c-ink); border-top: 4px solid var(--c-red); box-shadow: 0 -12px 40px rgba(31, 36, 41, .18); }
.mcm-consent__text { flex: 1 1 520px; font-size: 15px; line-height: 1.55; color: var(--c-g700); }
.mcm-consent__text p { margin: 0; }
.mcm-consent__t { font-family: var(--f-head); font-weight: 900; font-size: 18px; color: var(--c-ink); margin-bottom: 4px !important; }
.mcm-consent__text a, .mcm-cpanel a { color: var(--c-red); text-decoration: underline; }
.mcm-consent__actions, .mcm-cpanel__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mcm-cbtn { min-height: 48px; padding: 0 22px; border: 2px solid var(--c-ink); border-radius: 2px; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.mcm-cbtn--solid { background: var(--c-ink); color: #fff; }
.mcm-cbtn--solid:hover { background: #000; border-color: #000; color: #fff; }
.mcm-cbtn--ghost { background: #fff; color: var(--c-ink); }
.mcm-cbtn--ghost:hover { background: var(--c-light); color: var(--c-ink); }
.mcm-cbtn:focus-visible { outline: 3px solid var(--c-red); outline-offset: 2px; }
@media (max-width: 640px) { .mcm-consent__actions, .mcm-cpanel__actions { width: 100%; } .mcm-cbtn { flex: 1 1 100%; } .mcm-consent { bottom: 60px; } }
.mcm-cpanel { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; background: rgba(20, 24, 28, .55); }
.mcm-cpanel[hidden] { display: none; }
.mcm-cpanel__box { width: min(640px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; color: var(--c-ink); padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.mcm-cpanel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mcm-cpanel__t { margin: 0; font-family: var(--f-head); font-weight: 900; font-size: 24px; }
.mcm-cpanel__x { width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--c-ink); }
.mcm-cpanel__intro, .mcm-cpanel__when { margin: 8px 0 16px; font-size: 15px; color: var(--c-g700); line-height: 1.55; }
.mcm-ccat { border-top: 1px solid var(--c-g200); padding: 16px 0; }
.mcm-ccat__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.mcm-ccat__t { margin: 0 0 4px; font-weight: 800; font-size: 17px; }
.mcm-ccat__d { margin: 0; font-size: 14px; line-height: 1.5; color: var(--c-g700); }
.mcm-ccat__always { flex: none; font-size: 13px; font-weight: 700; color: #2E7D32; padding-top: 2px; }
.mcm-ccat__list { margin-top: 10px; font-size: 13px; }
.mcm-ccat__list summary { cursor: pointer; color: var(--c-red); font-weight: 600; }
.mcm-ccat__list table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.mcm-ccat__list th, .mcm-ccat__list td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--c-g200); vertical-align: top; }
.mcm-switch { position: relative; flex: none; display: inline-block; width: 52px; height: 30px; cursor: pointer; }
.mcm-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.mcm-switch__ui { position: absolute; inset: 0; border-radius: 15px; background: var(--c-g300); transition: background .15s ease; }
.mcm-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s ease; }
.mcm-switch input:checked + .mcm-switch__ui { background: #2E7D32; }
.mcm-switch input:checked + .mcm-switch__ui::after { transform: translateX(22px); }
.mcm-switch input:focus-visible + .mcm-switch__ui { outline: 3px solid var(--c-red); outline-offset: 2px; }
.mcm-cpanel__actions { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--c-g200); }
.mcm-consent-reopen { display: inline-flex; align-items: center; gap: 6px; left: 12px; bottom: 12px; min-height: 38px; padding: 0 14px 0 10px; border: 1px solid var(--c-g300); border-radius: 19px; background: #fff; color: var(--c-ink); font-size: 13px; font-weight: 600; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); cursor: pointer; }
.mcm-consent-reopen:hover { border-color: var(--c-ink); }
@media (max-width: 899px) { .mcm-consent-reopen { bottom: 72px; } }
.site-footer__cookies { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; opacity: .85; }

/* Formularios: etiqueta encima y caja visible (sin líneas sueltas ni huecos) */
.mcm-form label:not(.mcm-form__check):not(.qopt) { gap: 6px; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--c-ink); }
.mcm-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]), .mcm-form textarea, .mcm-form select { min-height: 48px !important; padding: 10px 14px !important; border: 1px solid var(--c-g300) !important; border-radius: 2px; background: #fff; font-size: 16px; color: var(--c-ink); }
.mcm-form textarea { min-height: 96px !important; }
.mcm-form input:focus, .mcm-form textarea:focus { border-color: var(--c-ink) !important; outline: none; box-shadow: 0 0 0 3px rgba(31, 36, 41, .12); }
.mcm-form { gap: 14px; }

/* Enlaces sobre fondo rojo u oscuro: al pasar el ratón no se vuelven rojos */
.mcm-section--accent a:not(.mcm-btn):not(.btn):hover, .mcm-cta a:not(.mcm-btn):not(.btn):hover, .mcm-section--dark a:not(.mcm-btn):not(.btn):hover, .band--black a:not(.btn):hover, .bform a:not(.btn):hover, .site-footer a:hover { color: #fff !important; text-decoration-thickness: 2px; opacity: .85; }
.mcm-form a:hover { color: var(--c-red-hover, #8E0B16) !important; opacity: 1; }
.mcm-section--accent .mcm-form a:not(.mcm-btn):not(.btn):hover, .mcm-cta .mcm-form a:not(.mcm-btn):not(.btn):hover, .bform .mcm-form a:not(.mcm-btn):not(.btn):hover, .mcm-section--dark .mcm-form a:not(.mcm-btn):not(.btn):hover { color: var(--c-red) !important; opacity: 1; }

.qform.is-stepped .qstep > button[type="submit"] { display: none; }
.qform__nav .qform__send { margin-left: auto; background: var(--c-red); border-color: var(--c-red); color: #fff; }
.qform__nav .qform__send[hidden] { display: none; }
/* Mensajes de validación junto al campo */
.fmsg { display: block; min-height: 0; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.fmsg--err { color: var(--c-red); }
.fmsg--warn { color: #8A5A00; }
.fmsg__fix { margin-left: 6px; padding: 2px 10px; border: 1px solid currentColor; background: #fff; color: inherit; font-weight: 700; cursor: pointer; }
.mcm-form input.is-err { border-color: var(--c-red) !important; box-shadow: 0 0 0 3px rgba(177, 14, 28, .12); }

/* Portada · Lo último (editorial) */
.latest { background: var(--c-ink); color: #fff; padding-block: clamp(48px, 6vw, 88px); }
.latest__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: clamp(24px, 3vw, 40px); }
.latest__title { margin: 8px 0 0; font-weight: 900; font-size: clamp(2.6rem, 1rem + 5vw, 6rem); line-height: .9; letter-spacing: -.04em; color: #fff; }
.latest__all { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font-size: 15px; line-height: 1.3; }
.latest__all-n { font-family: var(--f-head); font-weight: 900; font-size: clamp(48px, 5vw, 80px); line-height: .85; color: var(--c-red); letter-spacing: -.04em; }
.latest__all strong { color: #fff; border-bottom: 2px solid var(--c-red); }
.latest__all:hover strong { color: #F2B705; }
.latest__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 1000px) { .latest__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(260px, 33vh)); } .lcard--lead { grid-row: span 2; } }
.lcard { position: relative; min-height: 340px; }
@media (min-width: 1000px) { .lcard { min-height: 0; } }
.lcard__link { position: absolute; inset: 0; display: block; overflow: hidden; color: #fff; text-decoration: none; background: #2A3036; }
.lcard__media, .lcard__media img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
.lcard__media img { transition: transform .7s ease; }
.lcard__link:hover .lcard__media img { transform: scale(1.05); }
.lcard__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 28, .35) 0%, rgba(20, 24, 28, 0) 28%, rgba(20, 24, 28, .25) 50%, rgba(20, 24, 28, .92) 100%); }
.lcard__top { position: absolute; z-index: 1; top: 16px; left: 18px; right: 18px; display: flex; align-items: center; justify-content: space-between; }
.lcard__no { font-family: var(--f-head); font-weight: 900; font-size: 22px; letter-spacing: -.02em; }
.lcard--lead .lcard__no { font-size: 34px; }
.lcard__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.lcard--lead .lcard__body { padding: 32px 36px 34px; gap: 12px; }
.lcard__place { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F2B705; }
.lcard__t { font-family: var(--f-head); font-weight: 900; font-size: 22px; line-height: 1.05; letter-spacing: -.01em; max-width: 24ch; }
.lcard--lead .lcard__t { font-size: clamp(30px, 3vw, 52px); letter-spacing: -.03em; }
.lcard__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--c-g200); }
.lcard__facts strong { color: #fff; font-size: 16px; }
.lcard--lead .lcard__facts strong { font-size: 22px; font-family: var(--f-head); }
.lcard__go { align-self: flex-start; margin-top: 4px; font-weight: 700; font-size: 15px; border-bottom: 2px solid var(--c-red); padding-bottom: 2px; }
.lcard__link:hover .lcard__go { color: #F2B705; border-color: #F2B705; }
.lcard__link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Botones dentro del texto: debajo del párrafo, nunca pegados a la última palabra */
.mcm-text a.mcm-btn, .mcm-text a.et_pb_button, .mcm-cta a.mcm-btn { display: inline-flex; margin-top: 16px; }
.mcm-text p > a.mcm-btn:only-child, .mcm-text p a.mcm-btn { display: table; margin-top: 18px; }

/* Cabecera de altura fija (sin encogerse al hacer scroll: cero saltos/parpadeo) */
@media (min-width: 1200px) { :root { --header-h: 76px; } }
.site-header.is-scrolled .site-header__bar { height: var(--header-h); }
.site-header.is-scrolled .site-header__logo img, .site-header__logo img { height: 36px; transition: none; }
.site-header__bar { transition: none; }
.subnav { top: var(--header-h) !important; }
@media (min-width: 1000px) { .ficha__aside { top: calc(var(--header-h) + 80px); max-height: calc(100vh - var(--header-h) - 96px); } }
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body.single-project { scroll-padding-top: calc(var(--header-h) + 80px); }

/* Ficha · Así es: fotos finales y planos en miniatura (con visor), nunca a tamaño enorme */
.asies { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); margin: 0 0 8px; }
.asies figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-light); }
.asies figure a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.asies figure img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .4s ease; }
.asies figure a:hover img { transform: scale(1.04); }
.asies--fotos figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.asies--planos { grid-template-columns: repeat(auto-fill, minmax(min(46%, 170px), 1fr)); }
.asies--planos figure { aspect-ratio: 3 / 4; background: #fff; border: 1px solid var(--c-g200); }
.asies--planos figure img { object-fit: contain; padding: 6px; }
.asies__t { margin: 24px 0 10px !important; font-size: 18px; }
/* Imágenes que queden dentro del texto de la ficha: nunca enormes */
.entry--obra img { max-height: 420px; width: auto; max-width: 100%; object-fit: cover; }

/* Así es · fotos: rejilla según cuántas haya (sin huecos) */
.asies--fotos { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; }
.asies--fotos:has(figure:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
.asies--fotos:has(figure:nth-child(3):last-child) { grid-template-columns: 2fr 1fr; }
.asies--fotos:has(figure:nth-child(3):last-child) figure:first-child { grid-column: auto; grid-row: span 2; }
.asies--fotos:has(figure:nth-child(4):last-child) { grid-template-columns: repeat(3, 1fr); }
.asies--fotos:has(figure:nth-child(4):last-child) figure:first-child { grid-column: span 3; grid-row: auto; aspect-ratio: 16 / 7; }
.asies--fotos:has(figure:only-child) { grid-template-columns: 1fr; }
.asies--fotos figure:only-child { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 9; }
.asies--fotos figure:nth-child(4n+6):last-child { grid-column: span 4; aspect-ratio: 16 / 5; }
.asies--fotos figure:nth-child(4n+7):last-child, .asies--fotos figure:nth-child(4n+6):nth-last-child(2), .asies--fotos figure:nth-child(4n+8):last-child { grid-column: span 2; aspect-ratio: 8 / 3; }
@media (max-width: 700px) {
	.asies--fotos { grid-template-columns: 1fr 1fr !important; }
	.asies--fotos figure:first-child { grid-column: span 2 !important; grid-row: auto !important; aspect-ratio: 16 / 10 !important; }
	.asies--fotos figure:nth-child(n+2):last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 16 / 9; }
}

@media (min-width: 1000px) { .latest__grid { grid-template-rows: repeat(2, minmax(300px, 36vh)); } }
/* Móvil: foto arriba, texto debajo (sin solapes) */
@media (max-width: 999px) {
	.lcard { min-height: 0; }
	.lcard__link { position: relative; inset: auto; display: flex; flex-direction: column; background: #2A3036; }
	.lcard__media { position: relative; inset: auto; display: block; aspect-ratio: 4 / 3; }
	.lcard__media img { position: absolute; inset: 0; }
	.lcard__link::after { display: none; }
	.lcard__top { top: 12px; left: 14px; right: 14px; }
	.lcard__no { text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
	.lcard__body, .lcard--lead .lcard__body { position: static; padding: 16px 18px 20px; }
	.lcard--lead .lcard__t { font-size: 28px; }
}
#donde .zonecard--plain .zonecard__link { border-color: var(--c-g300); color: var(--c-ink); }
#donde .zonecard--plain .zonecard__m { color: var(--c-g700); }
#donde .zonecard--plain .zonecard__go { border-color: var(--c-ink); }
#donde .map__more .btn { margin-top: 8px; }

/* Glosario: índice A–Z en una sola fila (se reparte el ancho; en móvil se desliza) */
.az ul { flex-wrap: nowrap; gap: 4px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.az li { flex: 1 1 0; min-width: 34px; }
.az li.az__all { flex: 0 0 auto; }
.az a, .az span, .az button { width: 100%; min-width: 0 !important; height: 44px; padding: 0 6px !important; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.az li.az__all button { padding: 0 16px !important; }
@media (max-width: 700px) { .az li { flex: 0 0 38px; } }

/* Blog: llamada a mitad de artículo y teléfono en la lateral */
.midcta { margin: 32px 0; padding: 22px 24px; background: var(--c-ink); color: #fff; border-left: 4px solid var(--c-red); }
.entry .midcta p { color: #fff; margin: 0 0 8px; max-width: none; }
.midcta__t { font-family: var(--f-head); font-weight: 900; font-size: 22px; line-height: 1.15; }
.entry .midcta .midcta__p { color: var(--c-g200); font-size: 16px; }
.midcta__a { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px !important; }
.midcta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.midcta .btn--ghost:hover { background: #fff; color: var(--c-ink); }
.side-cta__tel { display: block; margin-top: 10px; text-align: center; font-weight: 600; color: var(--c-ink); }

/* Artículos del blog: entradilla, resumen, tablas, FAQ, fuentes */
.post__content .lead { font-size: clamp(19px, 1.4vw, 22px); line-height: 1.55; color: var(--c-ink); font-weight: 500; }
.post__content .keybox { margin: 24px 0 32px; padding: 20px 24px; background: var(--c-light); border-left: 4px solid var(--c-red); }
.post__content .keybox p { margin: 0 0 8px; }
.post__content .keybox ul { margin: 0; padding-left: 20px; }
.post__content .keybox li { margin: 6px 0; line-height: 1.5; }
.post__content table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 15px; display: block; overflow-x: auto; }
.post__content thead th { background: var(--c-ink); color: #fff; text-align: left; font-weight: 700; }
.post__content th, .post__content td { padding: 10px 12px; border-bottom: 1px solid var(--c-g200); vertical-align: top; min-width: 120px; }
.post__content tbody tr:nth-child(even) td { background: #FAFAFB; }
.post__content details.mcm-faq { border-bottom: 1px solid var(--c-g200); }
.post__content details.mcm-faq summary { cursor: pointer; padding: 16px 40px 16px 0; font-weight: 700; font-size: 18px; position: relative; list-style: none; }
.post__content details.mcm-faq summary::-webkit-details-marker { display: none; }
.post__content details.mcm-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--c-red); }
.post__content details.mcm-faq[open] summary::after { content: "–"; }
.post__content details.mcm-faq p { margin: 0 0 16px; }
.post__content .updated { font-size: 14px; color: var(--c-g600); font-style: italic; }
.post__content h2 + p { margin-top: 0; }

/* UX: mensajes de validación reales (no solo CSS) */
.qopts.is-invalid::after { content: none; }
.qmsg { margin: 4px 0 0 !important; color: var(--c-red); font-weight: 700; font-size: 14px; }
.qopts[hidden], .qstep__q[hidden] { display: none !important; }
/* «Te llamamos»: aviso legal breve visible */
.rapido .mcm-form__legal--short { display: block !important; font-size: 12px; line-height: 1.45; color: var(--c-g600); margin: 0; }
/* Móvil: barra inferior con Llamar · Te llamamos · Presupuesto */
@media (max-width: 899px) {
	.rapido__btn--quote { display: flex !important; background: var(--c-red); }
	.rapido__btn--back { background: var(--c-ink); flex-grow: 1; }
	.rapido__btn { font-size: 12px; }
}
/* Cookies: banner compacto en móvil, «Personalizar» como enlace */
.mcm-cbtn--link { border-color: transparent; background: transparent; color: var(--c-ink); text-decoration: underline; padding: 0 10px; }
.mcm-cbtn--link:hover { background: transparent; color: var(--c-red); }
@media (max-width: 640px) {
	.mcm-consent__box { padding: 14px 16px; gap: 10px; }
	.mcm-consent__t { font-size: 16px; }
	.mcm-consent__text { font-size: 13px; flex-basis: 100%; }
	.mcm-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.mcm-consent__actions .mcm-cbtn { flex: none; min-height: 44px; }
	.mcm-consent__actions .mcm-cbtn--link { grid-column: 1 / -1; min-height: 32px; }
}
/* Tamaños táctiles mínimos */
.pcard__more { padding: 10px 0 8px; }
.site-footer__cookies { padding: 12px 0; }
.crumbs a { display: inline-block; padding: 12px 0; }
/* Menú móvil a pantalla completa y sin scroll de fondo */
@media (max-width: 1199px) {
	.site-header.is-open .nav { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; max-height: none !important; overflow-y: auto; background: var(--c-ink); }
	body:has(.site-header.is-open) { overflow: hidden; }
}

.mcm-project-more { margin: 24px 0 0 !important; }
/* Listado: en móvil, primero los resultados; la nota «¿No encuentras…?» después */
@media (max-width: 999px) { .listing__body { display: flex; flex-direction: column; } .listing__results { order: 1; } .listing__aside { order: 0; } .listing__aside .note-box { display: none; } }
/* Presupuesto: en móvil, el formulario primero */
@media (max-width: 999px) { .quote { display: flex; flex-direction: column; } .quote__card { order: 1; } .quote__intro { order: 2; } .quote__intro .crumbs, .quote__intro .quote__title, .quote__intro .quote__lead { order: -1; } }
/* Ficha en móvil: el resumen no repite la tabla (ya está en la cabecera y en Detalles) */
@media (max-width: 999px) { .ficha__aside .kv { display: none; } }
/* Portada: sin fechas en las tarjetas del blog */
.home .pcard__date, .home .post-card__date, .home .bcard__date, .home time { display: none; }
/* Rejillas de fotos del contenido (p. ej. obras de la Sierra): 2 columnas en móvil */
@media (max-width: 700px) {
	.mcm-row.mcm-cols-3:has(> .mcm-col > figure.mcm-figure), .mcm-row.mcm-cols-4:has(> .mcm-col > figure.mcm-figure) { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; }
	.mcm-row:has(> .mcm-col > figure.mcm-figure) figure.mcm-figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }
	.mcm-row:has(> .mcm-col > figure.mcm-figure) figcaption { font-size: 13px; }
}

/* Migas dentro de la cabecera con foto */
.mcm-hero > .crumbs { margin: 0 0 14px; }
.mcm-hero .crumbs a, .mcm-hero .crumbs li { color: rgba(255, 255, 255, .85); }
/* Índice del artículo plegable (abierto en escritorio, se puede cerrar en móvil) */
.toc-wrap > summary { list-style: none; cursor: pointer; display: block; }
.toc-wrap > summary::-webkit-details-marker { display: none; }
@media (max-width: 999px) { .toc-wrap > summary::after { content: " ▾"; } .toc-wrap:not([open]) > summary::after { content: " ▸"; } }
/* «Pregunta a tu IA» al final del artículo */
.post__content .askai { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--c-g200); }
.filters--zona[hidden] { display: none !important; }

/* ===== Revisión visual 09-11 (33 puntos) ===== */
/* Listas de tarjetas sin viñetas ni sangría */
ul.grid-cards, ul.zonecards, ul.latest__grid, ul.team, ul.brands { list-style: none; padding-left: 0; margin-left: 0; }
/* Portada: legibilidad sobre fotos claras */
.hero__shade { background: linear-gradient(180deg, rgba(20, 24, 28, .45) 0%, rgba(20, 24, 28, .35) 35%, rgba(20, 24, 28, .65) 65%, rgba(20, 24, 28, .9) 100%) !important; }
.hero__h1, .hero .eyebrow, .hero p { text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
.lcard__link::after { background: linear-gradient(180deg, rgba(20, 24, 28, .4) 0%, rgba(20, 24, 28, .05) 25%, rgba(20, 24, 28, .55) 50%, rgba(20, 24, 28, .94) 100%); }
.lcard__place { color: #FFD24A; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.latest__all-n { color: #fff; }
.zones-other { margin: 14px 0 0; font-size: 16px; }
.zones-other a { color: var(--c-ink); }
.zones-other strong { color: var(--c-red); }
.vbox { max-width: calc(var(--maxw) + 2 * var(--gutter)); padding-inline: var(--gutter); }
/* Galerías de fases y «Así es»: filas de alto fijo, sin solapes con fotos verticales */
.phase__body .mcm-gallery, .asies--fotos { grid-auto-rows: clamp(120px, 13vw, 190px) !important; }
.phase__body .mcm-gallery figure, .asies--fotos figure { aspect-ratio: auto !important; height: 100%; min-height: 0; }
.phase__body .mcm-gallery figure > a, .asies--fotos figure > a { height: 100%; }
.phase__body .mcm-gallery:has(figure:nth-child(4):last-child), .asies--fotos:has(figure:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
.phase__body .mcm-gallery:has(figure:nth-child(4):last-child) figure:first-child, .asies--fotos:has(figure:nth-child(4):last-child) figure:first-child { grid-column: auto; grid-row: auto; }
.phase__body .mcm-gallery:has(figure:nth-child(2):last-child) figure:first-child, .phase__body .mcm-gallery:has(figure:only-child) figure { grid-column: auto; grid-row: span 2; }
@media (max-width: 700px) { .phase__body .mcm-gallery, .asies--fotos { grid-auto-rows: 140px !important; } }
/* Planos: fondo blanco, 3 columnas, sin bandas grises */
.asies--planos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.asies--planos figure, .mcm-gallery.asies--planos figure { background: #fff !important; border: 1px solid var(--c-g200); aspect-ratio: 3 / 4; }
/* Títulos internos de la ficha con aire; encabezados vacíos fuera */
.entry--obra h3, .entry--obra .mcm-text h3 { margin-top: 28px !important; }
.mcm-text > h3:last-child, .mcm-text > h2:last-child { display: none; }
/* Botones dentro del texto nunca pegados */
.mcm-cta p a.mcm-btn, .mcm-text p a.mcm-btn, .mcm-cta p a.et_pb_button { display: table; margin-top: 16px; }
/* Menos aire entre secciones con el mismo fondo */
.entry--sections > .mcm-section--alt + .mcm-section--alt { padding-top: 0; }
hr.mcm-divider { margin: 16px 0 !important; }
/* Móvil: en filas foto + texto, primero el texto */
@media (max-width: 999px) {
	.mcm-row > .mcm-col:has(> .mcm-figure:only-child), .mcm-row > .mcm-col:has(> .mcm-image:only-child) { order: 2; }
}
/* Rejilla de proyectos dentro del contenido: alineada y en 3 columnas */
.mcm-project-grid { padding-inline: 0 !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)) !important; }
@media (min-width: 1000px) { .mcm-project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
/* Fotos de rejillas del contenido con proporción fija (Sierra, pérgolas…) */
.mcm-row.mcm-cols-3 > .mcm-col > figure.mcm-figure img, .mcm-row.mcm-cols-4 > .mcm-col > figure.mcm-figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }
/* Galerías del contenido: 4 columnas en escritorio (12 = 3 filas exactas) */
@media (min-width: 1000px) { .entry .mcm-gallery:not(.asies) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Logos de proveedores coherentes (gris, mismo alto) */
.mcm-row:has(img[alt*="logo" i]) img[alt*="logo" i], .mcm-row:has(img[alt*="viveros" i]) img { height: 56px !important; width: auto !important; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: .75; }
/* Glosario: letras en columnas (sin filas medio vacías) */
@media (min-width: 800px) { .gloss { display: block !important; columns: 3 280px; column-gap: 40px; } .gloss__group { break-inside: avoid; margin-bottom: 28px; } }
/* Pasos: el último, si queda solo, ocupa el ancho */
.csteps__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mcm-col .csteps { grid-template-columns: 1fr !important; }
/* Pestañas de fases: en varias líneas, sin cortarse */
.phases__tabs { flex-wrap: wrap; overflow: visible; }
/* Muro: la capa activa no pisa la etiqueta del eje */
.wall__layers { margin-top: 18px; }
/* Ficha: migas y etiquetas en líneas separadas */
.fhero__crumbs { flex-direction: column; align-items: flex-start; gap: 10px; }
.fhero__crumbs > span.chip { display: inline-flex; }
.fhero__crumbs .chip + .chip { margin-left: 0; }
/* A–Z: indicador de desplazamiento en móvil y letras desactivadas legibles */
.az span { color: var(--c-g400); }
@media (max-width: 700px) { .az { position: relative; } .az::after { content: ""; position: absolute; right: 0; top: 0; bottom: 4px; width: 32px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff); pointer-events: none; } }

/* Tablas de los artículos en móvil: cada fila se convierte en una tarjeta con el encabezado de cada dato
   (data-label lo pone main.js). Así no queda ninguna columna oculta a la derecha. */
@media (max-width: 600px) {
	.post__content table.is-stack { display: block; overflow: visible; font-size: 15px; }
	.post__content table.is-stack thead { display: none; }
	.post__content table.is-stack tbody, .post__content table.is-stack tr { display: block; }
	.post__content table.is-stack tr { border: 1px solid var(--c-g200); border-radius: 10px; padding: 4px 14px; margin: 0 0 12px; background: #fff; }
	.post__content table.is-stack tbody tr:nth-child(even) td { background: transparent; }
	.post__content table.is-stack td { display: grid; grid-template-columns: minmax(96px, 38%) 1fr; gap: 10px; min-width: 0; padding: 9px 0; border-bottom: 1px solid var(--c-g100, #eef0f2); }
	.post__content table.is-stack td:last-child { border-bottom: 0; }
	.post__content table.is-stack td::before { content: attr(data-label); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-g600); padding-top: 2px; }
	.post__content table.is-stack td:first-child { display: block; font-weight: 700; font-size: 16px; padding-top: 12px; }
	.post__content table.is-stack td:first-child::before { display: none; }
	.post__content table.is-stack td[data-label=""]::before { display: none; }
}

@media (max-width: 600px) { .post__content table.is-stack tr.is-headrow { display: none; } }
@media (max-width: 600px) {
	.post__content table.is-compact { display: table; font-size: 13.5px; }
	.post__content table.is-compact th, .post__content table.is-compact td { min-width: 0; padding: 8px 6px; }
	.post__content table.is-compact th { font-size: 11.5px; line-height: 1.3; }
	.post__content table.is-compact td:not(:first-child) { white-space: nowrap; }
}

/* Móvil: la miga final repite el H1 que va justo debajo; se oculta (sigue en el BreadcrumbList del schema) */
@media (max-width: 600px) { .crumbs li:has(> [aria-current="page"]) { display: none; } .crumbs li:nth-last-child(2)::after { content: none; } }

/* Grupo empresarial junto al logo (Ajustes → Web MCM → Grupo empresarial) */
.site-header__logo { display: flex; align-items: center; gap: 12px; }
.site-header__group { flex: none; padding-left: 12px; border-left: 1px solid var(--c-g200); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-g600); white-space: nowrap; line-height: 1.2; }
@media (max-width: 420px) { .site-header__logo { gap: 8px; } .site-header__group { padding-left: 8px; font-size: 10.5px; letter-spacing: .05em; } }
.site-footer__mail { display: block; margin-top: 4px; }
.contact2__mail strong { word-break: break-all; }

.site-header__logo, .site-header__logo:hover { text-decoration: none; }

/* Primera capa de protección de datos en formularios: visible antes de enviar, legible (no letra minúscula gris) */
.mcm-form__info { margin: 14px 0 10px; padding: 12px 14px; background: #F6F7F8; border: 1px solid #E3E6E9; border-radius: 8px; color: #2F363D; font-size: 13px; line-height: 1.45; text-align: left; }
.mcm-form__info-t { margin: 0 0 6px; font-weight: 700; font-size: 13px; color: #1B2026; }
.mcm-form__info dl { margin: 0; display: grid; gap: 3px; }
.mcm-form__info dl > div { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.mcm-form__info dt { font-weight: 700; margin: 0; }
.mcm-form__info dd { margin: 0; }
.mcm-form__info a { color: #B10E1C; text-decoration: underline; }
.mcm-form__info--compact { font-size: 12.5px; padding: 10px 12px; }
.mcm-form__info--compact strong { color: #1B2026; }
@media (max-width: 480px) { .mcm-form__info { font-size: 12.5px; } .mcm-form__info dl > div { grid-template-columns: 92px 1fr; gap: 6px; } }
.mcm-form__check { font-size: 14px; }

/* Revisión de producción 09-11 */
/* Quiénes somos: cifras en 2×2 alineadas en móvil */
@media (max-width: 799px) {
	.about__facts-in > div, .about__facts-in > div + div { padding: 22px 16px; border-right: 0; }
	.about__facts-in > div:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .25); padding-left: 0; }
	.about__facts-in > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .25); }
}
/* Ficha de obra: migas sin la página actual (es el H1) y etiquetas en una fila */
.fhero__crumbs { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
.fhero__crumbs .crumbs { flex: 1 0 100%; }
.fhero__crumbs .crumbs li:has(> [aria-current="page"]) { display: none; }
.fhero__crumbs .chip--build, .fhero__crumbs .chip--done { align-self: auto; }
/* Teléfonos y precios sin partir */
a[href^="tel:"] { white-space: nowrap; }

/* Opiniones de clientes (reseñas de Google) */
.resenas__list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 24px; }
.resena { margin: 0; background: var(--c-white); border: 1px solid var(--c-g200); border-left: 4px solid var(--c-red); padding: 24px; max-width: 760px; }
.band--light .resena { border-color: var(--c-g200); border-left-color: var(--c-red); }
.resena__stars { color: #E2A100; font-size: 22px; letter-spacing: 2px; line-height: 1; }
.resena__text { margin: 12px 0 16px; padding: 0; border: 0; font-size: 18px; line-height: 1.55; color: var(--c-ink); }
.resena__text p { margin: 0; }
.resena__text p::before { content: "«"; } .resena__text p::after { content: "»"; }
.resena__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--c-g600); }
.resena__meta strong { color: var(--c-ink); }
.resenas__more { margin-top: 16px; }
@media (max-width: 600px) { .resena { padding: 18px; } .resena__text { font-size: 16px; } }

