/*
Theme Name: NEXXUS
Theme URI: https://github.com/jmgm1763-beep/jenny-secretaria
Author: Josep M. González · Consultor Inmobiliario
Description: Web corporativa de NEXXUS · Real Estate y construcción industrializada. Página única construida a partir del Dossier Corporativo (Ed. 01) y del Manual de Identidad v1.0: azul noche, acentos en azul tecnológico, tipografía Montserrat y esquemas técnicos vectoriales. Incluye formulario de contacto propio, sin plugins ni llamadas a servicios externos.
Version: 1.12.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexxus
*/

/* ---------- Tipografía corporativa (alojada en el tema) ---------- */
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
}

/* ---------- Paleta del manual de identidad ---------- */
:root {
	--navy: #061D38;   /* Azul NEXXUS · fondos principales */
	--deep: #031329;   /* Azul profundo · fondos de contraste */
	--cyan: #00AEEF;   /* Azul tecnológico · acentos y llamadas */
	--silver: #C0C6D4; /* Plata · símbolo y detalles */
	--white: #FFFFFF;
	--navy-soft: #0F3358; /* Azul NEXXUS aclarado para fondos amplios */
	--navy-soft-2: #0B2A4A;
	--tint: #F2F4F8;   /* Plata muy clara para fondos alternos */
	--ink-soft: #46566D;
	--rule: #D9DEE7;
	--rule-dark: rgba(192, 198, 212, .22);
	--font: "Montserrat", "Noto Sans", Arial, sans-serif;
	--wrap: 1200px;
	--gutter: 24px;
	--header-h: 72px;
}

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

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

body {
	margin: 0;
	background: var(--white);
	color: var(--navy);
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

h1, h2, h3 {
	margin: 0;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.015em;
	text-wrap: balance;
}

h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

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

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

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

/* ---------- Piezas comunes ---------- */
.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.eyebrow::before {
	content: "";
	flex: none;
	width: 28px; height: 3px;
	background: var(--cyan);
}

.lead {
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	font-weight: 500;
	line-height: 1.55;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 28px;
	border: 2px solid var(--cyan);
	background: var(--cyan);
	color: var(--navy);
	font: inherit;
	font-size: .9375rem;
	font-weight: 700;
	letter-spacing: .02em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--white); border-color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--rule-dark); }
.btn--ghost:hover { background: transparent; color: var(--white); border-color: var(--cyan); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: .875rem; }

