/*
Theme Name: Ecolux Madrid
Theme URI: https://ecoluxmadrid.es/
Description: Tema hijo ligero para Ecolux Iluminación Natural.
Author: Naturlux Innovación
Template: twentytwentyfive
Version: 3.0.2
Text Domain: ecolux-madrid
*/

:root {
	--ecolux-forest: #006cae;
	--ecolux-green: #00a1df;
	--ecolux-sun: #ffc72c;
	--ecolux-paper: #f4faff;
	--ecolux-ink: #17364a;
	--ecolux-muted: #526e7e;
	--ecolux-line: #d4e9f4;
	--ecolux-radius: 22px;
	--ecolux-shadow: 0 24px 70px rgba(0, 108, 174, 0.14);
}

html {
	scroll-behavior: smooth;
	overflow-x: clip;
}

body {
	background: var(--ecolux-paper);
	color: var(--ecolux-ink);
	font-family: var(--wp--preset--font-family--manrope), system-ui, sans-serif;
	overflow-x: clip;
	padding-top: 84px;
}

body,
button,
input,
select,
textarea {
	font-size: 18px;
	line-height: 1.65;
}

a {
	text-underline-offset: 0.2em;
}

button,
a {
	touch-action: manipulation;
}

:where(h1, h2, h3, h4, h5, h6) {
	scroll-margin-top: 112px;
	text-wrap: balance;
}

:where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid var(--ecolux-sun);
	outline-offset: 3px;
}

.site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1000;
	border-bottom: 1px solid rgba(0, 108, 174, 0.14);
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(14px);
	box-shadow: 0 10px 36px rgba(0, 77, 125, 0.08);
}

.admin-bar .site-header {
	top: 32px;
}

.ecolux-header-inner {
	min-height: 84px;
}

.ecolux-brand {
	gap: 0.7rem;
}

.ecolux-wordmark {
	margin: 0;
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.ecolux-wordmark a {
	color: #006cae;
	text-decoration: none;
}

.ecolux-sun-mark {
	position: relative;
	display: inline-block;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border: 7px solid white;
	border-radius: 50%;
	background: var(--ecolux-sun);
	box-shadow:
		0 -17px 0 -14px #00a1df,
		0 17px 0 -14px #00a1df,
		17px 0 0 -14px #00a1df,
		-17px 0 0 -14px #00a1df;
}

.ecolux-brand-kicker {
	margin: 0.18rem 0 0;
	color: var(--ecolux-muted);
	font-family: var(--wp--preset--font-family--fira-code), monospace;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ecolux-nav {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ecolux-nav-menu {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2vw, 2rem);
}

.ecolux-nav-menu a {
	position: relative;
	color: #17455f;
	font-size: 0.91rem;
	font-weight: 800;
	text-decoration: none;
}

.ecolux-nav-menu a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -0.5rem;
	left: 0;
	height: 3px;
	border-radius: 999px;
	background: var(--ecolux-sun);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 160ms ease;
}

.ecolux-nav-menu a:hover::after,
.ecolux-nav-menu a:focus-visible::after {
	transform: scaleX(1);
}

.ecolux-nav-toggle {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 2px solid #006cae;
	border-radius: 999px;
	background: white;
	cursor: pointer;
}

.ecolux-nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 999px;
	background: #006cae;
	transition: transform 160ms ease, opacity 160ms ease;
}

.ecolux-header-call .wp-block-button__link,
.ecolux-button-primary .wp-block-button__link,
.wp-block-button.ecolux-button-primary .wp-block-button__link {
	border: 2px solid #006cae;
	border-radius: 999px;
	background: #006cae;
	color: white;
	font-weight: 800;
	box-shadow: none;
	transition: transform 160ms ease, background 160ms ease;
}

.ecolux-header-call .wp-block-button__link:hover,
.ecolux-button-primary .wp-block-button__link:hover {
	background: #004f83;
	transform: translateY(-2px);
}

.ecolux-button-secondary .wp-block-button__link {
	border: 2px solid #006cae;
	border-radius: 999px;
	background: transparent;
	color: #006cae;
	font-weight: 800;
}

main.wp-block-group {
	margin: 0;
}

.ecolux-section {
	padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 4vw, 3rem);
}

.ecolux-section-compact {
	padding: clamp(2.8rem, 5vw, 5rem) clamp(1.25rem, 4vw, 3rem);
}

.ecolux-eyebrow {
	margin: 0 0 1rem;
	color: var(--ecolux-forest);
	font-family: var(--wp--preset--font-family--fira-code), monospace;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ecolux-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(4rem, 9vw, 8.5rem) clamp(1.25rem, 4vw, 3rem);
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0) 0 61%, rgba(255, 197, 46, 0.2) 61% 66%, rgba(255, 255, 255, 0) 66%),
		var(--ecolux-paper);
}

.ecolux-hero::before {
	content: "";
	position: absolute;
	top: -20%;
	left: 62%;
	width: 8vw;
	min-width: 70px;
	height: 145%;
	background: linear-gradient(180deg, rgba(255, 197, 46, 0), rgba(255, 197, 46, 0.42), rgba(255, 197, 46, 0));
	transform: rotate(7deg);
	pointer-events: none;
}

