/* ==========================================================================
   Bilú — estilos del sitio
   Paleta y tipografía tomadas de la landing de referencia.
   ========================================================================== */

@font-face { font-family: "Prata"; src: url("../fonts/prata-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
	--navy: #0b2436;
	--navy-2: #123249;
	--navy-deep: #0a1d2c;
	--gold: #b8935a;
	--gold-dark: #9c7a45;
	--gold-light: #d4b98c;
	--cream: #f3eddc;
	--cream-2: #ebe2ca;
	--ink: #16232b;
	--muted: #56626b;
	--line: rgba(11, 36, 54, .14);
	--line-light: rgba(255, 255, 255, .18);
	--white: #fff;

	--serif: "Prata", Georgia, "Times New Roman", serif;
	--sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--container: 1180px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(64px, 9vw, 120px);
	--header-h: 76px;
	--radius: 2px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
strong, b { font-weight: 500; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; letter-spacing: .01em; color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--navy); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(780px + var(--gutter) * 2); }
.center { text-align: center; }
.icon, svg[class^="icon"] { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Tipografía de sección ---------- */
.section { padding-block: var(--section); }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy .lead, .section-navy p { color: rgba(255, 255, 255, .82); }

.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.eyebrow-line { display: flex; align-items: center; gap: 16px; }
.eyebrow-line::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { max-width: 760px; margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(30px, 4.2vw, 46px); margin: 0; }
.section-title em, .display em, .hero-title em, .page-title em { color: var(--gold); }
.section-cream .section-title em { color: var(--gold-dark); }
.display { font-size: clamp(30px, 4.4vw, 48px); margin: 36px 0 24px; }
.sub-title { font-size: clamp(22px, 2.4vw, 28px); margin: 64px 0 28px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }
.note { color: var(--muted); margin-top: 40px; }
.note a { color: var(--gold-dark); }
.prose p { color: var(--muted); }
.section-navy .prose p { color: rgba(255, 255, 255, .82); }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head-row .section-head { margin: 0; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 34px; border: 1px solid transparent; background: transparent; border-radius: var(--radius); font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-sm { min-height: 44px; padding: 10px 22px; font-size: 12px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn-row.center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--gold-dark); }
.section-navy .link-arrow { color: var(--gold); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

.badge { display: inline-block; padding: 7px 14px; background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 22px; }
.badge-sold { background: var(--white); color: var(--navy); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(11, 36, 54, .97); color: var(--white); transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.has-hero .site-header { position: fixed; inset: 0 0 auto; background: linear-gradient(rgba(5, 18, 28, .6), rgba(5, 18, 28, 0)); }
.has-hero .site-header.is-scrolled, .has-hero.menu-open .site-header { background: rgba(11, 36, 54, .97); box-shadow: 0 1px 0 var(--line-light); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; }
.brand img { width: 92px; height: auto; }
.main-nav { margin-inline: auto; }
.menu { display: flex; gap: clamp(14px, 2vw, 30px); }
.menu > li { position: relative; display: flex; align-items: center; }
.menu > li > a { position: relative; display: block; padding: 10px 0; font-size: 12.5px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: rgba(255, 255, 255, .88); white-space: nowrap; }
.menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu > li > a:hover, .menu > li > a[aria-current] { color: var(--white); }
.menu > li > a:hover::after, .menu > li > a[aria-current]::after, .menu > li:focus-within > a::after { transform: scaleX(1); }
.sub-toggle { display: none; background: none; border: 0; color: inherit; cursor: pointer; }
.sub-menu { position: absolute; top: 100%; left: -20px; min-width: 220px; padding: 10px 0; background: var(--navy); border-top: 1px solid var(--gold); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sub-menu a { display: block; padding: 9px 22px; font-size: 14px; text-decoration: none; color: rgba(255, 255, 255, .85); }
.sub-menu a:hover { color: var(--gold); background: rgba(255, 255, 255, .04); }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 20px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; text-decoration: none; letter-spacing: .04em; }
.header-phone .icon { color: var(--gold); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: var(--white); cursor: pointer; }
.menu-toggle .icon { width: 26px; height: 26px; }
.menu-toggle .icon-close { display: none; }

@media (max-width: 1240px) { .header-phone span { display: none; } }
@media (max-width: 1080px) {
	.header-actions { margin-left: auto; }
	.menu-toggle { display: inline-flex; margin-right: -10px; }
	.header-cta, .header-phone { display: none; }
	.main-nav { position: fixed; inset: var(--header-h) 0 0; background: var(--navy); padding: 24px var(--gutter) 48px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
	.menu-open .main-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.menu-open { overflow: hidden; }
	.menu-open .menu-toggle .icon-open { display: none; }
	.menu-open .menu-toggle .icon-close { display: block; }
	.menu { flex-direction: column; gap: 0; }
	.menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line-light); }
	.menu > li > a { flex: 1; font-family: var(--serif); font-size: 26px; letter-spacing: .01em; text-transform: none; padding: 14px 0; }
	.menu > li > a::after { display: none; }
	.sub-toggle { display: grid; place-items: center; width: 48px; height: 48px; }
	.sub-toggle .chev { width: 22px; height: 22px; transition: transform .25s var(--ease); }
	.sub-toggle[aria-expanded="true"] .chev { transform: rotate(90deg); }
	.sub-menu { position: static; width: 100%; min-width: 0; padding: 0 0 14px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; display: none; }
	.has-sub.is-open > .sub-menu { display: block; }
	.sub-menu a { padding: 8px 0 8px 14px; font-size: 16px; border-left: 1px solid var(--gold); }
	.nav-mobile-extra { display: grid; gap: 18px; margin-top: 32px; }
	.nav-phone { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; text-decoration: none; }
	.nav-phone .icon { color: var(--gold); }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 100svh; color: var(--white); background: var(--navy); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 18s var(--ease) both; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 18, 28, .35) 0%, rgba(5, 18, 28, .15) 35%, rgba(8, 26, 40, .82) 100%); }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-content { padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(56px, 9vh, 110px); }
.hero-content > * { max-width: 820px; }
.hero-title { font-size: clamp(36px, 6vw, 72px); line-height: 1.08; margin: 0 0 22px; text-wrap: balance; }
.hero-lead { font-size: clamp(17px, 1.7vw, 20px); color: rgba(255, 255, 255, .88); max-width: 620px; }
.hero-logo { width: auto; height: 64px; margin-bottom: 28px; }
.hero-address { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.hero-address .icon { color: var(--gold); }
.hero-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.hero-links a { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: rgba(255, 255, 255, .9); border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 4px; }
.hero-links a:hover { border-color: var(--gold); color: var(--white); }
.hero-links .icon { color: var(--gold); width: 22px; height: 22px; }
.hero-home .hero-content { padding-bottom: clamp(90px, 14vh, 150px); }
.hero-scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--white); border-radius: 2px; animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.hero-project { min-height: min(100svh, 920px); }

.page-hero { background: var(--navy); color: var(--white); padding: calc(var(--section) * .9) 0 calc(var(--section) * .8); }
.page-title { font-size: clamp(36px, 5.4vw, 60px); margin: 0 0 18px; }
.page-hero .lead { color: rgba(255, 255, 255, .8); }

/* ---------- Subnav de proyecto ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 18px 0; white-space: nowrap; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: var(--navy); border-color: var(--gold); }

/* ---------- Layout ---------- */
.split { display: grid; gap: clamp(32px, 6vw, 88px); }
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split-center { align-items: center; }
}
.mosaic { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin-bottom: clamp(44px, 6vw, 80px); }
.mosaic-item { position: relative; display: block; overflow: hidden; aspect-ratio: 1; background: var(--cream-2); }
.mosaic-item:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic-item:hover img { transform: scale(1.05); }
@media (min-width: 900px) {
	.mosaic { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 2.05 / 1; }
	.mosaic-item, .mosaic-item:first-child { aspect-ratio: auto; }
	.mosaic-item:first-child { grid-column: 1; grid-row: span 2; }
	.mosaic-item:nth-child(n+6) { display: none; }
}

