:root {
	--purple: #754696;
	--purple-deep: #4a2a6b;
	--purple-dark: #1a0b35;
	--green: #319c36;
	--green-dark: #267a2a;
	--ink: #17111f;
	--muted: #4f495a;
	--white: #ffffff;
	--off-white: #f6f4f9;
	--font-display: "Oswald", "Montserrat", sans-serif;
	--font-body: "Montserrat", sans-serif;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 16px 36px rgba(26, 11, 53, 0.14);
	--shadow-soft: 0 8px 24px rgba(26, 11, 53, 0.08);
	--container: 1160px;
	--space-section: clamp(4.25rem, 7vw, 6.25rem);
	--focus: 0 0 0 3px rgba(49, 156, 54, 0.35);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	text-size-adjust: 100%;
	overflow-x: hidden;
	max-width: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--ink);
	background: var(--white);
	line-height: 1.7;
	font-size: 1rem;
	letter-spacing: 0.01em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	max-width: 100%;
}

main#contenido-principal {
	overflow-x: hidden;
	max-width: 100%;
}

img {
	max-width: 100%;
	display: block;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

:focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 3px;
}

.container {
	width: min(100% - 2rem, var(--container));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(117, 70, 150, 0.1);
	box-shadow: 0 4px 18px rgba(26, 11, 53, 0.04);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	min-height: 80px;
}

.brand {
	display: inline-flex;
	align-items: center;
	border-radius: 8px;
	transition: opacity 0.2s ease;
}

.brand:hover {
	opacity: 0.92;
}

.brand-logo,
.footer-logo,
.section-mark {
	display: block;
	width: auto !important;
	height: auto !important;
	max-height: 56px;
	max-width: 220px;
	object-fit: contain;
	object-position: left center;
	aspect-ratio: auto;
	flex-shrink: 0;
}

.brand-logo {
	max-height: 52px;
	max-width: 200px;
}

.footer-logo {
	max-height: 48px;
	max-width: 180px;
}

.about-copy .section-mark {
	max-height: 64px;
	max-width: 240px;
	margin-bottom: 1.5rem;
	align-self: flex-start;
}

.section-mark.light {
	max-height: 48px;
	max-width: 180px;
	margin-bottom: 1.5rem;
	padding: 0.4rem 0.55rem;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.96);
	/* Evita invert/filter que aplastaba visualmente el imagotipo */
	filter: none;
	opacity: 1;
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.35rem 0.2rem;
	font-size: 0.84rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.site-nav a {
	color: var(--purple-deep);
	padding: 0.45rem 0.7rem;
	border-radius: 999px;
	transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
	color: var(--green-dark);
	background: rgba(49, 156, 54, 0.08);
	outline: none;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	padding: 10px 9px;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 100%;
	height: 2.5px;
	margin: 0;
	border-radius: 2px;
	background: var(--purple-deep);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.9rem 1.55rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.92rem;
	letter-spacing: 0.02em;
	transition:
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		background 0.28s ease,
		color 0.28s ease,
		box-shadow 0.28s ease,
		border-color 0.28s ease;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(26, 11, 53, 0.22);
}

.btn:focus-visible {
	outline: none;
	box-shadow: var(--focus), 0 10px 24px rgba(26, 11, 53, 0.16);
}

.btn-green {
	background: var(--green);
	color: var(--white);
}

.btn-green:hover {
	background: var(--green-dark);
}

.btn-outline {
	border: 2px solid rgba(255, 255, 255, 0.9);
	color: var(--white);
	background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
	background: var(--white);
	color: var(--purple-deep);
	border-color: var(--white);
}