.ecolux-hero .wp-block-columns {
	position: relative;
	z-index: 1;
	gap: clamp(2.5rem, 6vw, 6rem);
}

.ecolux-hero h1,
.ecolux-page-hero h1 {
	margin: 0 0 1.4rem;
	color: var(--ecolux-forest);
	font-size: clamp(2.7rem, 6.3vw, 6.2rem);
	font-weight: 800;
	letter-spacing: -0.065em;
	line-height: 0.96;
	overflow-wrap: anywhere;
}

.ecolux-page-hero h1 {
	max-width: 980px;
	font-size: clamp(2.5rem, 5vw, 5rem);
}

.ecolux-hero-lead,
.ecolux-page-lead {
	max-width: 700px;
	color: var(--ecolux-muted);
	font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.ecolux-hero-image,
.ecolux-feature-image {
	position: relative;
	overflow: hidden;
	margin: 0;
	border-radius: var(--ecolux-radius);
	box-shadow: var(--ecolux-shadow);
}

.ecolux-hero-image img,
.ecolux-feature-image img {
	width: 100%;
	height: clamp(420px, 55vw, 680px);
	object-fit: cover;
}

.ecolux-feature-image img {
	height: clamp(320px, 42vw, 560px);
}

.ecolux-trust-strip {
	padding: 1.15rem clamp(1.25rem, 4vw, 3rem);
	background: var(--ecolux-forest);
	color: white;
}

.ecolux-trust-strip p {
	margin: 0;
	font-family: var(--wp--preset--font-family--fira-code), monospace;
	font-size: clamp(0.72rem, 1.5vw, 0.88rem);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ecolux-section-title {
	max-width: 850px;
	margin: 0 0 2rem;
	color: var(--ecolux-forest);
	font-size: clamp(2rem, 4vw, 4rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.ecolux-card {
	height: 100%;
	padding: clamp(1.8rem, 4vw, 3.25rem);
	border: 1px solid var(--ecolux-line);
	border-radius: var(--ecolux-radius);
	background: white;
}

.ecolux-card h2,
.ecolux-card h3 {
	margin-top: 0;
	color: var(--ecolux-forest);
	font-size: clamp(1.45rem, 2.5vw, 2.15rem);
	letter-spacing: -0.035em;
}

.ecolux-card p {
	color: var(--ecolux-muted);
}

.ecolux-card a:not(.wp-block-button__link) {
	color: var(--ecolux-forest);
	font-weight: 800;
}

.ecolux-process {
	background: #eaf6fc;
}

.ecolux-step {
	position: relative;
	min-height: 100%;
	padding: 1.8rem 1.2rem 1.2rem 0;
	border-top: 2px solid var(--ecolux-forest);
}

.ecolux-step-number {
	margin: 0 0 1.5rem;
	color: #006cae;
	font-family: var(--wp--preset--font-family--fira-code), monospace;
	font-size: 0.82rem;
	font-weight: 800;
}

.ecolux-project-grid {
	gap: clamp(1rem, 2vw, 1.5rem);
}

.ecolux-project-card {
	position: relative;
	overflow: hidden;
	min-height: 470px;
	border-radius: var(--ecolux-radius);
	background: var(--ecolux-forest);
}

.ecolux-project-card .wp-block-cover {
	min-height: 470px;
}

.ecolux-project-card h3 {
	margin: 0.5rem 0;
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	letter-spacing: -0.04em;
}

.ecolux-project-card a {
	color: white;
}

.ecolux-page-hero {
	padding: clamp(4.2rem, 8vw, 8rem) clamp(1.25rem, 4vw, 3rem);
	background: linear-gradient(135deg, #e3f5fd, var(--ecolux-paper) 58%);
}

.ecolux-content {
	padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.ecolux-content h2 {
	color: var(--ecolux-forest);
	font-size: clamp(1.8rem, 3.4vw, 3.2rem);
	letter-spacing: -0.04em;
	line-height: 1.12;
}

.ecolux-content h3 {
	color: var(--ecolux-forest);
}

.ecolux-content p,
.ecolux-content li {
	color: #38483f;
}

.ecolux-narrow {
	max-width: 820px;
	margin-right: auto;
	margin-left: auto;
}

.ecolux-fact {
	padding: 1.4rem 0;
	border-top: 1px solid var(--ecolux-line);
}

.ecolux-fact strong {
	display: block;
	color: var(--ecolux-forest);
	font-size: 1.08rem;
}

.ecolux-cta {
	position: relative;
	overflow: hidden;
	padding: clamp(3rem, 7vw, 6.5rem) clamp(1.25rem, 5vw, 5rem);
	border-radius: var(--ecolux-radius);
	background: var(--ecolux-forest);
	color: white;
}

.ecolux-cta::after {
	content: "";
	position: absolute;
	top: -50%;
	right: 8%;
	width: 90px;
	height: 200%;
	background: rgba(255, 197, 46, 0.25);
	transform: rotate(10deg);
}

.ecolux-cta > * {
	position: relative;
	z-index: 1;
}

.ecolux-cta h2 {
	max-width: 780px;
	margin-top: 0;
	color: white;
	font-size: clamp(2rem, 4.5vw, 4.5rem);
	letter-spacing: -0.05em;
	line-height: 1;
}

.ecolux-cta .ecolux-button-primary .wp-block-button__link {
	border-color: var(--ecolux-sun);
	background: var(--ecolux-sun);
	color: var(--ecolux-ink);
}

.ecolux-cta .ecolux-button-secondary .wp-block-button__link {
	border-color: white;
	color: white;
}

.ecolux-contact-panel {
	padding: clamp(1.8rem, 4vw, 3rem);
	border-radius: var(--ecolux-radius);
	background: var(--ecolux-forest);
	color: white;
}

.ecolux-contact-panel h2,
.ecolux-contact-panel a {
	color: white;
}

.ecolux-contact-panel p,
.ecolux-contact-panel strong {
	color: #f6faf7;
}

.wpforms-container input,
.wpforms-container select,
.wpforms-container textarea {
	min-height: 48px;
	border: 1px solid #9caf9f !important;
	border-radius: 10px !important;
	background: white !important;
	color: var(--ecolux-ink) !important;
}

.wpforms-container input[type="checkbox"],
.wpforms-container input[type="radio"] {
	width: 20px !important;
	height: 20px !important;
	min-height: 20px;
	border-radius: 4px !important;
}

.wpforms-container textarea {
	min-height: 150px;
}

.wpforms-container .wpforms-submit {
	min-height: 50px;
	padding: 0.75rem 1.4rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--ecolux-forest) !important;
	color: white !important;
	font-weight: 800 !important;
}

.site-footer {
	padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 4vw, 3rem) 2rem;
	background: #073c61;
	color: #dce8e1;
}

.site-footer h2,
.site-footer h3,
.site-footer a {
	color: white;
}

.site-footer a {
	text-decoration-color: rgba(255, 255, 255, 0.35);
}

.site-footer .ecolux-footer-note {
	color: #a9bdb2;
	font-size: 0.82rem;
}

.ecolux-mobile-actions {
	display: none;
}

/* Portada visual v2: lectura rápida del producto */
.ecolux-hero-v2 {
	position: relative;
	overflow: hidden;
	padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 4vw, 3rem);
	background:
		radial-gradient(circle at 78% 18%, rgba(255, 199, 44, 0.38), transparent 18rem),
		linear-gradient(135deg, #eaf8ff 0%, #ffffff 54%, #dff3fc 100%);
}

.ecolux-hero-v2::after {
	content: "";
	position: absolute;
	top: -12%;
	left: 64%;
	width: 110px;
	height: 130%;
	background: linear-gradient(180deg, rgba(255, 199, 44, 0), rgba(255, 199, 44, 0.34), rgba(255, 199, 44, 0));
	transform: rotate(9deg);
	pointer-events: none;
}

.ecolux-hero-v2 > * {
	position: relative;
	z-index: 1;
}

.ecolux-hero-v2 .wp-block-columns {
	gap: clamp(2.5rem, 6vw, 6rem);
}

.ecolux-hero-v2 h1 {
	max-width: 760px;
	margin: 0 0 1.4rem;
	color: #005f9c;
	font-size: clamp(3rem, 6.2vw, 6.7rem);
	font-weight: 850;
	letter-spacing: -0.065em;
	line-height: 0.94;
	overflow-wrap: anywhere;
}

.ecolux-hero-v2 .ecolux-hero-lead {
	max-width: 680px;
	color: #395f75;
	font-size: clamp(1.1rem, 1.8vw, 1.42rem);
}

.ecolux-hero-v2 .ecolux-button-primary .wp-block-button__link {
	border-color: var(--ecolux-sun);
	background: var(--ecolux-sun);
	color: #17364a;
}

.ecolux-hero-v2 .ecolux-button-primary .wp-block-button__link:hover {
	background: #ffb900;
}

.ecolux-hero-proof {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1.5rem;
}

.ecolux-hero-proof span {
	padding: 0.5rem 0.8rem;
	border: 1px solid rgba(0, 108, 174, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	color: #17455f;
	font-size: 0.86rem;
	font-weight: 750;
}

.ecolux-hero-visual {
	position: relative;
	min-height: clamp(490px, 52vw, 680px);
}

.ecolux-hero-roof,
.ecolux-hero-room {
	position: absolute;
	overflow: hidden;
	margin: 0;
	border: 8px solid white;
	border-radius: 28px;
	background: white;
	box-shadow: 0 28px 80px rgba(0, 83, 136, 0.2);
}

.ecolux-hero-roof {
	top: 0;
	right: 0;
	width: 78%;
	height: 58%;
}

.ecolux-hero-room {
	right: 15%;
	bottom: 0;
	width: 76%;
	height: 54%;
}

.ecolux-hero-roof img,
.ecolux-hero-room img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ecolux-photo-label {
	position: absolute;
	z-index: 2;
	padding: 0.48rem 0.75rem;
	border-radius: 999px;
	background: #006cae;
	color: white;
	font-size: 0.74rem;
	font-weight: 850;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ecolux-hero-roof .ecolux-photo-label {
	top: 1rem;
	left: 1rem;
}

.ecolux-hero-room .ecolux-photo-label {
	right: 1rem;
	bottom: 1rem;
	background: var(--ecolux-sun);
	color: #17364a;
}

.ecolux-glance {
	padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1.25rem, 4vw, 3rem);
	background: white;
}

.ecolux-glance-head {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
	gap: 2rem;
	align-items: end;
	margin-bottom: 3rem;
}

.ecolux-glance-head h2 {
	margin: 0;
	color: #006cae;
	font-size: clamp(2.4rem, 4.8vw, 5rem);
	letter-spacing: -0.05em;
	line-height: 1;
}

.ecolux-glance-head p {
	margin: 0;
	color: var(--ecolux-muted);
	font-size: 1.12rem;
}

.ecolux-glance-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.ecolux-mechanism-step {
	position: relative;
	min-height: 280px;
	padding: 2rem;
	border: 1px solid var(--ecolux-line);
	border-radius: 24px;
	background: #f4faff;
}

.ecolux-mechanism-step:not(:last-child)::after {
	content: "→";
	position: absolute;
	top: 50%;
	right: -1.4rem;
	z-index: 3;
	display: grid;
	width: 2.8rem;
	height: 2.8rem;
	place-items: center;
	border-radius: 50%;
	background: var(--ecolux-sun);
	color: #17364a;
	font-size: 1.4rem;
	font-weight: 900;
	transform: translateY(-50%);
}

.ecolux-mechanism-icon {
	position: relative;
	display: block;
	width: 86px;
	height: 86px;
	margin-bottom: 2.5rem;
	border-radius: 50%;
	background: white;
	box-shadow: 0 12px 30px rgba(0, 108, 174, 0.12);
}

.ecolux-mechanism-icon::before,
.ecolux-mechanism-icon::after {
	content: "";
	position: absolute;
}

.ecolux-icon-capture::before {
	top: 19px;
	left: 19px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--ecolux-sun);
	box-shadow: 0 0 0 10px rgba(255, 199, 44, 0.22);
}

.ecolux-icon-transport::before {
	top: 12px;
	left: 34px;
	width: 18px;
	height: 62px;
	border: 6px solid #00a1df;
	border-top: 0;
	border-bottom: 0;
	background: linear-gradient(90deg, #dff6ff, white, #dff6ff);
	transform: rotate(16deg);
}

.ecolux-icon-transport::after {
	right: 13px;
	bottom: 15px;
	width: 40px;
	height: 10px;
	border-radius: 50%;
	background: var(--ecolux-sun);
}

.ecolux-icon-diffuse::before {
	top: 29px;
	left: 13px;
	width: 60px;
	height: 18px;
	border: 5px solid #00a1df;
	border-radius: 50%;
	background: white;
}

.ecolux-icon-diffuse::after {
	top: 51px;
	left: 20px;
	width: 46px;
	height: 25px;
	background: linear-gradient(160deg, rgba(255, 199, 44, 0.05), rgba(255, 199, 44, 0.62));
	clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}

.ecolux-mechanism-step .ecolux-step-tag {
	margin: 0 0 0.55rem;
	color: #006cae;
	font-size: 0.78rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ecolux-mechanism-step h3 {
	margin: 0 0 0.7rem;
	color: #17364a;
	font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.ecolux-mechanism-step p {
	margin: 0;
	color: var(--ecolux-muted);
}

.ecolux-choose {
	padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 4vw, 3rem);
	background: #eaf6fc;
}

.ecolux-choose-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 2rem);
}

.ecolux-route-card {
	position: relative;
	overflow: hidden;
	min-height: 560px;
	border-radius: 28px;
	background: #005f9c;
	box-shadow: 0 24px 60px rgba(0, 83, 136, 0.14);
}

.ecolux-route-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

.ecolux-route-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 52, 86, 0.02) 30%, rgba(0, 52, 86, 0.92) 100%);
}

.ecolux-route-card:hover img {
	transform: scale(1.035);
}

.ecolux-route-card-content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: clamp(1.7rem, 4vw, 3rem);
	color: white;
}

