/* Sitio de Nora Collazos. Azul dominante, video a sangre, una sola fuente (Manrope), un solo juego de botones, radios y texto. */
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; background: var(--navy); }
html.menu-open { overflow: hidden; }
body { margin: 0; background: var(--navy); color: var(--ink); font: 400 var(--fs-body)/1.6 var(--font-body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

/* Ámbitos de color */
.dark { --ink: var(--cream); --soft: rgba(244, 240, 232, .78); --paper: var(--navy); --card: var(--navy-2); --line: rgba(244, 240, 232, .2); --label: var(--champagne); --chip: rgba(244, 240, 232, .1); --neg: #f2b6a8; color: var(--ink); background: var(--navy); }
.light, .panel, .model, .quick { --ink: var(--navy); --soft: var(--charcoal); --paper: var(--cream); --card: var(--white); --line: rgba(23, 43, 67, .16); --label: var(--charcoal); --chip: rgba(23, 43, 67, .07); --neg: var(--danger); color: var(--ink); }
.light { background: var(--cream); }

/* Texto: la misma escala en todo el sitio */
h1 { font-size: var(--fs-h1); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.035em; word-spacing: .06em; }
h2 { font-size: var(--fs-h2); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
p { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--soft); max-width: 56ch; }
.label { font-size: var(--fs-small); font-weight: 600; color: var(--label); }
.hint { font-size: var(--fs-xs); line-height: 1.5; color: var(--soft); margin-top: 16px; }
.src { font-size: .85em; white-space: nowrap; text-underline-offset: 2px; color: var(--soft); }
.src:hover { color: var(--ink); }
.broker-line { font-size: var(--fs-xs); line-height: 1.5; color: var(--soft); margin-top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--cream); color: var(--navy); border-radius: var(--r-md); }
.skip:focus { top: 12px; }
.i { width: 1.25em; height: 1.25em; flex: none; }
.prose h2 { font-size: 1.5rem; margin: 32px 0 8px; }
.prose h3 { margin: 24px 0 8px; }
.prose p, .prose li { margin-bottom: 10px; }
.prose ul { list-style: disc; padding-left: 20px; }
.prose ol { list-style: decimal; padding-left: 20px; }

/* Estructura */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.wrap.narrow { max-width: calc(760px + var(--gut) * 2); }
.s { padding-block: var(--sp); position: relative; }
.sheet { position: relative; z-index: 1; border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); }
.s.light + .s.light { padding-top: 0; }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head.row { grid-template-columns: 1fr auto; align-items: end; }
.sec-head.sticky { align-self: start; margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 112px); align-items: start; }
.two-col h2 + .lead, .two-col h2 + .hint { margin-top: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sub-head { margin-top: 64px; font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; }
@media (min-width: 1000px) { .sec-head.sticky { position: sticky; top: 112px; } }

/* Botones: uno solo, con sus variantes */
.btn { --bg: var(--ink); --fg: var(--paper); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 26px; border: 1px solid var(--bg); border-radius: var(--r-pill); background: var(--bg); color: var(--fg); font-size: .9375rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn .i { transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { border-radius: var(--r-pill); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-wa { --bg: var(--wa); --fg: var(--white); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: var(--fs-small); }
.btn-block { width: 100%; }
.go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; text-decoration: none; padding-block: 8px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .4s var(--ease); }
.go .i { transition: transform .35s var(--ease); }
.go:hover { background-size: 0 1px; background-position: 100% 100%; }
.go:hover .i { transform: translateX(4px); }
.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 12px 0 0; font-size: var(--fs-small); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: var(--r-pill); background: transparent; font-size: var(--fs-small); font-weight: 600; transition: background-color .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Barra superior y encabezado flotante */
.topbar { position: absolute; inset: 0 0 auto; z-index: 30; background: transparent; font-size: var(--fs-xs); }
.topbar-row { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.topbar strong { font-weight: 600; }
.site-header { position: fixed; inset: 44px 0 auto; z-index: 40; background: transparent; transition: top .4s var(--ease), translate .45s var(--ease); pointer-events: none; }
.scrolled .site-header { top: 10px; }
.site-header.away { translate: 0 -130%; }
.menu-open .site-header { translate: none; }
.header-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 4px 12px 4px 18px; pointer-events: auto; }
.header-row::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r-pill); background: rgba(23, 43, 67, .72); border: 1px solid rgba(244, 240, 232, .14); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 10px 40px rgba(10, 20, 33, .28); }
.brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; flex: none; text-decoration: none; color: var(--cream); }
/* El nombre va como texto (no dentro de la imagen) para que se lea a tamaño real. */
.brand img { height: 50px; width: auto; }
.brand-name { display: flex; flex-direction: column; gap: 3px; font-size: 1rem; font-weight: 600; line-height: 1; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.brand-name small { font-size: .6875rem; font-weight: 500; letter-spacing: .3em; color: var(--soft); }
.nav { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { position: relative; padding-block: 8px; font-size: var(--fs-small); font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-broker { display: none; }
.lang-quick { display: none; }
.menu-btn { display: none; position: relative; z-index: 2; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--chip); place-items: center; font-size: 1.15rem; }
.menu-btn .if-open, .menu-btn[aria-expanded="true"] .if-closed { display: none; }
.menu-btn[aria-expanded="true"] .if-open { display: block; }
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 16px; padding: 120px var(--gut) calc(24px + env(safe-area-inset-bottom)); background: var(--navy); visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; overflow-y: auto; pointer-events: auto; }
  .nav.open { visibility: visible; opacity: 1; }
  .nav-links { flex-direction: column; gap: 0; margin-bottom: auto; }
  .nav-links a { padding-block: 12px; font-size: clamp(1.75rem, 8vw, 2.5rem); font-weight: 500; letter-spacing: -.03em; border-bottom: 1px solid var(--line); transform: translateY(16px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current] { color: var(--champagne); }
  .nav.open .nav-links a { transform: none; opacity: 1; }
  .nav.open .nav-links a:nth-child(2) { transition-delay: 40ms; }
  .nav.open .nav-links a:nth-child(3) { transition-delay: 80ms; }
  .nav.open .nav-links a:nth-child(4) { transition-delay: 120ms; }
  .nav.open .nav-links a:nth-child(5) { transition-delay: 160ms; }
  .lang { min-height: 44px; font-size: 1rem; }
  .nav .lang { display: none; }
  .lang-quick { display: inline-flex; position: relative; z-index: 2; margin-left: auto; margin-right: 8px; padding-inline: 8px; font-size: var(--fs-small); pointer-events: auto; }
  .nav .btn { min-height: 54px; font-size: .9375rem; }
  .nav-broker { display: block; font-size: var(--fs-xs); color: var(--soft); }
  .menu-btn { display: grid; }
}
@media (max-width: 480px) { .brand img { height: 44px; width: 44px; } .brand-name { display: none; } .header-row { padding-left: 14px; min-height: 60px; } .menu-btn { width: 44px; height: 44px; } }

/* Amenidades: mosaico de fotos y recorrido en video que se reproduce al tocarlo */
.amen { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, clamp(200px, 21vw, 290px)); gap: 16px; }
.amen figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--navy); }
.amen-video { grid-column: 1; grid-row: 1 / 3; }
.amen-wide { grid-column: 2 / 4; grid-row: 1; }
.amen-tall { grid-column: 4; grid-row: 1 / 3; }
.amen img, .amen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.amen-photo button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.amen-photo img { transition: transform .8s var(--ease); }
.amen-photo button:hover img { transform: scale(1.04); }
.amen-photo button:focus-visible { outline-offset: -4px; }
.amen figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(23, 43, 67, .8); color: var(--cream); font-size: var(--fs-xs); font-weight: 600; pointer-events: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.amen-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px; padding: 24px 16px; border: 0; background: linear-gradient(180deg, rgba(23, 43, 67, 0) 35%, rgba(23, 43, 67, .78)); color: var(--cream); font-size: var(--fs-small); font-weight: 600; cursor: pointer; }
.amen-play-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--cream); color: var(--navy); font-size: 1.5rem; transition: transform .35s var(--ease); }
.amen-play:hover .amen-play-ico { transform: scale(1.08); }
.amen-play:focus-visible { outline-offset: -4px; }
.amen-video.playing .amen-play { display: none; }
.zoom { max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.zoom::backdrop { background: rgba(10, 20, 33, .88); }
.zoom figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.zoom img { display: block; width: auto; height: auto; max-width: min(92vw, 1600px); max-height: calc(100dvh - 120px); border-radius: var(--r-lg); }
.zoom figcaption { color: var(--cream); font-size: var(--fs-small); font-weight: 600; }
.zoom-close { position: fixed; top: 16px; right: 16px; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--cream); color: var(--navy); font-size: 1.25rem; cursor: pointer; }
@media (max-width: 700px) {
  .amen { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 160px; gap: 12px; }
  .amen-wide { grid-column: 1 / 3; grid-row: 1; }
  .amen-video { grid-column: 1; grid-row: 2 / 4; }
  .amen-tall { grid-column: 2; grid-row: 2 / 4; }
  .amen-play-ico { width: 56px; height: 56px; }
}

