:root {
	--blue: #083b99;
	--accent-bar: 4px;
	--black: #0a0a0b;
	--ink: #121314;
	--gray: #5d6168;
	--line: #dfe2e6;
	--surface: #f4f5f7;
	--white: #fff;
	--container: 1280px;
	--gutter: clamp(1rem, 4vw, 4rem);
	--heading: "Hanken Grotesk", system-ui, sans-serif;
	--body: "Inter", system-ui, sans-serif;
	--label: "JetBrains Mono", monospace;
	--nav-fade-ms: 500ms;
	--nav-fade-out-ms: 380ms;
	--nav-close-grace-ms: 280ms;
	--mega-panel-offset: 0;
	--header-height: 88px;
	--identity-bar: 4px;
	--header-solid-ms: 320ms;
	--reveal-duration: 750ms;
	--reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--reveal-distance: 2.5rem;
	--reveal-delay: 140ms;
	/* Type scale — page h1s share --text-h1; home hero + CTA span use display (max 4rem / 64px). */
	--text-display: clamp(2.5rem, 6vw, 4rem);
	--text-display-sm: clamp(2.25rem, 12vw, 3.5rem);
	--text-h1: clamp(1.75rem, 3.2vw, 2.35rem);
	--text-h2: clamp(1.75rem, 3vw, 3rem);
	--text-h3: clamp(1.15rem, 2vw, 1.4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis,
html.has-lenis {
	scroll-behavior: auto;
}
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--body);
	font-size: 1rem;
	line-height: 1.65;
	overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container {
	width: min(100%, var(--container));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.section-padding { padding-block: clamp(5rem, 10vw, 8rem); }
.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;
}
.screen-reader-text:focus {
	top: .75rem;
	left: .75rem;
	z-index: 99999;
	width: auto;
	height: auto;
	padding: .8rem 1rem;
	clip: auto;
	background: var(--white);
	color: var(--black);
	font-weight: 700;
}
:focus-visible { outline: 3px solid #3d7ee8; outline-offset: 3px; }
.icon { width: 1.35em; height: 1.35em; flex: 0 0 auto; }
.industrial-grid {
	background-color: #182a49;
	background-image:
		linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px),
		linear-gradient(135deg, #0f1c32, #083b99);
	background-size: 40px 40px, 40px 40px, 100% 100%;
}

/* Header */
.site-identity-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 110;
	height: var(--identity-bar);
	background: var(--blue);
}
.site-header {
	position: relative;
	z-index: 100;
	width: 100%;
	background: var(--white);
	border-bottom: 2px solid var(--black);
	transition:
		background-color var(--header-solid-ms) ease,
		border-color var(--header-solid-ms) ease,
		transform var(--header-solid-ms) ease,
		opacity var(--header-solid-ms) ease;
}
.has-sticky-header .site-header {
	position: fixed;
	top: var(--identity-bar);
}
.admin-bar.has-sticky-header .site-identity-bar { top: 32px; }
.admin-bar.has-sticky-header .site-header { top: calc(32px + var(--identity-bar)); }
.has-sticky-header body,
body.has-sticky-header {
	padding-top: calc(var(--header-height) + var(--identity-bar));
}
body.has-hero-overlay.has-sticky-header {
	padding-top: 0;
}
.site-header.is-nav-hidden {
	transform: translateY(calc(-100% - var(--identity-bar)));
	pointer-events: none;
}
.header-inner {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
	align-items: center;
	gap: 2rem;
	min-height: var(--header-height);
}

/* Homepage: transparent header over hero → solid white after scroll */
body.has-hero-overlay .hero-section {
	margin-top: calc(-1 * (var(--header-height) + var(--identity-bar)));
	padding-top: calc(var(--header-height) + var(--identity-bar));
}
body.has-hero-overlay .site-header:not(.is-solid) {
	background: transparent;
	border-bottom-color: transparent;
}
body.has-hero-overlay .site-header:not(.is-solid) .site-logo {
	filter: brightness(0) invert(1);
	transition: filter var(--header-solid-ms) ease;
}
body.has-hero-overlay .site-header.is-solid .site-logo {
	filter: none;
	transition: filter var(--header-solid-ms) ease;
}
body.has-hero-overlay .site-header:not(.is-solid) .brand-copy {
	color: var(--white);
}
body.has-hero-overlay .site-header:not(.is-solid) .brand-mark {
	background: var(--white);
	color: var(--blue);
}
body.has-hero-overlay .site-header:not(.is-solid) .site-menu > .site-menu-item > a {
	color: var(--white);
	transition: color var(--header-solid-ms) ease;
}
body.has-hero-overlay .site-header.is-solid .site-menu > .site-menu-item > a {
	transition: color var(--header-solid-ms) ease;
}
body.has-hero-overlay .site-header:not(.is-solid) .site-menu > .site-menu-item > a:hover,
body.has-hero-overlay .site-header:not(.is-solid) .site-menu > .site-menu-item > a.is-active,
body.has-hero-overlay .site-header:not(.is-solid) .site-menu > .site-menu-item > a:focus-visible {
	color: var(--white);
}
body.has-hero-overlay .site-header:not(.is-solid) .site-menu > .site-menu-item > a::after {
	background: var(--white);
}
body.has-hero-overlay .site-header:not(.is-solid) .menu-toggle {
	color: var(--white);
	transition: color var(--header-solid-ms) ease;
}
body.has-hero-overlay .site-header.is-solid .menu-toggle {
	transition: color var(--header-solid-ms) ease;
}
body.has-hero-overlay .site-header:not(.is-solid) .header-cta.button-dark {
	background: transparent;
	border-color: var(--white);
	color: var(--white);
}
body.has-hero-overlay .site-header:not(.is-solid) .header-cta.button-dark:hover {
	background: var(--white);
	color: var(--black);
}
body.has-hero-overlay.menu-open .site-header,
body.has-hero-overlay .site-header:has(.mega-menu-panel.is-open) {
	background: var(--white);
	border-bottom-color: var(--black);
}
body.has-hero-overlay.menu-open .site-header .site-logo,
body.has-hero-overlay .site-header:has(.mega-menu-panel.is-open) .site-logo {
	filter: none;
}
body.has-hero-overlay.menu-open .site-header .brand-copy,
body.has-hero-overlay .site-header:has(.mega-menu-panel.is-open) .brand-copy {
	color: inherit;
}
body.has-hero-overlay.menu-open .site-header .brand-mark,
body.has-hero-overlay .site-header:has(.mega-menu-panel.is-open) .brand-mark {
	background: var(--blue);
	color: var(--white);
}
body.has-hero-overlay.menu-open .site-header .site-menu > .site-menu-item > a,
body.has-hero-overlay .site-header:has(.mega-menu-panel.is-open) .site-menu > .site-menu-item > a {
	color: #33383e;
}
body.has-hero-overlay.menu-open .site-header .site-menu > .site-menu-item > a::after,
body.has-hero-overlay .site-header:has(.mega-menu-panel.is-open) .site-menu > .site-menu-item > a::after {
	background: var(--blue);
}
body.has-hero-overlay.menu-open .site-header .menu-toggle,
body.has-hero-overlay .site-header:has(.mega-menu-panel.is-open) .menu-toggle {
	color: var(--black);
}
body.has-hero-overlay.menu-open .site-header .header-cta.button-dark,
body.has-hero-overlay .site-header:has(.mega-menu-panel.is-open) .header-cta.button-dark {
	background: var(--black);
	border-color: transparent;
	color: var(--white);
}
.site-brand { display: inline-flex; align-items: center; gap: .75rem; width: fit-content; }
.site-logo { width: auto; max-width: 260px; height: 58px; object-fit: contain; }
.brand-mark {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	background: var(--blue);
	color: var(--white);
	font: 800 1.8rem/1 var(--heading);
	transform: skew(-7deg);
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font: 800 1.05rem var(--heading); text-transform: uppercase; }
.brand-copy small { margin-top: .35rem; font: 500 .58rem var(--label); letter-spacing: .13em; text-transform: uppercase; }
.site-menu, .mobile-menu, .footer-menu {
	display: flex;
	align-items: center;
	gap: clamp(1.2rem, 2.3vw, 2.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-menu a {
	position: relative;
	display: block;
	padding-block: .7rem;
	color: #33383e;
	font: 700 .73rem var(--label);
	letter-spacing: .1em;
	text-transform: uppercase;
}
.site-menu > .site-menu-item > a::after {
	position: absolute;
	right: 0;
	bottom: .35rem;
	left: 0;
	height: 2px;
	background: transparent;
	transform: none;
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .25s ease;
}
.site-menu > .site-menu-item > a:hover,
.site-menu > .site-menu-item > a.is-active,
.site-menu > .site-menu-item > a:focus-visible {
	color: var(--blue);
}
.site-menu > .site-menu-item > a:hover::after,
.site-menu > .site-menu-item > a.is-active::after,
.site-menu > .site-menu-item > a:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left;
	background: var(--blue);
}
.site-menu-item { position: static; list-style: none; }
.site-menu-item.has-mega-menu { position: static; }
.site-menu a.mega-menu-trigger {
	position: relative;
	z-index: 130; /* Above mega panel so click still navigates. */
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	text-decoration: none;
}
.mega-menu-trigger .icon { width: 1rem; height: 1rem; transition: transform .25s ease; }
.has-mega-menu.is-open .mega-menu-trigger .icon,
.has-mega-menu:hover .mega-menu-trigger .icon { transform: rotate(180deg); }
/* Local hover-bridge: only as wide as SERVICIOS / PROYECTOS, so INICIO / CONTACTO stay hoverable.
   Must beat overlay-header a::after { background: white } and solid-header is-active blue. */
body.has-hero-overlay .site-header:not(.is-solid) .site-menu > .site-menu-item.has-mega-menu.is-open > a.mega-menu-trigger::after,
.site-menu > .site-menu-item.has-mega-menu.is-open > a.mega-menu-trigger::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 2.5rem;
	background: transparent;
	transform: none;
	pointer-events: auto;
}
.has-mega-menu.is-closing .mega-menu-trigger::after {
	pointer-events: none;
}
.mega-menu-panel {
	position: absolute;
	top: 100%;
	left: 50%;
	width: min(var(--container), calc(100vw - 2 * var(--gutter)));
	margin-left: calc(-0.5 * min(var(--container), calc(100vw - 2 * var(--gutter))));
	z-index: 120;
	background: var(--white);
	border-radius: 0 0 10px 10px;
	box-shadow: 0 24px 60px rgb(11 28 57 / 14%);
	/* Resting closed look; open/close opacity/transform driven by WAAPI in theme.js. */
	opacity: 0;
	transform: translateY(-10px) scale(0.985);
	pointer-events: none;
}
.has-mega-menu.is-open .mega-menu-panel {
	pointer-events: auto;
}
.has-mega-menu.is-closing .mega-menu-panel {
	pointer-events: none;
}
.mega-menu-inner {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) minmax(0, 3fr);
	gap: 0;
	padding-block: 0;
	overflow: hidden;
	border-radius: 0 0 10px 10px;
}
.mega-menu-aside {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 3rem;
	background: var(--surface);
	border-right: 1px solid var(--line);
}
.mega-menu-aside-title {
	margin: 0;
	color: inherit;
	font: 800 1.6rem/1.1 var(--heading);
	text-transform: uppercase;
}
.mega-menu-aside p:not(.mega-menu-aside-title) { margin: 0; color: var(--gray); font-size: .92rem; line-height: 1.65; }
.mega-menu-grid {
	display: grid;
	gap: 2rem;
	padding: 3rem;
}
.mega-menu-grid-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-menu-grid-projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-menu-grid-empresa { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 36rem; }
.mega-menu-card {
	display: grid;
	gap: 1rem;
	min-width: 0;
	color: inherit;
}
.mega-menu-card:hover .mega-menu-card-title { color: var(--blue); }
.mega-menu-card-media {
	display: block;
	aspect-ratio: 16 / 10;
	max-height: 12rem;
	overflow: hidden;
	background: var(--black);
}
.mega-menu-card-media img,
.mega-menu-card-media .media-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}
.mega-menu-card:hover .mega-menu-card-media img { transform: scale(1.08); }
.mega-menu-card-meta { display: grid; gap: .35rem; }
.mega-menu-card-number {
	color: var(--blue);
	font: 700 .62rem var(--label);
	letter-spacing: .16em;
	text-transform: uppercase;
}
.mega-menu-card-title {
	font: 700 .72rem var(--label);
	line-height: 1.45;
	text-transform: uppercase;
	transition: color .2s ease;
}
.mega-menu-card-compact .mega-menu-card-title { display: block; }
.mega-menu-aside a.button {
	display: inline-flex; /* restore .button layout vs .site-menu a { display:block } */
	color: var(--white);
}
.mega-menu-aside a.button:hover,
.mega-menu-aside a.button:focus {
	color: var(--white);
}
.mega-menu-aside a.button::after {
	content: none;
}
.header-cta { justify-self: end; }
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: .9rem 1.65rem;
	border: 2px solid transparent;
	font: 700 .72rem var(--label);
	letter-spacing: .08em;
	text-align: center;
	text-transform: uppercase;
	transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--black); color: var(--white); }