.hero {
	position: relative;
	min-height: min(92vh, 920px);
	display: grid;
	place-items: center;
	background:
		linear-gradient(115deg, rgba(18, 8, 31, 0.78) 8%, rgba(74, 42, 107, 0.55) 55%, rgba(26, 11, 53, 0.62) 100%),
		var(--hero-image) center / cover no-repeat;
	color: var(--white);
	overflow: hidden;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 18% 78%, rgba(49, 156, 54, 0.18), transparent 42%),
		radial-gradient(circle at 82% 18%, rgba(117, 70, 150, 0.28), transparent 38%);
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 6.5rem 0 5.5rem;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.hero-rif {
	letter-spacing: 0.2em;
	font-size: 0.76rem;
	font-weight: 600;
	opacity: 0.88;
	margin: 0 0 1.1rem;
	text-transform: uppercase;
}

.hero h1 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2.55rem, 6.5vw, 4.6rem);
	line-height: 1.08;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 700;
}

.hero-lead {
	margin: 1.1rem auto 2.1rem;
	max-width: 32ch;
	font-size: clamp(1.12rem, 2.2vw, 1.45rem);
	font-style: italic;
	font-weight: 500;
	line-height: 1.45;
	opacity: 0.96;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	justify-content: center;
}

.section {
	padding: var(--space-section) 0;
}

.about {
	padding: 0;
}

.about-grid {
	display: grid;
	grid-template-columns: 1.08fr 1fr;
	min-height: 620px;
	overflow-x: clip;
	max-width: 100%;
}

.about-media {
	position: relative;
	background: var(--purple);
	overflow: hidden;
}

.about-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
	min-height: 460px;
	transform: scale(1.02);
	filter: saturate(1.04) contrast(1.02);
}

.about-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.75rem 1.9rem 1.55rem;
	background: linear-gradient(90deg, var(--purple) 0%, var(--purple-deep) 100%);
	clip-path: polygon(0 18%, 78% 18%, 88% 0, 100% 0, 100% 100%, 0 100%);
	color: var(--white);
}

.about-caption h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.85rem, 3vw, 2.45rem);
	text-decoration: underline;
	text-underline-offset: 8px;
	letter-spacing: 0.02em;
}

.about-caption p {
	margin: 0.4rem 0 0;
	font-weight: 700;
	letter-spacing: 0.05em;
	font-size: 0.95rem;
}