.checklist { display: grid; gap: 12px; margin-top: 28px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .72em; width: 16px; height: 1px; background: var(--gold); }

/* Features (seguridad / LEED) */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.feature-grid li { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 36px); background: var(--navy); font-size: 16px; }
.feature-grid .icon { width: 34px; height: 34px; color: var(--gold); }

/* Amenities */
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.amenities li { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); background: var(--white); font-size: 15.5px; line-height: 1.35; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.amenities li:hover { border-color: var(--gold); transform: translateY(-2px); }
.amenities .icon { width: 30px; height: 30px; color: var(--gold-dark); }
.amenities-sm li { background: var(--cream); border-color: transparent; }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; }
.gallery-item:hover img { transform: scale(1.06); opacity: .85; }
.gallery-zoom { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 40px; height: 40px; background: rgba(11, 36, 54, .75); color: var(--white); opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; }
.gallery-item.is-extra { display: none; }
.gallery.is-expanded .gallery-item.is-extra { display: block; }
.gallery + .center { margin-top: 40px; }

/* Unidades */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.chip { min-height: 44px; padding: 8px 20px; border: 1px solid var(--line); border-radius: 40px; background: transparent; font-size: 14px; cursor: pointer; transition: all .2s var(--ease); }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.units { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.unit { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: box-shadow .3s var(--ease); }
.unit:hover { box-shadow: 0 18px 40px -24px rgba(11, 36, 54, .45); }
.unit[hidden] { display: none; }
.unit-media { display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.unit-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .6s var(--ease); }
.unit-media:hover img { transform: scale(1.04); }
.unit-body { padding: 24px 26px 28px; }
.unit-meta { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.unit-title { font-size: 24px; margin-bottom: 18px; }

/* Mapa */
.map { position: relative; aspect-ratio: 4 / 3; background: var(--cream) radial-gradient(circle at 50% 50%, rgba(184, 147, 90, .16), transparent 60%); border: 1px solid var(--line); overflow: hidden; }
.map-wide { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .map-wide { aspect-ratio: 4 / 3; } }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; background: none; border: 0; cursor: pointer; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.map-load .icon { width: 44px; height: 44px; color: var(--gold-dark); transition: transform .3s var(--ease); }
.map-load:hover .icon { transform: translateY(-4px); }
.address-line { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 15px; }
.address-line .icon { color: var(--gold-dark); margin-top: .25em; }

/* ---------- Inicio ---------- */
.intro-altius .altius-logo { width: 170px; height: auto; margin-inline: auto; }
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 6vw, 72px); margin-top: 48px; }
.stats li { display: flex; flex-direction: column; align-items: center; }
.stats strong { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.5vw, 52px); line-height: 1.1; color: var(--gold); }
.stats span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; text-align: center; margin-top: 36px; }