.button-dark:hover, .button-blue { background: var(--blue); color: var(--white); }
.button-blue:hover { background: #062c72; }
.button-outline { border-color: var(--black); color: var(--black); }
.button-outline:hover { background: var(--black); color: var(--white); }
.button-outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.button-outline-light:hover { background: var(--white); color: var(--black); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--black); }
.menu-close-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close-icon { display: grid; place-items: center; }
.mobile-drawer:not(.is-open) { pointer-events: none; }
.mobile-drawer.is-open { pointer-events: auto; }
.mobile-drawer { position: fixed; inset: 0; z-index: 200; }
.drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgb(0 0 0 / 58%); opacity: 0; transition: opacity var(--nav-fade-ms) ease; }
.drawer-panel {
	position: absolute;
	inset: 0 auto 0 0;
	display: flex;
	flex-direction: column;
	width: min(86vw, 360px);
	background: var(--white);
	opacity: 0;
	transform: translateX(-101%);
	transition:
		transform var(--nav-fade-ms) ease,
		opacity var(--nav-fade-ms) ease;
}
.mobile-drawer.is-open .drawer-backdrop { opacity: 1; }
.mobile-drawer.is-open .drawer-panel {
	opacity: 1;
	transform: translateX(0);
}
.drawer-heading { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem; border-bottom: 1px solid var(--line); font-family: var(--heading); text-transform: uppercase; }
.drawer-close { display: grid; place-items: center; width: 42px; height: 42px; border: 0; background: transparent; }
.mobile-menu { display: block; padding: 1rem; }
.mobile-menu a { display: block; padding: 1rem; border-left: var(--accent-bar) solid transparent; font: 700 .8rem var(--label); text-transform: uppercase; }
.mobile-menu a:hover, .mobile-menu .current-menu-item > a { border-color: var(--blue); color: var(--blue); background: #f4f7fd; }
.mobile-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0 0 .5rem .75rem;
}
.mobile-menu .sub-menu a {
	font-size: .72rem;
	padding: .55rem 1rem;
	font-weight: 600;
}
.drawer-cta { margin: auto 1rem 1.5rem; }

/* Global headings */
.eyebrow {
	margin: 1rem 0;
	color: var(--blue);
	font: 700 .72rem/1.4 var(--label);
	letter-spacing: .2em;
	text-transform: uppercase;
}
.eyebrow-filled { display: inline-flex; width: fit-content; padding: .65rem .9rem; background: var(--blue); color: var(--white); }
.eyebrow-light { color: var(--blue); }
.section-title {
	max-width: 850px;
	margin: 0 0 1.5rem;
	font: 800 var(--text-h2)/1.06 var(--heading);
	letter-spacing: -.035em;
	text-transform: uppercase;
}
h1.section-title {
	font-size: var(--text-h1);
	line-height: 1.05;
	letter-spacing: -0.01em;
}
.section-copy > p:not(.eyebrow, .milestone-date) { max-width: 680px; color: var(--gray); font-size: 1.05rem; }
.section-copy > p + p { margin-top: 1.4rem; }

/* Hero â€” layout aligned with delgadohtml/delgadoibb/index.html */
.hero-section {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 921px;
	overflow: hidden;
	background:
		linear-gradient(120deg, #030812, #0c336d 56%, #1067a7);
	background-image: var(--hero-image), linear-gradient(120deg, #030812, #0c336d 56%, #1067a7);
	background-position: center;
	background-size: cover;
	color: var(--white);
}
.hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	isolation: isolate;
}
.hero-video {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(.9);
}
.hero-section:not(.has-media)::before {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
	background-size: 64px 64px;
	content: "";
}
/*
 * Sombra del video del hero (izquierda → derecha).
 * Más oscuro: sube el alpha del stop intermedio (p. ej. 0.42 → 0.55), y/o
 *             la opacidad del overlay en el Personalizador (--overlay-opacity)
 *             para el borde izquierdo.
 * Más ancho:  mueve el % intermedio y el % transparent más a la derecha
 *             (p. ej. 45%/68% → 50%/75%) para cubrir más la columna de texto.
 * Más estrecho / más video: mueve esos % a la izquierda (p. ej. 45%/68% → 35%/55%).
 */
.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		rgb(0 0 0 / var(--overlay-opacity, 0.8)) 0%,
		rgb(0 0 0 / 0.82) 45%,
		transparent 68%
	);
}
.hero-content {
	position: relative;
	z-index: 2;
	width: min(100%, var(--container));
	margin-inline: auto;
	padding-block: 7rem;
	padding-inline: var(--gutter);
}
.hero-copy {
	display: grid;
	gap: 1rem;
	max-width: 42rem;
}
.hero-title {
	max-width: none;
	margin: 0;
	font: 800 var(--text-display)/1.06 var(--heading);
	letter-spacing: -.04em;
	text-transform: uppercase;
	text-wrap: balance;
}
.hero-title span { display: block; }
.hero-description { max-width: 36rem; margin: 0; padding-left: 1.5rem; border-left: var(--accent-bar) solid var(--blue); color: rgb(255 255 255 / 90%); font-size: clamp(1rem, 2vw, 1.125rem); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: .5rem; }
.hero-actions .button { min-height: 56px; padding-inline: 3rem; }

/*
 * Fold-lock (desktop only). Mobile/tablet stay auto-height.
 * From 1051px, hero + stats share one 100dvh column (same model as ultra-wide).
 * Hero min-height: 0 overrides the base 921px so the wrapper cannot grow past
 * the viewport. overflow: visible keeps CTAs unclipped; .hero-media stays clipped.
 */