.about-copy {
	padding: clamp(2.25rem, 5.5vw, 4.25rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.35rem;
	background: var(--white);
}

.about-copy p {
	font-size: 1.06rem;
	color: var(--muted);
	line-height: 1.75;
	margin: 0.55rem 0;
}

.about-copy strong {
	color: var(--ink);
	font-weight: 700;
}

.identity {
	position: relative;
	/* Verde del logo (#319c36) — contraste frente a secciones moradas */
	background: linear-gradient(155deg, var(--green) 0%, var(--green-dark) 72%, #1e6b22 100%);
	color: var(--white);
	padding-left: 0;
	/* Menos altura: reduce solo el padding vertical de la sección */
	padding-top: clamp(1.5rem, 3vw, 2.35rem);
	padding-bottom: clamp(1.5rem, 3vw, 2.35rem);
	overflow: hidden;
}

.identity-rail {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 72px;
	background: #145218;
	display: grid;
	place-items: center;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.identity-rail span {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-family: var(--font-display);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.96);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.identity-content {
	/* Ancho completo; solo padding vertical reducido */
	width: min(100% - 2rem, 920px);
	max-width: 920px;
	margin-inline: auto;
	padding-left: clamp(4.5rem, 8vw, 6rem);
	padding-right: clamp(1.75rem, 4vw, 3rem);
	padding-block: clamp(0.65rem, 1.6vw, 1.1rem);
	box-sizing: border-box;
}

/* Mobile-first: una columna; desde 768px → dos columnas */
.identity .identity-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
	width: 100%;
}

.identity .identity-block {
	min-width: 0;
	width: 100%;
	max-width: 100%;
}

.identity .identity-block + .identity-block {
	margin-top: 0;
	padding-top: 2rem;
	padding-left: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	border-left: 0;
}

@media (min-width: 768px) {
	.identity .identity-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 0 2.5rem;
	}

	.identity .identity-block + .identity-block {
		padding-top: 0;
		padding-left: 2.5rem;
		border-top: 0;
		border-left: 1px solid rgba(255, 255, 255, 0.22);
	}
}

.identity h2,
.values h3,
.eco-safety h2,
.projects h2,
.contact h2 {
	font-family: var(--font-display);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 0.85rem;
	line-height: 1.15;
}

.identity h2 {
	font-size: clamp(1.85rem, 3vw, 2.35rem);
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.identity p {
	max-width: none;
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.96);
	opacity: 1;
}

.values {
	background: transparent;
	color: var(--ink);
	overflow: hidden;
}

.values-carousel {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas:
		"prev viewport next"
		"dots dots dots";
	align-items: center;
	gap: 0.85rem 0.55rem;
}

.values-viewport {
	grid-area: viewport;
	overflow: hidden;
	width: 100%;
}

.values-track {
	display: flex;
	width: 100%;
	gap: 1rem;
	will-change: transform;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-item {
	flex: 0 0 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.85rem;
	min-width: 0;
	padding: 1.35rem 1.4rem;
	border-radius: var(--radius);
	border: 1px solid rgba(23, 17, 31, 0.08);
	border-left: 4px solid var(--green);
	background: transparent;
	box-shadow: 0 6px 20px rgba(23, 17, 31, 0.04);
	transition:
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.45s ease,
		box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.value-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 12px;
	color: var(--green);
	background: rgba(49, 156, 54, 0.1);
	flex-shrink: 0;
}

.value-icon svg {
	width: 1.4rem;
	height: 1.4rem;
}

.value-body h3 {
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	margin: 0 0 0.35rem;
	letter-spacing: 0.03em;
	color: var(--green-dark);
}

.value-body p {
	margin: 0;
	max-width: 42ch;
	line-height: 1.65;
	font-size: 0.95rem;
	color: var(--muted);
}

.value-item:hover {
	transform: translateY(-4px);
	border-color: rgba(49, 156, 54, 0.28);
	border-left-color: var(--green);
	box-shadow: 0 18px 36px rgba(49, 156, 54, 0.12);
}

.values-nav {
	appearance: none;
	border: 1px solid rgba(49, 156, 54, 0.28);
	background: transparent;
	color: var(--green-dark);
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition:
		background 0.3s ease,
		border-color 0.3s ease,
		color 0.3s ease,
		transform 0.3s ease;
}

.values-nav svg {
	width: 1.15rem;
	height: 1.15rem;
}

.values-nav:hover,
.values-nav:focus-visible {
	background: rgba(49, 156, 54, 0.1);
	border-color: var(--green);
	color: var(--green);
	outline: none;
}

.values-nav:active {
	transform: scale(0.96);
}

.values-nav--prev {
	grid-area: prev;
}

.values-nav--next {
	grid-area: next;
}

.values-dots {
	grid-area: dots;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.45rem;
	padding-top: 0.35rem;
}

.values-dot {
	appearance: none;
	border: 0;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 999px;
	padding: 0;
	background: rgba(49, 156, 54, 0.28);
	cursor: pointer;
	transition:
		width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		background 0.35s ease;
}

.values-dot.is-active {
	width: 1.35rem;
	background: var(--green);
}

.values-dot:focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 2px;
}

@media (min-width: 720px) {
	.value-item {
		flex-basis: calc((100% - 1rem) / 2);
	}
}

@media (min-width: 1100px) {
	.value-item {
		flex-basis: calc((100% - 2rem) / 3);
	}
}

/* Seguridad ambiental — sección reforzada */
.eco-safety {
	background:
		radial-gradient(circle at 90% 10%, rgba(49, 156, 54, 0.12), transparent 35%),
		linear-gradient(180deg, var(--off-white), #ffffff 45%);
}

.eco-intro {
	max-width: 760px;
	margin-bottom: 2.5rem;
}

.eyebrow {
	display: inline-block;
	margin: 0 0 0.75rem;
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	background: rgba(49, 156, 54, 0.12);
	color: var(--green-dark);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.eco-safety h2 {
	color: var(--purple-deep);
	font-size: clamp(2rem, 4vw, 3rem);
}

.eco-lead {
	color: var(--muted);
	font-size: 1.08rem;
}

.eco-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.2rem;
}

.eco-card {
	background: var(--white);
	border: 1px solid rgba(117, 70, 150, 0.1);
	border-left: 5px solid var(--green);
	border-radius: var(--radius);
	padding: 1.55rem 1.45rem;
	box-shadow: var(--shadow-soft);
	transition:
		transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.35s ease,
		border-color 0.35s ease;
}

.eco-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
	border-color: rgba(49, 156, 54, 0.32);
}

.eco-num {
	display: inline-block;
	font-family: var(--font-display);
	color: var(--purple);
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
}

.eco-card h3 {
	margin: 0 0 0.55rem;
	font-family: var(--font-display);
	text-transform: uppercase;
	color: var(--purple-deep);
	font-size: 1.15rem;
}

.eco-card p {
	margin: 0;
	color: var(--muted);
}

.eco-banner {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.4rem 1.6rem;
	border-radius: var(--radius);
	background: linear-gradient(100deg, var(--purple-deep), var(--purple));
	color: var(--white);
	box-shadow: var(--shadow);
}

.eco-banner p {
	margin: 0;
	font-weight: 600;
	max-width: 42ch;
}

.section-heading {
	margin-bottom: 2.35rem;
	max-width: 46rem;
}

.section-heading h2 {
	color: var(--purple-deep);
	font-size: clamp(2rem, 4vw, 2.7rem);
}

.section-heading p {
	color: var(--muted);
	margin: 0.55rem 0 0;
	font-size: 1.05rem;
	line-height: 1.65;
}

.quote {
	background:
		radial-gradient(circle at 12% 20%, rgba(49, 156, 54, 0.08), transparent 40%),
		linear-gradient(180deg, var(--off-white) 0%, #fff 55%);
}

.quote .section-heading h2 {
	color: var(--purple-deep);
}

.quote-panel {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
	gap: clamp(1.25rem, 3vw, 2rem);
	align-items: stretch;
}

.quote-form,
.quote-result {
	border-radius: calc(var(--radius) + 2px);
	border: 1px solid rgba(117, 70, 150, 0.12);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.quote-form {
	padding: 1.4rem 1.45rem 1.5rem;
}

.quote-form-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.9rem;
}

.quote-field {
	display: grid;
	gap: 0.4rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted);
}

.quote-field select,
.quote-field input {
	width: 100%;
	border: 1px solid rgba(23, 17, 31, 0.12);
	border-radius: 10px;
	background: #fff;
	color: var(--ink);
	padding: 0.7rem 0.85rem;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.quote-field select:focus,
.quote-field input:focus {
	outline: none;
	border-color: rgba(49, 156, 54, 0.55);
	box-shadow: var(--focus);
}

.quote-extras {
	margin: 1.15rem 0 0;
	padding: 0.95rem 1rem;
	border: 1px solid rgba(117, 70, 150, 0.12);
	border-radius: 12px;
	background: rgba(117, 70, 150, 0.03);
}

.quote-extras legend {
	padding: 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--purple-deep);
}

.quote-check {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin: 0.55rem 0 0;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--ink);
	cursor: pointer;
}

