/* =========================================================
   FCIC Management · sistema visual
   Colores del logo, Overused Grotesk, curva base (.22,1,.36,1)
   ========================================================= */
@font-face {
	font-family: "Overused Grotesk";
	src: url("../fonts/overused-grotesk-vf.woff") format("woff");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--navy: #19213c;
	--navy-d: #10162b;
	--navy-l: #222b4c;
	--navy-xl: #2c375e;
	--lime: #93c01f;
	--lime-d: #7fa71a;
	--olive: #6f8419;
	--paper: #f4f2ec;
	--paper-2: #e9e6dc;
	--white: #fff;
	--ink: #141a30;
	--muted: #5b6276;
	--muted-d: #a3abc4;
	--line: rgba(25, 33, 60, .14);
	--line-d: rgba(255, 255, 255, .14);
	--ease: cubic-bezier(.22, 1, .36, 1);
	--r: 16px;
	--r-lg: 24px;
	--pad: clamp(20px, 4vw, 56px);
	--max: 1440px;
	--hdr: 76px;
	--fs-display: clamp(44px, 8.4vw, 132px);
	--fs-h1: clamp(40px, 6vw, 96px);
	--fs-h2: clamp(32px, 4.2vw, 60px);
	--fs-h3: clamp(24px, 2.4vw, 36px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
	margin: 0;
	font-family: "Overused Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	font-weight: 400;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, dl, dd, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--lime); color: var(--navy); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 300; padding: 10px 16px; background: var(--lime); color: var(--navy); border-radius: 999px; font-weight: 600; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }
main:focus { outline: none; }

/* ---------- Tipografía ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); margin-bottom: 20px; }
[data-theme="dark"] .eyebrow { color: var(--muted-d); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(147, 192, 31, .2); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.1; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--muted); max-width: 56ch; }
[data-theme="dark"] .lead { color: var(--muted-d); }
sup { font-size: .55em; vertical-align: super; line-height: 0; color: var(--muted); font-weight: 500; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap .4s var(--ease), color .3s; }
.link-arrow:hover { gap: 14px; color: var(--olive); }
[data-theme="dark"] .link-arrow:hover { color: var(--lime); }
.ic { flex: none; }

/* Palabras y líneas para animaciones */
.w { display: inline-block; }
.wo { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Botones ---------- */
.btn {
	--bg: var(--navy); --fg: #fff;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 12px 20px; border-radius: 999px; background: var(--bg); color: var(--fg);
	font-weight: 600; font-size: 16px; line-height: 24px; white-space: nowrap;
	transition: background-color .3s var(--ease), color .3s var(--ease), transform .5s var(--ease), box-shadow .3s;
	isolation: isolate;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn .ic { transition: transform .5s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--lime { --bg: var(--lime); --fg: var(--navy); }
.btn--lime:hover { --bg: #a6d42a; box-shadow: 0 10px 30px -10px rgba(147, 192, 31, .6); }
.btn--navy { --bg: var(--navy); --fg: #fff; }
.btn--navy:hover { --bg: var(--navy-xl); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
[data-theme="dark"] .btn--ghost { --fg: #fff; }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .08); }
[data-theme="light"] .btn--ghost:hover { --bg: rgba(25, 33, 60, .06); }
.btn--glass { --bg: rgba(255, 255, 255, .12); --fg: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.btn--glass:hover { --bg: rgba(255, 255, 255, .22); }
.btn--sm { padding: 8px 16px; font-size: 14px; line-height: 20px; }
.btn--lg { padding: 16px 28px; font-size: 18px; line-height: 28px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line-d); transition: background .3s, color .3s; }
.chip-btn:hover, .chip-btn[aria-pressed="true"] { background: var(--lime); color: var(--navy); box-shadow: none; }

/* Etiquetas de estado */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 600; background: rgba(255, 255, 255, .92); color: var(--navy); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--sold::before { background: var(--olive); }
.tag--for_sale::before { background: #e2a400; }
.tag--in_progress::before { background: #e2a400; }
.tag--upcoming { background: var(--lime); }
.tag--upcoming::before { background: var(--navy); }
.tag--completed::before { background: var(--lime-d); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; font-size: 14px; line-height: 20px; box-shadow: inset 0 0 0 1px var(--line-d); color: #dfe4f2; }

/* ---------- Cabecera ---------- */
.hdr { position: fixed; inset: 12px 0 auto; z-index: 100; pointer-events: none; transition: transform .6s var(--ease); }
.hdr.is-hidden { transform: translateY(-140%); }
.hdr__bar {
	pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	width: min(calc(100% - 24px), 1240px); margin-inline: auto; padding: 8px 8px 8px 20px; border-radius: 999px;
	background: rgba(244, 242, 236, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
	box-shadow: 0 0 0 1px rgba(25, 33, 60, .08), 0 12px 40px -18px rgba(16, 22, 43, .35);
	color: var(--navy); transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s;
}
.hdr.on-dark .hdr__bar { background: rgba(16, 22, 43, .45); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.hdr__logo { position: relative; display: block; width: 120px; height: 50px; flex: none; }
.hdr__logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s var(--ease); }
.hdr__logo-light { opacity: 0; }
.hdr.on-dark .hdr__logo-dark { opacity: 0; }
.hdr.on-dark .hdr__logo-light { opacity: 1; }
.hdr__quick { display: flex; gap: 4px; }
.hdr__quick a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: background .3s; }
.hdr__quick a:hover, .hdr__quick a[aria-current] { background: rgba(25, 33, 60, .07); }
.hdr.on-dark .hdr__quick a:hover, .hdr.on-dark .hdr__quick a[aria-current] { background: rgba(255, 255, 255, .1); }
.hdr__right { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; }
.hdr.on-dark .lang { box-shadow: inset 0 0 0 1px var(--line-d); }
.lang a { padding: 5px 9px; border-radius: 999px; opacity: .6; transition: opacity .3s, background .3s; }
.lang a[aria-current] { opacity: 1; background: var(--navy); color: #fff; }
.hdr.on-dark .lang a[aria-current] { background: #fff; color: var(--navy); }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; transition: background .3s; }
.hdr.on-dark .menu-btn { background: #fff; color: var(--navy); }
.menu-btn__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); }
.menu-btn__icon i { position: absolute; left: 8px; width: 12px; height: 1.5px; background: var(--navy); border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn__icon i:first-child { top: 11px; }
.menu-btn__icon i:last-child { top: 16px; }
.menu-open .menu-btn__icon i:first-child { top: 13.5px; transform: rotate(45deg); }
.menu-open .menu-btn__icon i:last-child { top: 13.5px; transform: rotate(-45deg); }
.menu-open .hdr__bar { background: var(--navy-d); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.menu-open .hdr__logo-dark { opacity: 0; }
.menu-open .hdr__logo-light { opacity: 1; }
.menu-open .menu-btn { background: #fff; color: var(--navy); }
.menu-open .lang { box-shadow: inset 0 0 0 1px var(--line-d); }
.menu-open .lang a[aria-current] { background: #fff; color: var(--navy); }
.menu-open .hdr__quick { opacity: 0; pointer-events: none; }

/* ---------- Menú a pantalla completa ---------- */
.menu { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__scrim { position: absolute; inset: 0; background: rgba(16, 22, 43, .5); opacity: 0; transition: opacity .6s var(--ease); }
.menu.is-open .menu__scrim { opacity: 1; }
.menu__panel {
	position: absolute; inset: 0 0 auto; min-height: min(100svh, 820px); max-height: 100svh; overflow-y: auto;
	display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px;
	padding: calc(var(--hdr) + 56px) max(var(--pad), calc((100vw - 1240px) / 2)) 48px;
	background: var(--navy-d); color: #fff; border-radius: 0 0 32px 32px;
	clip-path: inset(0 0 100% 0 round 0 0 32px 32px); transition: clip-path .8s var(--ease);
}
.menu.is-open .menu__panel { clip-path: inset(0 0 0 0 round 0 0 32px 32px); }
.menu__list { counter-reset: m; }
.menu__item { overflow: hidden; border-bottom: 1px solid var(--line-d); }
.menu__link { display: flex; align-items: center; gap: 20px; padding: 10px 0; transform: translateY(105%); transition: transform .8s var(--ease), color .3s; }
.menu.is-open .menu__link { transform: none; }
.menu__num { font-size: 14px; color: var(--muted-d); width: 28px; flex: none; font-variant-numeric: tabular-nums; }
.menu__txt { font-size: clamp(30px, 4.4vw, 60px); line-height: 1.05; font-weight: 500; letter-spacing: -.03em; flex: 1; transition: transform .5s var(--ease); }
.menu__link .ic { opacity: 0; transform: translate(-10px, 10px); transition: opacity .3s, transform .5s var(--ease); color: var(--lime); }
.menu__link:hover, .menu__link:focus-visible, .menu__link[aria-current] { color: var(--lime); }
.menu__link:hover .menu__txt { transform: translateX(10px); }
.menu__link:hover .ic { opacity: 1; transform: none; }
.menu__aside { display: flex; flex-direction: column; gap: 20px; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease) .25s, transform .8s var(--ease) .25s; }
.menu.is-open .menu__aside { opacity: 1; transform: none; }
.menu__preview { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); }
.menu__pv { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease), transform 1s var(--ease); }
.menu__pv.is-on { opacity: 1; transform: none; }
.menu__pv img { width: 100%; height: 100%; object-fit: cover; }
.menu__pv-plan { object-fit: contain !important; padding: 16px; background: #0c1124; }
.menu__card { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 24px; border-radius: var(--r); background: var(--lime); color: var(--navy); transition: transform .5s var(--ease); }
.menu__card .eyebrow { margin: 0; color: var(--navy); opacity: .7; grid-column: 1; }
.menu__card strong { grid-column: 1; font-size: 20px; line-height: 28px; font-weight: 600; }
.menu__card-go { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--lime); display: grid; place-items: center; transition: transform .5s var(--ease); }
.menu__card:hover .menu__card-go { transform: rotate(-45deg); }
.menu__contact { display: flex; flex-wrap: wrap; gap: 8px; }
.menu__contact a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-d); font-size: 14px; transition: background .3s, color .3s; }
.menu__contact a:hover { background: #fff; color: var(--navy); }
.menu__addr { font-size: 14px; color: var(--muted-d); }
.menu .menu__item:nth-child(1) .menu__link { transition-delay: .06s; }
.menu .menu__item:nth-child(2) .menu__link { transition-delay: .1s; }
.menu .menu__item:nth-child(3) .menu__link { transition-delay: .14s; }
.menu .menu__item:nth-child(4) .menu__link { transition-delay: .18s; }
.menu .menu__item:nth-child(5) .menu__link { transition-delay: .22s; }
.menu .menu__item:nth-child(6) .menu__link { transition-delay: .26s; }
.menu .menu__item:nth-child(7) .menu__link { transition-delay: .3s; }
.menu .menu__item:nth-child(8) .menu__link { transition-delay: .34s; }
.menu:not(.is-open) .menu__link { transition-delay: 0s; transition-duration: .4s; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-d); color: #fff; }
.hero__stage { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.hero__frame { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform-origin: 60% 50%; will-change: transform; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 22, 43, .55) 0%, rgba(16, 22, 43, .1) 35%, rgba(16, 22, 43, .35) 60%, rgba(16, 22, 43, .88) 100%); }
.hero__content { position: absolute; left: 0; right: 0; bottom: clamp(96px, 14vh, 150px); z-index: 3; }
.hero__eyebrow { color: rgba(255, 255, 255, .8) !important; }
.hero__title { font-size: clamp(44px, 6.6vw, 112px); line-height: .96; letter-spacing: -.045em; font-weight: 500; max-width: min(13ch, 42vw); }
@media (max-width: 900px) { .hero__title { max-width: 13ch; } .hero__sub { max-width: 40ch; } }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .ln > span { display: inline-block; }
.hero__title .ln:last-child > span { color: var(--lime); }
.hero__sub { margin-top: 24px; max-width: min(40ch, 40vw); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.45; color: rgba(255, 255, 255, .85); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__card { position: absolute; z-index: 2; width: clamp(120px, 12vw, 190px); aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .18); background: var(--navy); }
.hero__card video { width: 100%; height: 100%; object-fit: cover; }
.hero__card figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(16, 22, 43, .65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; }
.hero__card--a { right: clamp(150px, 19vw, 300px); top: 22%; transform: rotate(-4deg); }
.hero__card--b { right: clamp(24px, 5vw, 80px); top: 36%; transform: rotate(3deg); }
.hero__facts { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; pointer-events: none; }
.hero__facts li { display: flex; align-items: baseline; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .25); }
.hero__facts strong { font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -.03em; color: var(--lime); line-height: 1; }
.hero__facts span { font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .8); }
.hero__scroll { position: absolute; z-index: 3; right: var(--pad); bottom: clamp(96px, 14vh, 150px); display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .7); writing-mode: vertical-rl; }
.hero__scroll span { width: 1px; height: 56px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.js .hero__facts { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
	.js .hero__frame { clip-path: inset(13% 5% 13% 46% round 28px); }
	.js .hero__shade { opacity: .45; }
}
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
	.js .hero__frame { clip-path: inset(0 0 0 0 round 0); }
	.js .hero__shade { opacity: 1; }
}

/* ---------- Tagline con revelado por palabras ---------- */
.tagline { padding: clamp(96px, 14vw, 200px) 0; }
.tagline__text { font-size: clamp(30px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; max-width: 22ch; color: var(--navy); }
.tagline__text--sm { font-size: clamp(24px, 3vw, 40px); max-width: 30ch; }
.js [data-words] .w { color: rgba(25, 33, 60, .22); transition: color .6s var(--ease); }
.js [data-words] .w.is-lit { color: var(--navy); }
[data-theme="dark"] .tagline__text { color: #fff; }

/* ---------- Cifras ---------- */
.stats { background: var(--navy); color: #fff; padding: clamp(72px, 9vw, 128px) 0 48px; }
.stats--light { background: var(--paper-2); color: var(--navy); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { padding-top: 24px; border-top: 1px solid var(--line-d); }
.stats--light .stat { border-color: var(--line); }
.stat strong { display: block; font-size: clamp(52px, 6.4vw, 104px); line-height: 1; font-weight: 500; letter-spacing: -.05em; color: var(--lime); font-variant-numeric: tabular-nums; }
.stats--light .stat strong { color: var(--navy); }
.stat strong em { font-style: normal; color: rgba(255, 255, 255, .35); }
.stats--light .stat strong em { color: var(--olive); }
.stat strong small { font-size: .32em; letter-spacing: 0; vertical-align: .9em; font-weight: 600; }
.stat p { margin-top: 12px; font-size: 16px; color: var(--muted-d); max-width: 24ch; }
.stats--light .stat p { color: var(--muted); }
.stats__note { margin-top: 48px; font-size: 12px; line-height: 16px; color: var(--muted-d); }
.stats--light .stats__note { color: var(--muted); }

/* ---------- Así trabajamos ---------- */
.work { padding: clamp(96px, 12vw, 168px) 0; overflow: hidden; }
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.work__copy .lead { margin: 24px 0 32px; }
.work__vids { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.work__vids .vcard:last-child { margin-top: 64px; }
.vcard { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 9 / 16; background: var(--navy); }
.vcard video { width: 100%; height: 100%; object-fit: cover; }
.vcard figcaption { position: absolute; inset: auto 12px 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: #fff; font-weight: 500; font-size: 16px; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }

/* ---------- Proceso (horizontal) ---------- */
.process { background: var(--navy-d); color: #fff; overflow: hidden; }
.process__pin { padding: clamp(96px, 10vw, 140px) 0; }
.process__head { margin-bottom: 56px; }
.process__track { display: flex; gap: 20px; padding-inline: var(--pad); width: max-content; }
.pstep { position: relative; width: clamp(300px, 30vw, 440px); min-height: 380px; padding: 32px; border-radius: var(--r-lg); background: var(--navy-l); box-shadow: inset 0 0 0 1px var(--line-d); display: flex; flex-direction: column; }
.pstep__n { font-size: clamp(64px, 7vw, 120px); line-height: 1; font-weight: 500; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(147, 192, 31, .7); margin-bottom: auto; }
.pstep h3 { font-size: 30px; line-height: 36px; margin: 40px 0 12px; }
.pstep p { color: var(--muted-d); }
.pstep--cta { background: var(--lime); color: var(--navy); justify-content: flex-end; gap: 24px; }
.pstep--cta p { color: var(--navy); font-size: 30px; line-height: 36px; font-weight: 500; letter-spacing: -.02em; }
.pstep--cta .btn { --bg: var(--navy); --fg: #fff; align-self: flex-start; }

/* ---------- Mitjana ---------- */
.mj { position: relative; background: var(--navy-d); color: #fff; padding-top: clamp(96px, 10vw, 140px); overflow: hidden; }
.mj::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 55%, rgba(147, 192, 31, .08), transparent 70%); pointer-events: none; }
.mj--compact { padding-top: 96px; }
.mj__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; position: relative; }
.mj__title { font-size: clamp(72px, 15vw, 240px); line-height: .8; letter-spacing: -.06em; font-weight: 500; }
.mj__intro p { color: var(--muted-d); font-size: 18px; margin-bottom: 20px; max-width: 46ch; }
.mj__pin { position: relative; height: 100svh; min-height: 620px; display: flex; align-items: center; }
.mj__stage { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: center; height: calc(100svh - 120px); max-height: 760px; }
.mj__viewport { position: relative; height: 100%; border-radius: var(--r-lg); background: #0c1124; box-shadow: inset 0 0 0 1px var(--line-d); overflow: hidden; perspective: 1800px; }
.mj__canvas { position: absolute; inset: 24px; transform-origin: 50% 50%; transition: transform 1.2s var(--ease); transform-style: preserve-3d; will-change: transform; }
.mj__svg { width: 100%; height: 100%; overflow: visible; }
.mj__grid { color: rgba(255, 255, 255, .05); }
.mj__lines .pl-wall { fill: none; stroke: #eef1f8; stroke-width: 1.4; stroke-linecap: round; }
.mj__lines .pl-fx { fill: none; stroke: #7f8bb0; stroke-width: .6; }
.mj__lines .pl-hatch { fill: none; stroke: #3a4672; stroke-width: .6; }
.mj__room { cursor: pointer; outline: none; }
.mj__room rect { fill: rgba(147, 192, 31, 0); stroke: rgba(147, 192, 31, 0); stroke-width: 1.5; transition: fill .5s var(--ease), stroke .5s var(--ease); }
.mj__room text { fill: rgba(255, 255, 255, .55); font-size: 13px; font-weight: 600; letter-spacing: .02em; text-anchor: middle; dominant-baseline: middle; pointer-events: none; transition: fill .4s, opacity .6s var(--ease); font-family: inherit; }
.mj__room:hover rect, .mj__room:focus-visible rect { fill: rgba(147, 192, 31, .12); stroke: rgba(147, 192, 31, .6); }
.mj__room.is-active rect { fill: rgba(147, 192, 31, .2); stroke: var(--lime); }
.mj__room.is-active text, .mj__room:hover text { fill: #fff; }
.js .mj__room text { opacity: 0; }
.js .mj.labels-on .mj__room text { opacity: 1; }
.mj__compass { position: absolute; right: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-d); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--lime); transform: rotate(90deg); }
.mj__compass span { transform: rotate(-90deg); }
.mj__hint { position: absolute; left: 20px; bottom: 16px; font-size: 12px; color: var(--muted-d); transition: opacity .5s; }
.mj.is-drawn .mj__hint { opacity: 0; }
.mj__panel { padding: 28px; border-radius: var(--r-lg); background: var(--navy-l); box-shadow: inset 0 0 0 1px var(--line-d); }
.mj__step { font-size: 14px; color: var(--muted-d); font-variant-numeric: tabular-nums; margin-bottom: 20px; }
.mj__step span { color: var(--lime); font-weight: 600; }
.mj__room-name { font-size: 30px; line-height: 36px; margin-bottom: 6px; }
.mj__room-dim { font-size: 14px; color: var(--lime); font-weight: 600; min-height: 20px; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.mj__room-desc { color: #d4d9e8; min-height: 72px; }
.mj__progress { height: 2px; background: var(--line-d); border-radius: 2px; margin: 24px 0; overflow: hidden; }
.mj__progress span { display: block; height: 100%; width: 0; background: var(--lime); }
.mj__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.mj__note { margin-top: 20px; font-size: 12px; line-height: 16px; color: var(--muted-d); }
.mj__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 48px; padding-bottom: clamp(96px, 10vw, 140px); }
.mj__panel .mj__room-name, .mj__panel .mj__room-desc, .mj__panel .mj__room-dim { transition: opacity .3s var(--ease), transform .5s var(--ease); }
.mj__panel.is-swap .mj__room-name, .mj__panel.is-swap .mj__room-desc, .mj__panel.is-swap .mj__room-dim { opacity: 0; transform: translateY(8px); }
/* Vista 3D: maqueta isométrica con muros "extruidos" */
.mj.is-3d .mj__canvas { transform: rotateX(54deg) rotateZ(-28deg) scale(.92) !important; }
.mj.is-3d .mj__lines .pl-wall { stroke: #fff; filter: drop-shadow(0 -1px 0 #9aa6c9) drop-shadow(0 -1px 0 #8693ba) drop-shadow(0 -1px 0 #7280ab) drop-shadow(0 -1px 0 #5f6d9c) drop-shadow(0 -1px 0 #4c5a8c) drop-shadow(0 -1px 0 #3b487a); }
.mj.is-3d .mj__room text { transform-box: fill-box; }
.mj.is-3d .mj__viewport { background: radial-gradient(80% 80% at 50% 40%, #182045, #0c1124); }

/* ---------- Cabecera de sección ---------- */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .h2 { max-width: 18ch; }

/* ---------- Proyectos ---------- */
.projects { padding: clamp(96px, 11vw, 160px) 0; }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 32px; }
.pgrid > .pc:nth-child(even) { margin-top: 96px; }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
.pgrid--3 > .pc:nth-child(even), .pgrid--all > .pc:nth-child(even) { margin-top: 0; }
.pgrid--all { grid-template-columns: repeat(3, 1fr); gap: 48px 24px; }
.pc__link { display: block; }
.pc__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.pc__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.pc__link:hover .pc__media img { transform: scale(1.08); }
.pc__plan { width: 100%; height: 100%; object-fit: contain !important; padding: 8%; background: #0c1124; }
.pc__media:has(.pc__plan) { background: #0c1124; }
.pc__media .tag { position: absolute; top: 16px; left: 16px; }
.pc__body { padding-top: 20px; }
.pc__city { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.pc__title { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; margin-top: 6px; transition: color .3s; }
.pc__link:hover .pc__title { color: var(--olive); }
.pc__nums { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.pc__nums dt { font-size: 12px; line-height: 16px; color: var(--muted); }
.pc__nums dd { font-size: 18px; line-height: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pc__kind { margin-top: 8px; color: var(--muted); }
.pc.is-hidden { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.filter { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s; }
.filter:hover { background: rgba(25, 33, 60, .06); }
.filter.is-on { background: var(--navy); color: #fff; box-shadow: none; }
.filter sup { color: inherit; opacity: .6; }

/* Cursor "Ver" sobre tarjetas */
.cursor-tag { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; padding: 10px 16px; border-radius: 999px; background: var(--lime); color: var(--navy); font-weight: 600; font-size: 14px; transform: translate(-50%, -50%) scale(0); transition: transform .4s var(--ease); }
.cursor-tag.is-on { transform: translate(-50%, -50%) scale(1); }

/* ---------- Servicios ---------- */
.services { position: relative; padding: 0 0 clamp(96px, 11vw, 160px); }
.svc { border-top: 1px solid var(--line); }
.svc__item { position: relative; display: grid; grid-template-columns: 64px 1.1fr 1fr; gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.svc__item::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; border-radius: 8px; }
.svc__n { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc__t { font-size: clamp(26px, 3vw, 44px); line-height: 1.05; transition: color .4s, transform .6s var(--ease); }
.svc__d { color: var(--muted); max-width: 46ch; transition: color .4s; }
@media (hover: hover) {
	.svc__item:hover { padding-inline: 24px; }
	.svc__item:hover::before { transform: scaleY(1); }
	.svc__item:hover .svc__t { color: #fff; }
	.svc__item:hover .svc__d, .svc__item:hover .svc__n { color: var(--muted-d); }
}
.svc { position: relative; z-index: 0; }
.svc__float { position: fixed; left: 0; top: 0; z-index: 5; width: 280px; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.8); transition: opacity .3s, transform .5s var(--ease); box-shadow: 0 30px 60px -20px rgba(16, 22, 43, .5); }
.svc__float.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.svc__float img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Equipo ---------- */
.team-strip { padding: 0 0 clamp(96px, 11vw, 160px); }
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tcard__ph { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); margin-bottom: 16px; }
.tcard__ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.tcard a:hover img { filter: none; transform: scale(1.04); }
.tcard h3 { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; }
.tcard p { color: var(--muted); font-size: 14px; }

/* ---------- Testimonios ---------- */
.reviews { background: var(--navy); color: #fff; padding: clamp(96px, 10vw, 140px) 0; overflow: hidden; }
.marquee { margin-top: 24px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
.review { width: clamp(300px, 34vw, 480px); padding: 32px; border-radius: var(--r-lg); background: var(--navy-l); box-shadow: inset 0 0 0 1px var(--line-d); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.review blockquote { font-size: 20px; line-height: 28px; letter-spacing: -.01em; }
.review blockquote::before { content: "“"; display: block; font-size: 64px; line-height: .6; color: var(--lime); margin-bottom: 8px; }
.review figcaption { display: flex; flex-direction: column; }
.review figcaption span { font-size: 14px; color: var(--muted-d); }

/* ---------- Prensa ---------- */
.press { padding: clamp(96px, 11vw, 160px) 0 0; }
.press__list { border-top: 1px solid var(--line); }
.press__list a { display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), color .3s; }
.press__list a:hover { padding-inline: 16px; color: var(--olive); }
.press__src { font-size: 14px; font-weight: 600; color: var(--muted); }
.press__t { font-size: clamp(20px, 2vw, 28px); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.press__go { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, transform .5s var(--ease); }
.press__list a:hover .press__go { background: var(--navy); color: var(--lime); transform: rotate(45deg); }

/* ---------- FAQ ---------- */
.faq-sec { padding: clamp(96px, 11vw, 160px) 0; }
.faq-sec__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-sec__grid > div:first-child { position: sticky; top: 120px; }
.faq-sec__grid .h2 { margin-bottom: 24px; }
.faq-sec__side { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: grid; grid-template-columns: 40px 1fr 40px; gap: 16px; align-items: center; padding: 24px 0; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__n { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.faq__q { font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -.01em; }
.faq__ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), background .3s, color .3s; }
.faq__item[open] .faq__ic { transform: rotate(45deg); background: var(--navy); color: var(--lime); box-shadow: none; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__item[open] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; padding-left: 56px; color: var(--muted); }
.faq__a > div > p:last-child { padding-bottom: 24px; }

/* ---------- Embudo ---------- */
.fn { background: var(--navy); color: #fff; padding: clamp(96px, 10vw, 140px) 0; scroll-margin-top: 40px; }
.fn__wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.fn__intro .h2 { margin-bottom: 24px; }
.fn__intro .lead { margin-bottom: 40px; }
.fn__facts { display: grid; gap: 0; margin-bottom: 32px; border-top: 1px solid var(--line-d); }
.fn__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.fn__facts dt { color: var(--muted-d); }
.fn__facts dd { font-weight: 600; color: var(--lime); font-variant-numeric: tabular-nums; }
.fn__wa { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .4); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.fn__wa:hover { color: var(--lime); border-color: var(--lime); }
.fn__form { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--navy-l); box-shadow: inset 0 0 0 1px var(--line-d), 0 40px 80px -40px rgba(0, 0, 0, .6); min-height: 520px; }
.fn__progress { height: 3px; border-radius: 3px; background: var(--line-d); overflow: hidden; }
.fn__progress span { display: block; height: 100%; width: 33.333%; background: var(--lime); transition: width .6s var(--ease); }
.fn__count { margin: 12px 0 24px; font-size: 14px; color: var(--muted-d); font-variant-numeric: tabular-nums; }
.fn__step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.fn__step.is-on { display: block; animation: stepIn .6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.fn__q { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -.02em; margin-bottom: 24px; padding: 0; }
.fn__label { font-size: 14px; font-weight: 500; color: var(--muted-d); margin: 24px 0 10px; }
.fn__label:first-of-type { margin-top: 0; }
.opts { display: grid; gap: 8px; }
.opts--2 { grid-template-columns: repeat(2, 1fr); }
.opts--3 { grid-template-columns: repeat(3, 1fr); }
.opts--4 { grid-template-columns: repeat(2, 1fr); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 16px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-d); transition: background .3s, box-shadow .3s, color .3s, transform .4s var(--ease); }
.opt:hover .opt__box { background: rgba(255, 255, 255, .05); }
.opt__txt { font-weight: 500; line-height: 1.3; }
.opt__tick { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-d); color: transparent; transition: background .3s, color .3s; }
.opt input:checked + .opt__box { background: rgba(147, 192, 31, .12); box-shadow: inset 0 0 0 1.5px var(--lime); }
.opt input:checked + .opt__box .opt__tick { background: var(--lime); color: var(--navy); box-shadow: none; }
.opt input:focus-visible + .opt__box { outline: 2px solid var(--lime); outline-offset: 2px; }
.opt:active .opt__box { transform: scale(.98); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: 14px; font-weight: 500; color: var(--muted-d); }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-d); color: #fff; transition: box-shadow .3s, background .3s; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--lime); background: rgba(255, 255, 255, .09); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #ff8a7a; }
.field textarea { resize: vertical; min-height: 96px; }
.fn__legal { margin-top: 16px; font-size: 12px; line-height: 16px; color: var(--muted-d); }
.fn__legal a { text-decoration: underline; }
.fn__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.fn__nav [data-fn-next], .fn__nav [data-fn-submit] { margin-left: auto; }
.form-msg { margin-top: 12px; min-height: 20px; font-size: 14px; color: #ffb4a8; }
.form-msg.is-ok { color: var(--lime); }
.fn__done { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; padding: clamp(24px, 4vw, 56px); border-radius: inherit; background: var(--navy-l); animation: stepIn .7s var(--ease); }
.fn__done[hidden] { display: none; }
.fn__done h3 { font-size: 36px; line-height: 40px; }
.fn__done p { color: var(--muted-d); max-width: 40ch; }
.fn__done-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--navy); }
.is-loading [data-fn-submit] { opacity: .6; pointer-events: none; }

/* ---------- Pie ---------- */
.ftr { background: var(--navy-d); color: #fff; padding-top: clamp(96px, 10vw, 140px); overflow: hidden; }
.ftr__cta { padding-bottom: clamp(72px, 8vw, 120px); border-bottom: 1px solid var(--line-d); }
.home .ftr__cta, .is-invertir .ftr__cta, .is-contactos .ftr__cta, .is-preguntas-frecuentes .ftr__cta, .single-post .ftr__cta, .is-nosotros .ftr__cta, .is-servicios .ftr__cta, .is-proyectos .ftr__cta { display: none; }
.ftr__title { font-size: var(--fs-h1); max-width: 16ch; letter-spacing: -.04em; line-height: 1; }
.ftr__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.ftr__grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.3fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.ftr__brand img { width: 190px; margin-bottom: 20px; }
.ftr__brand p { color: var(--muted-d); max-width: 34ch; font-size: 14px; }
.ftr__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ftr__col h3, .ftr__news h3 { font-size: 14px; line-height: 20px; color: var(--muted-d); font-weight: 500; letter-spacing: 0; margin-bottom: 6px; }
.ftr__col a:hover { color: var(--lime); }
.ftr__col address { font-style: normal; }
.ftr__social { display: flex; gap: 8px; margin-top: 8px; }
.ftr__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-d); transition: background .3s, color .3s; }
.ftr__social a:hover { background: var(--lime); color: var(--navy); }
.ftr__news p { font-size: 14px; color: var(--muted-d); margin-bottom: 16px; }
.ftr__news-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-d); }
.ftr__news-row input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 0 12px; }
.ftr__news-row input:focus { outline: none; }
.ftr__news-row:focus-within { box-shadow: inset 0 0 0 1.5px var(--lime); }
.ftr__news .form-msg { margin-top: 8px; }
.ftr__mark { line-height: .75; font-size: 34vw; font-weight: 600; letter-spacing: -.07em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1); user-select: none; margin-bottom: -.12em; overflow: hidden; }
.ftr__mark span { display: inline-block; background: linear-gradient(90deg, var(--lime), var(--lime)) no-repeat left / var(--fill, 0%) 100%; -webkit-background-clip: text; background-clip: text; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 32px; border-top: 1px solid var(--line-d); font-size: 12px; line-height: 16px; color: var(--muted-d); }
.ftr__bottom a:hover { color: #fff; }

.wa-bubble { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 16px 40px -12px rgba(16, 22, 43, .5); transition: transform .5s var(--ease); }
.wa-bubble:hover { transform: scale(1.06); }
.wa-bubble__tip { position: absolute; right: 72px; padding: 8px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .5s var(--ease); pointer-events: none; }
.wa-bubble:hover .wa-bubble__tip { opacity: 1; transform: none; }
.menu-open .wa-bubble { opacity: 0; pointer-events: none; }

/* ---------- Páginas internas ---------- */
.phero { padding: calc(var(--hdr) + clamp(72px, 10vw, 140px)) 0 clamp(64px, 7vw, 104px); }
.phero--dark { background: var(--navy-d); color: #fff; }
.phero__title { font-size: var(--fs-h1); max-width: 16ch; letter-spacing: -.045em; line-height: .98; }
.phero__lead { margin-top: 32px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--muted); max-width: 52ch; }
.phero--dark .phero__lead { color: var(--muted-d); }
.phero__media { margin-top: clamp(48px, 6vw, 88px); }
.phero__img { aspect-ratio: 16 / 7; border-radius: var(--r-lg); overflow: hidden; }
.phero__img img { width: 100%; height: 115%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 40px; }
[data-theme="dark"] .crumbs { color: var(--muted-d); }
.crumbs a:hover { color: var(--olive); }
[data-theme="dark"] .crumbs a:hover { color: var(--lime); }

.story { padding: clamp(96px, 11vw, 160px) 0; }
.story__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.story__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; color: var(--muted); font-size: 18px; }
.values { background: var(--navy); color: #fff; padding: clamp(96px, 10vw, 140px) 0; }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.values__grid li { padding: 32px; border-radius: var(--r-lg); background: var(--navy-l); box-shadow: inset 0 0 0 1px var(--line-d); min-height: 300px; display: flex; flex-direction: column; }
.values__grid span { color: var(--lime); font-weight: 600; margin-bottom: auto; }
.values__grid h3 { font-size: 30px; line-height: 36px; margin: 48px 0 12px; }
.values__grid p { color: var(--muted-d); }
.team { padding: clamp(96px, 11vw, 160px) 0; }
.team__list { display: grid; gap: 24px; }
.member { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(24px, 4vw, 64px); padding: 24px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--line); scroll-margin-top: 120px; }
.member__ph { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); display: grid; place-items: center; }
.member__ph img { width: 100%; height: 100%; object-fit: cover; }
.member__ini { font-size: 120px; font-weight: 500; color: var(--navy); opacity: .2; }
.member__body { padding: 16px 0; display: flex; flex-direction: column; }
.member__role { font-size: 14px; font-weight: 600; color: var(--olive); }
.member__name { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.05; margin: 8px 0 24px; }
.member__bio { color: var(--muted); display: grid; gap: 12px; max-width: 64ch; }
.member__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.member__links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; transition: background .3s, color .3s; }
.member__links a:hover { background: var(--navy); color: #fff; }

.svc-full { padding: 0 0 clamp(96px, 11vw, 160px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.svc-row--rev .svc-row__img { order: 2; }
.svc-row__img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; }
.svc-row__img > div { height: 115%; }
.svc-row__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-row__txt .h3 { margin: 12px 0 16px; }
.benefits { background: var(--navy); color: #fff; padding: clamp(96px, 10vw, 140px) 0; }
.benefits__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.benefits__grid .h2 { margin-bottom: 24px; }
.checks { border-top: 1px solid var(--line-d); }
.checks li { display: flex; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-d); font-size: 20px; line-height: 28px; }
.checks .ic { color: var(--navy); background: var(--lime); border-radius: 50%; padding: 4px; width: 32px; height: 32px; }

/* Ficha de proyecto */
.ph { position: relative; min-height: 88svh; display: flex; align-items: flex-end; background: var(--navy-d); color: #fff; overflow: hidden; }
.ph__media { position: absolute; inset: 0; }
.ph__img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 30%; }
.ph__img--plan { object-fit: contain; padding: 14vh 6vw 34vh; opacity: .55; }
.ph__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 22, 43, .55), rgba(16, 22, 43, .1) 40%, rgba(16, 22, 43, .9)); }
.ph__in { position: relative; z-index: 2; padding-top: 160px; padding-bottom: clamp(48px, 7vw, 96px); }
.ph__in .crumbs { color: rgba(255, 255, 255, .75); }
.ph__title { font-size: var(--fs-display); line-height: .92; letter-spacing: -.05em; margin: 20px 0 16px; }
.ph__city { display: flex; align-items: center; gap: 8px; font-size: 18px; color: rgba(255, 255, 255, .85); }
.pnums { padding: 48px 0; background: #fff; border-bottom: 1px solid var(--line); }
.pnums__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.pnums dt { font-size: 14px; color: var(--muted); }
.pnums dd { font-size: clamp(30px, 3.2vw, 48px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pstory { padding: clamp(80px, 9vw, 140px) 0; }
.pstory__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.prose { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { color: var(--navy); margin-top: 1.6em; }
.prose a { color: var(--navy); text-decoration: underline; }
.prose img { border-radius: var(--r); }
.pstory .prose { margin-top: 32px; }
.ba-sec { padding: 0 0 clamp(80px, 9vw, 140px); }
.ba { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; user-select: none; touch-action: pan-y; }
.ba__img { position: absolute; inset: 0; }
.ba__img img { width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__lbl { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(16, 22, 43, .7); color: #fff; font-size: 12px; font-weight: 600; backdrop-filter: blur(8px); }
.ba__lbl--b { left: 16px; }
.ba__lbl--a { right: 16px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; border-radius: 50%; background: var(--lime); transform: translate(-50%, -50%); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.ba__handle span::before, .ba__handle span::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border: solid var(--navy); border-width: 0 0 2px 2px; }
.ba__handle span::before { left: 15px; transform: translateY(-50%) rotate(45deg); }
.ba__handle span::after { right: 15px; transform: translateY(-50%) rotate(-135deg); }
.gallery-sec { padding: 0 0 clamp(80px, 9vw, 140px); }
.gal { columns: 3 280px; column-gap: 16px; }
.gal__item { display: block; width: 100%; margin-bottom: 16px; border-radius: var(--r); overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.gal__item img { width: 100%; transition: transform 1s var(--ease); }
.gal__item:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(10, 14, 28, .94); padding: 64px 80px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; object-fit: contain; }
.lightbox__x { position: absolute; top: 20px; right: 20px; color: #fff; width: 48px; height: 48px; display: grid; place-items: center; }
.lightbox__nav { position: absolute; top: 50%; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; transform: translateY(-50%); }
.lightbox__prev { left: 16px; }
.lightbox__prev .ic { transform: rotate(180deg); }
.lightbox__next { right: 16px; }
.pvideo { background: var(--navy); color: #fff; padding: clamp(80px, 9vw, 140px) 0; }
.pvideo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pvideo__player { position: relative; aspect-ratio: 9 / 12; max-height: 76svh; border-radius: var(--r-lg); overflow: hidden; background: #000; justify-self: center; width: min(100%, 460px); }
.pvideo__player img, .pvideo__player video { width: 100%; height: 100%; object-fit: cover; }
.pvideo__play { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; transition: transform .5s var(--ease); }
.pvideo__play:hover { transform: scale(1.08); }

.news { padding: 0 0 clamp(96px, 11vw, 160px); }
.ngrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
.ncard__media { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); margin-bottom: 20px; }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ncard a:hover img { transform: scale(1.05); }
.ncard__meta { display: flex; gap: 16px; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.ncard__meta span { font-weight: 600; color: var(--olive); }
.ncard__t { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; margin-bottom: 16px; }
.article { padding: 0 0 clamp(96px, 11vw, 160px); }
.article__grid { display: grid; grid-template-columns: 1fr 2.4fr; gap: 48px; }
.article__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; color: var(--muted); font-size: 14px; }
.article__note { font-style: normal; }

.contact { padding: 0 0 clamp(64px, 7vw, 104px); }
.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ccard { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 240px; padding: 28px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), background .3s, color .3s; }
.ccard > .ic:first-child { margin-bottom: auto; color: var(--olive); }
.ccard__t { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -.02em; }
.ccard__d { font-size: 14px; color: var(--muted); }
.ccard__go { position: absolute; top: 24px; right: 24px; transition: transform .5s var(--ease); }
.ccard:hover { transform: translateY(-4px); background: var(--navy); color: #fff; }
.ccard:hover .ccard__d { color: var(--muted-d); }
.ccard:hover > .ic:first-child { color: var(--lime); }
.ccard:hover .ccard__go { transform: rotate(45deg); }
.ccard--wa { background: var(--lime); box-shadow: none; }
.ccard--wa > .ic:first-child, .ccard--wa .ccard__d { color: var(--navy); }

.invest-top { height: var(--hdr); background: var(--navy); }
.is-invertir .fn { padding-top: calc(var(--hdr) + 40px); }

.e404 { min-height: 100svh; display: flex; align-items: center; background: var(--navy-d); color: #fff; padding: 160px 0 96px; }
.e404__n { font-size: clamp(120px, 26vw, 360px); line-height: .8; font-weight: 500; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px var(--lime); margin-bottom: 32px; }
.e404 .lead { margin: 20px 0 32px; }
.e404__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Animaciones de entrada (solo con JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-clip-reveal] { clip-path: inset(12% 6% 12% 6% round 24px); transition: clip-path 1.4s var(--ease); }
.js [data-clip-reveal].is-in { clip-path: inset(0 0 0 0 round 24px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.hdr__quick { display: none; }
	.menu__panel { grid-template-columns: 1fr; }
	.menu__preview { display: none; }
	.ftr__grid { grid-template-columns: 1fr 1fr; }
	.cgrid { grid-template-columns: 1fr 1fr; }
	.pgrid--all { grid-template-columns: repeat(2, 1fr); }
	.mj__stage { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 16px; height: calc(100svh - 100px); }
	.mj__panel { padding: 20px; }
	.mj__panel .mj__room-desc { min-height: 0; }
	.mj__note, .mj__progress { display: none; }
}
@media (max-width: 900px) {
	:root { --hdr: 68px; }
	.hero__card--a { display: none; }
	.hero__card--b { top: 18%; right: 20px; width: 110px; }
	.hero__facts { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
	.hero__facts li { flex-direction: column; gap: 4px; }
	.hero__facts span { font-size: 12px; line-height: 16px; }
	.hero__content { bottom: 150px; }
	.hero__scroll { display: none; }
	.stats__grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
	.work__grid, .fn__wrap, .faq-sec__grid, .benefits__grid, .story__grid, .pstory__grid, .article__grid, .pvideo__grid, .mj__head, .svc-row { grid-template-columns: 1fr; }
	.svc-row--rev .svc-row__img { order: 0; }
	.faq-sec__grid > div:first-child { position: static; }
	.pgrid, .pgrid--3, .pgrid--all, .ngrid { grid-template-columns: 1fr; }
	.pgrid > .pc:nth-child(even) { margin-top: 0; }
	.tgrid { grid-template-columns: 1fr 1fr; }
	.values__grid { grid-template-columns: 1fr; }
	.story__cols { grid-template-columns: 1fr; }
	.member { grid-template-columns: 1fr; padding: 16px; }
	.member__ph { aspect-ratio: 1; }
	.svc__item { grid-template-columns: 40px 1fr; }
	.svc__d { grid-column: 2; }
	.press__list a { grid-template-columns: 1fr auto; }
	.press__src { grid-column: 1 / -1; }
	.process__track { flex-direction: column; width: auto; }
	.pstep { width: auto; min-height: 0; }
	.pstep h3 { margin-top: 24px; }
	.ph__title { font-size: clamp(44px, 13vw, 96px); }
}
@media (max-width: 600px) {
	.hdr__cta { display: none; }
	.hdr__bar { padding-left: 14px; }
	.hdr__logo { width: 104px; height: 44px; }
	.menu-btn__label { display: none; }
	.menu-btn { padding: 8px; }
	.hero__title { font-size: clamp(40px, 12.4vw, 64px); }
	.hero__ctas .btn { flex: 1 1 100%; }
	.opts--2, .opts--3, .opts--4, .fields { grid-template-columns: 1fr; }
	.fn__form { min-height: 0; }
	.ftr__grid { grid-template-columns: 1fr; }
	.cgrid { grid-template-columns: 1fr; }
	.tgrid { gap: 16px; }
	.ba { aspect-ratio: 4 / 5; }
	.lightbox { padding: 64px 12px; }
	.lightbox__nav { top: auto; bottom: 16px; transform: none; }
	.mj__pin { min-height: 560px; }
	.mj__tools .chip-btn { flex: 1; justify-content: center; }
	.faq__a > div { padding-left: 0; }
	.faq__item summary { grid-template-columns: 1fr 40px; }
	.faq__n { display: none; }
	.wa-bubble { width: 54px; height: 54px; }
}


@media (max-width: 700px) {
	.mj__head { margin-bottom: 24px; gap: 20px; }
	.mj__stage { height: calc(100svh - 84px); gap: 10px; padding-top: 8px; }
	.mj__viewport { border-radius: 18px; }
	.mj__canvas { inset: 10px; }
	.mj__panel { padding: 14px 16px; border-radius: 18px; }
	.mj__step { margin-bottom: 6px; font-size: 12px; }
	.mj__room-name { font-size: 22px; line-height: 28px; margin-bottom: 2px; }
	.mj__room-dim { margin-bottom: 4px; }
	.mj__room-desc { font-size: 14px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; }
	.mj__tools .chip-btn { padding: 6px 10px; font-size: 13px; }
	.mj__compass { width: 32px; height: 32px; top: 10px; right: 10px; }
	.mj__room text { font-size: 18px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.js [data-clip-reveal] { clip-path: none; }
	.js [data-words] .w { color: inherit; }
	.js .hero__facts { opacity: 1; }
	.marquee__track { animation: none; flex-wrap: wrap; width: auto; padding-inline: var(--pad); }
	.marquee__track > [aria-hidden="true"] { display: none; }
}

/* Ajustes finales del hero en móvil */
@media (max-width: 900px) { .hero__sub { max-width: 40ch; } }
@media (max-width: 600px) { .hero__card { display: none; } .hero__content { bottom: 140px; } }

/* Pie: la marca FCIC no se monta sobre la línea legal */
.ftr__mark { margin-bottom: 0; padding-bottom: .04em; line-height: .82; }
.ftr__bottom { position: relative; z-index: 1; background: var(--navy-d); }