@media (min-width: 1051px) {
	.above-the-fold {
		display: flex;
		flex-direction: column;
		height: 100dvh;
		max-height: 100dvh;
	}
	.admin-bar .above-the-fold {
		height: calc(100dvh - 32px);
		max-height: calc(100dvh - 32px);
	}
	.above-the-fold .hero-section {
		flex: 1 1 auto;
		height: auto;
		min-height: 0;
		overflow: visible;
	}
	body.has-hero-overlay .above-the-fold .hero-section {
		margin-top: 0;
	}
	.above-the-fold .stats-section {
		flex: 0 0 auto;
	}
	.hero-section.has-media .hero-content {
		padding-block: clamp(2.5rem, 5vh, 7rem);
	}
}

/* Standard Desktop: 1051px – 1280px
   Short viewports (~800px tall). 38rem keeps the H1 at ~3 lines. Tighter
   padding-block and copy gap so CTAs fit the flex leftover above stats.
   Container stays centered — extra margin-left would collide with --container: 1280px. */
@media (min-width: 1051px) and (max-width: 1280px) {
	.hero-section.has-media .hero-content {
		padding-block: clamp(1.25rem, 3vh, 2.75rem);
	}
	.hero-section .hero-copy {
		max-width: 38rem;
		gap: 0.75rem;
	}
}

/* Large Desktop / Laptop: 1281px – 1536px
   At ~1536px a 34rem copy stacked the H1 to 4 lines. 38rem keeps ~3 lines.
   Left-align the 1280px container so more video shows on the right, without
   double-gutter overflow. Overlay 42%/64% covers the copy without a hard cut. */
@media (min-width: 1281px) and (max-width: 1536px) {
	.hero-section.has-media {
		align-items: center;
	}
	.hero-section.has-media .hero-content {
		width: min(calc(100% - var(--gutter)), var(--container));
		margin-left: var(--gutter);
		margin-right: auto;
		padding-block: clamp(1.5rem, 3.2vh, 3rem);
	}
	.hero-section .hero-copy {
		max-width: 38rem;
		gap: 0.75rem;
	}
	.hero-section .hero-overlay {
		background: linear-gradient(
			90deg,
			rgb(0 0 0 / var(--overlay-opacity, 0.8)) 0%,
			rgb(0 0 0 / 0.45) 42%,
			transparent 64%
		);
	}
}

/* Ultra-wide / 4K: 1537px – 1920px+
   At ~1920px, 34rem copy looked isolated and the 62% overlay stop left a
   hard edge. 40rem uses the extra width. Padding-block fills the gap between
   CTAs and stats; align-items: center keeps the block optically middle.
   Overlay 45%/70% tracks the wider text on an ultrawide ratio.
   Fold-lock lives in the 1051px block above. */
@media (min-width: 1537px) {
	.hero-section.has-media {
		align-items: center;
	}
	.hero-section.has-media .hero-content {
		width: min(calc(100% - var(--gutter)), var(--container));
		margin-left: var(--gutter);
		margin-right: auto;
		padding-block: clamp(2rem, 4vh, 4.5rem);
	}
	.hero-section .hero-copy {
		max-width: 40rem;
	}
	.hero-section .hero-overlay {
		background: linear-gradient(
			90deg,
			rgb(0 0 0 / var(--overlay-opacity, 0.8)) 0%,
			rgb(0 0 0 / 0.42) 45%,
			transparent 70%
		);
	}
}