.quote-check input {
	margin-top: 0.2rem;
	accent-color: var(--green);
}

.quote-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.2rem;
}

.quote-reset.btn-outline {
	color: var(--purple-deep);
	border-color: rgba(117, 70, 150, 0.35);
}

.quote-reset.btn-outline:hover {
	background: rgba(117, 70, 150, 0.08);
	color: var(--purple-deep);
}

.quote-result {
	padding: 1.5rem 1.45rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background:
		linear-gradient(165deg, rgba(49, 156, 54, 0.08), transparent 45%),
		#fff;
}

.quote-result-label {
	margin: 0 0 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--green-dark);
}

.quote-result-range {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.6rem, 3.2vw, 2.15rem);
	line-height: 1.15;
	letter-spacing: 0.02em;
	color: var(--ink);
	text-transform: uppercase;
}

.quote-result-meta {
	margin: 0.75rem 0 0;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.55;
}

.quote-result-note {
	margin: 0.85rem 0 1.2rem;
	font-size: 0.82rem;
	line-height: 1.5;
	color: rgba(79, 73, 90, 0.9);
}

.quote-cta {
	align-self: flex-start;
}

.quote-result.is-ready .quote-result-range {
	color: var(--green-dark);
}

@media (max-width: 900px) {
	.quote-panel,
	.quote-form-grid {
		grid-template-columns: 1fr;
	}
}