.projects { display: grid; gap: clamp(48px, 7vw, 96px); }
.project-card { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) {
	.project-card { grid-template-columns: 7fr 5fr; }
	.project-card:nth-child(even) .project-media { order: 2; }
}
.project-media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--cream-2); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project-card:hover .project-media img { transform: scale(1.04); }
.project-media .badge { position: absolute; left: 20px; top: 20px; margin: 0; }
.project-title { font-size: clamp(30px, 3.6vw, 42px); }
.project-title a { text-decoration: none; }
.project-body > p:not(.eyebrow):not(.address-line) { color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillars li { padding: clamp(28px, 3vw, 40px); background: var(--white); }
.pillars .icon { width: 36px; height: 36px; color: var(--gold-dark); margin-bottom: 22px; }
.pillars h3 { font-size: 22px; }
.pillars p { color: var(--muted); font-size: 15.5px; margin: 0; }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.post-card { background: var(--white); display: flex; flex-direction: column; }
.post-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-body { padding: 24px 26px 30px; }
.post-date { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.post-title { font-size: 22px; }
.post-title a { text-decoration: none; }
.post-body > p:last-child { color: var(--muted); font-size: 15.5px; margin: 0; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Nosotros */
.partner-logo { display: grid; place-items: center; min-height: 240px; padding: 40px; border: 1px solid var(--line-light); }
.partner-logo img { width: min(240px, 80%); height: auto; }
.partner-logo-navy { background: var(--navy); border: 0; }

/* Contacto */
.cards-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.cards-4 li { padding: 30px; background: var(--white); }
.cards-4 .icon { width: 30px; height: 30px; color: var(--gold-dark); margin-bottom: 16px; }
.cards-4 h2 { font-size: 22px; margin-bottom: 8px; }
.cards-4 p { color: var(--muted); margin: 0; }
.cards-4 a { color: var(--navy); font-weight: 500; text-decoration: none; }
.contact-cards { padding-block: clamp(40px, 5vw, 64px); }

/* ---------- Sección de contacto + formulario ---------- */
.contact { background: var(--navy-deep); color: var(--white); }
.contact-grid { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 6fr; } }
.contact .section-title { margin-bottom: 24px; }
.contact .lead { color: rgba(255, 255, 255, .78); }
.contact-list { display: grid; gap: 18px; margin-top: 36px; }
.contact-list li, .contact-list a { display: flex; align-items: center; gap: 16px; text-decoration: none; color: rgba(255, 255, 255, .85); }
.contact-list .icon { width: 24px; height: 24px; color: var(--gold); }
.contact-list strong { display: block; color: var(--white); font-size: 18px; font-weight: 400; letter-spacing: .02em; }
.contact-list span { font-size: 14px; line-height: 1.4; }
.contact-form { display: grid; gap: 22px; align-content: start; }
.field-row { display: grid; gap: 22px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.field label span[aria-hidden] { color: var(--gold); }
.field .optional { text-transform: none; letter-spacing: 0; color: rgba(255, 255, 255, .5); font-weight: 300; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .35); border-radius: 0; color: var(--white); font-size: 17px; font-weight: 300; transition: border-color .25s; }
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8935a' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat; cursor: pointer; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold); }
.field input::placeholder { color: rgba(255, 255, 255, .35); }
.field.is-invalid input, .field.is-invalid select { border-color: #e7867a; }
.field-error { display: block; margin-top: 6px; font-size: 13px; color: #f0a198; }
.form-legal { font-size: 13px; color: rgba(255, 255, 255, .55); margin: 0; }
.form-status { margin: 0; min-height: 1.5em; font-size: 15px; }
.form-status[data-state="ok"] { padding: 16px 18px; background: rgba(184, 147, 90, .16); border-left: 2px solid var(--gold); color: var(--white); }
.form-status[data-state="error"] { padding: 16px 18px; background: rgba(231, 134, 122, .14); border-left: 2px solid #e7867a; color: var(--white); }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
.contact-form.is-sent .field, .contact-form.is-sent .field-row, .contact-form.is-sent button, .contact-form.is-sent .form-legal { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .75); font-size: 15px; padding-top: clamp(56px, 7vw, 88px); }
.footer-top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-light); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 28px; }
.footer-brand img { width: 110px; }
.footer-brand .footer-altius img { width: 150px; opacity: .8; }
.footer-title { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-nav ul { display: grid; gap: 8px; }
.footer-nav a, .footer-contact a { text-decoration: none; color: rgba(255, 255, 255, .85); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-light); border-radius: 50%; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; padding-block: 28px 36px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer-bottom p { margin: 0; }
.disclaimer { max-width: 720px; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .5); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 30px; height: 30px; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 18, 27, .96); color: var(--white); }
.lightbox::backdrop { background: rgba(6, 18, 27, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 86vh; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { font-size: 14px; letter-spacing: .06em; color: rgba(255, 255, 255, .75); }
.lb-btn { position: fixed; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; background: rgba(255, 255, 255, .08); border: 0; border-radius: 50%; color: var(--white); cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; margin-top: -26px; }
.lb-next { right: 16px; top: 50%; margin-top: -26px; }

/* Contenido del blog */
.entry { font-size: 18px; }
.entry p, .entry li { color: var(--ink); }
.entry h2 { font-size: 30px; margin-top: 1.6em; }
.entry h3 { font-size: 24px; margin-top: 1.4em; }
.entry ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.entry img { margin-block: 1.5em; }
.entry a { color: var(--gold-dark); }
.entry-cover { margin: 0 0 40px; }

/* Aparición suave al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   v2 · Restyle del sitio original: video de fondo, parallax, bloques a dos columnas
   ========================================================================== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Línea separadora (el "title_break" del sitio original, en dorado) */
.rule { display: block; width: 56px; height: 1px; background: var(--gold); margin: 22px 0 24px; }
.rule-center { margin-inline: auto; }
.section-title.caps { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: .12em; text-transform: uppercase; }
.section-head .rule { margin-bottom: 0; }
.section-head .lead { margin-top: 22px; }

/* Fondo con video */
.bg-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--navy); container-type: size; }
.bg-media .bg-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bg-media iframe { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); border: 0; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.bg-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s var(--ease); }
.bg-media.is-playing iframe, .bg-media.is-playing video { opacity: 1; }
.bg-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 36, 54, .55) 0%, rgba(11, 36, 54, .45) 45%, rgba(11, 36, 54, .78) 100%); }