/* Statistics */
.stats-section {
	padding-block: clamp(1.25rem, 2.5vw, 2rem);
	background: #000;
	border-bottom: 1px solid rgb(255 255 255 / 10%);
	color: var(--white);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-item { display: grid; gap: .45rem; padding: .5rem 0 .5rem 1.5rem; border-left: var(--accent-bar) solid var(--blue); }
.stat-item strong { font: 800 clamp(1.6rem, 3vw, 2.5rem) var(--heading); }
.stat-item span { color: #a3a6aa; font: 500 .66rem/1.5 var(--label); letter-spacing: .12em; text-transform: uppercase; }

/* About */
.about-section { overflow: hidden; }
.about-layout {
	display: flex;
	align-items: center;
	gap: clamp(3rem, 7vw, 7rem);
}
.about-copy-stack,
.about-media {
	flex: 1 1 0;
	min-width: 0;
}
.about-copy-body > p { font-size: 1.125rem; line-height: 1.75; }
.about-media {
	width: 100%;
	max-width: 100%;
}
.about-media.media-frame {
	min-height: 0;
	height: auto;
	aspect-ratio: 16 / 9;
}
.about-media.media-frame img,
.about-media.media-frame .media-fallback {
	min-height: 0;
	height: 100%;
}
.highlight-box {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-top: 2rem;
	margin-bottom: 0;
	padding: 1.5rem;
	border-left: var(--accent-bar) solid var(--blue);
	background: var(--surface);
}
.highlight-box strong {
	display: block;
	font: 700 .73rem/1.5 var(--label);
	letter-spacing: .07em;
	text-transform: uppercase;
}
.highlight-box p { margin: .45rem 0 0; color: var(--gray); font-size: .92rem; line-height: 1.6; text-transform: none; letter-spacing: normal; font-family: var(--body); font-weight: 400; }
.highlight-box .icon { color: var(--blue); font-size: 1.5rem; flex: 0 0 auto; margin-top: .15rem; }
.text-link { display: inline-flex; align-items: center; gap: .8rem; font: 700 .75rem var(--label); letter-spacing: .08em; text-transform: uppercase; }
.text-link .icon { color: var(--blue); transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(.35rem); }
.media-frame { position: relative; min-height: 460px; aspect-ratio: 16 / 9; border-bottom: 16px solid var(--blue); overflow: hidden; }
.media-frame img, .media-frame .media-fallback { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.about-media-badge {
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 1.5rem;
	background: var(--black);
	color: var(--white);
	font: 700 .62rem var(--label);
	letter-spacing: .14em;
	text-transform: uppercase;
}
.media-fallback { display: grid; place-items: center; color: rgb(255 255 255 / 80%); font: 800 clamp(2rem, 5vw, 4rem) var(--heading); text-transform: uppercase; }

/* Safety */
.safety-section { overflow: hidden; background: #0a0a0b; color: var(--white); }
.safety-grid { display: grid; gap: clamp(3rem, 7vw, 7rem); grid-template-columns: 1fr 1fr; align-items: center; }
.safety-section .section-copy > p:not(.eyebrow, .milestone-date) { color: rgb(255 255 255 / 80%); font-size: 1.125rem; }
.prevention-box {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	margin-top: 2rem;
	padding: 1.5rem;
	border-left: var(--accent-bar) solid var(--blue);
	background: rgb(255 255 255 / 5%);
}
.prevention-box .icon { color: var(--blue); width: 2rem; height: 2rem; flex: 0 0 auto; }
.prevention-box strong { display: block; margin-bottom: .55rem; font: 800 1rem var(--heading); text-transform: uppercase; }
.prevention-box p { margin: 0; color: rgb(255 255 255 / 70%); line-height: 1.65; }
.milestone-date { color: var(--blue); font: 700 .7rem var(--label); letter-spacing: .14em; text-transform: uppercase; }
.safety-media { position: relative; min-height: 580px; }
.safety-image { position: absolute; overflow: hidden; }
.safety-image img, .safety-image .media-fallback { width: 100%; height: 100%; object-fit: cover; }
.safety-image-main { inset: 0 20% 10% 0; }
.safety-media--single .safety-image-main { inset: 0; }
.safety-image-secondary { right: 0; bottom: 0; width: 47%; height: 45%; border: 12px solid var(--black); }

/* Services */
.services-section { background: var(--surface); border-block: 1px solid var(--line); }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 4rem; }
.split-heading > div { max-width: 800px; }
.split-heading p:last-child { max-width: 700px; color: var(--gray); }
.split-heading .button { flex: 0 0 auto; margin-bottom: .3rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.service-card { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgb(11 28 57 / 12%); }
.service-image { position: relative; display: block; height: 16rem; overflow: hidden; background: #142440; }
.service-image img, .service-image .media-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-image img { transform: scale(1.05); }
.service-image b { position: absolute; top: 0; left: 0; padding: 1rem; background: var(--blue); color: var(--white); font: 700 .8rem var(--label); }
.service-body { display: flex; flex: 1; flex-direction: column; gap: .75rem; padding: 1.25rem 1.5rem 1.5rem; }
.service-body h3 { margin: 0; padding-bottom: .75rem; border-bottom: 2px solid var(--blue); font: 800 var(--text-h3)/1.2 var(--heading); text-transform: uppercase; }
.service-body p { margin: 0; color: var(--gray); }
.service-body .service-tag {
	margin: 0;
	padding-bottom: 0;
	border-bottom: none;
	color: var(--blue);
}
.service-body ul { margin: auto 0 0; padding: 1.2rem 0 0; border-top: 1px solid #edf0f3; list-style: none; }
.service-body li { position: relative; padding: .35rem 0 .35rem 1.2rem; font: 700 .7rem/1.4 var(--label); text-transform: uppercase; }
.service-body li::before { position: absolute; top: .75rem; left: 0; width: 7px; height: 7px; background: var(--blue); content: ""; }

/* Projects */
.projects-section { background: var(--black); color: var(--white); }
.projects-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.projects-heading .section-title { margin-bottom: .5rem; }
.projects-heading p { margin: 0; color: rgb(255 255 255 / 58%); }
.slider-controls { display: flex; gap: .75rem; }
.slider-button { display: grid; place-items: center; width: 50px; height: 50px; border: 2px solid var(--blue); border-radius: 50%; background: transparent; color: var(--white); }
.slider-button:hover { background: var(--blue); }
.project-prev .icon { transform: rotate(180deg); }
.slider-button.swiper-button-disabled {
	opacity: .35;
}
.projects-section .swiper.project-swiper {
	--swiper-pagination-color: var(--blue);
	--swiper-pagination-bullet-inactive-color: var(--blue);
	--swiper-pagination-bullet-inactive-opacity: .35;
	--swiper-pagination-bullet-size: 8px;
	--swiper-pagination-bullet-horizontal-gap: 4px;
	--swiper-pagination-bottom: 16px;
	width: 100%;
	height: min(70vh, 720px);
	overflow: hidden;
	user-select: none;
	overscroll-behavior-x: contain;
}
.project-swiper .swiper-pagination {
	z-index: 4;
	line-height: 0;
}
.project-slide {
	position: relative;
	display: flex;
	align-items: stretch;
	width: 100%;
	height: 100%;
	overflow: hidden;
	box-sizing: border-box;
	border-radius: 8px;
	background: #111;
	color: var(--white);
}
.project-swiper .project-slide {
	opacity: 0.62;
	transition: opacity 0.45s ease;
}
.project-swiper .project-slide.swiper-slide-active {
	opacity: 1;
}
.project-slide-bg,
.project-slide > .media-fallback {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	opacity: .85;
}
.project-slide::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		90deg,
		rgb(0 0 0 / 38%) 0%,
		rgb(0 0 0 / 18%) 34%,
		rgb(0 0 0 / 4%) 62%,
		rgb(0 0 0 / 0%) 100%
	);
	content: "";
	pointer-events: none;
}
.project-slide-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.5rem;
	width: 100%;
	height: 100%;
	padding: clamp(1.5rem, 5vw, 4rem);
	padding-bottom: clamp(3.25rem, 6vw, 4.5rem);
	box-sizing: border-box;
}
.project-slide-eyebrow {
	align-self: flex-start;
	background: var(--blue);
	color: var(--white);
	padding: 0.4rem 0.65rem;
	font: 700 .7rem/1.2 var(--label);
	letter-spacing: .12em;
	text-transform: uppercase;
	text-shadow: none;
}
.project-slide-main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .75rem;
	max-width: 18ch;
}
.project-slide-title {
	margin: 0;
	color: var(--white);
	font: 800 54.4px/1.1 var(--heading);
	text-transform: uppercase;
	letter-spacing: -.03em;
	text-shadow: 0 1px 16px rgb(0 0 0 / 45%);
}
.project-slide-title [data-pf-letter] {
	font-size: inherit;
}
.project-swiper .project-slide-title {
	min-height: 4.4em;
	flex-shrink: 0;
}
.project-slide-location {
	display: grid;
	gap: .2rem;
	margin: 0;
	max-width: 36rem;
	color: rgb(255 255 255 / 72%);
	font-size: .95rem;
	text-shadow: 0 1px 16px rgb(0 0 0 / 45%);
}
.project-slide-location b {
	color: #8ab4ff;
	font: 700 .65rem var(--label);
	letter-spacing: .1em;
	text-transform: uppercase;
}
.project-slide-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1.15rem 1.5rem;
	background: var(--blue);
	color: var(--white);
	font: 700 .72rem/1.1 var(--label);
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none;
}
.project-slide-cta:hover {
	filter: brightness(1.08);
}
@media (min-width: 1024px) {
	.project-swiper .project-slide-content {
		justify-content: flex-end;
		padding-top: 4.5rem;
	}
	.project-swiper .project-slide-eyebrow {
		position: absolute;
		top: clamp(1.25rem, 3vw, 2rem);
		left: clamp(1.25rem, 3vw, 2rem);
	}
	.project-swiper .project-slide-main {
		max-width: min(32ch, 58%);
	}
	.project-swiper .project-slide-title {
		min-height: 2.2em;
	}
	.project-swiper .project-slide-cta {
		width: auto;
		align-self: flex-start;
		gap: 0.75rem;
		padding: 0.85rem 1.25rem;
	}
}
.project-category { display: inline-block; padding: .4rem .6rem; background: var(--blue); font: 700 .65rem var(--label); letter-spacing: .1em; text-transform: uppercase; }
.dibb-home-cards-preview .project-swiper-preview {
	display: grid;
	gap: 1rem;
}
.dibb-home-cards-preview .project-slide {
	height: 240px;
	min-height: 240px;
}
.dibb-home-cards-preview .project-slide-title {
	font-size: clamp(1.4rem, 4vw, 2rem);
	line-height: 1.05;
}
.dibb-home-cards-preview .project-slide-content {
	padding: 1.25rem;
	padding-bottom: 1.25rem;
}

/* Footer */
.site-footer { border-top: 8px solid var(--blue); background: #000; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(4rem, 8vw, 7rem); }
.brand-light .brand-mark { background: var(--white); color: var(--blue); }
.brand-light .brand-copy { color: var(--white); }
.footer-brand > p { max-width: 330px; color: #a3a6aa; font-size: .9rem; }
.social-links { display: flex; gap: .8rem; margin-top: 1.5rem; }
.social-links a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #383838; color: var(--white); }
.social-links a:hover { border-color: var(--blue); background: var(--blue); }
.footer-heading { margin: 0 0 1.5rem; color: #8f9398; font: 700 .7rem var(--label); letter-spacing: .15em; text-transform: uppercase; }
.footer-menu { display: grid; gap: .8rem; align-items: initial; }
.footer-menu a { color: #f2f2f2; font: 700 .76rem/1.5 var(--label); text-transform: uppercase; }
.footer-menu a:hover, .footer-contact a:hover { color: #8ab4ff; }
.footer-contact p, .contact-person { color: #b2b4b8; font-size: .88rem; }
.contact-person { display: grid; margin-top: 1.2rem; }
.contact-person strong { color: var(--white); font: 700 .68rem var(--label); letter-spacing: .1em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-block: 2rem; border-top: 1px solid #262626; color: #787c81; font: 500 .62rem/1.5 var(--label); letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom p { margin: 0; }

/* Standard content */
.content-area { min-height: 65vh; background: #f8f9fa; }
.content-container { max-width: 1050px; }
.archive-heading, .entry-header { margin-bottom: 3rem; }
.post-list { display: grid; gap: 2rem; }
.post-card { display: grid; grid-template-columns: minmax(220px, .8fr) 1.4fr; background: var(--white); border: 1px solid var(--line); }
.post-thumbnail img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.post-card-content { padding: clamp(1.5rem, 4vw, 3rem); }
.post-card-content h2 { margin: 0; font: 800 var(--text-h3)/1.15 var(--heading); text-transform: uppercase; }
.post-card-content p { color: var(--gray); }
.entry-content-wrap { padding: clamp(1.5rem, 5vw, 4.5rem); background: var(--white); border-top: 8px solid var(--blue); }
.entry-featured { margin: 0 0 3rem; }
.entry-featured img { width: 100%; height: auto; }
.entry-content { font-size: 1.05rem; }
.entry-content > * { max-width: 780px; margin-right: auto; margin-left: auto; }
.entry-content > .alignwide { max-width: 1120px; }
.entry-content > .alignfull { max-width: none; }
.entry-content a { color: var(--blue); text-decoration: underline; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 2em; font-family: var(--heading); line-height: 1.15; }
.nav-links { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.page-numbers { padding: .65rem .9rem; background: var(--white); border: 1px solid var(--line); }
.page-numbers.current { background: var(--blue); color: var(--white); }
.error-page { display: grid; place-items: center; min-height: 68vh; padding-block: 5rem; background: linear-gradient(135deg, #050a12, #0a3478); color: var(--white); text-align: center; }
.error-content { max-width: 780px; }
.error-code { margin: 0; color: #83adfa; font: 800 clamp(5rem, 18vw, 11rem)/.8 var(--heading); }
.error-page .section-title { margin: 2rem auto 1rem; }
.error-actions { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.search-form { display: flex; max-width: 520px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: .75rem 1rem; border: 1px solid var(--line); }
.search-submit { min-height: 48px; padding: .7rem 1.2rem; border: 0; background: var(--blue); color: var(--white); font-weight: 700; }

/* Phase 2: archives, singles, contact */
.section-padding-sm { padding-block: clamp(2rem, 4vw, 3rem); }
.section-title-center { text-align: center; margin-inline: auto; }
.control-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.control-bar-inner { display: grid; gap: 1.5rem; }
.control-bar-servicios {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 1.5rem;
}
.archive-servicios-title {
	margin: 0.35rem 0 0;
	font: 800 var(--text-h1) / 1.05 var(--heading);
	text-transform: uppercase;
	letter-spacing: -0.01em;
}
.methodology-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 360px;
}
.control-badge {
	margin: 0;
	padding-left: 1rem;
	border-left: var(--accent-bar) solid var(--blue);
	color: var(--blue);
	font: 800 .85rem var(--label);
	letter-spacing: .12em;
	text-transform: uppercase;
}
.breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--gray);
	font: 700 .62rem var(--label);
	letter-spacing: .12em;
	text-transform: uppercase;
}
.breadcrumb-list a:hover { color: var(--blue); }
.breadcrumb-list .icon { width: .9em; height: .9em; color: #b0b4ba; }
.archive-section { background: var(--surface); }
.service-tag {
	display: inline-block;
	margin: 0;
	padding-bottom: 0;
	border-bottom: none;
	color: var(--blue);
	font: 700 .62rem var(--label);
	letter-spacing: .14em;
	text-transform: uppercase;
}
.service-card-cta { width: 100%; margin-top: auto; gap: .6rem; }
.methodology-section { background: var(--white); }
.methodology-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.methodology-steps { display: grid; gap: 2rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.methodology-steps li { display: flex; gap: 1.2rem; }
.methodology-steps strong {
	display: grid;
	place-items: center;
	flex: 0 0 48px;
	height: 48px;
	background: var(--blue);
	color: var(--white);
	font: 700 .75rem var(--label);
}
.methodology-steps h3 { margin: 0 0 .4rem; font: 800 var(--text-h3)/1.2 var(--heading); text-transform: uppercase; }
.methodology-steps p { margin: 0; color: var(--gray); }
.methodology-media { position: relative; }
.methodology-image { min-height: 360px; }
.methodology-badge {
	position: absolute;
	left: -1rem;
	bottom: -1rem;
	max-width: 260px;
	padding: 1.5rem;
	background: var(--black);
	color: var(--white);
	font: 700 .62rem var(--label);
	letter-spacing: .12em;
	text-transform: uppercase;
}
.cta-band { background: var(--black); color: var(--white); text-align: center; border-top: 1px solid rgb(255 255 255 / 10%); }
.cta-band-title { margin-inline: auto; color: var(--white); }
.cta-band-title span {
	font-size: var(--text-display);
	line-height: 1.06;
	letter-spacing: inherit;
}
.cta-band-copy { max-width: 680px; margin: 0 auto 2rem; color: rgb(255 255 255 / 60%); font-size: 1.05rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.control-bar-proyectos {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1.5rem;
}
.control-bar-intro { display: grid; gap: 1rem; }
.archive-proyectos-title {
	margin: 0;
	font: 800 var(--text-h1)/1.05 var(--heading);
	text-transform: uppercase;
	letter-spacing: -.01em;
}
.noticia-date {
	margin: .35rem 0 0;
	color: var(--gray);
	font: 500 .85rem var(--label);
	letter-spacing: .04em;
	text-transform: uppercase;
}
.project-filters-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.project-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-button {
	min-height: 44px;
	padding: .75rem 1.5rem;
	border: 2px solid var(--line);
	background: var(--white);
	color: var(--black);
	font: 700 .7rem var(--label);
	letter-spacing: .08em;
	text-transform: uppercase;
	transition: border-color .25s ease, background-color .25s ease, color .25s ease;
}
.filter-button:hover { border-color: var(--black); }
.filter-button.is-active {
	border-color: var(--black);
	background: var(--black);
	color: var(--white);
}
.project-count {
	margin: 0;
	padding-left: 1rem;
	border-left: var(--accent-bar) solid var(--blue);
	color: var(--gray);
	font: 700 .62rem var(--mono, var(--label));
	letter-spacing: .12em;
	text-transform: uppercase;
}
.project-count span { color: var(--blue); font-size: .95rem; font-weight: 800; }
.project-archive-grid, .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.project-grid-card {
	position: relative;
	height: 500px;
	min-height: 500px;
	overflow: hidden;
	border-radius: 1rem;
	background: #13213a;
}
.project-grid-card[hidden], .project-compact-card[hidden] { display: none !important; }
.project-grid-card > img, .project-grid-card > .media-fallback, .project-grid-image, .news-grid-card-link img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s ease;
}
.project-grid-card:hover > img, .project-grid-card:hover .project-grid-image { transform: scale(1.05); }
.project-grid-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, #000 0%, transparent 55%, transparent 100%);
	pointer-events: none;
	z-index: 1;
}
.project-grid-copy {
	position: absolute;
	inset: auto 0 0;
	padding: 2rem;
	color: var(--white);
	z-index: 2;
	pointer-events: none;
	width: 100%;
}
.project-grid-copy .project-category {
	display: inline-block;
	margin-bottom: 1rem;
	padding: .25rem .75rem;
	background: var(--blue);
	border-radius: .125rem;
	color: var(--white);
	font: 700 .625rem var(--label);
	letter-spacing: .12em;
	text-transform: uppercase;
}
.project-grid-copy h3 {
	margin: 0 0 1rem;
	font: 800 var(--text-h3)/1.15 var(--heading);
	text-transform: uppercase;
	color: var(--white);
}
.project-grid-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1.5rem;
}
.project-grid-location { display: grid; gap: .25rem; margin: 0; }
.project-grid-location-label {
	color: var(--blue);
	font: 700 .75rem var(--label);
	letter-spacing: .12em;
	text-transform: uppercase;
}
.project-grid-location-value { color: rgb(255 255 255 / 60%); font-size: 1rem; }
.project-grid-cta {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	color: rgb(255 255 255 / 80%);
	font: 700 .75rem var(--label);
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	pointer-events: auto;
	transition: color .25s ease;
	border: 0;
	background: transparent;
	padding: 0;
}
.project-grid-cta .icon { width: 1rem; height: 1rem; }
.project-grid-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
}
.project-grid-card:hover .project-grid-cta { color: var(--white); }
.news-grid-card[hidden] { display: none !important; }
.news-grid-card-link {
	display: block;
	position: absolute;
	inset: 0;
	color: inherit;
	text-decoration: none;
}
.news-grid-card .project-grid-copy {
	pointer-events: none;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .75rem;
}
.news-grid-card .project-grid-copy h3 { margin: 0; }
.news-grid-excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	margin: 0;
	color: rgb(255 255 255 / 82%);
	font: 400 .9rem/1.45 var(--body, inherit);
	text-transform: none;
	letter-spacing: 0;
	max-width: 36em;
}
.news-grid-cta {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-top: .35rem;
	color: rgb(255 255 255 / 85%);
	font: 700 .75rem var(--label);
	letter-spacing: .06em;
	text-transform: uppercase;
}
.news-grid-cta .icon { width: 1rem; height: 1rem; }
.news-grid-card:hover .news-grid-cta { color: var(--white); }
.project-compact-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 4px 16px rgb(11 28 57 / 4%);
	transition: transform .3s ease;
}
.project-compact-card:hover { transform: translateY(-4px); }
.project-compact-image { display: block; aspect-ratio: 16 / 10; height: auto; overflow: hidden; background: #142440; }
.project-compact-image img, .project-compact-image .media-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s ease;
}
.project-compact-card:hover .project-compact-image img { transform: scale(1.08); }
.project-compact-body { display: flex; flex: 1; flex-direction: column; padding: 2rem; }
.project-compact-body h3 { margin: 0 0 .8rem; font: 800 var(--text-h3)/1.2 var(--heading); text-transform: uppercase; }
.project-compact-body h3 a { color: inherit; }
.project-compact-location { margin: 0 0 1.5rem; color: var(--gray); font-size: .92rem; }
.project-compact-body .service-card-cta {
	margin-top: auto;
	border: 2px solid var(--black);
	background: transparent;
	color: var(--black);
}
.project-compact-body .service-card-cta:hover {
	background: var(--black);
	color: var(--white);
}
.proyecto-hero, .servicio-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(620px, 72vh);
	overflow: hidden;
	background: linear-gradient(120deg, #030812, #0c336d 56%, #1067a7);
	background-image: var(--proyecto-hero-image, var(--servicio-hero-image)), linear-gradient(120deg, #030812, #0c336d 56%, #1067a7);
	background-position: center;
	background-size: cover;
	color: var(--white);
}
.proyecto-hero { min-height: min(720px, 78vh); }
.proyecto-hero-overlay, .servicio-hero-overlay { position: absolute; inset: 0; }
.servicio-hero-overlay { background: linear-gradient(90deg, rgb(0 0 0 / 90%), rgb(0 0 0 / 40%) 55%, transparent); }
.proyecto-hero-overlay {
	background: linear-gradient(
		90deg,
		rgb(0 0 0 / 0.8) 0%,
		rgb(0 0 0 / 0.82) 45%,
		transparent 68%
	);
}
.proyecto-hero-inner, .servicio-hero-inner { position: relative; z-index: 1; padding-block: clamp(4rem, 8vw, 6rem); }
.proyecto-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 3rem; align-items: center; }
.proyecto-hero .breadcrumb-list { color: rgb(255 255 255 / 40%); margin-bottom: 1rem; }
.proyecto-hero .breadcrumb-list a {
	color: inherit;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 1px;
	transition: color .18s ease, background-size .18s ease;
}
.proyecto-hero .breadcrumb-list a:hover,
.proyecto-hero .breadcrumb-list a:focus-visible {
	color: var(--blue);
	background-size: 100% 1px;
}
.proyecto-hero .breadcrumb-list .icon { color: rgb(255 255 255 / 35%); }
.proyecto-hero .breadcrumb-list [aria-current="page"] { color: rgb(255 255 255 / 80%); }
.proyecto-hero-title, .servicio-hero-title { color: var(--white); margin-bottom: 1rem; }
.proyecto-hero .proyecto-hero-title {
	font-size: clamp(2rem, 4.2vw, 3.25rem);
	line-height: 1.06;
	letter-spacing: -.035em;
}
.proyecto-hero-summary, .servicio-hero-summary { max-width: 680px; margin: 0; color: rgb(255 255 255 / 82%); font-size: 1.125rem; line-height: 1.65; }
.proyecto-hero-summary {
	max-width: 36rem;
	padding-left: 1.5rem;
	border-left: var(--accent-bar) solid var(--blue);
	color: rgb(255 255 255 / 90%);
	font-size: clamp(1rem, 2vw, 1.125rem);
	font-weight: 500;
}

/* â€”â€” Servicio single Alt B â€”â€” */
.servicio-split-hero {
	display: grid;
	grid-template-columns: minmax(0, 55%) minmax(0, 45%);
	min-height: 70vh;
	background: var(--surface);
}
.servicio-split-media {
	position: relative;
	min-height: 40vh;
	overflow: hidden;
	background: var(--black);
}
.servicio-split-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.servicio-split-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.25rem;
	padding: clamp(2rem, 5vw, 4rem) var(--spacing-margin-mobile, 1.25rem);
	border-left: var(--accent-bar) solid var(--black);
	background: var(--surface);
}
.servicio-split-badge {
	display: inline-flex;
	align-self: start;
	margin: 0;
	padding: .5rem 1rem;
	background: var(--blue);
	color: var(--white);
	font: 700 .7rem var(--label);
	letter-spacing: .2em;
	text-transform: uppercase;
}
.servicio-split-title {
	margin: 0;
	font: 800 var(--text-h1)/1.05 var(--heading);
	text-transform: uppercase;
	letter-spacing: -.01em;
}
.servicio-split-summary {
	margin: 0;
	max-width: 34rem;
	color: var(--gray);
	font-size: 1.05rem;
	line-height: 1.65;
}
.servicio-split-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.servicio-spec-bar {
	background: var(--black);
	color: var(--white);
	border-block: 2px solid var(--blue);
}
.servicio-spec-bar-inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.servicio-spec-item {
	display: grid;
	gap: .5rem;
	padding: 1.25rem 1.5rem;
	border-right: 1px solid rgb(255 255 255 / 10%);
}
.servicio-spec-item:last-child { border-right: 0; }
.servicio-spec-label {
	display: inline-flex;
	align-self: start;
	width: fit-content;
	margin: 0;
	padding: .35rem .75rem;
	background: var(--blue);
	color: var(--white);
	font: 700 .7rem var(--label);
	letter-spacing: .2em;
	text-transform: uppercase;
}
.servicio-spec-value {
	font: 800 1.15rem/1.2 var(--heading);
	text-transform: uppercase;
}
.servicio-alcance-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}
.section-title-left {
	text-align: left;
	border-left: var(--accent-bar) solid var(--blue);
	padding-left: 1rem;
	margin-bottom: 2.5rem;
}
.servicio-alcance-steps { display: grid; gap: 2rem; }
.servicio-alcance-step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.25rem;
	align-items: start;
}
.servicio-alcance-num {
	border-left: var(--accent-bar) solid var(--blue);
	padding-left: .75rem;
	font: 800 1.75rem/1 var(--heading);
	color: rgb(0 0 0 / 18%);
}
.servicio-alcance-title {
	margin: 0 0 .5rem;
	font: 800 var(--text-h3)/1.2 var(--heading);
	text-transform: uppercase;
}
.servicio-alcance-step p { margin: 0; color: var(--gray); line-height: 1.65; }
.servicio-ideal {
	position: sticky;
	top: 6rem;
	padding: 1.75rem;
	border: 2px solid var(--black);
	background: var(--surface);
}
.servicio-ideal-title {
	margin: 0 0 1.25rem;
	font: 700 .7rem var(--label);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--blue);
}
.servicio-ideal-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 1rem;
}
.servicio-ideal-list li {
	padding-left: 1rem;
	border-left: var(--accent-bar) solid var(--blue);
	color: var(--gray);
	line-height: 1.45;
}
.servicio-estandares { background: var(--black); color: var(--white); }
.servicio-estandares-heading { color: var(--white); text-align: left; }
.servicio-estandares-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}
.servicio-estandares-copy p { margin: 0; color: rgb(255 255 255 / 72%); font-size: 1.05rem; line-height: 1.65; max-width: 36rem; }
.servicio-estandares-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 1.25rem; }
.servicio-estandares-list li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	padding-bottom: 1.15rem;
	border-bottom: 1px solid rgb(255 255 255 / 12%);
}
.servicio-estandares-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.servicio-estandares-icon { color: #8ab4ff; }
.servicio-estandares-item-title {
	margin: 0 0 .35rem;
	font: 700 .85rem var(--label);
	letter-spacing: .04em;
	text-transform: uppercase;
}
.servicio-estandares-item-text { margin: 0; color: rgb(255 255 255 / 58%); font-size: .92rem; line-height: 1.55; }
.servicio-caso .section-title-left { margin: 0 0 .35rem; }
.servicio-caso-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: start;
	gap: clamp(2rem, 5vw, 4.5rem);
}
.servicio-caso-media {
	position: relative;
	display: block;
	min-height: 320px;
	aspect-ratio: 16 / 10;
	background: var(--black);
	border-bottom: 10px solid var(--blue);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
}
.servicio-caso-media img,
.servicio-caso-media .media-fallback {
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	transition: transform .7s ease;
}
.servicio-caso-media:hover img { transform: scale(1.05); }
.servicio-caso-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: .85rem 1.15rem;
	background: var(--black);
	color: var(--white);
	font: 700 .62rem var(--label);
	letter-spacing: .14em;
	text-transform: uppercase;
}
.servicio-caso-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
}
.servicio-caso-title {
	margin: 0;
	font: 800 var(--text-h3)/1.15 var(--heading);
	text-transform: uppercase;
}
.servicio-caso-body p { margin: 0; color: var(--gray); line-height: 1.6; }
.servicio-caso-link {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	margin-top: .5rem;
	font: 700 .7rem var(--label);
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	color: inherit;
}
.servicio-caso-link .icon { color: var(--blue); transition: transform .2s ease; }
.servicio-caso-link:hover .icon { transform: translateX(.35rem); }
.servicio-related-strip {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
/* Final CTA on Alt B: keep default black .cta-band + blue button (footer attention pattern). */

.proyecto-info-card {
	padding: 1.5rem 1.75rem 1.75rem;
	border: 1px solid rgb(255 255 255 / 12%);
	border-top: var(--accent-bar) solid var(--blue);
	border-left: var(--accent-bar) solid var(--blue);
	background: rgb(6 12 24 / 72%);
	backdrop-filter: blur(12px);
	box-shadow: 0 16px 40px rgb(0 0 0 / 28%);
	max-width: 28rem;
	margin-left: auto;
}
.proyecto-info-field + .proyecto-info-field {
	margin-top: 1.15rem;
	padding-top: 1.15rem;
	border-top: 1px solid rgb(255 255 255 / 12%);
}
.info-label { margin: 0 0 .25rem; color: #8ab4ff; font: 700 .62rem var(--label); letter-spacing: .12em; text-transform: uppercase; }
.proyecto-hero .info-value { font-size: 1.125rem; letter-spacing: -.02em; }
.info-value { margin: 0; font-weight: 700; }
.info-muted { margin: 0; color: rgb(255 255 255 / 62%); font-size: .85rem; line-height: 1.5; }
.proyecto-metrics { background: var(--surface); }
.proyecto-metrics .section-title { margin-bottom: 3rem; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.metric-card { padding: 2rem; background: var(--white); border-left: var(--accent-bar) solid var(--blue); box-shadow: 0 8px 24px rgb(11 28 57 / 6%); }
.metric-value { margin: 0 0 .5rem; font: 800 clamp(2rem, 4vw, 2.8rem) var(--heading); }
.metric-value span { font-size: .45em; font-weight: 800; }
.metric-value .metric-value-num { font-size: 1em; font-weight: inherit; }
.metric-label { margin: 0; color: var(--gray); font: 700 .68rem var(--label); letter-spacing: .08em; text-transform: uppercase; }
.proyecto-content { background: var(--white); }
.proyecto-content .entry-content { max-width: 900px; }
.proyecto-content .entry-content h2 {
	margin: 0 0 1rem;
	font: 800 clamp(1.25rem, 2vw, 1.5rem)/1.2 var(--heading);
	text-transform: uppercase;
}
.proyecto-content .entry-content h2 + p { margin-top: 0; }
.proyecto-content .entry-content p {
	margin: 0 0 2rem;
	color: var(--gray);
	font-size: 1.125rem;
	line-height: 1.75;
}
.proyecto-content .entry-content > *:last-child { margin-bottom: 0; }

/* Desarrollo técnico — homepage About/Safety language */
.proyecto-desarrollo { background: var(--white); }
.proyecto-desarrollo-heading {
	padding-left: 1.5rem;
	border-left: var(--accent-bar) solid var(--blue);
	margin-bottom: 2.5rem;
	font-size: var(--text-h2);
}
.proyecto-desarrollo-stack {
	display: flex;
	flex-direction: column;
	gap: clamp(3.5rem, 7vw, 6.5rem);
}
.proyecto-desarrollo-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.proyecto-desarrollo-row.is-reversed .proyecto-desarrollo-copy { order: 2; }
.proyecto-desarrollo-row.is-reversed .proyecto-desarrollo-media { order: 1; }
.proyecto-desarrollo-index { margin: 0 0 0.85rem; }
.proyecto-desarrollo-title {
	margin: 0 0 1rem;
	padding-left: 1.15rem;
	border-left: var(--accent-bar) solid var(--blue);
	font-size: var(--text-h3);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	line-height: 1.15;
}
.proyecto-desarrollo-text {
	margin: 0;
	max-width: 38rem;
	color: var(--gray);
	font-size: 1.125rem;
	line-height: 1.75;
}
.proyecto-desarrollo-media.media-frame {
	position: relative;
	min-height: 0;
	aspect-ratio: 16 / 9;
	background: var(--black);
}
.proyecto-desarrollo-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.92;
	transform-origin: center;
}
.proyecto-desarrollo-media-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0;
	background: linear-gradient(
		90deg,
		rgb(0 0 0 / 0.42) 0%,
		rgb(0 0 0 / 0.12) 42%,
		transparent 72%
	);
}
.proyecto-gallery { background: var(--surface); }
.proyecto-gallery-title, .proyecto-desarrollo-heading, .proyecto-related-title, .proyecto-results-title { padding-left: 1.5rem; border-left: var(--accent-bar) solid var(--blue); margin-bottom: 2rem; font-size: var(--text-h2); }
.proyecto-desarrollo-heading { margin-bottom: 2.5rem; }
.proyecto-results-title { color: var(--white); }
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}
.gallery-grid--count-1 { grid-template-columns: 1fr; }
.gallery-grid--count-2 { grid-template-columns: 1fr 1fr; }
.gallery-grid--count-3 .gallery-item:first-child,
.gallery-grid--many .gallery-item:first-child {
	grid-column: 1 / 3;
	grid-row: 1 / 3;
	aspect-ratio: auto;
	min-height: 0;
}
.gallery-item {
	position: relative;
	min-height: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--black);
}
.gallery-grid--count-3 .gallery-item:first-child,
.gallery-grid--many .gallery-item:first-child {
	aspect-ratio: auto;
	height: 100%;
}
.gallery-item-trigger {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--black);
	color: inherit;
	cursor: pointer;
	overflow: hidden;
	text-align: left;
}
.gallery-item-trigger img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .92;
	transition: opacity .35s var(--reveal-ease), transform .7s var(--reveal-ease);
}
.gallery-item-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	padding: 1.15rem 1.25rem;
	background: linear-gradient(
		90deg,
		rgb(0 0 0 / 0.58) 0%,
		rgb(0 0 0 / 0.22) 38%,
		transparent 72%
	);
	opacity: 0;
	transition: opacity .28s var(--reveal-ease);
	pointer-events: none;
}
.gallery-item-index {
	display: inline-flex;
	padding: .45rem .7rem;
	background: var(--blue);
	color: var(--white);
	font: 700 .62rem var(--label);
	letter-spacing: .14em;
	text-transform: uppercase;
}
.gallery-item-view {
	color: var(--white);
	font: 700 .72rem var(--label);
	letter-spacing: .08em;
	text-transform: uppercase;
}
.gallery-item-trigger:hover img,
.gallery-item-trigger:focus-visible img {
	opacity: 1;
	transform: scale(1.025);
}
.gallery-item-trigger:hover .gallery-item-overlay,
.gallery-item-trigger:focus-visible .gallery-item-overlay {
	opacity: 1;
}
.proyecto-gallery-lightbox {
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: clamp(1rem, 4vw, 2.5rem);
	border: 0;
	background: rgb(10 10 11 / 0.96);
	color: var(--white);
}
.proyecto-gallery-lightbox::backdrop {
	background: rgb(10 10 11 / 0.88);
}
.proyecto-gallery-lightbox-inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-rows: auto minmax(0, 1fr);
	align-items: center;
	gap: 1rem 1.25rem;
	height: 100%;
}
.proyecto-gallery-lightbox-close,
.proyecto-gallery-lightbox-prev,
.proyecto-gallery-lightbox-next {
	position: relative;
	z-index: 2;
}
.proyecto-gallery-lightbox-close {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
}
.proyecto-gallery-lightbox-prev {
	grid-column: 1;
	grid-row: 2;
}
.proyecto-gallery-lightbox-next {
	grid-column: 3;
	grid-row: 2;
}
.proyecto-gallery-lightbox-prev .icon {
	transform: scaleX(-1);
}
.proyecto-gallery-lightbox-figure {
	grid-column: 2;
	grid-row: 1 / 3;
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 1rem;
	min-width: 0;
	margin: 0;
	padding-top: 3.25rem;
	border-top: var(--accent-bar) solid var(--blue);
}
.proyecto-gallery-lightbox-figure img {
	display: block;
	max-width: 100%;
	max-height: min(74vh, 860px);
	width: auto;
	height: auto;
	object-fit: contain;
}
.proyecto-gallery-lightbox-caption {
	max-width: 52rem;
	margin: 0;
	color: rgb(255 255 255 / 78%);
	font: 700 .68rem var(--label);
	letter-spacing: .08em;
	text-transform: uppercase;
	text-align: center;
}
.proyecto-gallery-lightbox .slider-button {
	flex: 0 0 auto;
	color: var(--white);
}
.proyecto-gallery-lightbox .slider-button:hover,
.proyecto-gallery-lightbox .slider-button:focus-visible {
	background: var(--blue);
}
.proyecto-results { background: var(--black); color: var(--white); }
.proyecto-results .section-title { color: var(--white); }
.proyecto-results-copy { max-width: 900px; margin: 0 0 2rem; color: rgb(255 255 255 / 88%); font-size: 1.125rem; line-height: 1.7; }
.proyecto-checklist { display: grid; gap: 1rem; max-width: 760px; margin: 0; padding: 0; list-style: none; }
.proyecto-checklist li { display: flex; gap: .75rem; align-items: start; color: rgb(255 255 255 / 78%); font-size: 1.05rem; }
.proyecto-checklist .icon { color: #8ab4ff; margin-top: .15rem; flex: 0 0 auto; }
.proyecto-related { background: var(--white); }
.related-grid { gap: 2.5rem; }
.contact-pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem 3rem;
	flex: 1 1 28rem;
	max-width: 46rem;
	margin-inline: auto 0;
}
.contact-pillar {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-left: 0.85rem;
	border-left: var(--accent-bar) solid var(--line);
}
.contact-pillar-icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	color: #083b99;
}
.contact-pillar-icon .icon,
.contact-pillar-icon svg {
	width: 1.85rem;
	height: 1.85rem;
	color: #083b99;
	stroke: #083b99;
	stroke-width: 1.75;
}
.contact-pillar-copy {
	min-width: 0;
}
.contact-pillar strong {
	display: block;
	margin-bottom: .2rem;
	font: 700 .58rem var(--label);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--gray);
}
.contact-pillar span {
	display: block;
	font: 700 .62rem var(--label);
	text-transform: uppercase;
	color: var(--black);
}
.control-bar-contacto {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
}
.control-bar-contacto .control-bar-intro {
	flex: 0 1 auto;
	min-width: min(100%, 16rem);
}
.contact-page-title {
	margin: 0.35rem 0 0;
	font: 800 var(--text-h1) / 1.05 var(--heading);
	text-transform: uppercase;
	letter-spacing: -0.01em;
	color: var(--black);
}
.contact-section.section-padding {
	/* Match maqueta pt-12 / pb-24 â€” not the sitewide 5â€“8rem section-padding. */
	padding-block: clamp(2.5rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); }