.projects {
	background: linear-gradient(180deg, #fff 0%, var(--off-white) 100%);
}

.projects-list {
	display: grid;
	gap: 1.5rem;
}

.project-card {
	padding: 1.65rem 1.7rem 1.75rem;
	border-radius: calc(var(--radius) + 2px);
	border: 1px solid rgba(23, 17, 31, 0.07);
	border-left: 4px solid rgba(117, 70, 150, 0.35);
	background: #fff;
	box-shadow:
		0 8px 22px rgba(26, 11, 53, 0.06),
		0 1px 0 rgba(255, 255, 255, 0.8) inset;
	transition:
		transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.4s ease,
		border-color 0.35s ease,
		background 0.35s ease;
}

.project-card.is-deferred {
	display: none;
}

.project-card:hover {
	transform: translateY(-6px);
	box-shadow:
		0 20px 40px rgba(26, 11, 53, 0.12),
		0 1px 0 rgba(255, 255, 255, 0.9) inset;
	border-color: rgba(117, 70, 150, 0.18);
	border-left-color: var(--purple);
}

.project-card--active {
	border-color: rgba(49, 156, 54, 0.28);
	border-left-color: var(--green);
	background: linear-gradient(165deg, #f3fbf3 0%, #ffffff 55%);
}

.project-card--active:hover {
	border-left-color: var(--green-dark);
	box-shadow:
		0 20px 40px rgba(49, 156, 54, 0.14),
		0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.project-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	margin-bottom: 0.7rem;
}

.project-place {
	display: inline-block;
	padding: 0.32rem 0.75rem;
	border-radius: 999px;
	background: var(--purple-deep);
	color: var(--white);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.3;
}

.project-year,
.project-badge {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--purple);
}

.project-year {
	padding: 0.32rem 0.7rem;
	border-radius: 999px;
	background: rgba(117, 70, 150, 0.08);
}

.project-badge {
	background: var(--green);
	color: var(--white);
	padding: 0.32rem 0.75rem;
	border-radius: 999px;
}

.project-card h3 {
	margin: 0 0 1.15rem;
	font-family: var(--font-display);
	text-transform: uppercase;
	color: var(--ink);
	font-size: clamp(1.22rem, 2.3vw, 1.6rem);
	letter-spacing: 0.03em;
	line-height: 1.2;
}

.project-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 0.85rem;
}

.projects-more {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}

.projects-load-more {
	min-width: 180px;
}

.projects-load-more.is-loading {
	opacity: 0.72;
	pointer-events: none;
}

.project-gallery__item {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: #e8e4ef;
	cursor: zoom-in;
	border-radius: var(--radius-sm);
	overflow: hidden;
	position: relative;
	isolation: isolate;
	box-shadow: inset 0 0 0 1px rgba(26, 11, 53, 0.06);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.project-gallery__item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(26, 11, 53, 0.42));
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	z-index: 1;
}

.project-gallery__item:hover::after,
.project-gallery__item:focus-visible::after {
	opacity: 1;
}

.project-gallery__item:hover,
.project-gallery__item:focus-visible {
	box-shadow: 0 10px 22px rgba(26, 11, 53, 0.16);
	outline: none;
}