/* Hero con video (portada y proyectos) */
.hero-video { align-items: center; min-height: 100svh; }
.hero-video .hero-content { padding-top: calc(var(--header-h) + 40px); padding-bottom: 90px; display: flex; flex-direction: column; align-items: center; }
.hero-video .hero-content > * { max-width: 860px; }
.hero-video .hero-logo { width: clamp(150px, 18vw, 220px); height: auto; margin: 0 auto 26px; }
.hero-video .badge { margin-bottom: 26px; }
.hero-video .hero-title { font-size: clamp(34px, 5.4vw, 64px); margin: 0; }
.hero-video .hero-title-sm { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.2; }
.rule-light { background: var(--gold); margin-top: 26px; margin-bottom: 26px; }
.hero-video .hero-lead { max-width: 680px; margin-inline: auto; }
.hero-sub { margin: 4px 0 0; font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }
.hero-video .btn-row { margin-top: 34px; }
.hero-video .hero-links { justify-content: center; }
.altius-by { display: inline-block; margin-top: 36px; opacity: .85; transition: opacity .2s; }
.altius-by:hover { opacity: 1; }
.altius-by img { width: 140px; height: auto; }
.home-project + .home-project { border-top: 1px solid rgba(184, 147, 90, .35); }
.home-project.is-sold .hero-content { padding-bottom: 110px; }