.contact-info { display: grid; gap: 3rem; align-content: start; }
.contact-cards { display: grid; gap: 1.5rem; }
.contact-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.5rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 2px;
	transition: border-color .2s ease;
}
.contact-card:hover { border-color: var(--blue); }
.contact-card-icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	color: #083b99;
	/* No badge background â€” icons sit directly on the card (parity with live reference). */
	background: none;
	padding: 0;
	width: auto;
	height: auto;
}
.contact-card-icon .icon,
.contact-card-icon svg {
	width: 1.5rem;
	height: 1.5rem;
	color: #083b99;
	stroke: #083b99;
	stroke-width: 1.75;
}
.contact-card-body { min-width: 0; flex: 1 1 auto; }
.contact-card-label {
	margin: 0 0 .35rem;
	color: var(--gray);
	font: 700 .7rem var(--label);
	letter-spacing: .1em;
	text-transform: uppercase;
}
.contact-card-value { margin: 0; font-weight: 700; color: var(--black); }
.contact-card-muted {
	margin: .35rem 0 0;
	color: var(--gray);
	font: 400 .9rem / 1.45 var(--body, inherit);
	letter-spacing: normal;
	text-transform: none;
}
.contact-card a { display: block; margin-top: .25rem; color: var(--gray); font-size: .92rem; }
.contact-card a:hover { color: var(--blue); }
.contact-form-panel {
	padding: clamp(1.75rem, 4vw, 2.5rem);
	background: var(--white);
	border: 1px solid var(--line);
	box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
}
.operations-card {
	position: relative;
	margin-top: 0;
	padding: 2rem;
	background: var(--black);
	color: var(--white);
	border-top: 4px solid var(--blue);
	border-radius: 2px;
	overflow: hidden;
}
.operations-card-inner { position: relative; z-index: 1; }
.operations-watermark {
	position: absolute;
	right: -1.5rem;
	bottom: -1.5rem;
	opacity: .1;
	color: var(--white);
	pointer-events: none;
	transition: transform .7s ease;
}
.operations-card:hover .operations-watermark { transform: rotate(12deg); }
.operations-watermark .icon {
	width: 10rem;
	height: 10rem;
	stroke-width: 1.25;
}
.operations-badge {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 0 0 1rem;
	color: var(--white);
	font: 700 .7rem var(--label);
	letter-spacing: .12em;
	text-transform: uppercase;
}
.operations-pulse {
	width: .75rem;
	height: .75rem;
	border-radius: 50%;
	background: var(--blue);
	animation: contact-ops-pulse 1.6s ease-in-out infinite;
}
@keyframes contact-ops-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: .55; transform: scale(.9); }
}
.operations-name { margin: 0 0 1rem; font: 800 clamp(1.5rem, 3vw, 2rem) var(--heading); text-transform: uppercase; }
.operations-card p { margin: 0 0 1.5rem; color: #a3a6aa; line-height: 1.6; }
.operations-phone { display: inline-flex; align-items: center; gap: .5rem; }
.operations-phone .icon { width: 1rem; height: 1rem; }
.operations-email { display: inline-flex; margin-top: .75rem; color: #a3a6aa; }
.operations-email:hover { color: var(--white); }
.contact-form-title {
	margin: 0 0 .5rem;
	font-size: var(--text-h2);
	padding-left: .5rem;
	border-left: var(--accent-bar) solid var(--blue);
	text-transform: uppercase;
}
.contact-form-panel > p { color: var(--gray); margin: 0 0 0.5rem; }
.form-notice { margin: 1rem 0; padding: 1rem 1.2rem; border-left: var(--accent-bar) solid var(--blue); background: #eef4ff; }
.form-notice-error { border-color: #b42318; background: #fef3f2; }
.delgadoibb-honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.contact-form { display: grid; gap: 1.75rem; margin-top: 1.75rem; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.form-field { display: grid; gap: .45rem; }
.form-field label { font: 700 .7rem var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.form-field input, .form-field select, .form-field textarea {
	width: 100%;
	min-height: 52px;
	padding: 1rem;
	border: 2px solid #eef0f3;
	background: var(--surface);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--blue); background: var(--white); outline: none; }
.contact-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .75rem;
	width: 100%;
	min-height: 56px;
}
.contact-submit .icon { width: 1.1rem; height: 1.1rem; }
.contact-map {
	position: relative;
	height: clamp(220px, 36svh, 340px);
	min-height: 0;
	border-top: 2px solid var(--black);
	overflow: hidden;
}
.contact-map-tint {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgb(8 59 153 / 5%);
	pointer-events: none;
}
.contact-map img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	filter: grayscale(1) contrast(1.15);
	opacity: .9;
}
.contact-map-label {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	transform: translate(-50%, -50%);
	padding: 1.5rem;
	background: var(--black);
	color: var(--white);
	border-top: 4px solid var(--blue);
	border-radius: 2px;
	box-shadow: 0 20px 50px rgb(0 0 0 / 35%);
	text-align: center;
	pointer-events: none;
}
.contact-map-label p { margin: 0 0 .35rem; font: 700 .62rem var(--label); letter-spacing: .12em; text-transform: uppercase; }
.contact-map-label strong { display: block; font: 800 1rem var(--heading); text-transform: uppercase; }

@media (max-width: 1050px) {
	:root { --header-height: 74px; }
	.header-inner { grid-template-columns: 1fr auto; min-height: var(--header-height); }
	.site-logo { height: 48px; }
	.primary-navigation, .header-cta { display: none; }
	.mega-menu-panel { display: none !important; }
	.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
	.safety-grid { grid-template-columns: 1fr; }
	.about-layout {
		flex-direction: column;
		align-items: stretch;
	}
	.about-copy-stack { display: contents; }
	.about-copy,
	.about-copy-body,
	.about-media {
		flex: 0 0 auto;
		width: 100%;
	}
	.about-copy { order: 1; }
	.about-media { order: 2; }
	.about-copy-body { order: 3; }
	.about-media.media-frame {
		min-height: 0;
		height: auto;
		aspect-ratio: 16 / 9;
	}
	.safety-media { min-height: 520px; }
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: repeat(2, 1fr); }
	.methodology-grid, .proyecto-hero-grid, .contact-grid, .project-archive-grid, .related-grid, .metric-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
	.proyecto-desarrollo-row {
		grid-template-columns: 1fr;
	}
	.proyecto-desarrollo-row.is-reversed .proyecto-desarrollo-copy,
	.proyecto-desarrollo-row.is-reversed .proyecto-desarrollo-media {
		order: 0;
	}
	.proyecto-desarrollo-media.media-frame {
		min-height: 0;
	}
	.gallery-grid--count-1,
	.gallery-grid--count-3,
	.gallery-grid--many {
		grid-template-columns: 1fr 1fr;
	}
	.gallery-grid--count-3 .gallery-item:first-child,
	.gallery-grid--many .gallery-item:first-child {
		grid-column: 1 / -1;
		grid-row: auto;
		aspect-ratio: 16 / 9;
		height: auto;
	}
	.contact-pillars { grid-template-columns: 1fr; max-width: none; margin-inline: 0; }
	.control-bar-contacto { align-items: stretch; }
	.control-bar-proyectos { align-items: start; }
}

@media (max-width: 782px) {
	.admin-bar.has-sticky-header .site-identity-bar { top: 46px; }
	.admin-bar.has-sticky-header .site-header { top: calc(46px + var(--identity-bar)); }
	.stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
	.split-heading { display: block; }
	.split-heading .button { margin-top: 1.5rem; }
	.post-card { grid-template-columns: 1fr; }
	.post-thumbnail img { min-height: 220px; max-height: 360px; }
}

@media (max-width: 600px) {
	:root { --gutter: 1rem; }
	.admin-bar.has-sticky-header .site-identity-bar { top: 0; }
	.admin-bar.has-sticky-header .site-header { top: var(--identity-bar); }
	.site-header { border-bottom-width: 1px; }
	.brand-copy small { display: none; }
	.hero-section { min-height: 680px; }
	.hero-content { padding-block: 5rem; }
	.hero-copy { max-width: none; }
	.hero-title { font-size: var(--text-display-sm); }
	.hero-overlay {
		background: linear-gradient(
			180deg,
			rgb(0 0 0 / var(--overlay-opacity, 0.8)) 0%,
			rgb(0 0 0 / 0.55) 100%
		);
	}
	.proyecto-hero-overlay {
		background: linear-gradient(
			180deg,
			rgb(0 0 0 / 0.8) 0%,
			rgb(0 0 0 / 0.55) 100%
		);
	}
	.hero-actions { display: grid; }
	.hero-actions .button { width: 100%; }
	.stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem .75rem; }
	.stat-item { padding-left: 1rem; }
	.about-media.media-frame { min-height: 0; }
	.safety-media { min-height: 390px; }
	.safety-image-main { right: 12%; }
	.safety-image-secondary { width: 50%; height: 42%; border-width: 7px; }
	.service-grid { grid-template-columns: 1fr; }
	.projects-heading { align-items: center; }
	.projects-section .swiper.project-swiper { height: min(78vh, 640px); }
	.project-slide-title { font-size: clamp(1.75rem, 8vw, 54.4px); }
	.project-slide-content { padding: 1.25rem 1.25rem 3.25rem; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; }
	.form-row, .methodology-grid, .proyecto-hero-grid, .contact-grid, .project-archive-grid, .related-grid, .metric-grid, .gallery-grid, .servicio-alcance-grid, .servicio-estandares-grid, .servicio-related-strip, .servicio-caso-grid { grid-template-columns: 1fr; }
	.gallery-grid--count-2,
	.gallery-grid--count-3,
	.gallery-grid--many {
		grid-template-columns: 1fr;
	}
	.gallery-grid--count-3 .gallery-item:first-child,
	.gallery-grid--many .gallery-item:first-child {
		grid-column: auto;
		grid-row: auto;
		aspect-ratio: 16 / 10;
	}
	.proyecto-gallery-lightbox-inner {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto minmax(0, 1fr) auto;
	}
	.proyecto-gallery-lightbox-close {
		grid-column: 2;
		grid-row: 1;
	}
	.proyecto-gallery-lightbox-figure {
		grid-column: 1 / -1;
		grid-row: 2;
		padding-top: 1.5rem;
	}
	.proyecto-gallery-lightbox-prev {
		grid-column: 1;
		grid-row: 3;
		justify-self: start;
	}
	.proyecto-gallery-lightbox-next {
		grid-column: 2;
		grid-row: 3;
		justify-self: end;
	}
	.servicio-caso-media { min-height: 260px; }
	.proyecto-info-card { margin-top: 1rem; max-width: none; margin-left: 0; }
	.servicio-split-hero { grid-template-columns: 1fr; min-height: 0; }
	.servicio-split-media { min-height: 40vh; }
	.servicio-split-panel { border-left: 0; border-bottom: 2px solid var(--black); }
	.servicio-spec-bar-inner { grid-template-columns: 1fr 1fr; }
	.servicio-ideal { position: static; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	html.lenis,
	html.has-lenis {
		scroll-behavior: auto;
	}
	*, *::before, *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
	html.js-reveals [data-reveal],
	html.js-reveals [data-reveal].is-inview {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
		transition-delay: 0ms !important;
	}
}

/* Homepage / Contacto reveals (progressive: only when JS adds .js-reveals) */
html.js-reveals [data-reveal] {
	opacity: 0;
	transition:
		opacity var(--reveal-duration) var(--reveal-ease),
		transform var(--reveal-duration) var(--reveal-ease);
	transition-delay: var(--reveal-item-delay, 0ms);
	will-change: opacity, transform;
}
html.js-reveals [data-reveal="left"] {
	transform: translateX(calc(-1 * var(--reveal-distance)));
}
html.js-reveals [data-reveal="right"] {
	transform: translateX(var(--reveal-distance));
}
html.js-reveals [data-reveal="up"] {
	transform: translateY(var(--reveal-distance));
}
html.js-reveals [data-reveal].is-inview {
	opacity: 1;
	transform: none;
}