.project-gallery img {
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	object-position: center;
	border-radius: var(--radius-sm);
	background: #ddd;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.project-gallery__item:hover img,
.project-gallery__item:focus-visible img {
	transform: scale(1.045);
	filter: saturate(1.06) contrast(1.03);
}

/* Lightbox */
body.lightbox-open {
	overflow: hidden;
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: grid;
	place-items: center;
	padding: 1.25rem;
}

.lightbox[hidden] {
	display: none !important;
}

.lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 6, 22, 0.88);
	backdrop-filter: blur(6px);
	cursor: zoom-out;
}

.lightbox__figure {
	position: relative;
	z-index: 1;
	margin: 0;
	max-width: min(96vw, 1100px);
	max-height: 86vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.lightbox__img {
	max-width: 100%;
	max-height: 78vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	background: #1a0b35;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.lightbox__img.is-ready {
	opacity: 1;
}

.lightbox__caption {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.92rem;
	font-weight: 600;
	text-align: center;
	max-width: 40rem;
}

.lightbox__close,
.lightbox__nav {
	position: absolute;
	z-index: 2;
	border: 0;
	cursor: pointer;
	color: #fff;
	background: rgba(117, 70, 150, 0.85);
	transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover,
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
	background: var(--green);
	transform: scale(1.05);
}

.lightbox__close {
	top: 1rem;
	right: 1rem;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	font-size: 1.8rem;
	line-height: 1;
}

.lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	font-size: 1.35rem;
}

.lightbox__nav--prev {
	left: 1rem;
}

.lightbox__nav--next {
	right: 1rem;
}

.lightbox__counter {
	position: absolute;
	z-index: 2;
	bottom: 1.1rem;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	background: rgba(26, 11, 53, 0.65);
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
}

@media (max-width: 640px) {
	.lightbox__nav--prev {
		left: 0.4rem;
	}

	.lightbox__nav--next {
		right: 0.4rem;
	}

	.lightbox__close {
		top: 0.6rem;
		right: 0.6rem;
	}
}

.contact {
	display: block;
	padding: var(--space-section) 0;
	min-height: 0;
	background: linear-gradient(155deg, rgba(117, 70, 150, 0.97), rgba(26, 11, 53, 0.98));
	color: var(--white);
	overflow-x: clip;
	max-width: 100%;
}

.contact-header {
	text-align: center;
	margin: 0 auto 2rem;
	max-width: 40rem;
}

.contact h2 {
	font-size: clamp(2rem, 4vw, 2.7rem);
	margin: 0 0 0.65rem;
}

.contact-lead {
	margin: 0 auto;
	max-width: 36ch;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.6;
	font-size: 0.98rem;
}

.contact-lead--primary {
	margin-bottom: 0.35rem;
	font-size: clamp(1.15rem, 2.2vw, 1.4rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
}

.contact-lead + .contact-lead {
	margin-top: 0.15rem;
}

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(1.5rem, 4vw, 2.75rem);
	align-items: start;
}

.contact-form-col,
.contact-info-col {
	min-width: 0;
}

.contact-list {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.contact-row {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	padding: 0.85rem 0.95rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.contact-row:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(49, 156, 54, 0.35);
	transform: translateY(-2px);
}

.contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 12px;
	color: var(--green);
	background: rgba(49, 156, 54, 0.16);
	flex-shrink: 0;
}

.contact-icon svg {
	width: 1.2rem;
	height: 1.2rem;
}

.contact-label {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.78;
	margin-bottom: 0.25rem;
	font-weight: 700;
}

.contact-row-body p {
	margin: 0;
	line-height: 1.55;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.95);
}

.contact-row-body a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(183, 240, 186, 0.35);
	transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-row-body a:hover {
	color: #b7f0ba;
	border-bottom-color: #b7f0ba;
}

.contact-sep {
	margin: 0 0.4rem;
	opacity: 0.55;
}