.ecolux-route-card-content .ecolux-route-tag {
	display: inline-block;
	margin-bottom: 0.8rem;
	padding: 0.42rem 0.7rem;
	border-radius: 999px;
	background: var(--ecolux-sun);
	color: #17364a;
	font-size: 0.75rem;
	font-weight: 850;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ecolux-route-card-content h3 {
	margin: 0 0 0.75rem;
	color: white;
	font-size: clamp(2rem, 4vw, 3.5rem);
	letter-spacing: -0.045em;
	line-height: 1;
}

.ecolux-route-card-content p {
	max-width: 580px;
	margin: 0 0 1.15rem;
	color: #e7f7ff;
}

.ecolux-route-card-content a {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0.68rem 1rem;
	border: 2px solid white;
	border-radius: 999px;
	color: white;
	font-weight: 850;
	text-decoration: none;
}

.ecolux-use-strip {
	padding: 1.3rem clamp(1.25rem, 4vw, 3rem);
	background: #006cae;
	color: white;
}

.ecolux-use-strip div {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.7rem 1.5rem;
}

.ecolux-use-strip span {
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.ecolux-use-strip span::before {
	content: "•";
	margin-right: 0.65rem;
	color: var(--ecolux-sun);
}

.ecolux-result-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}

.ecolux-result-copy h2 {
	margin-top: 0;
	color: #006cae;
	font-size: clamp(2.4rem, 4.6vw, 4.8rem);
	letter-spacing: -0.05em;
	line-height: 1;
}

.ecolux-result-list {
	display: grid;
	gap: 0.7rem;
	margin: 1.5rem 0 0;
}

.ecolux-result-list p {
	position: relative;
	margin: 0;
	padding: 0.9rem 1rem 0.9rem 3.25rem;
	border: 1px solid var(--ecolux-line);
	border-radius: 14px;
	background: white;
	color: #274f67;
	font-weight: 750;
}

.ecolux-result-list p::before {
	content: "✓";
	position: absolute;
	margin-left: -2rem;
	color: #008ec8;
	font-weight: 900;
}

.ecolux-result-image {
	overflow: hidden;
	margin: 0;
	border-radius: 28px;
	box-shadow: var(--ecolux-shadow);
}

.ecolux-result-image img {
	width: 100%;
	height: clamp(430px, 46vw, 650px);
	object-fit: cover;
}

@media (max-width: 900px) {
	body {
		padding-top: 72px;
	}

	.admin-bar .site-header {
		top: 46px;
	}

	.ecolux-header-call {
		display: none !important;
	}

	.ecolux-header-inner {
		min-height: 72px;
	}

	.ecolux-nav {
		margin-left: auto;
	}

	.ecolux-nav-toggle {
		position: relative;
		z-index: 1002;
		display: flex;
	}

	.ecolux-nav-toggle[aria-expanded="true"] span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.ecolux-nav-toggle[aria-expanded="true"] span:nth-child(2) {
		opacity: 0;
	}

	.ecolux-nav-toggle[aria-expanded="true"] span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}

	.ecolux-nav-menu {
		position: fixed;
		top: 72px;
		right: 0;
		left: 0;
		z-index: 1001;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: calc(100vh - 72px);
		padding: 1rem max(1rem, env(safe-area-inset-right)) calc(1rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
		overflow-y: auto;
		overscroll-behavior: contain;
		border-bottom: 1px solid var(--ecolux-line);
		background: white;
		box-shadow: 0 26px 60px rgba(0, 61, 102, 0.2);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-16px);
		transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
	}

	.ecolux-nav-menu.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
	}

	.ecolux-nav-menu a {
		display: flex;
		align-items: center;
		min-height: 56px;
		padding: 0.55rem 0.75rem;
		border-bottom: 1px solid #e2f0f7;
		color: #005f9c;
		font-size: 1.12rem;
	}

	.ecolux-nav-menu a::after {
		display: none;
	}

	body.ecolux-menu-open {
		overflow: hidden;
	}

	.ecolux-hero {
		background: var(--ecolux-paper);
	}

	.ecolux-hero::before {
		top: 48%;
		left: 52%;
		width: 70px;
		height: 60%;
	}

	.ecolux-hero-image img {
		height: min(78vw, 570px);
	}

	.ecolux-hero-v2 {
		padding-top: 3.4rem;
	}

	.ecolux-hero-v2::after {
		top: 42%;
		left: 54%;
		height: 68%;
	}

	.ecolux-hero-visual {
		min-height: min(125vw, 580px);
		margin-top: 1rem;
	}

	.ecolux-glance-head,
	.ecolux-result-grid {
		grid-template-columns: 1fr;
	}

	.ecolux-glance-steps {
		grid-template-columns: 1fr;
	}

	.ecolux-mechanism-step {
		min-height: 0;
	}

	.ecolux-mechanism-step:not(:last-child)::after {
		top: auto;
		right: 50%;
		bottom: -1.4rem;
		transform: translateX(50%) rotate(90deg);
	}

	.ecolux-choose-grid {
		grid-template-columns: 1fr;
	}

	.ecolux-route-card {
		min-height: 500px;
	}

	.ecolux-mobile-actions {
		position: fixed;
		right: 0.75rem;
		bottom: 0.75rem;
		left: 0.75rem;
		z-index: 100;
		display: flex;
		gap: 0.6rem;
		padding: 0.5rem;
		border: 1px solid rgba(18, 60, 45, 0.16);
		border-radius: 999px;
		background: rgba(246, 250, 247, 0.96);
		box-shadow: 0 12px 40px rgba(18, 60, 45, 0.18);
		backdrop-filter: blur(12px);
	}

	.ecolux-mobile-actions a {
		display: flex;
		flex: 1;
		align-items: center;
		justify-content: center;
		min-height: 48px;
		border-radius: 999px;
		background: var(--ecolux-forest);
		color: white;
		font-size: 0.88rem;
		font-weight: 800;
		text-decoration: none;
	}

	.ecolux-mobile-actions a:last-child {
		background: var(--ecolux-sun);
		color: var(--ecolux-ink);
	}

	.site-footer {
		padding-bottom: 7rem;
	}
}