/* Franja (dirección / estado) */
.bar { background: var(--navy-deep); color: rgba(255, 255, 255, .88); }
.bar .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding-block: 14px; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-align: center; }
.bar .icon { width: 22px; height: 22px; color: var(--gold); flex: none; }

/* Bloque imagen + texto (one_half_bg del sitio original) */
.split-section { display: grid; overflow: hidden; }
@media (min-width: 900px) {
	.split-section { grid-template-columns: 1fr 1fr; min-height: min(86vh, 760px); }
	.split-section.img-right .split-media { order: 2; }
}
.split-media { position: relative; overflow: hidden; min-height: 62vw; background: var(--navy-2); }
@media (min-width: 900px) { .split-media { min-height: 0; } }
.split-media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.split-body { display: flex; align-items: center; padding: clamp(48px, 7vw, 110px) var(--gutter); }
.split-inner { max-width: 520px; }
.img-left .split-inner { margin-right: auto; }
@media (min-width: 900px) {
	.img-left .split-body { padding-left: clamp(48px, 7vw, 110px); }
	.img-right .split-body { justify-content: flex-end; padding-right: clamp(48px, 7vw, 110px); }
}
.split-title { font-size: clamp(28px, 3.4vw, 42px); margin: 0; text-wrap: balance; }
.split-lead { font-family: var(--serif); font-size: clamp(19px, 1.8vw, 23px); line-height: 1.45; margin-bottom: 1.1em; }
.split-sub { margin-top: 18px; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); }
.split-section .checklist { margin-top: 18px; }
.split-section .altius-by { margin-top: 26px; }
.tone-navy { background: var(--navy); color: var(--white); }
.tone-navy p { color: rgba(255, 255, 255, .8); }
.tone-navy .split-lead { color: var(--white); }
.tone-navy .split-sub { color: var(--gold-light); }
.tone-navy .link-arrow { color: var(--gold); }
.tone-cream { background: var(--cream); }
.tone-white { background: var(--white); }
.tone-cream p, .tone-white p { color: var(--muted); }
.tone-cream .split-lead, .tone-white .split-lead { color: var(--ink); }
.split-logo { display: grid; place-items: center; min-height: 320px; padding: 48px; background: var(--navy-deep); }
.split-logo img { position: static; width: min(240px, 70%); height: auto; }
.split-logo-navy { background: var(--navy); }
.tone-navy + .tone-navy .split-body { border-top: 1px solid rgba(255, 255, 255, .06); }

