/* Hallmark · shape: one pinned 3D flight, then a light editorial run · genre: editorial · theme: custom · job: book · idea: "a single camera flight over Montevideo at sunset that ends inside the living room you could rent" · vibe: "sunset over the river, warm glass, quiet serif"
 * paper: oklch(16% 0.03 260) then oklch(95% 0.008 235) · accent: oklch(74% 0.16 55) · display: Gloock · body: Geist · hero: full-screen 3D city at sunset with the wordmark set huge at the bottom · nav: edge-aligned, three links, sun action · footer: giant wordmark over two lines · imagery: the product built (3D city, tower and interior), stills rendered from the same scene · signature: the camera entering through a window into a furnished living room facing the sunset
 * axes: dark/roman-serif/warm · posture: committed (night flight, then warm paper) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P2 H2 E2 S2 R2 V2 · weakest: E, property cards use 3D renders as stand-ins, said on the page */

:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.9375rem; --text-md: 1.0625rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 2rem;
  --text-mark: clamp(3.2rem, 11.5vw, 12rem);
  --text-beat: clamp(2.8rem, 7.4vw, 8rem);
  --text-section: clamp(2.2rem, 3.8vw + 0.6rem, 4.6rem);
  --text-statement: clamp(1.9rem, 3.1vw + 0.6rem, 4rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --container: 1360px; --gutter: 64px; --gap-columns: 32px; --section-gap: 152px;
  --z-raised: 10; --z-sticky-nav: 300; --z-modal: 400;
  --color-night: oklch(16% 0.03 260); --color-night-2: oklch(22% 0.035 262); --color-night-ink: oklch(96% 0.012 75); --color-night-muted: oklch(78% 0.02 70);
  --color-paper: oklch(95% 0.008 235); --color-paper-2: oklch(90% 0.012 235); --color-ink: oklch(22% 0.03 255); --color-ink-2: oklch(38% 0.03 255); --color-muted: oklch(50% 0.025 255);
  --color-rule: oklch(84% 0.012 235); --color-night-rule: oklch(34% 0.03 260);
  --color-accent: oklch(74% 0.16 55); --color-accent-ink: oklch(20% 0.04 50); --color-focus: oklch(70% 0.19 50);
  --color-shade: oklch(12% 0.03 260 / 0.82); --color-shade-2: oklch(12% 0.03 260 / 0.4);
  --color-sky-1: oklch(30% 0.07 35); --color-sky-2: oklch(56% 0.14 40); --color-sky-3: oklch(80% 0.14 62); --color-sea-1: oklch(36% 0.05 45); --color-sun-1: oklch(93% 0.09 80); --color-sun-2: oklch(80% 0.15 60); --color-veil: oklch(16% 0.03 260 / 0.9);
  --font-display: "Gloock", Georgia, serif; --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --radius-btn: 999px; --radius-card: 18px; --rule-hair: 1px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-weight: 300; font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 30%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
dl, dd, ol, ul, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; }
button, input { font: inherit; color: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 var(--space-lg); border-radius: var(--radius-btn); font-weight: 500; white-space: nowrap; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--sun { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--sun:hover { background: var(--color-night-ink); }
.btn--sm { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.link-quiet { color: inherit; opacity: 0.8; text-decoration: underline; text-decoration-color: var(--color-accent); transition: opacity var(--dur-short) var(--ease-out); }
.link-quiet:hover { opacity: 1; }

/* ---------- intro: el horizonte y el sol que baja ---------- */
#intro { display: none; }
.intro-on body { overflow: hidden; }
.js.intro-on #intro { display: block; position: fixed; inset: 0; z-index: var(--z-modal); background: var(--color-night); overflow: hidden; }
.intro-sky { position: absolute; inset: 0 0 50% 0; background: linear-gradient(to bottom, var(--color-sky-1), var(--color-sky-2) 70%, var(--color-sky-3)); }
.intro-sea { position: absolute; inset: 50% 0 0 0; background: linear-gradient(to bottom, var(--color-sea-1), var(--color-night)); }
.intro-sun { position: absolute; left: 50%; top: 50%; width: 22vmin; height: 22vmin; margin: -11vmin 0 0 -11vmin; border-radius: 50%; background: radial-gradient(circle, var(--color-sun-1), var(--color-sun-2) 60%, transparent 72%); clip-path: inset(0 0 50% 0); }
.js .intro-sky, .js .intro-sea, .js .intro-sun { opacity: 0; }
.js .intro-sun { transform: translateY(-40svh); }
.intro-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--color-night-ink); transform: scaleX(0); }
.intro-c { position: absolute; left: 0; right: 0; bottom: 12vh; display: grid; justify-items: center; gap: var(--space-sm); text-align: center; color: var(--color-night-ink); padding-inline: var(--space-lg); }
.js .intro-logo { font-size: var(--text-sm); opacity: 0; }
.js .intro-name { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1; opacity: 0; transform: translateY(16px); }
.intro-skip { position: absolute; top: var(--space-lg); right: var(--space-lg); z-index: 2; background: none; border: 1px solid var(--color-night-rule); border-radius: var(--radius-btn); padding: var(--space-xs) var(--space-md); color: var(--color-night-ink); cursor: pointer; }
.intro-skip:hover { border-color: var(--color-night-ink); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky-nav); color: var(--color-night-ink); transition: background-color var(--dur-long) var(--ease-out), color var(--dur-long) var(--ease-out); }
.nav.is-light { background: var(--color-paper); color: var(--color-ink); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; padding-inline: var(--gutter); max-width: var(--container); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: var(--space-sm); text-decoration: none; font-family: var(--font-display); font-size: var(--text-lg); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor; font-family: var(--font-body); font-size: var(--text-xs); }
.nav-links { display: flex; gap: var(--space-xl); font-size: var(--text-sm); }
.nav-links a { text-decoration: none; opacity: 0.8; transition: opacity var(--dur-short) var(--ease-out); }
.nav-links a:hover { opacity: 1; }
@media (max-width: 60rem) { .nav-links, .brand-name { display: none; } }