/* Video y fotos a sangre */
.media { position: absolute; inset: 0; overflow: hidden; background: var(--navy); }
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media video { opacity: 0; transition: opacity 1.2s; }
.media.playing video { opacity: 1; }
.vid-toggle { position: absolute; right: var(--gut); top: 128px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(244, 240, 232, .35); border-radius: 50%; background: rgba(23, 43, 67, .45); color: var(--cream); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vid-toggle .if-paused, .vid-toggle[aria-pressed="true"] .if-playing { display: none; }
.vid-toggle[aria-pressed="true"] .if-paused { display: block; }
.no-video .vid-toggle { display: none; }
.hero-frame { position: absolute; inset: 0; clip-path: inset(calc(var(--p, 0) * 3.5%) calc(var(--p, 0) * 3.5%) calc(var(--p, 0) * 3.5%) round calc(var(--p, 0) * 48px)); will-change: clip-path; }
.hero-frame .media img, .hero-frame .media video { transform: scale(calc(1.04 + var(--p, 0) * .08)) translateY(calc(var(--p, 0) * 4%)); }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 43, 67, .78) 0, rgba(23, 43, 67, .5) 42%, rgba(23, 43, 67, 0) 78%), linear-gradient(180deg, rgba(23, 43, 67, .6) 0, rgba(23, 43, 67, .12) 26%, rgba(23, 43, 67, .3) 60%, rgba(23, 43, 67, .96) 100%); }
/* Inicio sin neblina (reunión 11 nov 2026): la vista queda clara; solo una sombra suave abajo para leer el texto. */
.hero .hero-frame::after { background: radial-gradient(ellipse 62% 58% at 0% 78%, rgba(23, 43, 67, .5), rgba(23, 43, 67, 0) 100%), linear-gradient(180deg, rgba(23, 43, 67, .35) 0, rgba(23, 43, 67, 0) 16%, rgba(23, 43, 67, 0) 50%, rgba(23, 43, 67, .45) 80%, rgba(23, 43, 67, .78) 100%); }
.hero .hero-copy h1, .hero .hero-copy .lead { text-shadow: 0 2px 18px rgba(10, 20, 33, .45); }

/* Portada */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; }
.hero-body { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 32px; display: grid; gap: clamp(32px, 6vh, 64px); }
.hero-copy h1 { max-width: 15ch; }
.hero-copy .lead { margin-top: 20px; color: var(--cream); }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--fs-small); font-weight: 500; line-height: 1.35; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust .i { color: var(--champagne); font-size: 1.1rem; }

/* Titular por palabras */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .18em; margin-bottom: -.18em; }
.w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease) var(--d, 0ms); }
.in > .w > span { transform: none; }

/* Aparición */
.js [data-r], .js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js [data-r].in, .js [data-stagger] > .in { opacity: 1; transform: none; }

/* Frase que se enciende con el scroll */
.statement { padding-bottom: calc(var(--sp) + var(--r-xl)); }
.statement-text { font-size: clamp(1.75rem, 1.15rem + 2.9vw, 3.75rem); font-weight: 500; line-height: 1.16; letter-spacing: -.03em; max-width: 24ch; }
.js .statement-text span { opacity: .22; transition: opacity .5s; }
.js .statement-text span.on { opacity: 1; }