/* ---------- Cabecera ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--navy);
	color: var(--white);
	border-bottom: 1px solid var(--rule-dark);
}
.admin-bar .site-header { top: 32px; }

.site-header__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-h);
}

.site-logo { flex: none; display: block; padding: 6px 0; }
.site-logo img { width: 158px; }

.site-nav ul { display: flex; align-items: center; gap: 28px; }
.site-nav a {
	font-size: .875rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.site-nav li:not(.site-nav__cta) a { padding: 10px 0; border-bottom: 2px solid transparent; }
.site-nav li:not(.site-nav__cta) a:hover { border-bottom-color: var(--cyan); }
.site-nav__phone a { color: var(--silver); font-variant-numeric: tabular-nums; }

.nav-toggle {
	display: none;
	width: 48px; height: 48px;
	margin-right: -10px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 26px; height: 2px;
	margin-inline: auto;
	background: currentColor;
	transition: transform .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -8px; }
.nav-toggle__bars::after { top: 8px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Portada ---------- */
.hero {
	position: relative;
	background-color: var(--navy);
	/* Trama de plano técnico: líneas finas, no un degradado visible. */
	background-image:
		linear-gradient(rgba(192, 198, 212, .055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(192, 198, 212, .055) 1px, transparent 1px);
	background-size: 48px 48px;
	color: var(--white);
}

.hero__in {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	align-items: center;
	gap: 48px;
	padding-block: clamp(48px, 7vw, 96px);
}

.hero .eyebrow { color: var(--cyan); }

.hero h1 {
	font-size: clamp(2.25rem, 5.2vw, 4.25rem);
	line-height: 1.04;
	letter-spacing: -.025em;
}

.hero__lead {
	max-width: 34em;
	margin: 28px 0 0;
	color: var(--silver);
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
	font-weight: 500;
	line-height: 1.55;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__art { color: var(--silver); }
.art--alzado { width: 100%; max-width: 480px; margin-inline: auto; }

.art-fill { fill: var(--navy); }
.art-accent { stroke: var(--cyan); }
.art-text {
	font-family: var(--font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
}
.art-accent-text { fill: var(--cyan); font-size: 10px; }

.hero__partners {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	border-top: 1px solid var(--rule-dark);
}
.hero__partners li {
	padding: 22px 20px 26px 0;
	border-left: 1px solid var(--rule-dark);
	padding-left: 20px;
}
.hero__partners li:first-child { border-left: 0; padding-left: 0; }
.hero__partners span {
	display: block;
	margin-bottom: 6px;
	color: var(--silver);
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .12em;
	line-height: 1.4;
	text-transform: uppercase;
}
.hero__partners strong { font-size: 1rem; font-weight: 700; line-height: 1.25; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark .eyebrow { color: var(--cyan); }
.section--dark .lead { color: var(--silver); }

.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head .lead { margin-top: 20px; color: var(--ink-soft); }

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
}
.split--center { align-items: center; }
.split__head .lead { margin-top: 20px; color: var(--ink-soft); }
.split__body { color: var(--ink-soft); }
.split__body .lead { color: var(--navy); }

/* Quiénes somos */
.pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: clamp(48px, 6vw, 80px);
	border-top: 3px solid var(--navy);
}
.pillar {
	padding: 28px 32px 8px 0;
	border-left: 1px solid var(--rule);
	padding-left: 32px;
}
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar .pillar__name {
	margin-bottom: 14px;
	color: var(--navy);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
}
.pillar h3 {
	margin-bottom: 12px;
	font-size: .75rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.pillar p { color: var(--ink-soft); font-size: .9375rem; }

/* El modelo */
.phases {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
}
.phase {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px 24px 4px 0;
	border-top: 3px solid var(--navy);
}
.phase::before {
	content: "";
	position: absolute;
	left: 0; top: -9px;
	width: 15px; height: 15px;
	background: var(--cyan);
}
.phase__num {
	margin-bottom: 18px;
	color: var(--navy);
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.03em;
	font-variant-numeric: tabular-nums;
}
.phase h3 { margin-bottom: 10px; }
.phase p { color: var(--ink-soft); font-size: .9375rem; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.tags li {
	padding: 5px 10px;
	background: var(--navy);
	color: var(--white);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* Líneas de negocio */
.lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.line {
	display: flex;
	flex-direction: column;
	padding: 32px;
	border: 1px solid var(--rule-dark);
	background: var(--deep);
}
.line--main { border-color: var(--cyan); }
.line__art { margin: -8px 0 24px; color: var(--silver); }
.art--line { width: 100%; max-width: 280px; }
.line__tag {
	margin-bottom: 14px;
	color: var(--silver);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.line--main .line__tag { color: var(--cyan); }
.line h3 { margin-bottom: 22px; font-size: 1.375rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.line__letter {
	display: block;
	margin-bottom: 8px;
	color: var(--cyan);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.checks li {
	position: relative;
	padding: 12px 0 12px 26px;
	border-top: 1px solid var(--rule-dark);
	color: var(--silver);
	font-size: .9375rem;
	line-height: 1.45;
}
.checks li::before {
	content: "";
	position: absolute;
	left: 2px; top: 1.2em;
	width: 10px; height: 2px;
	background: var(--cyan);
}

/* Ecosistema */
.hub { color: var(--navy); }
.art--hub { width: 100%; max-width: 620px; margin-inline: auto; overflow: visible; }
.hub-dot { fill: var(--white); stroke: var(--navy); stroke-width: 3; }
.hub-core { fill: var(--navy); }
.hub-name { fill: var(--navy); font-family: var(--font); font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.hub-kind { fill: var(--ink-soft); font-family: var(--font); font-size: 12px; font-weight: 500; }

.partners { margin-top: clamp(48px, 6vw, 80px); border-top: 3px solid var(--navy); }
.partner {
	display: grid;
	grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 56px);
	padding-block: 40px;
	border-bottom: 1px solid var(--rule);
	scroll-margin-top: calc(var(--header-h) + 16px);
}
.partner__kind {
	margin-bottom: 10px;
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.partner h3 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 800; line-height: 1.1; letter-spacing: -.015em; }
.partner__meta { margin-top: 12px; color: var(--ink-soft); font-size: .875rem; }
.partner__line {
	display: inline-block;
	margin-top: 10px;
	padding: 4px 10px;
	background: var(--navy);
	color: var(--white);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
}
.partner__meta .partner__line { display: table; }
.partner__body { color: var(--ink-soft); font-size: .9375rem; }
.partner__role {
	margin-top: 20px;
	padding: 18px 20px;
	border-left: 3px solid var(--cyan);
	background: var(--tint);
	color: var(--navy);
	font-weight: 500;
}
.partner__role-label {
	margin-bottom: 6px;
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

details { margin-top: 18px; }
summary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: var(--navy);
	font-size: .875rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
	content: "";
	width: 8px; height: 8px;
	border-right: 2px solid var(--cyan);
	border-bottom: 2px solid var(--cyan);
	transform: translateY(-2px) rotate(45deg);
	transition: transform .2s;
}
details[open] summary::after { transform: translateY(2px) rotate(-135deg); }

.services > div { padding: 12px 0; border-top: 1px solid var(--rule); }
.services dt { color: var(--navy); font-weight: 700; }
.services dd { margin-top: 2px; }

.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; align-content: start; }
.figures dt {
	font-size: clamp(1.5rem, 2.3vw, 1.875rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
	font-variant-numeric: tabular-nums;
	padding-top: 12px;
	border-top: 3px solid var(--cyan);
	white-space: nowrap;
}
.figures dd { margin-top: 8px; color: var(--ink-soft); font-size: .8125rem; line-height: 1.4; }

/* Por qué NEXXUS */
.advantages {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: var(--rule);
	border: 1px solid var(--rule);
}
.advantage { padding: 32px; background: var(--white); }
.advantage__num {
	display: block;
	margin-bottom: 20px;
	color: var(--ink-soft);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .12em;
}
.advantage__num::after {
	content: "";
	display: block;
	width: 28px; height: 3px;
	margin-top: 12px;
	background: var(--cyan);
}
.advantage h3 { margin-bottom: 10px; }
.advantage p { color: var(--ink-soft); font-size: .9375rem; }

.audiences { margin-top: clamp(40px, 5vw, 64px); }
.audiences h3 { margin-bottom: 20px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
	padding: 10px 18px;
	border: 1px solid var(--navy);
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.3;
}

/* Cómo trabajamos */
.rules {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: clamp(40px, 5vw, 64px);
}
.rule { padding: 28px; background: var(--navy); color: var(--white); }
.rule h3 { margin-bottom: 10px; color: var(--cyan); }
.rule p { color: var(--silver); font-size: .9375rem; }

.table-wrap { margin-top: 40px; }
.agreements { width: 100%; border-collapse: collapse; font-size: .9375rem; text-align: left; }
.agreements thead th {
	padding: 0 16px 12px 0;
	border-bottom: 3px solid var(--navy);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.agreements tbody th,
.agreements td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.agreements tbody th { font-weight: 800; white-space: nowrap; }
.agreements td { color: var(--ink-soft); }

/* Contacto */
.contact { background: var(--deep); }
.contact__in {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}
.contact h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.contact__info .lead { margin-top: 20px; }
.contact__card { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--rule-dark); }
.contact__label {
	margin-bottom: 12px;
	color: var(--cyan);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.contact__name { margin: 0; font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.contact__role { color: var(--silver); }
.contact__links { display: grid; gap: 6px; margin-top: 20px; }
.contact__links a { width: fit-content; padding: 6px 0; text-decoration: none; border-bottom: 1px solid var(--rule-dark); }
.contact__links a:hover { border-bottom-color: var(--cyan); }
.contact__phone { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }

.contact__form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
	padding: clamp(24px, 4vw, 40px);
	background: var(--navy);
	border: 1px solid var(--rule-dark);
}
.field { grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field label {
	display: block;
	margin-bottom: 8px;
	font-size: .8125rem;
	font-weight: 600;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
	display: block;
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid rgba(192, 198, 212, .45);
	border-radius: 0;
	background: var(--deep);
	color: var(--white);
	font: inherit;
	font-size: 1rem;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--cyan); outline-offset: 0; border-color: var(--cyan); }

.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field--check { display: flex; align-items: flex-start; gap: 12px; }
.field--check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cyan); }
.field--check label { margin: 0; color: var(--silver); font-weight: 500; line-height: 1.5; }

.form-legal { grid-column: 1 / -1; margin: 0; color: var(--silver); font-size: .75rem; line-height: 1.5; opacity: .85; }
.contact__form .btn { grid-column: 1 / -1; justify-self: start; }

.form-notice {
	grid-column: 1 / -1;
	margin: 0;
	padding: 14px 16px;
	border-left: 3px solid var(--cyan);
	background: var(--deep);
	font-weight: 600;
}
.form-notice--ko { border-left-color: #FF8A7A; }

/* ---------- Pie ---------- */
.site-footer { background: var(--deep); color: var(--silver); font-size: .875rem; border-top: 1px solid var(--rule-dark); }
.site-footer a { color: var(--white); }
.site-footer__in {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1.2fr;
	gap: 40px;
	padding-block: 56px 40px;
}
.site-footer__brand img { width: 150px; margin-bottom: 20px; }
.site-footer__label {
	margin-bottom: 12px;
	color: var(--cyan);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.site-footer strong { color: var(--white); }
.site-footer__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding-block: 24px 32px;
	border-top: 1px solid var(--rule-dark);
	font-size: .75rem;
}
.site-footer__base p { max-width: 70ch; margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Páginas interiores ---------- */
.page-head { padding-block: clamp(40px, 6vw, 72px); background: var(--navy); color: var(--white); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-body { max-width: calc(760px + var(--gutter) * 2); padding-block: clamp(40px, 6vw, 80px); }
.entry + .entry { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--rule); }
.entry__title { font-size: 1.5rem; }
.entry__title a { text-decoration: none; }
.entry__date { color: var(--ink-soft); font-size: .875rem; }
.entry__content h2 { margin: 1.6em 0 .6em; font-size: 1.5rem; }
.entry__content h3 { margin: 1.4em 0 .5em; }
.entry__content ul,
.entry__content ol { margin: 0 0 1em 1.25em; }
.entry__content ul { list-style: disc; }
.entry__content ol { list-style: decimal; }
.entry__content a { color: var(--navy); font-weight: 600; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; }
.entry__content img { height: auto; }

/* ---------- v1.1 · Símbolos, fotografías y proyectos ---------- */
.icon { display: block; width: 40px; height: 40px; color: var(--navy); }
.icon .ic-a { stroke: var(--cyan); }
.pillar .icon { margin-bottom: 20px; }
.advantage .icon { margin-bottom: 18px; }
.advantage__num { margin-bottom: 14px; }
.advantage__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.rule .icon { margin-bottom: 18px; color: var(--white); }

.photo { margin: 0; overflow: hidden; background: var(--deep); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.hero__photo { position: relative; aspect-ratio: 4 / 5; max-height: 560px; margin-left: auto; width: 100%; max-width: 480px; }
.hero__photo::after {
	content: "";
	position: absolute;
	right: -14px; bottom: -14px;
	width: 96px; height: 96px;
	border-right: 3px solid var(--cyan);
	border-bottom: 3px solid var(--cyan);
	pointer-events: none;
}
.hero__photo { overflow: visible; }
.hero__photo img { position: absolute; inset: 0; }

.band { margin-top: clamp(40px, 5vw, 64px); aspect-ratio: 21 / 9; }

.line__photo { margin: -32px -32px 28px; aspect-ratio: 16 / 9; }

.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.project { display: flex; flex-direction: column; }
.project__img { position: relative; aspect-ratio: 4 / 3; margin-bottom: 18px; }
.project__img--empty { display: grid; place-items: center; background: var(--navy); }
.project__img--empty .isotipo { width: 56px; opacity: .5; }
.project__partner {
	margin-bottom: 8px;
	color: var(--ink-soft);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.project__partner::before {
	content: "";
	display: inline-block;
	width: 18px; height: 3px;
	margin-right: 10px;
	vertical-align: middle;
	background: var(--cyan);
}
.project h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.project p:last-child { margin-top: 8px; color: var(--ink-soft); font-size: .9375rem; }

.contact--photo { position: relative; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -1; margin: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; }

@media (max-width: 960px) {
	.hero__photo { margin-inline: auto; aspect-ratio: 4 / 3; max-width: 560px; }
	.projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.band { aspect-ratio: 16 / 9; }
	.line__photo { margin: -24px -24px 24px; }
	.projects { grid-template-columns: 1fr; }
	.hero__photo::after { right: -8px; bottom: -8px; width: 64px; height: 64px; }
}

/* ---------- v1.2 · Aspecto más limpio: más aire, menos texto a la vista, cifras y pestañas ---------- */
.section { padding-block: clamp(80px, 11vw, 168px); }
h2 { font-size: clamp(2rem, 4.2vw, 3.375rem); letter-spacing: -.025em; line-height: 1.06; }
.section__head { margin-bottom: clamp(48px, 6vw, 88px); }
.split__body p:not(.lead) { max-width: 46ch; }

.site-header { border-bottom-color: transparent; transition: border-color .3s, background-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--rule-dark); }
.site-nav li:not(.site-nav__cta) a.is-current { border-bottom-color: var(--cyan); }

.hero__in { min-height: calc(100svh - var(--header-h)); padding-block: clamp(56px, 8vw, 112px); }
.hero__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.02; letter-spacing: -.03em; }
.hero__lead { max-width: 30em; margin-top: 32px; }
.hero__actions { margin-top: 48px; }

.btn:not(.btn--sm)::after {
	content: "";
	width: 8px; height: 8px;
	margin-left: 14px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s;
}
.btn:not(.btn--sm):hover::after { transform: translateX(4px) rotate(45deg); }

/* Cifras */
.stats { background: var(--deep); color: var(--white); border-top: 1px solid var(--rule-dark); }
.stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: clamp(36px, 5vw, 64px) 28px clamp(36px, 5vw, 64px) 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--rule-dark); }
.stat dt {
	font-size: clamp(2rem, 3.7vw, 3.25rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.035em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.stat dd { max-width: 22ch; margin-top: 14px; color: var(--silver); font-size: .875rem; line-height: 1.45; }

/* Partners en pestañas */
.ptabs { display: none; }
.js .ptabs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-top: clamp(48px, 6vw, 80px);
	border-top: 1px solid var(--rule);
}
.ptab {
	margin-top: -1px;
	padding: 22px 16px 22px 0;
	border: 0;
	border-top: 3px solid transparent;
	background: none;
	color: var(--ink-soft);
	font: inherit;
	font-size: 1.0625rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: left;
	cursor: pointer;
	transition: color .2s, border-color .2s;
}
.ptab span {
	display: block;
	margin-bottom: 8px;
	font-size: .625rem;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.4;
	text-transform: uppercase;
}
.ptab:hover { color: var(--navy); }
.ptab[aria-selected="true"] { color: var(--navy); border-top-color: var(--cyan); }
.js .partners { margin-top: 0; border-top: 0; }
.js .partner { border-bottom: 0; padding-block: clamp(32px, 4vw, 56px) 0; }
.js .partner[hidden] { display: none; }
.js .partner .partner__kind { display: none; }
.js .partner:not([hidden]) { animation: nx-in .45s ease both; }
@keyframes nx-in { from { opacity: 0; transform: translateY(10px); } }

.more { margin-top: 40px; }
.more .table-wrap { margin-top: 24px; }

/* Entrada escalonada de las rejillas */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal:nth-child(2) { transition-delay: .08s; }
	.js .reveal:nth-child(3) { transition-delay: .16s; }
	.js .reveal:nth-child(4) { transition-delay: .24s; }
	.js .reveal:nth-child(5) { transition-delay: .32s; }
	.js .reveal:nth-child(6) { transition-delay: .40s; }
	.art--alzado .art-accent { animation: nx-panel 1.4s .5s cubic-bezier(.2, .7, .2, 1) both; }
	@keyframes nx-panel { from { opacity: 0; transform: translateY(-46px); } }
}
@media (prefers-reduced-motion: reduce) {
	.js .partner:not([hidden]) { animation: none; }
}

@media (max-width: 960px) {
	.hero__in { min-height: 0; grid-template-columns: 1fr; }
	.stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat:nth-child(3) { padding-left: 0; border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--rule-dark); }
	.js .ptabs { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.js .ptabs::-webkit-scrollbar { display: none; }
	.ptab { flex: none; min-width: 168px; padding-right: 24px; }
}
@media (max-width: 720px) {
	.stat { padding: 28px 16px 28px 0; }
	.stat + .stat { padding-left: 16px; }
	.stat:nth-child(3) { padding-left: 0; }
}

/* ---------- v1.3 · Reglas en enumeración, enlaces a especialistas y descarga de dossieres ---------- */
.rules { gap: 12px; }
.rule { display: flex; align-items: center; gap: 18px; padding: 24px 28px; }
.rule .icon { flex: none; margin: 0; }
.rule h3 { margin: 0; color: var(--white); font-size: 1.0625rem; }

.line__actions { display: grid; gap: 20px; margin-top: auto; padding-top: 28px; }
.line__download { justify-self: start; }
.line__download span {
	margin-left: 10px;
	padding: 2px 6px;
	background: var(--navy);
	color: var(--white);
	font-size: .625rem;
	letter-spacing: .1em;
}
.line__download:hover span { background: var(--navy); }
.line__webs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 0; font-size: .875rem; }
.line__webs > span {
	flex-basis: 100%;
	color: var(--silver);
	font-size: .625rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.line__webs a { padding: 6px 0; color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--cyan); }
.line__webs a::after { content: " ↗"; color: var(--cyan); }
.line__webs a:hover { color: var(--cyan); }

@media (max-width: 720px) {
	.rules { grid-template-columns: 1fr 1fr; }
	.rule { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
	.rule h3 { font-size: .9375rem; }
}

@media (max-width: 1560px) and (min-width: 961px) {
	.site-nav ul { gap: 22px; }
	.site-nav__phone { display: none; }
}

@media (max-width: 1180px) and (min-width: 961px) {
	.site-logo img { width: 132px; }
	.site-nav ul { gap: 14px; }
	.site-nav a { font-size: .78rem; }
	.site-nav .btn--sm { padding-inline: 14px; }
}

/* ---------- v1.4 · Descriptor «Advisor» junto al logotipo (separado del logotipo maestro) ---------- */
.site-logo, .footer-logo { display: flex; align-items: center; }
.site-logo { text-decoration: none; }
.footer-logo { margin: 0 0 20px; }
.site-footer__brand .footer-logo img { margin-bottom: 0; }
.logo-tag {
	margin-left: 16px;
	padding-left: 16px;
	border-left: 1px solid rgba(192, 198, 212, .45);
	color: var(--silver);
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .32em;
	line-height: 2.2;
	text-transform: uppercase;
}
@media (max-width: 1180px) and (min-width: 961px) {
	.site-logo { flex-direction: column; align-items: flex-start; }
	.site-logo .logo-tag { margin: 5px 0 0; padding: 0; border: 0; font-size: .625rem; line-height: 1; letter-spacing: .5em; }
}
@media (max-width: 720px) {
	.logo-tag { margin-left: 12px; padding-left: 12px; font-size: .6875rem; letter-spacing: .28em; }
}

/* ---------- v1.5 · Portada con imagen a toda pantalla, visor, proyectos con estado y logotipos ---------- */
.hero--photo { position: relative; isolation: isolate; overflow: hidden; background-image: none; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
/* Velo azul NEXXUS: mantiene la identidad y la lectura del titular sobre cualquier foto. */
.hero--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(6, 29, 56, .94) 0%, rgba(6, 29, 56, .78) 42%, rgba(6, 29, 56, .30) 100%),
		linear-gradient(0deg, rgba(3, 19, 41, .85) 0%, rgba(3, 19, 41, 0) 38%);
}
.hero--photo .hero__in { grid-template-columns: minmax(0, 1fr); align-items: end; min-height: calc(100svh - var(--header-h)); padding-bottom: clamp(56px, 9vw, 128px); }
.hero--photo .hero__text { max-width: 860px; }
.hero--photo h1 { font-size: clamp(2.75rem, 6.4vw, 5.5rem); }
.hero--photo .hero__lead { color: var(--white); }
.hero--photo .btn--ghost { border-color: rgba(255, 255, 255, .55); }
@media (prefers-reduced-motion: no-preference) {
	.hero__slide.is-active img { animation: nx-zoom 14s ease-out both; }
	@keyframes nx-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
}

/* Barra de avance de lectura */
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: 0 50%; }

/* Fotografías ampliables */
.zoom { position: relative; display: block; width: 100%; height: 100%; cursor: zoom-in; overflow: hidden; }
.zoom img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.zoom:hover img, .zoom:focus-visible img { transform: scale(1.045); }
.zoom::after {
	content: "";
	position: absolute;
	right: 14px; bottom: 14px;
	width: 36px; height: 36px;
	background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300AEEF' stroke-width='2'%3E%3Cpath d='M9 4H4v5M15 4h5v5M9 20H4v-5M15 20h5v-5'/%3E%3C/svg%3E") center / 18px no-repeat;
	opacity: 0;
	transition: opacity .25s;
}
.zoom:hover::after, .zoom:focus-visible::after { opacity: 1; }

.lb {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) 72px;
	align-items: center;
	background: rgba(3, 19, 41, .97);
	color: var(--white);
}
.lb[hidden] { display: none; }
.lb__fig { grid-column: 2; margin: 0; display: grid; justify-items: center; gap: 16px; }
.lb__fig img { max-width: 100%; max-height: calc(100svh - 132px); width: auto; height: auto; object-fit: contain; }
.lb__fig figcaption { max-width: 70ch; color: var(--silver); font-size: .9375rem; text-align: center; }
.lb button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.lb__nav { width: 72px; height: 96px; font-size: 3.75rem; font-weight: 300; line-height: 1; color: var(--silver); transition: color .2s; }
.lb__nav:hover { color: var(--cyan); }
.lb__prev { grid-column: 1; grid-row: 1; }
.lb__next { grid-column: 3; grid-row: 1; }
.lb__close { position: absolute; top: 12px; right: 12px; width: 56px; height: 56px; font-size: 2.75rem; font-weight: 300; line-height: 1; }
.lb__close:hover { color: var(--cyan); }
.lb__count { position: absolute; top: 28px; left: 28px; margin: 0; color: var(--silver); font-size: .75rem; font-weight: 700; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.lb--single .lb__nav, .lb--single .lb__count { visibility: hidden; }
.lb-open { overflow: hidden; }

/* Proyectos: cabecera con filtro y estado */
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; max-width: none; }
.pfilter { display: flex; flex-wrap: wrap; gap: 8px; }
.pfilter__btn {
	min-height: 44px;
	padding: 8px 18px;
	border: 1px solid var(--navy);
	background: transparent;
	color: var(--navy);
	font: inherit;
	font-size: .875rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.pfilter__btn span { margin-left: 8px; opacity: .6; font-variant-numeric: tabular-nums; }
.pfilter__btn:hover { background: var(--white); }
.pfilter__btn.is-on { background: var(--navy); color: var(--white); }
.project[hidden] { display: none; }
.project__status {
	position: absolute;
	left: 0; top: 16px;
	padding: 6px 12px;
	background: var(--navy);
	color: var(--white);
	font-size: .625rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	pointer-events: none;
}
.project__status--en-proceso { background: var(--cyan); color: var(--navy); }
.project__img--empty { position: relative; }

/* Logotipos de especialistas */
.plogo { display: block; width: auto; max-width: 170px; height: 42px; object-fit: contain; object-position: left center; }
.plogo--lg { max-width: 260px; height: 68px; }
.ptab .plogo { opacity: .55; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.ptab:hover .plogo, .ptab[aria-selected="true"] .plogo { opacity: 1; filter: none; }

@media (max-width: 720px) {
	.hero--photo::before { background: linear-gradient(0deg, rgba(3, 19, 41, .96) 0%, rgba(6, 29, 56, .80) 55%, rgba(6, 29, 56, .55) 100%); }
	.hero--photo .hero__in { min-height: calc(100svh - var(--header-h)); }
	.lb { grid-template-columns: minmax(0, 1fr); padding-inline: 12px; }
	.lb__fig { grid-column: 1; }
	.lb__nav { position: absolute; bottom: 8px; width: 64px; height: 64px; }
	.lb__prev { left: 8px; }
	.lb__next { right: 8px; }
	.lb__fig img { max-height: calc(100svh - 200px); }
	.plogo { height: 28px; max-width: 120px; }
}

/* ---------- v1.6 · Vídeo de portada, filtro por línea y ficha de proyecto ---------- */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__pause {
	position: absolute;
	right: var(--gutter); bottom: 20px;
	z-index: 2;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, .45);
	background: rgba(3, 19, 41, .55);
	color: var(--white);
	font: inherit;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	cursor: pointer;
}
.hero__pause:hover { border-color: var(--cyan); }

.pfilters { display: grid; gap: 10px; justify-items: start; flex-basis: 100%; }
.pfilter--line .pfilter__btn { border-color: var(--rule); font-weight: 600; }
.pfilter--line .pfilter__btn.is-on { border-color: var(--navy); }
.project__link { text-decoration: none; background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0 2px no-repeat; transition: background-size .3s; padding-bottom: 2px; }
.project__link::after { content: " →"; color: var(--cyan); }
.project__link:hover { background-size: 100% 2px; }

.phero { position: relative; isolation: isolate; background: var(--navy); color: var(--white); }
.phero__in { padding-block: clamp(40px, 6vw, 72px); }
.phero--photo .phero__in { display: flex; flex-direction: column; justify-content: flex-end; min-height: min(72svh, 720px); pointer-events: none; }
.phero--photo .phero__in a { pointer-events: auto; }
.phero__bg { position: absolute; inset: 0; z-index: -1; margin: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero__bg .zoom::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(0deg, rgba(3, 19, 41, .94) 0%, rgba(6, 29, 56, .55) 45%, rgba(6, 29, 56, .25) 100%);
}
.phero__bg .zoom::after { top: 14px; bottom: auto; opacity: 1; z-index: 2; }
.phero__back { margin: 0 0 auto; padding-bottom: 32px; }
.phero__back a { font-size: .8125rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--cyan); padding-bottom: 3px; }
.phero__back a::before { content: "← "; color: var(--cyan); }
.phero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.phero__tags .project__status { position: static; }
.phero__line { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .5); font-size: .625rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.phero h1 { max-width: 18ch; font-size: clamp(2.25rem, 5.4vw, 4.5rem); line-height: 1.02; letter-spacing: -.03em; }
.phero__lead { max-width: 46ch; margin: 20px 0 0; color: var(--silver); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 500; }

.pficha__grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-block: clamp(48px, 7vw, 104px); }
.pfacts { position: sticky; top: calc(var(--header-h) + 24px); }
.pfacts dl { margin-bottom: 28px; border-top: 3px solid var(--navy); }
.pfacts dl > div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.pfacts dt { margin-bottom: 2px; color: var(--ink-soft); font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pfacts dd { font-size: 1.0625rem; font-weight: 700; line-height: 1.35; }
.project-body { max-width: 760px; font-size: 1.0625rem; }
.project-body > :first-child { margin-top: 0; }
.project-body figure { margin: 2em 0; }
.project-body .wp-block-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.project-body .wp-block-gallery figure { margin: 0; }
.project-body .wp-block-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-body figcaption { margin-top: 8px; color: var(--ink-soft); font-size: .8125rem; }

@media (max-width: 960px) {
	.pfilters { justify-items: start; }
	.pficha__grid { grid-template-columns: 1fr; }
	.pfacts { position: static; }
}

/* ---------- v1.7 · Club Deal Inmobiliario ---------- */
.club__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.club__info .lead { margin-top: 24px; }
.club__steps { margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--rule-dark); }
.club__steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--rule-dark); }
.club__num { color: var(--cyan); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; padding-top: 3px; }
.club__steps h3 { margin-bottom: 6px; }
.club__steps p { color: var(--silver); font-size: .9375rem; }
.club__form { background: var(--deep); }
.club__form-title { grid-column: 1 / -1; margin: 0 0 4px; font-size: 1.375rem; font-weight: 800; letter-spacing: -.01em; }
.field--set { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.field--set legend { margin-bottom: 10px; padding: 0; font-size: .8125rem; font-weight: 600; }
.field .check { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--silver); font-size: .9375rem; font-weight: 500; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--cyan); }
.club__form input[type="text"], .club__form input[type="email"], .club__form input[type="tel"], .club__form select, .club__form textarea { background: var(--navy); }
.club__legal { max-width: 96ch; margin: clamp(36px, 4vw, 56px) 0 0; padding-top: 20px; border-top: 1px solid var(--rule-dark); color: var(--silver); font-size: .75rem; line-height: 1.6; opacity: .85; }
@media (max-width: 960px) {
	.club__in { grid-template-columns: 1fr; }
}