/* Banner con imagen a todo el ancho */
.banner { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(90vh, 720px); padding-block: 80px; }
.banner-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.banner-media img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.banner-box { max-width: 460px; padding: clamp(32px, 4vw, 52px); background: rgba(11, 36, 54, .92); color: var(--white); }
.banner-box p { color: rgba(255, 255, 255, .82); margin: 0; }

/* Franja con video (entorno) */
.video-band { position: relative; isolation: isolate; display: flex; align-items: center; min-height: min(92vh, 760px); color: var(--white); overflow: hidden; }
.video-band-content { padding-block: 100px; }
.band-logo { width: 150px; height: auto; margin: 0 auto 28px; }
.band-title { font-size: clamp(32px, 4.6vw, 56px); margin: 0; }
.band-text { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .88); }

/* Amenities: variante para servicios */
.services-head { margin-top: clamp(56px, 7vw, 88px); }
.amenities-alt li { background: var(--cream); border-color: transparent; }

/* Ubicación y showroom */
.split-grid { display: grid; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (min-width: 900px) { .split-grid { grid-template-columns: 1fr 1fr; } }
.showroom .lead { color: rgba(255, 255, 255, .85); }
.altius-life { width: 200px; height: auto; margin: 28px 0; }
.showroom-address { font-size: 18px; color: var(--white); }
.showroom .map { border-color: var(--line-light); background-color: var(--navy-2); }
.showroom .map-load { color: var(--white); }
.showroom .map-load .icon { color: var(--gold); }
@media (max-width: 899px) { .center-mobile { text-align: center; } .center-mobile .altius-life { margin-inline: auto; } .center-mobile .btn-row { justify-content: center; } }

/* Parallax desactivado si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
	.split-media img, .banner-media img { top: 0; height: 100%; transform: none !important; }
}

/* Logos oscuros mostrados en blanco sobre fondo azul */
.logo-white img { filter: brightness(0) invert(1); }

/* Fichas de unidades con superficies (desde la planilla) */
.unit-specs { display: grid; gap: 6px; margin: 0 0 20px; padding: 14px 0; border-block: 1px solid var(--line); font-size: 14.5px; }
.unit-specs div { display: flex; justify-content: space-between; gap: 12px; }
.unit-specs dt { color: var(--muted); }
.unit-specs dd { margin: 0; font-weight: 400; color: var(--ink); text-align: right; }
.unit-noplan { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--navy); color: rgba(255, 255, 255, .8); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.unit-noplan img { position: static; width: 120px; height: auto; padding: 0; object-fit: contain; }