/* Nora */
.nora-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 112px); align-items: center; }
.portrait-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.portrait-frame img { width: 100%; aspect-ratio: 900 / 1012; object-fit: cover; }
.portrait-frame figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--r-md); background: rgba(23, 43, 67, .88); color: var(--cream); font-size: var(--fs-xs); line-height: 1.4; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.portrait-frame strong { font-size: var(--fs-small); font-weight: 600; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin: clamp(28px, 4vw, 48px) 0 28px; }
.features li { display: grid; gap: 12px; }
.features .i, .pledges .i { box-sizing: content-box; width: 22px; height: 22px; padding: 11px; border-radius: 50%; background: var(--chip); }
.features h3 { margin-bottom: 4px; }
.features p { font-size: var(--fs-small); line-height: 1.5; color: var(--soft); }

/* Ventana en forma de casa que se abre con el scroll */
.aperture { --p: 0; --q: calc(1 - var(--p)); --L: 31; --T: 27; --E: 47; --B: 8; height: 260svh; }
.calm .aperture { --p: 1; height: auto; }
.aperture-stick { position: sticky; top: 0; height: 100svh; overflow: hidden; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.aperture-intro { position: absolute; inset: 0 var(--gut) auto; top: clamp(84px, 11svh, 112px); z-index: 1; text-align: center; opacity: calc(1 - var(--p) * 2.6); }
.aperture-intro h2 { margin-top: 4px; }
.aperture-media { position: absolute; inset: 0; clip-path: polygon(
  50% calc(var(--q) * var(--T) * 1%),
  calc(100% - var(--q) * var(--L) * 1%) calc(var(--q) * var(--E) * 1%),
  calc(100% - var(--q) * var(--L) * 1%) calc(100% - var(--q) * var(--B) * 1%),
  calc(var(--q) * var(--L) * 1%) calc(100% - var(--q) * var(--B) * 1%),
  calc(var(--q) * var(--L) * 1%) calc(var(--q) * var(--E) * 1%)); will-change: clip-path; }
.aperture-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 43, 67, .25), rgba(23, 43, 67, .92) 92%); opacity: calc(var(--p) * 1.1); }
.aperture-end { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: clamp(28px, 6svh, 64px); opacity: calc((var(--p) - .72) * 4); transform: translateY(calc((1 - var(--p)) * 40px)); pointer-events: none; }
.aperture.open .aperture-end { pointer-events: auto; }
.calm .aperture-stick { height: auto; min-height: 100svh; }
.calm .aperture-end { position: relative; padding-top: 50svh; opacity: 1; transform: none; pointer-events: auto; }
.aperture-text { font-size: clamp(1.75rem, 1.15rem + 2.5vw, 3.5rem); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; max-width: 20ch; }
.aperture-facts { display: flex; flex-wrap: wrap; gap: 16px clamp(28px, 6vw, 80px); margin: 24px 0; }
.aperture-facts dt { font-size: var(--fs-small); color: var(--soft); }
.aperture-facts dd { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }

/* Cifras */
.ocala-band { padding-top: clamp(64px, 8vw, 112px); padding-bottom: calc(var(--sp) + var(--r-xl)); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px clamp(24px, 4vw, 64px); }
.stat { padding-top: 20px; border-top: 1px solid var(--line); }
.stat strong, .data-cards strong { display: block; font-size: clamp(2.75rem, 1.9rem + 3.4vw, 5rem); font-weight: 400; line-height: 1.05; letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat p { margin-top: 12px; font-size: var(--fs-small); line-height: 1.5; color: var(--soft); max-width: 34ch; }
.data-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.data-cards article { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r-lg); background: var(--card); }
.data-cards p:last-child { color: var(--soft); max-width: 46ch; }

/* Mosaicos */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 5; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-lg); overflow: hidden; background: var(--navy); color: var(--cream); text-decoration: none; isolation: isolate; }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 43, 67, .05) 30%, rgba(23, 43, 67, .92)); }
.tile h3 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); font-weight: 500; letter-spacing: -.02em; }
.tile p { margin-top: 6px; font-size: var(--fs-small); line-height: 1.45; color: rgba(244, 240, 232, .88); }
.tile-go { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cream); color: var(--navy); font-size: 1.1rem; transition: transform .5s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile:hover .tile-go { transform: rotate(45deg); }
.tile:focus-visible { outline-offset: 4px; border-radius: var(--r-lg); }

/* Línea de tiempo */
.steps-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 7vw, 112px); }
.steps { --p: 0; position: relative; display: grid; gap: clamp(32px, 4vw, 52px); }
.steps::before, .steps::after { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.steps::after { background: var(--ink); transform: scaleY(var(--p)); transform-origin: top; }
.steps li:last-child { background: var(--paper); }
.steps li { position: relative; z-index: 1; display: grid; grid-template-columns: 48px 1fr; gap: clamp(16px, 2.5vw, 32px); }
.step-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); font-size: 1rem; transition: background-color .4s, color .4s, border-color .4s; }
.steps li.on .step-ico { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.step-n { font-size: var(--fs-xs); font-weight: 600; color: var(--label); }
.steps h3 { font-size: clamp(1.25rem, 1.15rem + .5vw, 1.5rem); font-weight: 500; letter-spacing: -.02em; margin: 2px 0 6px; }
.steps li div > p:last-child { color: var(--soft); max-width: 52ch; }

/* Compromisos */
.pledges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.pledges li { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--card); }
.pledges .i { display: block; }
.pledges p { color: var(--soft); font-size: .9375rem; line-height: 1.55; }

/* Llamada final */
.cta-final { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: min(92svh, 860px); }
.cta-final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 43, 67, .5), rgba(23, 43, 67, .94) 88%); }
.cta-body { position: relative; z-index: 2; padding-block: clamp(120px, 16vw, 200px) calc(clamp(40px, 6vw, 72px) + var(--r-xl)); }
.cta-body .lead { margin-top: 16px; color: var(--cream); }
.cta-body h2 { max-width: 16ch; }
.cta-side { margin-top: 16px; }