/* ---------- v1.8 · Línea D y cuatro líneas en rejilla de 2 × 2 ---------- */
.lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.line__lead { margin: -6px 0 22px; color: var(--silver); font-size: .9375rem; line-height: 1.6; }
.checks li.checks__def strong { display: block; margin-bottom: 2px; color: var(--white); font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.line__cta { margin: 24px 0 0; }
.line__cta + .line__actions { padding-top: 20px; margin-top: 0; }

/* ---------- v1.9 · Azul menos intenso en portada y líneas; seis imágenes de portada ---------- */
.hero { background-color: var(--navy-soft); }
.hero--photo::before {
	background:
		linear-gradient(90deg, rgba(15, 51, 88, .86) 0%, rgba(15, 51, 88, .62) 42%, rgba(15, 51, 88, .12) 100%),
		linear-gradient(0deg, rgba(11, 42, 74, .72) 0%, rgba(11, 42, 74, 0) 38%);
}
/* Con el velo más ligero, el texto de portada lleva una sombra suave para seguir leyéndose sobre cualquier foto. */
.hero--photo .eyebrow { color: var(--white); }
.hero--photo h1, .hero--photo .hero__lead, .hero--photo .eyebrow { text-shadow: 0 2px 20px rgba(6, 29, 56, .45); }
.section--soft { background: var(--navy-soft); }
.section--soft .line { background: var(--navy-soft-2); border-color: rgba(192, 198, 212, .18); }
.section--soft .line--main { border-color: var(--cyan); }
.hero__slide { transition-duration: 1.2s; }
@media (prefers-reduced-motion: no-preference) {
	.hero__slide.is-active img { animation-duration: 8s; }
}
@media (max-width: 720px) {
	.hero--photo::before { background: linear-gradient(0deg, rgba(11, 42, 74, .94) 0%, rgba(15, 51, 88, .70) 55%, rgba(15, 51, 88, .42) 100%); }
}

/* ---------- v1.10 · NEXXUS Properties: catálogo y fichas ciegas ---------- */
.site-nav .site-nav__props a { color: var(--cyan); }
.site-nav .site-nav__props a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px var(--cyan); }
.props-hero .phero__in { padding-block: clamp(56px, 8vw, 120px) clamp(48px, 6vw, 88px); }
.props-hero h1 { max-width: 16ch; }
.props-hero .phero__lead { max-width: 60ch; }
.props-steps { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: clamp(32px, 4vw, 48px) 0 0; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--rule-dark); color: var(--silver); font-size: .9375rem; font-weight: 600; }
.props-steps span { margin-right: 8px; color: var(--cyan); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }

.props .section__head--row { align-items: end; }
.assets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.asset { display: flex; flex-direction: column; }
.asset[hidden] { display: none; }
.asset__img { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 18px; overflow: hidden; background: var(--navy); }
.asset__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.asset:hover .asset__img img { transform: scale(1.04); }
.asset__img--empty { display: grid; place-items: center; }
.asset__img--empty .isotipo { width: 56px; opacity: .45; }
.asset__type, .asset__tag { position: absolute; top: 14px; padding: 6px 12px; font-size: .625rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.asset__type { left: 14px; background: var(--white); color: var(--navy); }
.asset__tag { right: 14px; background: var(--cyan); color: var(--deep); }
.asset__meta { margin: 0 0 8px; color: var(--ink-soft); font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.asset h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.asset__figs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 0; padding: 14px 0; border-block: 1px solid var(--rule); }
.asset__figs dt { color: var(--ink-soft); font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.asset__figs dd { margin: 2px 0 0; font-size: 1.125rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.asset__foot { margin: 12px 0 0; color: var(--ink-soft); font-size: .8125rem; font-weight: 600; }

.props-empty { display: grid; justify-items: start; gap: 20px; max-width: 560px; padding: clamp(32px, 5vw, 56px); background: var(--navy); color: var(--white); }
.props-empty .isotipo { width: 48px; opacity: .6; }
.props-empty p { margin: 0; color: var(--silver); font-size: 1.0625rem; }

.props-cta__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; }
.props-cta .lead { max-width: 54ch; margin-top: 20px; color: var(--silver); }
.props-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

.afigs-band { background: var(--deep); color: var(--white); border-top: 1px solid var(--rule-dark); }
.afigs { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-block: 0; }
.afigs > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 28px 24px 28px 0; border-right: 1px solid var(--rule-dark); }
.afigs > div + div { padding-left: 24px; }
.afigs > div:last-child { border-right: 0; }
.afigs dt { color: var(--silver); font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.afigs dd { margin: 0; font-size: clamp(1.375rem, 2.4vw, 1.875rem); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.afigs > div:last-child dd { color: var(--cyan); }

.aficha__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(40px, 6vw, 96px); align-items: start; padding-block: clamp(48px, 7vw, 104px); }
.aficha__main .eyebrow { color: var(--ink-soft); }
.adocs { margin-top: clamp(32px, 4vw, 48px); padding: 28px; background: var(--tint); border-left: 3px solid var(--cyan); }
.adocs__t { margin: 0 0 14px; font-size: 1.125rem; font-weight: 800; letter-spacing: -.005em; }
.adocs ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.adocs li { position: relative; padding-left: 26px; font-weight: 600; }
.adocs li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.anote { margin: 28px 0 0; color: var(--ink-soft); font-size: .8125rem; line-height: 1.55; max-width: 70ch; }
.aficha__side { position: sticky; top: calc(var(--header-h) + 24px); scroll-margin-top: calc(var(--header-h) + 24px); }
.dossier__form { grid-template-columns: 1fr; color: var(--white); }
.dossier__intro { grid-column: 1 / -1; margin: 0; color: var(--silver); font-size: .9375rem; }

@media (max-width: 1100px) {
	.aficha__grid { grid-template-columns: 1fr; }
	.aficha__side { position: static; }
}
@media (max-width: 960px) {
	.assets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.props-cta__in { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 720px) {
	.assets { grid-template-columns: 1fr; }
	.afigs { grid-template-columns: 1fr 1fr; }
	.afigs > div, .afigs > div + div { padding: 20px 12px 20px 0; border-right: 0; border-bottom: 1px solid var(--rule-dark); }
	.afigs > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule-dark); }
}

/* ---------- v1.11 · Properties: recuadros sin fotografía ---------- */
.asset__img--empty { display: flex; align-items: flex-end; padding: 22px; background:
	linear-gradient(135deg, rgba(0, 174, 239, .16), rgba(0, 174, 239, 0) 60%),
	repeating-linear-gradient(0deg, rgba(192, 198, 212, .07) 0 1px, transparent 1px 28px),
	repeating-linear-gradient(90deg, rgba(192, 198, 212, .07) 0 1px, transparent 1px 28px),
	var(--navy); color: var(--white); }
.asset__img--logistico { background-color: #0A2A4D; }
.asset__img--retail, .asset__img--edificios { background-color: #0F3358; }
.asset__img--hoteles, .asset__img--suelo-residencial { background-color: #08223F; }
.asset__img--datacenter, .asset__img--patrimonial { background-color: #031329; }
.asset__img { text-decoration: none; }
.asset__ph { display: grid; gap: 4px; }
.asset__ph-fig { font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.asset__ph-lab { color: var(--silver); font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.asset__img--empty .asset__ph-x { position: absolute; right: 22px; bottom: 22px; width: 34px; opacity: .55; }

/* ---------- Aparición suave (solo con JavaScript y sin preferencia de movimiento reducido) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
	.js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ---------- Adaptación a pantallas ---------- */
@media (max-width: 1100px) {
	.site-nav ul { gap: 20px; }
	.site-nav__phone { display: none; }
	.phases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 0; }
	.partner { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
	.partner .figures { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		display: none;
		padding: 16px var(--gutter) 32px;
		background: var(--navy);
		overflow-y: auto;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { display: block; }
	.nav-open { overflow: hidden; }
	.site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav li:not(.site-nav__cta) a {
		display: block;
		padding: 18px 0;
		border-bottom: 1px solid var(--rule-dark);
		font-size: 1.125rem;
	}
	.site-nav__phone { display: block; }
	.site-nav__cta { margin-top: 24px; }
	.site-nav__cta .btn { width: 100%; min-height: 52px; font-size: 1rem; }

	.hero__in { grid-template-columns: 1fr; gap: 40px; }
	.art--alzado { max-width: 380px; }
	.hero__partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero__partners li { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-dark); }
	.hero__partners li:nth-child(-n+2) { border-top: 0; }
	.hero__partners li:last-child { grid-column: 1 / -1; }

	.split { grid-template-columns: 1fr; }
	.lines { grid-template-columns: 1fr; }
	.advantages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact__in { grid-template-columns: 1fr; }
	.site-footer__in { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 720px) {
	:root { --gutter: 20px; --header-h: 64px; }
	.site-logo img { width: 132px; }

	.pillars { grid-template-columns: 1fr; }
	.pillar { padding: 24px 0; border-left: 0; border-top: 1px solid var(--rule); }
	.pillar:first-child { border-top: 0; }

	.phases { grid-template-columns: 1fr; gap: 0; }
	.phase { padding: 24px 0 28px; }

	.line { padding: 24px; }
	/* En móvil el esquema quedaría ilegible: los partners se detallan justo debajo. */
	.hub { display: none; }
	.partner { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
	.partner .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.advantages { grid-template-columns: 1fr; }
	.advantage { padding: 24px; }
	.rules { grid-template-columns: 1fr; gap: 12px; }

	/* La tabla pasa a fichas apiladas. */
	.agreements thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.agreements, .agreements tbody, .agreements tr, .agreements th, .agreements td { display: block; }
	.agreements tr { padding: 20px 0; border-bottom: 1px solid var(--rule); }
	.agreements tbody th, .agreements td { padding: 0; border: 0; }
	.agreements tbody th { margin-bottom: 10px; font-size: 1.125rem; white-space: normal; }
	.agreements td { margin-top: 8px; }
	.agreements td::before {
		content: attr(data-label);
		display: block;
		color: var(--navy);
		font-size: .6875rem;
		font-weight: 700;
		letter-spacing: .14em;
		text-transform: uppercase;
	}

	.contact__form { grid-template-columns: 1fr; }
	.field--half { grid-column: 1 / -1; }
	.contact__form .btn { justify-self: stretch; }
	.hero__actions .btn { flex: 1 1 100%; }
	.site-footer__in { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- v1.12 · Club Deal: oportunidades de inversión ---------- */
.opcard__kind { margin: 6px 0 0; color: var(--ink-soft); font-size: .875rem; font-weight: 600; }
.opcard--cierre .asset__type { background: var(--cyan); color: var(--deep); }
.opcard--cerrada { opacity: .7; }
.opcard--cerrada .asset__type { background: var(--silver); }
.opbar { height: 4px; margin-top: 16px; background: var(--rule); overflow: hidden; }
.opbar span { display: block; height: 100%; background: var(--cyan); }
.opbar + .asset__foot { margin-top: 8px; }
.opterms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 32px; border-block: 1px solid var(--rule); }
.opterms > div { padding: 18px 16px 18px 0; }
.opterms > div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.opterms dt { color: var(--ink-soft); font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.opterms dd { margin: 4px 0 0; font-size: 1.0625rem; font-weight: 800; }
.opprog { margin: 0 0 32px; }
.opprog p { margin: 0 0 8px; font-size: .9375rem; }
.opprog .opbar { height: 6px; margin: 0; }
.opgal { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 32px; }
.opgal a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.opgal img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.opgal a:hover img { transform: scale(1.04); }
.club__legal--light { color: var(--ink-soft); border-top-color: var(--rule); opacity: 1; }
.club__ops { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule-dark); }
.club__ops-t { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.club__ops .section__head { margin-bottom: clamp(28px, 4vw, 44px); }
.club__ops .asset__meta, .club__ops .asset__figs dt, .club__ops .asset__foot, .club__ops .opcard__kind { color: var(--silver); }
.club__ops .asset__figs { border-color: var(--rule-dark); }
.club__ops .opbar { background: var(--rule-dark); }
.club__ops h3 a { color: var(--white); }
@media (max-width: 720px) {
	.opterms { grid-template-columns: 1fr; }
	.opterms > div, .opterms > div + div { padding: 14px 0; border-left: 0; }
	.opterms > div + div { border-top: 1px solid var(--rule); }
}

/* ---------- v1.12 · Destacado flotante en portada ---------- */
.promo { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: min(360px, calc(100vw - 32px)); background: var(--white); color: var(--navy); box-shadow: 0 18px 48px rgba(3, 19, 41, .28); border-top: 3px solid var(--cyan); }
.promo[hidden] { display: none; }
.promo.is-in { animation: promoIn .45s ease both; }
.promo__close { position: absolute; top: 8px; right: 8px; z-index: 2; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(3, 19, 41, .72); color: var(--white); font: 700 1.125rem/1 var(--font); cursor: pointer; }
.promo__close:hover, .promo__close:focus-visible { background: var(--cyan); color: var(--deep); }
.promo__item { display: block; color: inherit; text-decoration: none; }
.promo__item[hidden] { display: none; }
.promo__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.promo__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.promo__img--empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--deep)); }
.promo__img--empty .isotipo { width: 48px; opacity: .5; }
.promo__body { display: grid; gap: 4px; padding: 16px 20px 18px; }
.promo__label { color: var(--cyan); font-size: .625rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.promo__title { font-size: 1.0625rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.promo__meta { color: var(--ink-soft); font-size: .8125rem; font-weight: 600; }
.promo__figs { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; color: var(--ink-soft); font-size: .75rem; }
.promo__figs strong { color: var(--navy); font-size: .9375rem; font-weight: 800; }
.promo__cta { margin-top: 8px; color: var(--navy); font-size: .8125rem; font-weight: 700; }
.promo__item:hover .promo__cta, .promo__item:focus-visible .promo__cta { color: var(--cyan); }
.promo__dots { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 6px; }
.promo__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--rule); }
.promo__dots span.is-on { background: var(--cyan); }
@keyframes promoIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .promo.is-in { animation: none; } }
@media (max-width: 720px) {
	.promo { right: 16px; bottom: 16px; left: 16px; width: auto; display: grid; grid-template-columns: 1fr; }
	.promo__item { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
	.promo__item[hidden] { display: none; }
	.promo__img { aspect-ratio: auto; height: 100%; min-height: 112px; }
	.promo__body { padding: 12px 44px 12px 14px; }
	.promo__title { font-size: .9375rem; }
	.promo__figs { display: none; }
	.promo__close { top: 6px; right: 6px; width: 28px; height: 28px; font-size: 1rem; }
	.promo__dots { right: 14px; bottom: 12px; }
}