/* ---------- vuelo ---------- */
.flight { position: relative; background: var(--color-night); color: var(--color-night-ink); }
.flight-pin { position: relative; min-height: 100svh; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.flight-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, var(--color-shade), var(--color-shade-2) 30%, transparent 58%); }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) var(--space-2xl); display: grid; gap: var(--space-md); max-width: var(--container); margin-inline: auto; }
.hero-mark { font-size: var(--text-mark); line-height: 0.88; letter-spacing: -0.03em; }
.hero-lead { font-size: var(--text-lg); color: var(--color-night-muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
.beats { list-style: none; display: none; }
.flight-meter, .flight-hint { display: none; }
.js .flight { height: 640svh; }
.js .flight-pin { position: sticky; top: 0; height: 100svh; height: 100lvh; overflow: hidden; }
.js .beats { display: block; position: absolute; inset: 0; pointer-events: none; }
.js .beat { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(12svh + 100lvh - 100svh); display: grid; gap: var(--space-xs); opacity: 0; transform: translateY(30px); }
.beat span { font-family: var(--font-display); font-size: var(--text-beat); line-height: 0.95; letter-spacing: -0.03em; text-shadow: 0 4px 40px var(--color-shade); }
.beat .sm { font-size: calc(var(--text-beat) * 0.55); color: var(--color-night-muted); }
.beat--end { pointer-events: auto; justify-items: start; }
.beat--end .btn { margin-top: var(--space-lg); background: transparent; color: var(--color-night-ink); border-color: var(--color-night-ink); }
.beat--end .btn:hover { background: var(--color-night-ink); color: var(--color-night); }
.js .flight-meter { display: block; position: absolute; top: 50%; right: var(--space-lg); width: 2px; height: 30svh; translate: 0 -50%; background: var(--color-night-rule); }
.flight-meter span { display: block; width: 100%; height: 100%; background: var(--color-accent); transform-origin: top; transform: scaleY(0); }
.js .flight-hint { display: block; position: absolute; top: 50%; right: var(--space-xl); writing-mode: vertical-rl; font-size: var(--text-xs); color: var(--color-night-muted); translate: 0 -50%; }
@media (max-width: 40rem) { .js .flight-hint, .js .flight-meter { display: none; } .hero-copy { padding-bottom: var(--space-xl); } }

/* ---------- declaración ---------- */
.statement { padding-block: var(--section-gap); }
.statement-t { font-size: var(--text-statement); line-height: 1.12; letter-spacing: -0.02em; max-width: 26ch; }

/* ---------- servicios ---------- */
.services { padding-bottom: var(--section-gap); }
.sv-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); }
.section-t { font-size: var(--text-section); line-height: 1.02; letter-spacing: -0.02em; max-width: 14ch; }
.sv-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap-columns); }
.sv-list li { display: grid; gap: var(--space-xs); padding-block: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.sv-n { font-size: var(--text-sm); color: var(--color-muted); }
.sv-list h3 { font-size: var(--text-2xl); line-height: 1.05; }
.sv-list p { color: var(--color-ink-2); max-width: 32ch; }
@media (max-width: 60rem) { .sv-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) { .sv-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- propiedades ---------- */
.props { padding-bottom: var(--section-gap); }
.props-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-lg); flex-wrap: wrap; margin-bottom: var(--space-2xl); }
.props-note { font-size: var(--text-sm); color: var(--color-muted); max-width: 32ch; }
.props-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(18rem, 32rem); gap: var(--space-lg); overflow-x: auto; padding: 0 var(--gutter) var(--space-lg); scroll-snap-type: x mandatory; scrollbar-width: thin; }
.props-track:focus-visible { outline-offset: -2px; }
.prop { scroll-snap-align: start; display: grid; gap: var(--space-md); }
.prop-img { aspect-ratio: 4 / 5; border-radius: var(--radius-card); background: var(--color-paper-2) center / cover no-repeat; overflow: hidden; transition: transform var(--dur-long) var(--ease-out); }
.prop:hover .prop-img { transform: scale(0.985); }
.prop-zone { font-size: var(--text-sm); color: var(--color-muted); }
.prop h3 { font-size: var(--text-xl); line-height: 1.15; }
.prop-meta { font-size: var(--text-sm); color: var(--color-ink-2); }

