:root {
  color-scheme: light;
  --paper: #f3ece0;
  --bone: #eae2d4;
  --sand: #dcd3c3;
  --ink: #23303f;
  --muted: #55606b;
  --navy: #1b3a6b;
  --gold: #74562b;
  --gold-light: #c9a96e;
  --white: #fbf8f1;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-gutter: clamp(22px, 6.4vw, 104px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
body, button, input, select { font-family: var(--sans); }
img { display: block; width: 100%; }
a { color: inherit; }
button { color: inherit; }
::selection { color: var(--paper); background: var(--navy); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; transform: translateY(-150%); padding: 10px 14px; background: var(--white); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; right: 0; display: flex; height: 88px; align-items: center; justify-content: space-between; padding: 0 var(--page-gutter); border-bottom: 1px solid rgba(255,255,255,.25); color: var(--white); transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.site-header.is-stuck { position: fixed; height: 74px; color: var(--ink); background: rgba(243,236,224,.91); border-bottom-color: rgba(35,48,63,.09); box-shadow: 0 8px 28px rgba(35,48,63,.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; }
.wordmark-main { font: 400 19px/.98 var(--serif); letter-spacing: .14em; }
.wordmark-sub { margin-top: 6px; font-size: 8px; letter-spacing: .34em; }
.header-tools { display: flex; align-items: center; gap: 17px; }
.language-switch { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-size: 9px; letter-spacing: .12em; }
.language-switch button { padding: 7px 2px; border: 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; opacity: .58; cursor: pointer; }
.language-switch button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 42px); }
.main-nav > a { text-decoration: none; color: inherit; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; transition: opacity .2s ease; }
.main-nav > a:hover { opacity: .65; }
.main-nav .nav-cta { padding: 11px 17px; border: 1px solid currentColor; }
.nav-cta span { margin-left: 10px; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 94vh; min-height: max(760px, 94svh); display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--navy); }
.hero-image, .hero-shade { position: absolute; inset: 0; height: 100%; }
.hero-image { object-fit: cover; object-position: 50% 54%; animation: hero-enter 1.2s ease both; transition: opacity .2s ease; }
.hero-image.is-changing { opacity: .2; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hero-video.is-playing { opacity: 1; }
@media print { .hero-video { display: none; } }
.hero-shade { background: linear-gradient(90deg, rgba(12,23,39,.58) 0%, rgba(12,23,39,.24) 57%, rgba(12,23,39,.12) 100%), linear-gradient(0deg, rgba(12,23,39,.51) 0%, transparent 48%); }
.hero-content { position: relative; z-index: 1; width: 100%; padding: 180px var(--page-gutter) 48px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 19px; color: var(--gold); font-size: 9px; font-weight: 600; letter-spacing: .23em; line-height: 1.4; text-transform: uppercase; }
.eyebrow > span:first-child { width: 26px; height: 1px; flex: 0 0 auto; background: currentColor; }
.eyebrow-light { color: var(--gold-light); }
.hero h1, h2 { margin: 0; font: 400 clamp(51px, 8.1vw, 112px)/.99 var(--serif); letter-spacing: -.045em; }
.hero h1 em, h2 em { color: var(--gold-light); font-weight: 400; }
.hero-intro { max-width: 440px; margin: 24px 0 0; color: rgba(251,248,241,.88); font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 32px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 22px; padding: 0 22px; border: 1px solid transparent; text-decoration: none; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: var(--white); }
/* el recorrido 3D es la pieza que diferencia a Vistamar: botón dorado con icono de cubo, borde que respira y punto vivo (12-oct-2026) */
.button-3d { position: relative; gap: 12px; padding: 0 24px 0 18px; border-color: rgba(201,169,110,.75); background: linear-gradient(135deg, #8a6a37, var(--gold) 55%, #5f4521); color: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.18); overflow: visible; }
.button-3d::before { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(201,169,110,.55); animation: breathe 2.6s ease-in-out infinite; pointer-events: none; }
.button-3d:hover { background: linear-gradient(135deg, #9a7840, #86643a 55%, #6a4d26); box-shadow: 0 16px 38px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.22); }
.button-3d .icon-3d { width: 20px; height: 20px; fill: none; stroke: var(--gold-light); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; transition: transform .35s ease; }
.button-3d:hover .icon-3d { transform: rotate(-12deg) scale(1.08); }
.button-3d-text { display: inline-flex; align-items: center; gap: 14px; }
.button-3d-text span { font-size: 15px; line-height: 1; transition: transform .2s ease; }
.button-3d:hover .button-3d-text span { transform: translateX(3px); }
.button-3d-pulse { position: absolute; top: -4px; right: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 0 rgba(201,169,110,.7); animation: pulse-dot 2s ease-out infinite; }
@keyframes breathe { 0%, 100% { inset: -5px; opacity: .55; } 50% { inset: -8px; opacity: .15; } }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(201,169,110,.7); } 70% { box-shadow: 0 0 0 10px rgba(201,169,110,0); } 100% { box-shadow: 0 0 0 0 rgba(201,169,110,0); } }
.text-link { display: inline-flex; align-items: center; gap: 15px; color: var(--gold); text-decoration: none; font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.text-link span { font-size: 16px; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -2px); }
.text-link-light { color: var(--white); }
.hero-foot { display: flex; justify-content: space-between; margin-top: 74px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.28); color: rgba(251,248,241,.75); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.hero-render-note { max-width: 420px; text-align: right; }
.hero-carousel { position: absolute; right: var(--page-gutter); bottom: 96px; z-index: 2; display: flex; align-items: center; gap: 14px; }
.hero-control { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: transparent; color: var(--white); font-size: 17px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.hero-control:hover { background: var(--paper); color: var(--ink); }
.hero-counter { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: 8px; letter-spacing: .1em; }
.hero-counter i { width: 19px; height: 1px; background: rgba(255,255,255,.6); }
.hero-scroll { position: absolute; right: var(--page-gutter); bottom: 48px; width: 20px; height: 34px; border: 1px solid rgba(255,255,255,.5); border-radius: 99px; }
.hero-scroll span { position: absolute; top: 7px; left: 8px; width: 2px; height: 6px; background: var(--white); animation: scroll-dot 1.6s ease infinite; }

.section-pad { padding: clamp(82px, 12vw, 168px) var(--page-gutter); }
.manifesto { display: grid; grid-template-columns: .72fr 2fr; gap: 6vw; background: var(--paper); }
.manifesto-aside { display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; }
.aside-index { display: flex; align-items: center; gap: 10px; margin: auto 0 0; color: var(--muted); font-size: 9px; letter-spacing: .16em; }
.aside-index i { width: 42px; height: 1px; background: var(--sand); }
.manifesto-copy h2 { max-width: 940px; color: var(--navy); font-size: clamp(39px, 5.2vw, 72px); line-height: 1.1; }
.manifesto-copy h2 em { color: var(--gold); }
.manifesto-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--sand); }
.manifesto-bottom p { max-width: 455px; margin: 0; color: var(--muted); font-size: 14px; }
.manifesto-bottom .text-link { flex: 0 0 auto; padding-bottom: 4px; }

.visual-section { background: var(--bone); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; }
.section-heading h2, .place h2, .contact h2 { color: var(--navy); font-size: clamp(42px, 6.2vw, 82px); }
.section-lede { max-width: 350px; margin: 0 1vw 7px 0; color: var(--muted); font-size: 13px; }
.visual-tabs { position: relative; display: flex; gap: clamp(21px, 4vw, 56px); margin-top: 57px; border-bottom: 1px solid #cfc5b5; }
.visual-tab { position: relative; padding: 0 0 15px; border: 0; background: transparent; color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.visual-tab.is-active { color: var(--navy); }
.visual-tab.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--gold); content: ""; }
.gallery-panel { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: minmax(260px, 26vw) minmax(130px, 11vw); gap: 14px; margin-top: 22px; }
.gallery-panel[hidden] { display: none; }
.image-card { position: relative; display: block; min-width: 0; min-height: 0; padding: 0; overflow: hidden; border: 0; background: var(--navy); text-align: left; cursor: zoom-in; }
.image-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.25,1); }
.image-card:hover img { transform: scale(1.035); }
.image-card::after { position: absolute; inset: 38% 0 0; background: linear-gradient(0deg, rgba(19,30,43,.64), transparent); content: ""; pointer-events: none; }
.image-card-large { grid-row: span 2; }
.image-card-tall { grid-row: span 2; }
.image-card-wide { grid-column: 1; grid-row: 3; aspect-ratio: 2.8 / 1; }
.image-card-large + .image-card-tall { grid-column: 2; }
.image-card-wide { grid-column: 1 / -1; }
.render-label { position: absolute; z-index: 2; top: 14px; left: 14px; max-width: calc(100% - 28px); padding: 7px 9px; background: rgba(19,30,43,.81); color: var(--white); font-size: 8px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.image-caption { position: absolute; z-index: 2; right: 18px; bottom: 16px; left: 18px; display: flex; align-items: flex-end; justify-content: space-between; color: var(--white); font: 400 clamp(17px, 2vw, 27px)/1.15 var(--serif); }
.image-caption b { padding-bottom: 3px; font: 500 8px/1 var(--sans); letter-spacing: .15em; }
.gallery-panel:not([hidden]) { animation: panel-in .35s ease both; }
.gallery-panel:not([hidden]) .image-card { min-height: 220px; }
.gallery-panel:not([hidden]) .image-card-tall { grid-column: 2; grid-row: 1 / span 2; }
.gallery-panel:not([hidden]) .image-card-large { grid-column: 1; grid-row: 1 / span 2; }
.gallery-panel:not([hidden]) .image-card-wide { grid-column: 1 / -1; grid-row: 3; }
.gallery-note-card { grid-column: 1 / -1; grid-row: 3; display: flex; min-height: 130px; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 30px; background: var(--navy); color: var(--white); }
.gallery-note-card .eyebrow { margin: 0; }
.gallery-note-card > p:not(.eyebrow) { max-width: 400px; margin: 0; color: var(--white); font: 400 19px/1.3 var(--serif); }
.gallery-note-card .text-link { flex: 0 0 auto; }
.gallery-foot { display: flex; justify-content: space-between; gap: 30px; margin-top: 15px; color: var(--muted); font-size: 9px; }
.gallery-foot p { max-width: 520px; margin: 0; }
.gallery-foot span { font-size: 8px; letter-spacing: .16em; }

.residences { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(46px, 9vw, 134px); }
.residences-photo { position: relative; min-height: 440px; overflow: hidden; background: var(--sand); }
.residences-photo img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.residences-photo .render-label { top: auto; bottom: 14px; }
.photo-coordinate { position: absolute; top: 16px; right: 16px; color: var(--white); font-size: 9px; letter-spacing: .15em; text-shadow: 0 1px 8px rgba(0,0,0,.65); }
.residences-copy h2 { font-size: clamp(42px, 5.1vw, 69px); color: var(--navy); }
.residences-copy h2 em { color: var(--gold); }
.residence-intro { max-width: 420px; margin: 25px 0 30px; color: var(--muted); font-size: 13px; }
.spec-list { border-top: 1px solid var(--sand); }
.spec-list > div { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--sand); }
.spec-list strong { min-width: 107px; color: var(--navy); font: 400 28px/1 var(--serif); }
.spec-list strong small { font-size: 15px; }
.spec-list span { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.fine-print { max-width: 405px; margin: 17px 0 25px; color: var(--muted); font-size: 10px; line-height: 1.65; }

.home-details { background: #eee7dc; }
.home-details .section-heading { align-items: end; }
.home-details .section-heading h2 { color: var(--navy); font-size: clamp(42px, 5.7vw, 76px); }
.home-details .section-heading h2 em { color: var(--gold); }
.typology-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
.typology-card { padding: clamp(22px, 3.2vw, 42px); border: 1px solid rgba(27,58,107,.18); background: var(--white); }
.typology-card-alt { background: #f8f4ec; }
.typology-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 17px; border-bottom: 1px solid var(--sand); color: var(--gold); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.typology-top span:last-child { color: var(--muted); }
.typology-card h3 { margin: 25px 0 7px; color: var(--navy); font: 400 clamp(25px, 3vw, 38px)/1.1 var(--serif); }
.typology-card > p { margin: 0; color: var(--muted); font-size: 12px; }
.level-stack { display: grid; gap: 7px; margin-top: 28px; }
.level-stack > div { display: flex; min-height: 55px; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 15px; background: #f0ebe2; color: var(--navy); }
.level-stack > div > span { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.level-stack strong, .typology-total strong { font: 400 22px/1 var(--serif); white-space: nowrap; }
.level-stack strong small, .typology-total strong small { font-size: 12px; }
.level-stack .roof-level { margin-top: 7px; border: 1px solid rgba(116,86,43,.34); background: transparent; }
.typology-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 19px; padding-top: 18px; border-top: 1px solid var(--sand); color: var(--navy); }
.typology-total > span { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.typology-note { max-width: 790px; margin: 18px 0 13px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.typology-link { margin-top: 6px; }
.construction-proof { display: grid; grid-template-columns: .72fr 1.28fr .78fr; align-items: end; gap: 15px; margin-top: 72px; }
.proof-heading { align-self: start; padding: 12px 20px 0 0; }
.proof-heading .eyebrow { margin-bottom: 18px; }
.proof-heading > p:last-child { max-width: 255px; margin: 0; color: var(--muted); font: 400 17px/1.5 var(--serif); }
.proof-image { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #d9d2c5; }
.proof-image img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.proof-image-main img { aspect-ratio: 1 / 1; }
.proof-image figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; gap: 10px; padding: 32px 12px 11px; background: linear-gradient(transparent, rgba(12,23,39,.76)); color: var(--white); font-size: 9px; letter-spacing: .06em; }
.proof-image time { flex: 0 0 auto; }

.place { background: var(--white); }
.place-heading { display: grid; grid-template-columns: .7fr 1.4fr .7fr; align-items: end; gap: 30px; }
.place-heading .eyebrow { align-self: start; }
.place-heading h2 { font-size: clamp(42px, 5.6vw, 75px); }
.place-heading > p:last-child { max-width: 310px; margin: 0 0 7px; color: var(--muted); font-size: 13px; }
.place-map { position: relative; margin-top: 54px; overflow: hidden; background: #e5ddcf; }
.map-topline, .map-bottomline { position: absolute; z-index: 3; right: 22px; left: 22px; display: flex; justify-content: space-between; color: #536273; font-size: 8px; letter-spacing: .14em; }
.map-topline { top: 18px; }
.map-bottomline { bottom: 16px; }
.map-art { display: block; width: 100%; min-height: 280px; max-height: 480px; }
.land-shape { fill: #e7dfd1; }
.sea { fill: #d0d8d4; }
.coast { fill: none; stroke: #f6f0e6; stroke-width: 3; }
.contour { fill: none; stroke: #c8baa6; stroke-width: 1.2; opacity: .75; }
.contour-two { stroke-dasharray: 4 6; }
.map-label { fill: #526174; font: 600 9px var(--sans); letter-spacing: 2px; }
.map-ocean { fill: #426677; }
.map-place { fill: #263e5b; font-size: 11px; letter-spacing: 2.5px; }
.map-vistamar { fill: #74562b; font: 600 9px var(--sans); letter-spacing: 2px; }
.map-dot { fill: #74562b; stroke: #f3ece0; stroke-width: 4; }
.map-pulse { fill: none; stroke: #74562b; stroke-width: 1; opacity: .65; }
.map-distance { fill: none; stroke: #74562b; stroke-width: 1.5; stroke-dasharray: 4 4; }
.map-distance-label { fill: #74562b; font: 500 10px var(--sans); letter-spacing: 1px; }
.map-north { fill: none; stroke: #526174; stroke-width: 1.3; }
.north-label { fill: #526174; font: 500 9px var(--sans); }
/* mapa a escala (12-oct-2026): capas nuevas sobre el estilo de papel del mapa anterior */
.sierra { fill: url(#map-hatch); opacity: .55; }
.arroyo { fill: none; stroke: #b9c5c4; stroke-width: .8; stroke-dasharray: 3 3; opacity: .8; }
.streets path { fill: none; stroke: #d3c6b1; stroke-width: .6; stroke-linecap: round; stroke-linejoin: round; }
.streets-tertiary path { fill: none; stroke: #c4b399; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.highway-casing path { fill: none; stroke: #f6f0e6; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.highway path { fill: none; stroke: #a99478; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shore { fill: none; stroke: #e9dfc9; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.wave { fill: none; stroke: #9fb3b4; stroke-width: 1; opacity: .7; }
.poi { fill: #526174; stroke: #f3ece0; stroke-width: 1.5; }
.map-poi { font-size: 7px; letter-spacing: 1.4px; fill: #6a7786; }
.map-sierra { font-size: 8px; letter-spacing: 3px; fill: #8c7a5c; }
.map-road { font-size: 7px; letter-spacing: 1.4px; fill: #8c7a5c; }
.map-coords { fill: #74562b; font: 500 7.5px var(--sans); letter-spacing: .6px; }
.map-north circle { fill: #f3ece0; stroke: #526174; stroke-width: 1; }
.map-north path { fill: none; stroke: #526174; stroke-width: 1; }
.map-north .north-fill { fill: #526174; }
.map-scale path { fill: none; stroke: #526174; stroke-width: 1; }
.map-scale text { fill: #526174; font: 500 7px var(--sans); letter-spacing: 1px; }
.typology-grid-single { grid-template-columns: minmax(0, 640px); }
.map-grain { position: absolute; inset: 0; z-index: 2; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E"); pointer-events: none; }
.place-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 29px; border-top: 1px solid var(--sand); }
.place-facts > div { display: flex; gap: 17px; padding: 18px 22px 0 0; }
.fact-number { color: var(--gold); font-size: 8px; letter-spacing: .17em; }
.place-facts p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.place-facts b { color: var(--ink); font-weight: 500; }

.price-section { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.price-section::before { position: absolute; inset: 0; opacity: .06; background: radial-gradient(ellipse at 88% 50%, var(--gold-light), transparent 46%), linear-gradient(135deg, transparent 55%, rgba(255,255,255,.18)); content: ""; }
.price-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(42px, 9vw, 132px); max-width: 1280px; margin: auto; }
.price-copy h2 { font-size: clamp(43px, 6.5vw, 87px); }
.price-copy > p:last-child { max-width: 450px; margin: 26px 0 0; color: #d5dce4; font-size: 13px; }
.price-card { position: relative; padding: clamp(27px, 4vw, 50px); border: 1px solid rgba(243,236,224,.26); background: rgba(7,27,56,.3); }
.price-label { display: block; color: var(--gold-light); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.price-amount { display: block; margin: 0 0 10px; color: var(--white); font: 400 clamp(36px, 5vw, 62px)/1.05 var(--serif); white-space: nowrap; }
.price-amount small { font: 500 11px var(--sans); letter-spacing: .12em; }
.price-usd { display: block; color: #d5dce4; font-size: 11px; line-height: 1.8; }
.price-card > .button { margin-top: 26px; }
.price-card > p { margin: 22px 0 26px; color: #d5dce4; font-size: 12px; line-height: 1.7; }
.form-row label small { font-weight: 400; letter-spacing: 0; text-transform: none; }
.form-row textarea::placeholder { color: #8c949a; }
.form-row textarea:focus { border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.button-outline { border-color: rgba(243,236,224,.65); color: var(--white); }
.button-outline:hover { background: var(--paper); color: var(--navy); }
.price-note { position: relative; max-width: 1280px; margin: 48px auto 0; padding-top: 17px; border-top: 1px solid rgba(243,236,224,.22); color: #b7c3d1; font-size: 9px; line-height: 1.6; }

.contact { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(48px, 11vw, 160px); }
.contact h2 { font-size: clamp(44px, 6.5vw, 88px); }
.contact h2 em { color: var(--gold); }
.contact-intro > p:not(.eyebrow) { max-width: 380px; margin: 24px 0 0; color: var(--muted); font-size: 13px; }
.contact-aside { display: flex; flex-direction: column; gap: 5px; margin-top: 60px; padding-top: 17px; border-top: 1px solid var(--sand); color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.lead-form { padding-top: 4px; }
.form-row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 22px; }
.form-row label { color: var(--ink); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.form-row input, .form-row select, .form-row textarea { width: 100%; min-height: 49px; padding: 11px 1px; border: 0; border-bottom: 1px solid #c9bfaf; border-radius: 0; outline: none; background: transparent; color: var(--ink); font-size: 13px; }
.form-row textarea { min-height: 110px; resize: vertical; font: inherit; }
.form-row input::placeholder { color: #8c949a; }
.form-row input:focus, .form-row select:focus { border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.form-row select:invalid { color: #8c949a; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.consent { display: flex; align-items: flex-start; gap: 10px; max-width: 560px; color: var(--muted); font-size: 10px; line-height: 1.6; cursor: pointer; }
.consent input { flex: 0 0 auto; width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--navy); }
.consent a { color: var(--navy); text-underline-offset: 3px; }
.privacy-inline { margin: 2px 0 19px; padding: 13px 15px; border-left: 2px solid var(--gold); background: rgba(211,198,175,.16); }
.privacy-inline p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.privacy-inline a { display: inline-block; margin-top: 8px; color: var(--navy); font-size: 9px; font-weight: 600; letter-spacing: .08em; text-underline-offset: 3px; text-transform: uppercase; }
.form-submit { width: 100%; margin-top: 22px; background: var(--navy); color: var(--white); }
.form-submit:hover { background: #122d54; }
.form-note { max-width: 490px; margin: 13px auto 0; color: var(--muted); font-size: 9px; text-align: center; }
.form-trap { position: absolute; left: -9999px; }

.closing-visual { position: relative; height: min(540px, 58vw); min-height: 280px; overflow: hidden; background: var(--navy); }
.closing-visual > img { height: 100%; object-fit: cover; }
.closing-visual::after { position: absolute; inset: 35% 0 0; background: linear-gradient(0deg, rgba(10,23,40,.62), transparent); content: ""; }
.closing-visual .render-label { top: auto; bottom: 68px; left: var(--page-gutter); }
.closing-caption { position: absolute; z-index: 2; right: var(--page-gutter); bottom: 23px; left: var(--page-gutter); display: flex; justify-content: space-between; color: var(--white); font-size: 8px; letter-spacing: .19em; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 38px; align-items: start; padding: 53px var(--page-gutter) 24px; background: var(--ink); color: var(--white); }
.wordmark-footer { color: var(--white); }
.footer-message { margin: 0; color: #d4d3cf; font: 400 19px/1.35 var(--serif); }
.footer-links { display: flex; justify-content: flex-end; gap: 22px; }
.footer-links a { color: #e1d6c4; font-size: 9px; letter-spacing: .08em; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 25px; margin-top: 23px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.18); color: #adb6c0; font-size: 8px; letter-spacing: .08em; }
.floating-cta { position: fixed; z-index: 15; right: 22px; bottom: max(19px, env(safe-area-inset-bottom)); display: inline-flex; min-height: 49px; align-items: center; gap: 11px; padding: 0 17px 0 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; background: var(--navy); box-shadow: 0 8px 28px rgba(16,35,61,.2); color: var(--white); font-size: 9px; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.floating-cta:hover { transform: translateY(-3px); background: #102c55; }
.floating-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--gold-light); color: var(--ink); font-size: 16px; }

.lightbox { position: fixed; width: min(1100px, calc(100% - 30px)); max-width: none; max-height: min(92vh, 920px); padding: 0; overflow: visible; border: 0; background: transparent; color: var(--white); }
.lightbox::backdrop { background: rgba(12,20,31,.94); backdrop-filter: blur(5px); }
.lightbox-image { width: 100%; max-height: 76vh; object-fit: contain; }
.lightbox-caption { margin: 11px 0 4px; font: 400 18px var(--serif); }
.lightbox .render-label { position: static; display: inline-block; }
.lightbox-close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: transparent; color: white; font-size: 25px; line-height: 1; cursor: pointer; }
.lightbox[open] { animation: panel-in .2s ease both; }

.privacy-page { min-height: 100vh; }
.privacy-hero { padding: 150px var(--page-gutter) 55px; background: var(--navy); color: var(--white); }
.privacy-hero h1 { max-width: 840px; margin: 0; font: 400 clamp(43px, 7vw, 82px)/1 var(--serif); letter-spacing: -.035em; }
.privacy-hero p { max-width: 640px; color: #d5dce4; font-size: 13px; }
.privacy-content { max-width: 900px; margin: auto; padding: 60px var(--page-gutter) 110px; }
.privacy-content h2 { margin: 42px 0 10px; color: var(--navy); font-size: 31px; }
.privacy-content p, .privacy-content li { color: var(--muted); font-size: 13px; }
.privacy-content ul { padding-left: 20px; }
.privacy-back { display: inline-block; margin-top: 20px; color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.thankyou-page { display: grid; min-height: 100svh; place-items: center; padding: 30px; background: var(--navy); color: var(--white); text-align: center; }
.thankyou-page .language-switch { position: fixed; top: 26px; right: var(--page-gutter); }
.thankyou-card { max-width: 590px; }
.thankyou-card h1 { margin: 17px 0; font: 400 clamp(48px, 9vw, 82px)/.98 var(--serif); }
.thankyou-card h1 em { color: var(--gold-light); }
.thankyou-card p { color: #d5dce4; font-size: 13px; }
.thankyou-card .button { margin-top: 22px; }
.thanks-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.thanks-actions .text-link { margin-top: 22px; }
.contact-whatsapp { margin-top: 26px; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-enter { from { transform: scale(1.035); opacity: .7; } to { transform: scale(1); opacity: 1; } }
@keyframes scroll-dot { 0%, 100% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: .25; } }
@keyframes panel-in { from { opacity: .55; transform: translateY(5px); } to { opacity: 1; transform: none; } }

@media (min-width: 1500px) {
  :root { --page-gutter: max(104px, calc((100vw - 1400px) / 2)); }
}
@media (max-width: 920px) {
  .main-nav { gap: 17px; }
  .main-nav > a { font-size: 9px; }
  .manifesto { grid-template-columns: .5fr 2fr; gap: 5vw; }
  .manifesto-aside { min-height: 300px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; }
  .section-lede { max-width: 500px; }
  .place-heading { grid-template-columns: 1fr 2fr; }
  .place-heading > p:last-child { grid-column: 2; }
  .residences { gap: 42px; }
  .residences-photo { min-height: 540px; }
  .price-inner { gap: 40px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; order: 1; }
  .footer-bottom { order: 2; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 74px; }
  .site-header { height: 70px; padding-right: 22px; padding-left: 22px; }
  .site-header.is-stuck { height: 66px; }
  .wordmark-main { font-size: 17px; }
  .wordmark-sub { font-size: 7px; }
  .header-tools { gap: 12px; }
  .language-switch { gap: 6px; font-size: 8px; }
  .menu-toggle { position: relative; z-index: 2; display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
  .menu-toggle span { width: 16px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: absolute; top: 65px; right: 12px; left: 12px; display: flex; align-items: stretch; flex-direction: column; gap: 0; padding: 9px 20px 18px; border: 1px solid rgba(35,48,63,.12); background: var(--paper); box-shadow: 0 20px 32px rgba(16,35,61,.12); color: var(--ink); opacity: 0; pointer-events: none; transform: translateY(-7px); transition: opacity .18s ease, transform .18s ease; }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav > a { padding: 15px 2px; border-bottom: 1px solid var(--sand); font-size: 10px; }
  .main-nav .nav-cta { margin-top: 11px; padding: 14px; border: 1px solid var(--navy); text-align: center; }
  .hero { min-height: 760px; min-height: min(920px, 93svh); max-height: 920px; }
  .hero-image, .hero-video { object-position: 57% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(12,23,39,.58), rgba(12,23,39,.2)), linear-gradient(0deg, rgba(12,23,39,.6), transparent 60%); }
  .hero-content { padding: 160px 22px 35px; }
  .hero h1 { font-size: clamp(47px, 12vw, 74px); }
  .hero-intro { max-width: 365px; font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .hero-foot { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 49px; font-size: 8px; }
  .hero-render-note { max-width: 225px; text-align: left; }
  .hero-carousel { top: 84px; right: 22px; bottom: auto; }
  .hero-control { width: 44px; height: 44px; }
  .hero-scroll { right: 24px; bottom: 40px; }
  .section-pad { padding: 80px 22px; }
  .manifesto { grid-template-columns: 1fr; gap: 25px; }
  .manifesto-aside { min-height: 0; }
  .aside-index { display: none; }
  .manifesto-copy h2 { font-size: clamp(39px, 9.4vw, 61px); }
  .manifesto-bottom { align-items: flex-start; flex-direction: column; gap: 20px; margin-top: 28px; padding-top: 18px; }
  .manifesto-bottom p { font-size: 12px; }
  .section-heading h2, .place h2, .contact h2 { font-size: clamp(42px, 10vw, 66px); }
  .section-lede { font-size: 12px; }
  .visual-tabs { gap: 20px; margin-top: 32px; overflow-x: auto; scrollbar-width: none; }
  .visual-tabs::-webkit-scrollbar { display: none; }
  .visual-tab { flex: 0 0 auto; font-size: 9px; letter-spacing: .08em; white-space: nowrap; }
  .gallery-panel { grid-template-columns: 1.3fr .7fr; grid-template-rows: 42vw 25vw; gap: 8px; margin-top: 15px; }
  .gallery-panel:not([hidden]) .image-card { min-height: 0; }
  .gallery-panel:not([hidden]) .image-card-large { grid-column: 1; grid-row: 1 / span 2; }
  .gallery-panel:not([hidden]) .image-card-tall { grid-column: 2; grid-row: 1 / span 2; }
  .gallery-panel:not([hidden]) .image-card-wide, .gallery-panel:not([hidden]) .gallery-note-card { grid-column: 1 / -1; grid-row: 3; }
  .image-card .render-label { top: 7px; left: 7px; max-width: min(210px, calc(100% - 14px)); padding: 5px 6px; font-size: 8px; line-height: 1.35; }
  .image-caption { right: 9px; bottom: 10px; left: 9px; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 16px; }
  .image-caption b { font-size: 7px; }
  .gallery-note-card { min-height: 0; flex-wrap: wrap; gap: 11px; padding: 16px; }
  .gallery-note-card .eyebrow { width: 100%; margin: 0; font-size: 7px; }
  .gallery-note-card > p:not(.eyebrow) { max-width: 230px; font-size: 16px; }
  .gallery-note-card .text-link { font-size: 8px; }
  .gallery-foot { align-items: flex-start; flex-direction: column; gap: 8px; font-size: 9px; }
  .gallery-foot span { font-size: 9px; }
  .residences { grid-template-columns: 1fr; gap: 32px; }
  .residences-photo { min-height: 118vw; max-height: 570px; }
  .residences-copy h2 { font-size: clamp(42px, 10vw, 65px); }
  .home-details .section-heading h2 { font-size: clamp(42px, 10vw, 65px); }
  .typology-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .typology-card { padding: 21px 18px; }
  .typology-top { font-size: 9px; }
  .typology-card h3 { font-size: 29px; }
  .level-stack { margin-top: 20px; }
  .level-stack > div { min-height: 52px; padding: 11px 12px; }
  .level-stack > div > span, .typology-total > span { font-size: 10px; }
  .typology-note { font-size: 12px; }
  .construction-proof { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 48px; }
  .proof-heading { grid-column: 1 / -1; padding: 0 0 10px; }
  .proof-heading > p:last-child { max-width: 360px; font-size: 16px; }
  .proof-image-main img, .proof-image img { aspect-ratio: 1 / 1; }
  .proof-image figcaption { flex-direction: column; gap: 4px; padding: 29px 8px 8px; font-size: 9px; line-height: 1.4; }
  .fine-print { font-size: 12px; }
  .place-heading { grid-template-columns: 1fr; gap: 0; }
  .place-heading h2 { margin-bottom: 15px; }
  .place-heading > p:last-child { grid-column: auto; margin-top: 0; }
  .place-map { margin-top: 35px; }
  .map-art { min-height: 300px; }
  .map-road, .map-poi, .map-ocean, .poi { display: none; }
  .typology-grid-single { grid-template-columns: minmax(0, 1fr); }
  .map-topline, .map-bottomline { right: 11px; left: 11px; font-size: 7px; letter-spacing: .08em; }
  .map-topline { top: 12px; }
  .map-bottomline { bottom: 10px; }
  .map-label { font-size: 10px; }
  .map-place { font-size: 12px; }
  .place-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
  .place-facts > div { padding: 12px 0; border-bottom: 1px solid var(--sand); }
  .place-facts p { font-size: 10px; }
  .price-inner { grid-template-columns: 1fr; gap: 35px; }
    .price-copy h2 { font-size: clamp(43px, 10vw, 67px); }
  .price-card { padding: 25px 20px; }
  .price-amount { font-size: clamp(34px, 9vw, 52px); }
  .price-note { margin-top: 34px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .contact-aside { margin-top: 34px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .closing-visual { height: 78vw; min-height: 290px; }
  .closing-visual .render-label { bottom: 65px; left: 22px; font-size: 8px; }
  .closing-caption { right: 22px; left: 22px; align-items: flex-start; flex-direction: column; gap: 5px; font-size: 7px; }
  .site-footer { grid-template-columns: 1fr 1fr; gap: 28px 15px; padding: 39px 22px 18px; }
  .footer-message { font-size: 15px; }
  .footer-links { flex-direction: column; gap: 10px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; margin-top: 0; font-size: 8px; }
  .floating-cta { right: 14px; min-height: 46px; padding-right: 14px; font-size: 8px; }
  .lightbox { width: calc(100% - 24px); }
  .lightbox .render-label { font-size: 8px; }
  .floating-cta { transition: opacity .2s ease, visibility .2s linear, transform .2s ease, background .2s ease; }
  .floating-cta.is-suppressed { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .button-3d::before, .button-3d-pulse { animation: none; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Animaciones portadas de React Bits (ver el final de site.js). */
.rb-word { display: inline-block; }
@keyframes rb-blur-in {
  0% { opacity: 0; filter: blur(10px); transform: translateY(-.32em); }
  55% { opacity: .55; filter: blur(4px); transform: translateY(.04em); }
  100% { opacity: 1; filter: blur(0); transform: none; }
}
.hero h1.rb-blur .rb-word { opacity: 0; animation: rb-blur-in .95s cubic-bezier(.22,1,.36,1) forwards; animation-delay: calc(var(--i) * 85ms + 180ms); }
.js .reveal .rb-rise .rb-word { opacity: 0; filter: blur(6px); transform: translateY(.42em); transition: opacity .8s ease, filter .8s ease, transform .9s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--i) * 60ms + 120ms); }
.js .reveal.is-visible .rb-rise .rb-word { opacity: 1; filter: none; transform: none; }
#manifesto-title .rb-word { transition: opacity .12s linear, filter .12s linear; }

/* Glare Hover: un destello diagonal cruza la tarjeta de precio y las fotos de obra; la tarjeta lo hace una vez al aparecer (en el teléfono no hay hover). */
.price-card::after, .proof-image::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(-45deg, transparent 38%, rgba(251,248,241,.22) 48%, rgba(251,248,241,.08) 52%, transparent 62%) no-repeat; background-size: 260% 260%; background-position: 100% 100%; mix-blend-mode: screen; }
.proof-image::after { background-image: linear-gradient(-45deg, transparent 38%, rgba(251,248,241,.28) 48%, rgba(251,248,241,.1) 52%, transparent 62%); }
@keyframes rb-glare { from { background-position: 100% 100%; } to { background-position: 0 0; } }
@media (hover: none) { .price-card.is-visible::after { animation: rb-glare 1.6s .7s cubic-bezier(.45,0,.2,1) 1 both; } }
@media (hover: hover) and (pointer: fine) {
  .price-card:hover::after, .proof-image:hover::after { animation: rb-glare .75s cubic-bezier(.45,0,.2,1) 1 both; }
}
@media (prefers-reduced-motion: reduce) {
  .price-card::after, .proof-image::after, .price-card.is-visible::after, .price-card:hover::after, .proof-image:hover::after { animation: none; display: none; }
}