@media (max-width: 600px) {
	body,
	button,
	input,
	select,
	textarea {
		font-size: 16px;
	}

	.ecolux-brand-kicker {
		display: none;
	}

	.ecolux-sun-mark {
		flex-basis: 28px;
		width: 28px;
		height: 28px;
	}

	.ecolux-hero h1,
	.ecolux-page-hero h1 {
		font-size: clamp(2.2rem, 12vw, 3.4rem);
		letter-spacing: -0.05em;
	}

	.ecolux-hero-v2 h1 {
		font-size: clamp(2.8rem, 13vw, 4.25rem);
	}

	.ecolux-hero-proof {
		gap: 0.45rem;
	}

	.ecolux-hero-proof span {
		font-size: 0.78rem;
	}

	.ecolux-hero-roof {
		width: 88%;
		height: 56%;
	}

	.ecolux-hero-room {
		right: 7%;
		width: 86%;
		height: 52%;
	}

	.ecolux-glance,
	.ecolux-choose {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.ecolux-mechanism-step {
		padding: 1.5rem;
	}

	.ecolux-route-card {
		min-height: 460px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Portada v3: demostración del sistema y fotografía sin filtros */
.ecolux-skip-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2000;
	padding: 0.65rem 1rem;
	border-radius: 999px;
	background: #073c61;
	color: white;
	font-weight: 800;
	text-decoration: none;
	transform: translateY(-160%);
	transition: transform 160ms ease;
}

.ecolux-skip-link:focus {
	transform: translateY(0);
}

.ecolux-hero-v3 {
	position: relative;
	overflow: hidden;
	padding: clamp(4rem, 8vw, 7.5rem) clamp(1.25rem, 4vw, 3rem);
	background:
		radial-gradient(circle at 86% 5%, rgba(255, 199, 44, 0.24), transparent 22rem),
		linear-gradient(135deg, #eefaff 0%, #ffffff 52%, #e4f5fc 100%);
}

.ecolux-hero-v3 .wp-block-columns {
	gap: clamp(2.8rem, 6vw, 6rem);
}

.ecolux-hero-v3 h1 {
	max-width: 760px;
	margin: 0 0 1.35rem;
	color: #006cae;
	font-size: clamp(3rem, 6vw, 6.3rem);
	font-weight: 850;
	letter-spacing: -0.065em;
	line-height: 0.94;
	overflow-wrap: anywhere;
}

.ecolux-hero-v3 .ecolux-hero-lead {
	max-width: 650px;
	color: #395f75;
	font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.ecolux-hero-single {
	position: relative;
	overflow: hidden;
	margin: 0;
	border: 9px solid white;
	border-radius: 30px;
	background: white;
	box-shadow: 0 28px 80px rgba(0, 83, 136, 0.18);
}

.ecolux-hero-single img {
	display: block;
	width: 100%;
	height: clamp(470px, 48vw, 650px);
	object-fit: cover;
}

.ecolux-hero-single figcaption,
.ecolux-proof-v3-image figcaption {
	padding: 0.65rem 0.85rem;
	color: #526e7e;
	font-size: 0.75rem;
}

.ecolux-hero-single-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	display: grid;
	max-width: 230px;
	padding: 0.75rem 1rem;
	border-radius: 16px;
	background: rgba(0, 108, 174, 0.94);
	color: white;
	box-shadow: 0 10px 30px rgba(0, 66, 108, 0.22);
}

.ecolux-hero-single-badge strong {
	font-size: 0.92rem;
}

.ecolux-hero-single-badge span {
	color: #dff5ff;
	font-size: 0.75rem;
}

.ecolux-demo-section {
	padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 4vw, 3rem);
	background: white;
}

.ecolux-demo-heading {
	margin-bottom: clamp(2rem, 5vw, 4rem);
	text-align: center;
}

.ecolux-demo-heading h2 {
	max-width: 940px;
	margin: 0 auto 1rem;
	color: #006cae;
	font-size: clamp(2.4rem, 4.8vw, 5rem);
	letter-spacing: -0.055em;
	line-height: 1;
}

.ecolux-demo-heading > p:last-child {
	max-width: 690px;
	margin-right: auto;
	margin-left: auto;
	color: var(--ecolux-muted);
}

.ecolux-demo {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(1rem, 2.5vw, 2rem);
	border: 1px solid #cfe7f3;
	border-radius: 30px;
	background: #f4faff;
	box-shadow: 0 25px 70px rgba(0, 86, 139, 0.11);
}

.ecolux-demo-canvas {
	position: relative;
	overflow: hidden;
	border-radius: 22px;
	background: white;
	box-shadow: 0 14px 45px rgba(0, 83, 136, 0.12);
}

.ecolux-demo-hint {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	margin: 0;
	padding: 0.42rem 0.7rem;
	border-radius: 999px;
	background: rgba(7, 60, 97, 0.9);
	color: white;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.ecolux-demo-svg {
	display: block;
	width: 100%;
	height: auto;
}

.ecolux-demo-room-label {
	fill: #587587;
	font-family: var(--wp--preset--font-family--fira-code), monospace;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.ecolux-demo-stage {
	opacity: 0.38;
	transition: opacity 180ms ease;
}

.ecolux-demo.is-stage-captacion .ecolux-stage-captacion,
.ecolux-demo.is-stage-transporte .ecolux-stage-transporte,
.ecolux-demo.is-stage-distribucion .ecolux-stage-distribucion {
	opacity: 1;
}

.ecolux-demo.is-stage-captacion .ecolux-stage-captacion,
.ecolux-demo.is-stage-transporte .ecolux-stage-transporte,
.ecolux-demo.is-stage-distribucion .ecolux-stage-distribucion {
	filter: drop-shadow(0 0 9px rgba(255, 199, 44, 0.38));
}

.ecolux-sun-entry,
.ecolux-light-path,
.ecolux-room-rays {
	animation: ecolux-light-pulse 1.8s ease-in-out infinite alternate;
}

@keyframes ecolux-light-pulse {
	from {
		opacity: 0.52;
	}

	to {
		opacity: 1;
	}
}

.ecolux-demo-copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: clamp(0.4rem, 2vw, 1.2rem) 0;
}

.ecolux-demo-tabs {
	display: grid;
	gap: 0.7rem;
}

.ecolux-demo-tab {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	width: 100%;
	min-height: 58px;
	padding: 0.7rem 1rem;
	border: 1px solid #c9e4f1;
	border-radius: 16px;
	background: white;
	color: #315d74;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 800;
	text-align: left;
	cursor: pointer;
	transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.ecolux-demo-tab span {
	display: grid;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: #eaf7fd;
	color: #006cae;
}

.ecolux-demo-tab:hover {
	border-color: #00a1df;
	color: #006cae;
	transform: translateX(3px);
}

.ecolux-demo-tab.is-active {
	border-color: #006cae;
	background: #006cae;
	color: white;
	box-shadow: 0 10px 26px rgba(0, 108, 174, 0.18);
}

.ecolux-demo-tab.is-active span {
	background: #ffc72c;
	color: #17364a;
}

.ecolux-demo-panel {
	margin-top: 1rem;
	padding: clamp(1.4rem, 3vw, 2.2rem);
	border: 1px solid #c9e4f1;
	border-radius: 20px;
	background: white;
}

.ecolux-demo-panel[hidden] {
	display: none;
}

.ecolux-demo-kicker {
	margin: 0 0 0.45rem;
	color: #0077b8;
	font-family: var(--wp--preset--font-family--fira-code), monospace;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ecolux-demo-panel h3 {
	margin: 0 0 0.7rem;
	color: #17364a;
	font-size: clamp(1.55rem, 2.8vw, 2.35rem);
	letter-spacing: -0.04em;
	line-height: 1.06;
}

.ecolux-demo-panel > p:last-child {
	margin-bottom: 0;
	color: #526e7e;
}

.ecolux-demo-link {
	align-self: flex-start;
	margin-top: 1rem;
	color: #006cae;
	font-weight: 800;
}

.ecolux-choose-v3,
.ecolux-projects-section-v3 {
	padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 4vw, 3rem);
	background: #eaf6fc;
}

.ecolux-routes-v3 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.2rem, 3vw, 2.2rem);
}

.ecolux-route-v3 {
	overflow: hidden;
	border: 1px solid #cfe5ef;
	border-radius: 26px;
	background: white;
	box-shadow: 0 20px 52px rgba(0, 78, 126, 0.1);
}

.ecolux-route-v3 figure,
.ecolux-project-v3 figure,
.ecolux-proof-v3-image {
	overflow: hidden;
	margin: 0;
	background: #e8f4f9;
}

.ecolux-route-v3 img {
	display: block;
	width: 100%;
	height: clamp(330px, 38vw, 500px);
	object-fit: cover;
	transition: transform 260ms ease;
}

.ecolux-route-v3:hover img {
	transform: scale(1.025);
}

.ecolux-route-v3-copy {
	padding: clamp(1.5rem, 3.5vw, 2.6rem);
}

.ecolux-route-v3-tag,
.ecolux-project-v3-tag {
	display: inline-flex;
	margin: 0 0 0.8rem;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	background: #fff3c2;
	color: #6f5200;
	font-size: 0.73rem;
	font-weight: 850;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ecolux-route-v3 h3 {
	margin: 0 0 0.7rem;
	color: #006cae;
	font-size: clamp(1.8rem, 3.3vw, 3rem);
	letter-spacing: -0.045em;
	line-height: 1.02;
}

.ecolux-route-v3-copy > p:not(.ecolux-route-v3-tag) {
	color: #526e7e;
}

.ecolux-route-v3 a,
.ecolux-project-v3 span {
	color: #006cae;
	font-weight: 850;
}

.ecolux-proof-v3 {
	padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 4vw, 3rem);
	background: white;
}

.ecolux-proof-v3 .wp-block-columns {
	gap: clamp(2rem, 6vw, 6rem);
}

.ecolux-proof-v3-image {
	border: 8px solid #f4faff;
	border-radius: 26px;
	box-shadow: var(--ecolux-shadow);
}

.ecolux-proof-v3-image img {
	display: block;
	width: 100%;
	height: clamp(390px, 43vw, 590px);
	object-fit: cover;
}

.ecolux-proof-v3 h2 {
	margin-top: 0;
	color: #006cae;
	font-size: clamp(2.2rem, 4.3vw, 4.5rem);
	letter-spacing: -0.05em;
	line-height: 1;
}

.ecolux-proof-v3 p,
.ecolux-proof-v3 li {
	color: #526e7e;
}

.ecolux-projects-section-v3 {
	background: #f4faff;
}

.ecolux-projects-v3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 1.6rem);
}