.contact-form {
	position: relative;
	margin: 0 0 0.35rem;
	padding: 1.15rem 1.15rem 1.2rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.contact-field {
	display: grid;
	gap: 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
}

.contact-field--full {
	grid-column: 1 / -1;
}

.contact-field .optional {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
	opacity: 0.7;
}

.contact-field abbr {
	text-decoration: none;
	color: #b7f0ba;
}

.contact-field input,
.contact-field textarea {
	width: 100%;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 10px;
	background: rgba(18, 8, 31, 0.35);
	color: #fff;
	padding: 0.7rem 0.85rem;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-field textarea {
	resize: vertical;
	min-height: 110px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.contact-field input:focus,
.contact-field textarea:focus {
	outline: none;
	border-color: rgba(49, 156, 54, 0.7);
	box-shadow: 0 0 0 3px rgba(49, 156, 54, 0.22);
	background: rgba(18, 8, 31, 0.5);
}

.contact-field.is-invalid input,
.contact-field.is-invalid textarea {
	border-color: #ff8f8f;
	box-shadow: 0 0 0 3px rgba(255, 143, 143, 0.18);
}

.contact-honeypot {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-field--captcha input {
	max-width: 12rem;
}

.contact-form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem 1rem;
	margin-top: 1rem;
}

.contact-form-status {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.contact-form-status.is-ok {
	color: #b7f0ba;
}

.contact-form-status.is-error {
	color: #ffc9c9;
}

.contact-form.is-loading .btn {
	opacity: 0.75;
	pointer-events: none;
}

.contact-rif {
	margin-top: 1.15rem;
	opacity: 0.8;
	letter-spacing: 0.08em;
	font-size: 0.86rem;
}

@media (max-width: 900px) {
	.contact-layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

@media (max-width: 720px) {
	.contact-form-grid {
		grid-template-columns: 1fr;
	}
}

.site-footer {
	background: #12081f;
	color: rgba(255, 255, 255, 0.88);
	padding: 3rem 0 2.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
	display: grid;
	grid-template-columns: 1.45fr 1fr 1fr;
	gap: 2rem;
	align-items: start;
}

.footer-brand p {
	margin: 0.65rem 0;
	line-height: 1.6;
	max-width: 34ch;
}

.footer-logo {
	background: #fff;
	border-radius: 8px;
	padding: 0.25rem 0.45rem;
	margin-bottom: 0.8rem;
}

.footer-brand .rif {
	color: var(--green);
	font-weight: 700;
}

.footer-links {
	display: grid;
	gap: 0.45rem;
	font-weight: 600;
}

.footer-links a:hover {
	color: var(--green);
}

.footer-copy {
	font-size: 0.88rem;
	opacity: 0.75;
}

@media (max-width: 980px) {
	.about-grid,
	.footer-inner,
	.eco-grid {
		grid-template-columns: 1fr;
	}

	.identity-rail {
		width: 48px;
	}

	.identity-content {
		width: min(100% - 1.5rem, 920px);
		padding-left: clamp(3.5rem, 9vw, 5rem);
		padding-right: clamp(1.25rem, 4vw, 2rem);
		padding-block: clamp(0.55rem, 1.4vw, 0.95rem);
	}

	.project-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.about-grid {
		min-height: 0;
	}

	.about-media img {
		display: none;
	}

	.about-media {
		min-height: 0;
		background: transparent;
	}

	.about-caption {
		position: relative;
		clip-path: none;
		padding: 1.35rem 1.4rem 1.2rem;
	}

	.nav-toggle {
		display: inline-flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: center;
		border-radius: 10px;
		background: rgba(117, 70, 150, 0.1);
		border: 1px solid rgba(117, 70, 150, 0.18);
	}

	.site-nav {
		display: none;
		position: absolute;
		top: 80px;
		left: 0;
		right: 0;
		background: rgba(255, 255, 255, 0.98);
		padding: 0.85rem 1.1rem 1.15rem;
		border-bottom: 1px solid rgba(117, 70, 150, 0.12);
		flex-direction: column;
		align-items: stretch;
		gap: 0.25rem;
		box-shadow: 0 12px 28px rgba(26, 11, 53, 0.08);
	}

	.site-nav a {
		padding: 0.75rem 0.9rem;
	}

	.site-nav.is-open {
		display: flex;
	}
}

@media (max-width: 640px) {
	.container {
		width: min(100% - 1.5rem, var(--container));
	}

	.header-inner {
		min-height: 72px;
	}

	.brand-logo {
		max-height: 44px;
		max-width: 168px;
	}

	.hero {
		min-height: 78vh;
	}

	.hero-content {
		padding: 5rem 0 4.5rem;
	}

	.hero h1 {
		font-size: clamp(2.2rem, 11vw, 3rem);
	}

	.project-gallery {
		grid-template-columns: 1fr 1fr;
		gap: 0.55rem;
	}

	.project-card {
		padding: 1.15rem;
	}

	.project-card h3 {
		font-size: 1.15rem;
		line-height: 1.25;
	}

	.eco-banner {
		flex-direction: column;
		align-items: flex-start;
	}

	.btn {
		width: 100%;
		max-width: 280px;
	}

	.hero-actions {
		flex-direction: column;
		align-items: center;
	}

	.whatsapp-float {
		bottom: 1rem;
		right: 0.85rem;
	}
}

/* Botón flotante WhatsApp — visible en todas las secciones */
.whatsapp-float {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 1000;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.85rem 1.05rem 0.85rem 0.9rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 55%, var(--purple) 160%);
	color: var(--white);
	font-family: var(--font-body);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	box-shadow:
		0 10px 28px rgba(49, 156, 54, 0.35),
		0 4px 12px rgba(117, 70, 150, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
	transform: translateY(-3px) scale(1.03);
	box-shadow:
		0 14px 32px rgba(49, 156, 54, 0.42),
		0 6px 16px rgba(117, 70, 150, 0.3);
	color: var(--white);
}

.whatsapp-float__icon {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}

.whatsapp-float__pulse {
	position: absolute;
	inset: -4px;
	border-radius: inherit;
	border: 2px solid rgba(49, 156, 54, 0.55);
	animation: wa-pulse 2s ease-out infinite;
	pointer-events: none;
}

@keyframes wa-pulse {
	0% {
		transform: scale(1);
		opacity: 0.7;
	}
	100% {
		transform: scale(1.25);
		opacity: 0;
	}
}

@media (max-width: 640px) {
	.whatsapp-float {
		right: 1rem;
		bottom: 1rem;
		padding: 0.9rem;
	}

	.whatsapp-float__label {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		border: 0;
	}
}

/* —— Interactividad moderna —— */
.hero {
	background-attachment: fixed;
}

.hero-content {
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.site-nav a {
	position: relative;
}

.site-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 100%;
	height: 2px;
	background: var(--green);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.28s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
	transform: scaleX(1);
}

@media (max-width: 640px) {
	.values-carousel {
		gap: 0.7rem 0.35rem;
	}

	.values-nav {
		width: 2.25rem;
		height: 2.25rem;
	}

	.value-item {
		padding: 1.1rem 1.15rem;
	}

	.value-item:hover {
		transform: none;
	}
}

.stats {
	padding: 3.2rem 0;
	background: linear-gradient(100deg, var(--purple-deep), var(--purple));
	color: var(--white);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.2rem;
	text-align: center;
}

.stat-item {
	padding: 0.5rem;
}

.stat-item .stat-num {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	line-height: 1;
	color: #fff;
	margin-bottom: 0.45rem;
}

.stat-item .stat-num .suffix {
	color: #b7f0ba;
}

.stat-item p {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 600;
	opacity: 0.9;
}

/* Scroll reveal */
.reveal {
	opacity: 0;
	transform: translateY(36px);
	transition:
		opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Usar solo eje Y: translateX desbordaba el viewport y creaba scroll horizontal */
.reveal-left,
.reveal-right {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

@media (max-width: 980px) {
	.stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero {
		background-attachment: scroll;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.reveal,
	.reveal-left,
	.reveal-right,
	.eco-card,
	.project-card,
	.btn,
	.values-track,
	.value-item,
	.project-gallery img {
		transition: none !important;
		animation: none !important;
		transform: none !important;
		opacity: 1 !important;
	}

	.hero {
		background-attachment: scroll;
	}
}