/* ---------- más opciones ---------- */
.opts { padding-bottom: var(--section-gap); }
.opts-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-lg); flex-wrap: wrap; }
.opts-note { margin: var(--space-md) 0 var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); max-width: 52ch; }
.seg { display: inline-flex; padding: var(--space-3xs); border: 1px solid var(--color-rule); border-radius: var(--radius-btn); }
.seg button { min-height: 44px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-btn); background: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.seg button[aria-checked="true"] { background: var(--color-ink); color: var(--color-paper); }
.opts-list { list-style: none; border-bottom: var(--rule-hair) solid var(--color-rule); }
.opts-list li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr) auto; gap: var(--space-md); align-items: center; padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.opts-list li[hidden] { display: none; }
.o-zone { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.1; }
.o-type, .o-m2 { color: var(--color-ink-2); font-size: var(--text-sm); }
.o-price { font-weight: 500; }
.o-cta { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; padding: 0 var(--space-md); border: 1px solid var(--color-ink); border-radius: var(--radius-btn); text-decoration: none; font-size: var(--text-sm); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.o-cta:hover { background: var(--color-ink); color: var(--color-paper); }
@media (max-width: 48rem) {
  .opts-list li { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2xs) var(--space-md); }
  .o-zone, .o-type, .o-m2, .o-price { grid-column: 1; }
  .o-cta { grid-column: 2; grid-row: 1 / span 4; }
}

/* ---------- tasación ---------- */
.tasa { background: var(--color-night); color: var(--color-night-ink); padding-block: var(--section-gap); }
.tasa-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: start; }
.tasa-copy { display: grid; gap: var(--space-lg); }
.tasa-copy p { color: var(--color-night-muted); max-width: 38ch; }
.tasa-form { display: grid; gap: var(--space-xl); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-night-2); }
.field { display: grid; gap: var(--space-sm); }
.field legend, .field label, .lbl { font-size: var(--text-sm); color: var(--color-night-muted); padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chip { min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-btn); border: 1px solid var(--color-night-rule); background: none; color: var(--color-night-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.chip:hover { border-color: var(--color-night-muted); }
.chip[aria-checked="true"] { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }
.stepper { display: inline-flex; align-items: center; gap: var(--space-lg); }
.stepper button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--color-night-rule); background: none; color: var(--color-night-ink); font-size: var(--text-xl); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.stepper button:hover { background: var(--color-night); }
.stepper output { font-family: var(--font-display); font-size: var(--text-2xl); min-width: 2ch; text-align: center; }
input[type="range"] { width: 100%; accent-color: var(--color-accent); }
.form-note { font-size: var(--text-sm); color: var(--color-night-muted); }
.tasa-form .btn { justify-self: start; }
@media (max-width: 60rem) { .tasa-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); } .tasa-form { padding: var(--space-lg); } }

/* ---------- prueba ---------- */
.proof { padding-block: var(--space-3xl); }
.proof-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: center; border-bottom: var(--rule-hair) solid var(--color-rule); padding-bottom: var(--space-3xl); }
.proof-n { font-family: var(--font-display); font-size: clamp(7rem, 20vw, 16rem); line-height: 0.85; letter-spacing: -0.04em; color: var(--color-ink); }
.proof-grid h2 { font-size: var(--text-xl); margin-bottom: var(--space-sm); }
.proof-grid p { color: var(--color-ink-2); margin-bottom: var(--space-md); }
@media (max-width: 40rem) { .proof-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contacto ---------- */
.contact { padding-bottom: var(--section-gap); }
.ct-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.facts { display: grid; margin-block: var(--space-xl); }
.facts div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.facts dt { font-size: var(--text-sm); color: var(--color-muted); }
.facts a { text-decoration: none; overflow-wrap: anywhere; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-card); filter: sepia(0.25) saturate(0.85); }
@media (max-width: 60rem) { .ct-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

.footer { background: var(--color-night); color: var(--color-night-ink); padding: var(--space-3xl) var(--gutter) var(--space-2xl); }
.footer-mark { font-family: var(--font-display); font-size: var(--text-mark); line-height: 0.9; letter-spacing: -0.03em; max-width: var(--container); margin-inline: auto; overflow-wrap: break-word; }
.footer-row { max-width: var(--container); margin: var(--space-xl) auto 0; display: flex; justify-content: space-between; gap: var(--space-lg); flex-wrap: wrap; font-size: var(--text-sm); }
.footer-note { color: var(--color-night-muted); max-width: 60ch; }

@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap: 104px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap: 80px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .flight { height: auto; }
  .js .flight-pin { position: relative; height: 100svh; }
  .js .beats, .js .flight-meter, .js .flight-hint { display: none; }
}