.ecolux-project-v3 {
	overflow: hidden;
	border: 1px solid #d4e9f4;
	border-radius: 22px;
	background: white;
	box-shadow: 0 16px 42px rgba(0, 78, 126, 0.08);
}

.ecolux-project-v3 > a {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.ecolux-project-v3 img {
	display: block;
	width: 100%;
	height: 310px;
	object-fit: cover;
	transition: transform 260ms ease;
}

.ecolux-project-v3:hover img {
	transform: scale(1.025);
}

.ecolux-project-v3 > a > div {
	padding: 1.4rem;
}

.ecolux-project-v3 h3 {
	margin: 0 0 0.55rem;
	color: #006cae;
	font-size: clamp(1.45rem, 2.3vw, 2rem);
	letter-spacing: -0.035em;
	line-height: 1.08;
}

.ecolux-project-v3 div > p:not(.ecolux-project-v3-tag) {
	color: #526e7e;
	font-size: 0.92rem;
}

.ecolux-project-v3:focus-within {
	outline: 3px solid #ffc72c;
	outline-offset: 4px;
}

.ecolux-projects-link {
	margin-top: 2rem;
}

.ecolux-project-card .wp-block-cover__background {
	background: linear-gradient(180deg, rgba(7, 35, 52, 0.02), rgba(7, 35, 52, 0.72)) !important;
	opacity: 1 !important;
}

.ecolux-project-card img,
.ecolux-route-v3 img,
.ecolux-project-v3 img,
.ecolux-hero-single img,
.ecolux-proof-v3-image img {
	filter: none !important;
}

@media (max-width: 900px) {
	.ecolux-mobile-actions {
		bottom: max(0.5rem, env(safe-area-inset-bottom));
		padding: 0.35rem;
		transition: transform 160ms ease, opacity 160ms ease;
	}

	.ecolux-mobile-actions a {
		min-height: 44px;
	}

	body.ecolux-demo-in-view .ecolux-mobile-actions {
		opacity: 0;
		pointer-events: none;
		transform: translateY(calc(100% + 1rem));
	}

	.ecolux-hero-v3 {
		padding-top: 3.4rem;
	}

	.ecolux-hero-v3 h1 {
		font-size: clamp(2.75rem, 12.7vw, 4.5rem);
	}

	.ecolux-hero-single {
		margin-top: 0.8rem;
	}

	.ecolux-hero-single img {
		height: min(105vw, 560px);
	}

	.ecolux-demo {
		grid-template-columns: 1fr;
		padding: 0.75rem;
	}

	.ecolux-demo-hint {
		font-size: 0.65rem;
	}

	.ecolux-demo-copy {
		padding: 0.4rem;
	}

	.ecolux-demo-tabs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.45rem;
	}

	.ecolux-demo-tab {
		flex-direction: column;
		justify-content: center;
		gap: 0.3rem;
		min-height: 84px;
		padding: 0.5rem 0.25rem;
		font-size: clamp(0.72rem, 3vw, 0.84rem);
		text-align: center;
	}

	.ecolux-demo-tab:hover {
		transform: none;
	}

	.ecolux-demo-tab span {
		flex-basis: 28px;
		width: 28px;
		height: 28px;
	}

	.ecolux-demo-panel {
		min-height: 0;
	}

	.ecolux-routes-v3,
	.ecolux-projects-v3 {
		grid-template-columns: 1fr;
	}

	.ecolux-route-v3 img {
		height: min(96vw, 520px);
	}

	.ecolux-project-v3 img {
		height: min(75vw, 390px);
	}
}

@media (max-width: 480px) {
	.ecolux-hero-single-badge {
		top: 0.7rem;
		left: 0.7rem;
	}

	.ecolux-demo-section,
	.ecolux-choose-v3,
	.ecolux-proof-v3,
	.ecolux-projects-section-v3 {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.ecolux-demo-hint {
		position: static;
		border-radius: 0;
		background: #073c61;
		text-align: center;
	}

	.ecolux-demo-panel {
		padding: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ecolux-sun-entry,
	.ecolux-light-path,
	.ecolux-room-rays {
		animation: none;
	}
}