/* Simulador rápido */
.sim-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 112px); align-items: center; }
.sim-teaser .lead { margin-top: 16px; }
.panel, .quick { padding: clamp(20px, 3vw, 40px); border-radius: var(--r-lg); background: var(--white); box-shadow: 0 30px 80px rgba(10, 20, 33, .22); }
.quick-title { font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; color: var(--soft); line-height: 1.4; }
.quick-price { display: block; margin: 4px 0 16px; font-size: clamp(2.5rem, 1.9rem + 2.4vw, 3.75rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.range-ends { display: flex; justify-content: space-between; margin: 8px 0 20px; font-size: var(--fs-xs); color: var(--soft); }
.quick-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; padding-block: 16px; border-block: 1px solid var(--line); }
.quick-out dt { font-size: var(--fs-xs); line-height: 1.3; color: var(--soft); }
.quick-out dd { margin-top: 4px; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.neg { color: var(--neg); }

/* Controles de deslizamiento */
input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; background: transparent; cursor: grab; touch-action: pan-y; }
input[type="range"]:active { cursor: grabbing; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--ink) var(--v, 50%), var(--line) var(--v, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border: 7px solid var(--ink); border-radius: 50%; background: var(--white); box-shadow: 0 4px 14px rgba(10, 20, 33, .25); transition: transform .25s var(--ease); }
input[type="range"]::-moz-range-thumb { box-sizing: border-box; width: 30px; height: 30px; border: 7px solid var(--ink); border-radius: 50%; background: var(--white); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }

/* Portadas interiores */
.page-hero { position: relative; display: flex; align-items: flex-end; min-height: min(84svh, 780px); }
.page-hero-body { position: relative; z-index: 2; padding-top: 150px; padding-bottom: calc(clamp(32px, 5vw, 56px) + var(--r-xl)); display: grid; gap: 16px; }
.page-hero-body h1 { max-width: 18ch; }
.page-hero-body .lead { color: var(--cream); }
.page-hero-body .trust { margin-top: 20px; }
.page-hero.plain { min-height: 0; }
.nora-hero { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: end; padding-top: 150px; padding-bottom: calc(clamp(32px, 5vw, 56px) + var(--r-xl)); }
.nora-hero .page-hero-body { padding: 0; }
.nora-hero .trust { grid-template-columns: 1fr 1fr; }

/* Modelos */
.model-tools { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: 24px 48px; align-items: end; margin-bottom: 32px; }
.budget label { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-small); font-weight: 600; color: var(--soft); }
.budget output { color: var(--ink); font-size: 1rem; font-variant-numeric: tabular-nums; }
.rail { position: relative; display: flex; gap: 14px; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 12px; scroll-padding-inline: var(--gut); overflow: auto hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -2px; }
.rail.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.rail.dragging a { pointer-events: none; }
.model { flex: 0 0 min(82vw, 300px); display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-lg); background: var(--white); scroll-snap-align: start; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.model:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(23, 43, 67, .13); }
.model .label { font-size: var(--fs-xs); margin-bottom: -10px; }
.model h3 { font-size: 1.75rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-small); color: var(--soft); }
.specs li { display: inline-flex; align-items: center; gap: 6px; }
.area { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-small); color: var(--soft); }
.area i { display: block; flex: 0 0 100%; height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--ink) var(--a), var(--line) var(--a)); }
.price { margin-top: auto; font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.price small { display: block; font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0; color: var(--soft); }
.rail-foot { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-top: 16px; }
.rail-count { font-size: var(--fs-small); font-weight: 600; }
.rail-bar { height: 2px; background: var(--line); overflow: hidden; }
.rail-bar span { display: block; height: 100%; background: var(--ink); }
.rail-arrows { display: flex; gap: 8px; }
.rail-arrows button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: transparent; transition: background-color .25s, color .25s, opacity .25s; }
.rail-arrows button:hover:not([disabled]) { background: var(--ink); color: var(--paper); }
.rail-arrows button[disabled] { opacity: .35; cursor: default; }
/* Buscador de proyectos */
.crumb { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: var(--fs-small); font-weight: 600; text-decoration: none; }
.crumb:hover { text-decoration: underline; }
.aperture-actions { align-items: center; gap: 12px 24px; }
.home-search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px 16px; align-items: end; margin-bottom: 24px; }
.home-search label { font-size: var(--fs-small); font-weight: 600; }
.finder-search { position: relative; max-width: 640px; margin-top: 24px; }
.finder-search .i { position: absolute; left: 20px; top: 50%; translate: 0 -50%; font-size: 1.25rem; color: var(--navy); pointer-events: none; }
.finder-search input[type="search"] { width: 100%; min-height: 60px; padding: 12px 20px 12px 54px; border: 1px solid transparent; border-radius: var(--r-pill); background: var(--white); color: var(--navy); font: inherit; }
.finder.s { padding-top: calc(var(--r-xl) + 16px); }
.finder-search input::placeholder { color: var(--charcoal); opacity: .8; }
.finder-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.finder-scrim { display: none; }
.finder-panel { position: sticky; top: 96px; max-height: calc(100svh - 112px); overflow-y: auto; display: flex; flex-direction: column; scrollbar-width: thin; }
.finder-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.finder-panel-head h2 { font-size: var(--fs-h3); }
.finder-x { display: none; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: inherit; }
.finder-fields { display: grid; gap: 22px; padding-block: 8px 20px; }
.f-field { display: grid; gap: 10px; min-width: 0; }
.f-label { font-size: var(--fs-small); font-weight: 600; color: var(--soft); }
.chip[disabled] { opacity: .35; cursor: not-allowed; border-style: dashed; }
.f-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: var(--fs-small); font-weight: 600; color: var(--soft); cursor: pointer; }
.f-switch input { -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 46px; height: 28px; margin: 0; border-radius: var(--r-pill); background: var(--line); cursor: pointer; transition: background-color .25s; }
.f-switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 4px rgba(10, 20, 33, .3); transition: translate .3s var(--ease); }
.f-switch input:checked { background: var(--ink); }
.f-switch input:checked::after { translate: 18px 0; }
.finder-panel-foot { position: sticky; bottom: 0; display: flex; gap: 8px; padding-block: 12px 4px; background: var(--paper); }
.finder-panel-foot [data-f-apply] { display: none; }
.finder-panel-foot [data-f-clear] { flex: 1; }
.finder-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; }
.finder-toggle { display: none; }
.finder-count { margin-right: auto; font-size: var(--fs-small); font-weight: 600; }
.f-num { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 6px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font-size: var(--fs-xs); }
.f-num[hidden] { display: none; }
.f-sort select { width: auto; min-height: 44px; padding-block: 8px; border-radius: var(--r-pill); font-size: var(--fs-small); font-weight: 600; }
.f-applied { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.f-tag { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 14px; border: 0; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; cursor: pointer; }
.f-tag::after { content: "×"; font-size: 1rem; line-height: 1; }
.f-clear-all { min-height: 36px; padding: 4px 8px; border: 0; background: none; color: inherit; font-size: var(--fs-xs); font-weight: 600; text-decoration: underline; white-space: nowrap; cursor: pointer; }
.f-group + .f-group { margin-top: 48px; }
.f-group-head { position: relative; display: flex; align-items: flex-end; min-height: 220px; margin-bottom: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); overflow: hidden; color: var(--cream); background: var(--navy); }
.f-group-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 43, 67, .25), rgba(23, 43, 67, .95) 78%); }
.f-group-head > div:last-child { position: relative; z-index: 1; display: grid; justify-items: start; gap: 4px; }
.f-group-head h2 { font-size: var(--fs-h3); }
.f-group-meta { display: flex; align-items: center; gap: 6px; font-size: var(--fs-small); }
.finder-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.finder-cards .model { flex: none; width: auto; gap: 12px; padding: 20px; }
.finder-cards .price { margin-top: 0; font-size: 1.375rem; }
.finder-cards .btn { margin-top: auto; }
.finder-cards .specs li:last-child { flex-basis: 100%; }
.f-badge { display: inline-flex; align-items: center; align-self: flex-start; justify-self: start; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font-size: var(--fs-xs); font-weight: 600; }
.f-groups.pop .model:not([hidden]) { animation: f-in .4s var(--ease) both; }
@keyframes f-in { from { opacity: 0; transform: translateY(10px); } }
.f-empty { display: grid; justify-items: center; gap: 12px; padding: clamp(32px, 6vw, 64px) 20px; border-radius: var(--r-lg); background: var(--white); text-align: center; }
.f-empty-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 1.5rem; }
.f-empty h2 { font-size: var(--fs-h3); }
.f-empty .actions { justify-content: center; }
html:not(.js) .finder-panel, html:not(.js) .finder-search, html:not(.js) .f-sort { display: none; }
html:not(.js) .finder-grid { grid-template-columns: minmax(0, 1fr); }
html.finder-open { overflow: hidden; }
@media (max-width: 900px) {
  .finder-grid { grid-template-columns: minmax(0, 1fr); }
  .finder-toggle { display: inline-flex; }
  .finder-bar { position: sticky; top: 8px; z-index: 5; gap: 6px 8px; padding: 8px; margin-inline: -8px; border-radius: var(--r-lg); background: var(--paper); }
  .finder-toggle { padding-inline: 14px; gap: 8px; }
  .f-sort select, .f-sort .sel-btn { font-size: 1rem; }
  .finder-count { order: 3; margin: 0 0 0 auto; font-size: var(--fs-xs); }
  .finder-panel { position: fixed; inset: 0 0 0 auto; z-index: 9; width: min(88vw, 420px); max-height: none; padding: 16px var(--gut) calc(12px + env(safe-area-inset-bottom)); background: var(--paper); box-shadow: -18px 0 50px rgba(10, 20, 33, .25); translate: 100% 0; visibility: hidden; transition: translate .4s var(--ease), visibility .4s; }
  .finder-panel.open { translate: 0 0; visibility: visible; }
  .finder-scrim { position: fixed; inset: 0; z-index: 8; display: block; background: rgba(10, 20, 33, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
  html.finder-open .finder-scrim { opacity: 1; pointer-events: auto; }
  html.finder-open .finder { z-index: 70; }
  .finder-x { display: grid; }
  .finder-fields { flex: 1; }
  .finder-panel-foot [data-f-apply] { display: inline-flex; flex: 2; }
  .f-applied { flex-wrap: nowrap; overflow: auto hidden; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .f-applied::-webkit-scrollbar { display: none; }
}
@media (max-width: 700px) {
  .home-search { grid-template-columns: 1fr 1fr; }
  .home-search .btn { grid-column: 1 / -1; }
  .f-group-head { min-height: 180px; }
  .finder-cards { grid-template-columns: minmax(0, 1fr); }
  .finder-cards .model { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px 12px; }
  .finder-cards .label, .finder-cards .specs, .finder-cards .f-badge, .finder-cards .btn { grid-column: 1 / -1; }
  .finder-cards .label { margin-bottom: -6px; }
  .finder-cards .price { text-align: right; }
}
@media (max-width: 360px) {
  .home-search { grid-template-columns: minmax(0, 1fr); }
}
.quick-homes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.quick-homes li { display: grid; gap: 2px; padding: 20px 24px; border-radius: var(--r-md); background: var(--white); }
.quick-homes strong { font-size: var(--fs-h3); font-weight: 600; }
.quick-homes span { font-size: var(--fs-small); color: var(--soft); }
.quick-homes b { margin-top: 8px; font-weight: 500; font-size: 1.25rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }

/* Desplegables */
.acc { display: grid; }
.acc details { border-bottom: 1px solid var(--line); }
.acc details:first-child { border-top: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 16px; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary > .i { transition: transform .4s var(--ease); }
.acc details[open] summary > .i { transform: rotate(45deg); }
.acc-title { display: inline-flex; align-items: center; gap: 12px; }
.acc details > p, .acc details > div { padding: 0 40px 20px 0; color: var(--soft); }
@supports (interpolate-size: allow-keywords) {
  .acc { interpolate-size: allow-keywords; }
  .acc details::details-content { transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; block-size: 0; overflow: clip; }
  .acc details[open]::details-content { block-size: auto; }
}
.faq-filters { margin-bottom: 20px; }
.why { margin-top: 6px; font-size: var(--fs-small); }
.why summary { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; font-weight: 500; color: var(--soft); cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.why summary::-webkit-details-marker { display: none; }
.why p { margin-top: 4px; color: var(--soft); }

/* Listas con marca */
.ticks { display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 36px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .1em; width: 24px; height: 24px; background: var(--label); -webkit-mask: url("/assets/icons/check.svg") center / 18px no-repeat; mask: url("/assets/icons/check.svg") center / 18px no-repeat; }
.ticks.two { grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 28px; font-size: var(--fs-small); }
.bars { display: grid; gap: 18px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; font-size: var(--fs-small); }
.bars span { display: inline-flex; align-items: center; gap: 8px; }
.bars .i { color: var(--champagne); }
.bars b { font-weight: 600; font-variant-numeric: tabular-nums; }
.bars i { grid-column: 1 / -1; display: block; height: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--champagne); border-radius: 4px; transform-origin: left; }
.js .bars i::after { transform: scaleX(0); transition: transform 1.4s var(--ease) calc(var(--d, 0ms) + 200ms); }
.js .bars li.in i::after { transform: none; }
.mini-steps { display: grid; gap: 16px; margin-top: 28px; }
.mini-steps li { display: flex; gap: 14px; line-height: 1.45; font-size: .9375rem; }
.mini-steps .i { color: var(--champagne); margin-top: 1px; }

/* Mapa */
.map-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 7vw, 112px); align-items: center; }
.map-grid .lead { margin-top: 16px; }
.map-grid p:last-child { margin-top: 16px; }
.map { width: 100%; height: clamp(320px, 42vw, 520px); border: 0; border-radius: var(--r-lg); }

/* Formularios */
.page-form { padding-block: 150px clamp(64px, 8vw, 112px); min-height: 100svh; }
.form-layout { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.form-side .lead { margin-top: 20px; }
@media (min-width: 1000px) { .form-side { position: sticky; top: 112px; } }
.lead-form, .quiz { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
legend { padding: 0 0 4px; font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.field { display: grid; gap: 8px; min-width: 0; }
label, .q { font-size: var(--fs-small); font-weight: 600; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input:not([type="radio"], [type="checkbox"], [type="range"]), select { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
input:not([type="radio"], [type="checkbox"], [type="range"]):focus, select:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(23, 43, 67, .14); }
/* La flecha nativa ignora el padding y queda pegada al borde: se usa caret-down de Phosphor, en azul de marca. */
select { -webkit-appearance: none; appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23172B43'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; cursor: pointer; }
/* Lista desplegable propia. El select real sigue debajo: da el ancho, guarda el valor y valida. Sin JS se ve el nativo. */
.sel { display: grid; min-width: 0; }
.sel > select, .sel > .sel-btn { grid-area: 1 / 1; }
.sel > select { visibility: hidden; pointer-events: none; }
.sel-btn { position: relative; display: flex; align-items: center; align-self: stretch; width: 100%; min-width: 0; padding: 0 44px 0 16px; border: 1px solid var(--line); border-radius: var(--r-md); background-color: var(--white); color: var(--navy); font-size: 1rem; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.sel-btn::after { content: ""; position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--navy); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") center / contain no-repeat; transition: rotate .25s var(--ease); }
.sel-btn[aria-expanded="true"]::after { rotate: 180deg; }
.sel-btn:hover { border-color: rgba(23, 43, 67, .4); }
.sel-btn:focus, .sel-btn[aria-expanded="true"] { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(23, 43, 67, .14); }
.sel-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sel-btn[data-empty] .sel-text { color: var(--charcoal); opacity: .8; }
.f-sort .sel-btn { border-radius: var(--r-pill); font-size: var(--fs-small); font-weight: 600; }
.sel-menu { position: fixed; z-index: 90; width: max-content; max-width: min(360px, calc(100vw - 16px)); max-height: 320px; margin: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; list-style: none; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); color: var(--navy); box-shadow: 0 16px 32px -12px rgba(10, 20, 33, .28), 0 2px 6px rgba(10, 20, 33, .06); scrollbar-width: thin; opacity: 0; transform: translateY(-6px); transition: opacity .16s, transform .22s var(--ease); }
.sel-menu.up { transform: translateY(6px); }
.sel-menu.show { opacity: 1; transform: none; }
.sel-opt { position: relative; display: flex; align-items: center; min-height: 44px; padding: 8px 40px 8px 12px; border-radius: 10px; font-size: 1rem; font-weight: 500; line-height: 1.3; cursor: pointer; transition: background-color .12s; }
.sel-opt + .sel-opt { margin-top: 2px; }
.sel-opt.active { background: rgba(23, 43, 67, .07); }
.sel-opt[aria-selected="true"] { background: var(--navy); color: var(--cream); font-weight: 600; }
.sel-opt[aria-selected="true"]::after { content: ""; position: absolute; right: 12px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (prefers-reduced-motion: reduce) {
  .sel-menu, .sel-opt, .sel-btn::after { transition: none; }
}
[aria-invalid="true"] { border-color: var(--danger) !important; }
.phone { display: flex; }
.dial { display: grid; place-items: center; padding-inline: 14px; border: 1px solid var(--line); border-right: 0; border-radius: var(--r-md) 0 0 var(--r-md); background: var(--cream); font-size: var(--fs-small); font-weight: 600; white-space: nowrap; }
.phone input { border-radius: 0 var(--r-md) var(--r-md) 0; min-width: 0; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.choices.compact { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.choices.three { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; display: block; cursor: pointer; font-weight: 500; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 100%; min-height: 50px; padding: 10px 14px 10px 16px; border: 1px solid var(--line); border-radius: var(--r-md); font-size: var(--fs-small); line-height: 1.3; transition: background-color .2s, color .2s, border-color .2s; }
.choice span .i { opacity: 0; transform: scale(.6); transition: opacity .2s, transform .3s var(--ease); }
.choice:hover span { border-color: var(--navy); }
.choice input:checked + span { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.choice input:checked + span .i { opacity: 1; transform: none; }
.choice input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.field.invalid .choice span { border-color: var(--danger); }
.consents { display: grid; gap: 10px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: var(--fs-xs); font-weight: 400; line-height: 1.45; color: var(--soft); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--navy); border-radius: 4px; transition: width .5s var(--ease); }
.step-count { font-size: var(--fs-xs); font-weight: 600; color: var(--soft); min-height: 1.3em; }
.form-nav { display: flex; gap: 10px; }
.form-nav .btn { flex: 1; }
.form-error { padding: 12px 16px; border-radius: var(--r-md); background: #fbeaec; color: var(--danger); font-size: var(--fs-small); font-weight: 500; }
.hp { position: absolute; left: -9999px; }
.hint.center { text-align: center; }
.inline-success { display: grid; gap: 14px; justify-items: start; }
.cf-turnstile { max-width: 100%; }
.thanks-ico { display: block; margin-bottom: 16px; font-size: 1.75rem; }
[data-thanks] h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3rem); margin-bottom: 16px; }
[data-thanks] .lead { margin-bottom: 20px; }
[data-thanks] p { margin-top: 12px; }
.more { margin-top: 20px; }

/* Calendario */
.cal { display: grid; gap: 14px; margin-top: 8px; }
.preview-tag { justify-self: start; padding: 4px 12px; border-radius: var(--r-pill); background: var(--chip); font-size: var(--fs-xs); font-weight: 600; }
.cal-days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cal-day { flex: none; }
.cal-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.slot { display: grid; gap: 2px; min-height: 60px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); font-weight: 600; text-align: left; transition: background-color .2s, color .2s; }
.slot small { font-size: var(--fs-xs); font-weight: 400; opacity: .8; }
.slot:hover { border-color: var(--navy); }
.slot[aria-pressed="true"] { background: var(--navy); color: var(--cream); }
.cal-confirm { display: grid; gap: 12px; justify-items: start; padding: 16px; border-radius: var(--r-md); background: var(--cream); }

/* Simulador completo */
.sim { scroll-margin-top: 104px; }
.print-head { display: none; }
.sim-tabs { display: flex; gap: 6px; padding: 6px; margin-bottom: 24px; border-radius: var(--r-pill); background: var(--chip); overflow-x: auto; scrollbar-width: none; }
.sim-tabs::-webkit-scrollbar { display: none; }
.sim-tabs button { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 8px 18px; border: 0; border-radius: var(--r-pill); background: transparent; font-size: var(--fs-small); font-weight: 600; white-space: nowrap; transition: background-color .25s, color .25s; }
.sim-tabs button span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--chip); font-size: var(--fs-xs); }
.sim-tabs [aria-selected="true"] { background: var(--navy); color: var(--cream); }
.sim-tabs [aria-selected="true"] span { background: rgba(244, 240, 232, .18); }
.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
.calc > * { min-width: 0; }
.sim-panels > [role="tabpanel"] { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.calc-inputs > .field:first-child, .calc-inputs > .ticks, .calc-inputs > .btn { grid-column: 1 / -1; }
.calc-inputs > .btn { justify-self: start; }
.calc-inputs .field > .why p { max-width: 42ch; }
.num { position: relative; }
.num span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: var(--fs-small); color: var(--soft); }
.calc-out { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); position: sticky; top: 96px; }
.kpi { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: var(--fs-small); }
.kpi span { color: var(--soft); }
.kpi small { font-size: var(--fs-xs); }
.kpi strong { font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.kpi.big { display: grid; gap: 2px; }
.kpi.big strong { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.1; }
.table-scroll { overflow-x: auto; margin-top: 16px; }
.proj { width: 100%; min-width: 480px; border-collapse: collapse; font-size: var(--fs-small); font-variant-numeric: tabular-nums; }
.proj th, .proj td { padding: 12px 10px; text-align: right; border-bottom: 1px solid var(--line); }
.proj th:first-child { text-align: left; }
.proj thead th { font-size: var(--fs-xs); font-weight: 600; color: var(--soft); vertical-align: bottom; }
.sim-bar { position: fixed; inset: auto 0 0; z-index: 35; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(10, 20, 33, .3); }
.sim-bar-row { display: flex; align-items: center; gap: 10px; }
.sim-bar-row p { flex: 1; min-width: 0; display: grid; font-size: var(--fs-small); line-height: 1.3; }
.sim-bar-row small { font-size: var(--fs-xs); color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sim-bar-row strong { font-weight: 600; }
.has-sim-bar { padding-bottom: 76px; }
.has-sim-bar .wa-float, .has-sim-bar .dock { display: none; }
.quiz-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.quiz-grid .sec-head { margin-bottom: 0; }
.quiz-result { display: grid; gap: 14px; }
.quiz-result .actions { margin-top: 8px; }

/* WhatsApp: botón flotante en escritorio, barra fija en móvil */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: flex; align-items: center; height: 60px; padding-inline: 16px; border-radius: var(--r-pill); background: var(--wa); color: var(--white); text-decoration: none; font-size: var(--fs-small); font-weight: 600; box-shadow: 0 12px 34px rgba(10, 20, 33, .32); transition: transform .4s var(--ease); }
.wa-float .i { width: 28px; height: 28px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease), margin .5s var(--ease); }
.wa-float:hover { transform: translateY(-3px); }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 100px; margin-left: 8px; }
.dock { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .dock { position: fixed; inset: auto 8px calc(8px + env(safe-area-inset-bottom)); z-index: 30; display: block; padding: 8px 8px 4px; border-radius: 24px; background: rgba(23, 43, 67, .9); border: 1px solid rgba(244, 240, 232, .14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 12px 40px rgba(10, 20, 33, .35); transform: translateY(calc(100% + 24px)); transition: transform .5s var(--ease); }
  .dock.show { transform: none; }
  .dock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .dock .btn { min-height: 48px; padding: 8px 10px; font-size: var(--fs-small); }
  .dock p { padding: 4px 0 2px; font-size: 11px; line-height: 1.3; text-align: center; color: var(--soft); }
  body:has(input:not([type="range"], [type="radio"]):focus, select:focus) .dock { display: none; }
  body[data-page="contacto"] .dock, body[data-page="gracias"] .dock { display: none; }
  .site-footer { padding-bottom: 120px !important; }
}

/* Pie */
.site-footer { position: relative; z-index: 2; padding: clamp(48px, 7vw, 88px) 0 40px; font-size: var(--fs-small); color: var(--soft); }
.footer-grid { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.footer-logo { width: min(320px, 100%); height: auto; margin: 0 0 16px -12px; }
.brokerage { margin-top: 8px; }
.brokerage strong { color: var(--ink); font-weight: 600; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px; }
.site-footer nav a { padding-block: 8px; color: var(--ink); text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.eho-block { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); line-height: 1.3; }
.eho { width: 40px; height: 40px; flex: none; }
.legal { display: grid; gap: 8px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--fs-xs); line-height: 1.5; }
.legal p { max-width: 96ch; }

/* Tableta y móvil */
@media (max-width: 1000px) {
  .steps-grid, .two-col, .nora-grid, .sim-teaser, .map-grid, .form-layout, .quiz-grid, .calc, .nora-hero { grid-template-columns: minmax(0, 1fr); }
  /* En una columna, el formulario va justo después del título: lo demás lo acompaña debajo. */
  .form-layout { gap: 20px; }
  .form-side { display: contents; }
  .form-side .lead { margin-top: 0; }
  .form-layout > .panel { order: 1; }
  .form-side > :not(.label, h1, .lead) { order: 2; }
  .calc-out { position: static; }
  .trust { grid-template-columns: 1fr 1fr; }
  .pledges, .stats { grid-template-columns: minmax(0, 1fr); }
  .model-tools { grid-template-columns: minmax(0, 1fr); }
  .quick-homes { grid-template-columns: minmax(0, 1fr); }
  .tiles { display: flex; gap: 12px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); overflow: auto hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 min(76vw, 340px); scroll-snap-align: start; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 84px; }
  .topbar-who, .topbar-when { display: none; }
  .site-header { top: 40px; }
  .scrolled .site-header { top: 8px; }
  .vid-toggle { top: 112px; }
  .hero-body, .page-hero-body { padding-top: 124px; }
  .hero-frame::after { background: linear-gradient(180deg, rgba(23, 43, 67, .6) 0, rgba(23, 43, 67, .18) 20%, rgba(23, 43, 67, .58) 42%, rgba(23, 43, 67, .88) 72%, rgba(23, 43, 67, .96) 100%); }
  .hero .hero-frame::after { background: linear-gradient(180deg, rgba(23, 43, 67, .35) 0, rgba(23, 43, 67, 0) 18%, rgba(23, 43, 67, .15) 40%, rgba(23, 43, 67, .62) 66%, rgba(23, 43, 67, .85) 100%); }
  .nora-hero { padding-top: 124px; }
  .page-form { padding-top: 124px; }
  .hero-body { padding-bottom: 20px; gap: 24px; }
  .trust { gap: 10px 14px; padding-top: 14px; font-size: var(--fs-xs); }
  .features { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .features li { grid-template-columns: 44px 1fr; gap: 14px; }
  .aperture { --L: 11; --T: 30; --E: 46; --B: 12; height: 230svh; }
  .aperture-end { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .aperture-media::after { background: linear-gradient(180deg, rgba(23, 43, 67, .3), rgba(23, 43, 67, .7) 38%, rgba(23, 43, 67, .95) 78%); }
  .page-hero .hero-frame::after { background: linear-gradient(180deg, rgba(23, 43, 67, .6) 0, rgba(23, 43, 67, .3) 18%, rgba(23, 43, 67, .78) 34%, rgba(23, 43, 67, .92) 70%, rgba(23, 43, 67, .96) 100%); }
  .data-cards { grid-template-columns: minmax(0, 1fr); }
  .calc-inputs, .name-row, .ticks.two { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { flex: 1 1 100%; }
  .sec-head.row { grid-template-columns: minmax(0, 1fr); }
  .rail-foot { grid-template-columns: minmax(0, 1fr) auto; }
  .rail-bar { grid-column: 1 / -1; grid-row: 2; }
  .quick-out dd { font-size: 1rem; }
  .statement-text { max-width: none; }
}
@media (max-width: 480px) { .panel { padding: 16px; } }
@media (max-width: 360px) {
  .panel { padding: 12px; }
  .cf-turnstile { transform: scale(.85); transform-origin: left top; }
  .quick-out { grid-template-columns: minmax(0, 1fr); }
  .choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Reducir movimiento: nada se anima y todo se ve */
.calm *, .calm *::before, .calm *::after { transition: none !important; animation: none !important; }
html.calm { scroll-behavior: auto; }
.calm [data-r], .calm [data-stagger] > * { opacity: 1 !important; transform: none !important; }
.calm .statement-text span { opacity: 1 !important; }
.calm .bars i::after { transform: none !important; }
.calm .hero-frame { clip-path: none; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } html { scroll-behavior: auto; } }

@media print {
  body.print-sim .topbar, body.print-sim .site-header, body.print-sim .wa-float, body.print-sim .dock, body.print-sim .sim-bar, body.print-sim .skip,
  body.print-sim .footer-grid nav, body.print-sim .eho-block,
  body.print-sim main > section:not(:has(#simulador)),
  body.print-sim #simulador ~ *, body.print-sim .sim-tabs, body.print-sim .calc-out a, body.print-sim .calc-out button,
  body.print-sim [data-sim-go] { display: none !important; }
  body.print-sim main > section:has(#simulador) > .wrap > :not(#simulador) { display: none !important; }
  body.print-sim, body.print-sim section, body.print-sim .site-footer { background: #fff !important; color: #172B43 !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important; }
  body.print-sim { --ink: #172B43; --soft: #333638; --line: #c9c6be; font-size: 13px; }
  body.print-sim .print-head { display: block; margin-bottom: 14px; font-size: 12px; }
  body.print-sim .print-head strong { font-size: 20px; }
  body.print-sim .sim-panels [role="tabpanel"][hidden] { display: grid !important; }
  body.print-sim .sim-panels > [role="tabpanel"] { padding: 0; margin-bottom: 12px; background: #fff; }
  body.print-sim .calc { display: block; }
  body.print-sim .calc-out { background: #fff !important; color: #172B43 !important; border: 1px solid #172B43; break-inside: avoid; position: static; }
  body.print-sim .calc-out * { color: #172B43 !important; }
  body.print-sim .site-footer, body.print-sim .site-footer * { color: #172B43 !important; }
  body.print-sim .footer-logo { display: none; }
  body.print-sim .footer-grid { display: block; margin-top: 12px; }
  body.print-sim #simulador details { display: none; }
  body.print-sim .calc-inputs { gap: 8px 16px; }
  body.print-sim .field { margin: 0; }
  body.print-sim .site-footer { font-size: 11px; }
  body.print-sim input { min-height: 34px !important; padding: 4px 10px !important; }
  body.print-sim .choice span { min-height: 34px; }
  body.print-sim .choice input:checked + span { background: #fff !important; color: #172B43 !important; border: 2px solid #172B43; }
}

/* Vista previa en Netlify */
.preview-toast { position: fixed; left: 50%; bottom: 96px; z-index: 60; transform: translateX(-50%); width: min(420px, calc(100% - 32px)); margin: 0; padding: 14px 18px; border-radius: var(--r-md, 12px); background: var(--navy, #172B43); color: var(--cream, #F4F0E8); font-size: var(--fs-small); text-align: center; box-shadow: 0 12px 34px rgba(10, 20, 33, .32); }
.preview-toast[hidden] { display: none; }

.band-lead { max-width: 60ch; margin: -8px 0 28px; }
