/* =========================================================================
   ROOMITY · Sistema visual del sitio público
   Marca: navy #253B60 · coral #F47769 · crema #FFF7EC · durazno #FFD8C5 · noche #0F2740
   Accesibilidad: el coral no alcanza 4.5:1 con blanco; los botones coral usan texto noche
   y el texto/enlaces coral usan "coral tinta" #B8433A.
   ========================================================================= */
/* Fuentes de respaldo con las proporciones de las web (medidas en Chrome): mientras llegan Poppins, Inter e Instrument Serif
   el texto ocupa el mismo espacio, así el cambio de fuente no mueve la portada (CLS). */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo"); font-weight: 100 599; size-adjust: 106.4%; ascent-override: 91.2%; descent-override: 22.6%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold"); font-weight: 600 900; size-adjust: 106.4%; ascent-override: 91.2%; descent-override: 22.6%; line-gap-override: 0%; }
@font-face { font-family: "Poppins Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold"); font-weight: 500 900; size-adjust: 107.35%; ascent-override: 97.8%; descent-override: 32.6%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Serif Fallback"; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"), local("Liberation Serif Italic"), local("Tinos Italic"); font-style: italic; size-adjust: 88.9%; ascent-override: 111.4%; descent-override: 34.9%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Serif Fallback"; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Liberation Serif"), local("Tinos"); font-style: normal; size-adjust: 88.9%; ascent-override: 111.4%; descent-override: 34.9%; line-gap-override: 0%; }

:root {
  --night: #0F2740;
  --navy: #253B60;
  --coral: #F47769;
  --coral-ink: #B8433A;
  --cream: #FFF7EC;
  --peach: #FFD8C5;
  --white: #FFFFFF;
  --paper: #FDFBF6;
  --ink: #0F2740;
  --muted: #5A6B85;
  --line: rgba(15, 39, 64, .12);
  --line-strong: rgba(15, 39, 64, .22);
  --ok: #2F7D5B;
  --warn: #A3620A;

  --f-head: "Poppins", "Poppins Fallback", system-ui, sans-serif;
  --f-body: "Inter", "Inter Fallback", system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Instrument Serif Fallback", Georgia, serif;

  --r-sm: 12px; --r-md: 20px; --r-lg: 32px; --r-xl: 48px;
  --arch: 999px 999px 28px 28px;
  --shadow-soft: 0 1px 2px rgba(15,39,64,.04), 0 12px 32px -12px rgba(15,39,64,.18);
  --shadow-lift: 0 2px 4px rgba(15,39,64,.05), 0 30px 60px -20px rgba(15,39,64,.32);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--coral); color: var(--night); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 999; background: var(--night); color: var(--cream); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
/* Grano: textura de ruido solo oscura (alfa = 1 − brillo del ruido) con transparencia normal. Da el mismo resultado que
   la mezcla «multiplicar» que había antes, sin obligar a recomponer toda la pantalla en cada cuadro. */
.grain::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; letter-spacing: -.025em; line-height: 1.04; margin: 0; color: var(--night); }
.display { font-size: clamp(2.7rem, 5.3vw, 5.9rem); letter-spacing: -.045em; line-height: .96; }
.h1 { font-size: clamp(2.4rem, 5.4vw, 5rem); letter-spacing: -.04em; line-height: 1; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.8rem); letter-spacing: -.035em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.02em; line-height: 1.15; }
em.s, .serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.display em.s, .h1 em.s, .h2 em.s { color: var(--coral); padding-right: .04em; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 600 .74rem/1 var(--f-body);
  letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
}
.eyebrow { position: relative; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: none; }
/* Latido: anillo del mismo tamaño que el punto que crece hasta 32 px (= sombra de 12 px) y se desvanece; solo escala y opacidad */
.eyebrow::after { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: rgba(244,119,105,.55); pointer-events: none; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 70% { transform: scale(4); opacity: 0; } 100% { transform: scale(4); opacity: 0; } }
.muted { color: var(--muted); }
.ink-coral { color: var(--coral-ink); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--night); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg);
  font: 600 .95rem/1 var(--f-head); letter-spacing: -.005em; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), background .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--coral);
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--night); box-shadow: 0 16px 34px -14px rgba(244,119,105,.8); }
.btn .arr { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: var(--night); transition: transform .5s var(--ease), background .3s; }
.btn:hover .arr { transform: rotate(-45deg); background: var(--night); color: var(--cream); }
.btn--coral { --bg: var(--coral); --fg: var(--night); }
.btn--coral::before { background: var(--night); }
.btn--coral:hover { color: var(--cream); box-shadow: 0 16px 34px -14px rgba(15,39,64,.6); }
.btn--coral .arr { background: var(--night); color: var(--cream); }
.btn--coral:hover .arr { background: var(--coral); color: var(--night); }
.btn--ghost { --bg: transparent; --fg: var(--night); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--coral); }
.btn--light { --bg: var(--cream); --fg: var(--night); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { font-weight: 600; color: var(--night); background: linear-gradient(var(--coral), var(--coral)) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease); }
.link:hover { background-size: 0 2px; background-position: 100% 100%; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font: 600 .95rem var(--f-head); }
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Chips / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font: 500 .8rem/1 var(--f-body); background: rgba(255,255,255,.92); color: var(--night); border: 1px solid var(--line); white-space: nowrap; }
.chip--verified { background: var(--night); color: var(--cream); border-color: transparent; }
.chip--verified svg { color: var(--coral); }
.chip--coral { background: var(--peach); border-color: transparent; color: var(--night); }
.chip--example { background: #FFF1C2; color: #6B4E00; border-color: transparent; font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 600 .74rem/1.2 var(--f-body); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--ok { background: #E3F2EA; color: var(--ok); }
.badge--soon { background: #FFF1DC; color: var(--warn); }
.badge--off { background: #ECEEF2; color: #5F6B7C; }

/* ---------- Banner de ejemplo ---------- */
.demo-bar { background: var(--night); color: var(--peach); font: 500 .78rem/1.3 var(--f-body); text-align: center; padding: 8px 16px; position: relative; z-index: 60; }
.demo-bar b { color: var(--cream); }
.demo-bar[hidden] { display: none; }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: padding .4s var(--ease); }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  height: 80px; padding: 0 10px 0 22px; border-radius: 999px; transition: background .4s, box-shadow .4s;
}
.site-header.is-scrolled .bar { background: rgba(255, 250, 242, .95); box-shadow: 0 1px 0 var(--line), 0 18px 40px -26px rgba(15,39,64,.35); }
.brand { display: inline-flex; align-items: center; flex: none; position: relative; transition: margin .4s var(--ease); }
/* Logo animado del menú: el texto “Roomity” queda centrado con el menú (-12.5%) y, sin barra, alineado con el titular */
.brand .brand-anim { --logo-w: clamp(144px, 12vw, 180px); display: block; width: var(--logo-w);
  /* misma subida que translateY(-12.5%) (12.5 % del alto = ancho × 185/600 × 0.125), con top: el navegador la alinea a píxeles
     enteros y las capas del logo no se reinterpolan (más nítido con escalado de 100 % en Windows) */
  position: relative; top: calc(var(--logo-w) * -0.038542); }
.site-header:not(.is-scrolled) .brand { margin-left: -20px; }
.brand .brand-light { display: none; height: 46px; width: auto; }
.menu-open .brand .brand-anim { display: none; }
.menu-open .brand .brand-light { display: block; }
.nav { display: flex; align-items: center; gap: 0; }
.nav a { position: relative; padding: 10px clamp(7px, .75vw, 14px); white-space: nowrap; border-radius: 999px; font: 500 .92rem/1 var(--f-body); color: var(--night); transition: background .3s; }
.nav a:hover { background: rgba(15,39,64,.06); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--coral); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--night); color: var(--cream); position: relative; }
.burger span { position: absolute; left: 15px; right: 15px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 19px; } .burger span:nth-child(2) { top: 29px; }
.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--night); color: var(--cream);
  clip-path: circle(0 at calc(100% - 46px) 46px); transition: clip-path .8s var(--ease-io); display: flex; flex-direction: column;
  padding: 120px var(--gutter) 40px; overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 46px); }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a { font: 600 clamp(2rem, 9vw, 3.2rem)/1.1 var(--f-head); letter-spacing: -.04em; padding: 6px 0; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease); }
.mobile-menu nav a span { font: 500 .8rem var(--f-body); color: var(--coral); vertical-align: top; margin-right: 10px; }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .05s; } .menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .15s; } .menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .2s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .25s; } .menu-open .mobile-menu nav a:nth-child(7) { transition-delay: .3s; }
.mobile-menu .mm-foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; color: var(--peach); font-size: .95rem; }
.menu-open { overflow: hidden; }
.menu-open .site-header .bar { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .site-header .header-cta .btn { display: none; }

/* Menú visible en laptops: el botón Contacto se oculta antes que las secciones; el menú compacto llega hasta 981 px
   y desde 980 px (tableta y celular) se usa el botón de menú. Contacto sigue en el pie y en /contacto. */
@media (max-width: 1179px) { .header-cta .btn--ghost { display: none; } }
@media (max-width: 1079px) {
  .nav a { padding: 10px 6px; font-size: .85rem; }
  .brand .brand-anim { --logo-w: 138px; }
  .header-cta .btn--coral { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: inline-block; }
}
@media (max-width: 560px) {
  .site-header .bar { height: 66px; padding-left: 16px; }
  .brand .brand-anim { --logo-w: 140px; }
  .brand .brand-light { height: 40px; }
  .header-cta .btn--coral { display: none; }
}

/* ---------- Cursor personalizado ---------- */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 200; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor { width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1.5px solid rgba(15,39,64,.35); display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, border-color .3s, opacity .3s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--coral); }
.cursor span { font: 600 .74rem var(--f-head); color: var(--night); opacity: 0; transition: opacity .2s; letter-spacing: .02em; }
.has-cursor .cursor, .has-cursor .cursor-dot { opacity: 1; }
.cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--coral); background: rgba(244,119,105,.12); }
.cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--coral); border-color: var(--coral); }
.cursor.is-label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ---------- Animaciones continuas fuera de pantalla: en pausa (sello, franja de zonas, emblema, latidos) ---------- */
.anim-off *, .anim-off *::before, .anim-off *::after { animation-play-state: paused !important; }

/* ---------- Revelados ---------- */
/* El contenido es visible desde el primer momento: solo un desplazamiento corto, sin ocultarlo */
.reveal { transform: translateY(14px); transition: transform .6s var(--ease); transition-delay: calc(var(--d, 0s) * .5); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
/* Cada línea se recorta para la entrada, con margen para los descendentes (g, p, y) y ascendentes; el espacio extra se
   compensa con margen negativo para no cambiar el interlineado. Al terminar la entrada se libera el recorte (.is-done). */
.line-mask { display: block; overflow: hidden; padding: .06em 0 .26em; margin: -.06em 0 -.26em; }
.line-mask > span { display: inline-block; transform: translateY(135%); transition: transform .8s var(--ease); transition-delay: var(--d, 0s); }
.is-in .line-mask > span, .line-mask.is-in > span { transform: none; }
.line-mask.is-done { overflow: visible; }
.img-reveal { overflow: hidden; }
.clip-up { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io); }
.clip-up.is-in { clip-path: inset(0 0 0 0); }
.no-js .reveal, .no-js .clip-up { opacity: 1; transform: none; clip-path: none; }
.no-js .line-mask > span { transform: none; }

/* ---------- Transición de página ---------- */
.page-wipe { position: fixed; inset: 0; z-index: 300; pointer-events: none; display: grid; place-items: center; background: var(--night); transform: translateY(100%); }
.page-wipe img { width: 84px; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .5s var(--ease); }
.page-wipe.is-leaving { transform: translateY(0); transition: transform .55s var(--ease-io); pointer-events: all; }
.page-wipe.is-leaving img { opacity: 1; transform: scale(1); transition-delay: .25s; }
.page-intro { position: fixed; inset: 0; z-index: 300; background: var(--night); pointer-events: none; animation: intro-out .9s var(--ease-io) .05s forwards; }
@keyframes intro-out { to { transform: translateY(-100%); } }

/* ---------- HERO ---------- */
.hero { position: relative; padding: clamp(24px, 4vw, 40px) 0 clamp(60px, 8vw, 110px); overflow: clip; }
.hero-blob { position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; right: -6vw; top: -24vw; border-radius: 50%; background: radial-gradient(circle closest-side, rgba(255,216,197,.95), rgba(255,216,197,0)); pointer-events: none; transform: translate3d(var(--bx, 0), var(--by, 0), 0); transition: transform 1.2s var(--ease); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 72px); align-items: center; min-height: min(78vh, 820px); }
.hero h1 { margin: 22px 0 26px; }
.hero h1 .line-mask:nth-child(2) > span { --d: .08s; } .hero h1 .line-mask:nth-child(3) > span { --d: .16s; }
.hero .lead { margin: 0 0 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--muted); font-size: .88rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--coral-ink); }

.search-capsule {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr auto; align-items: stretch; background: var(--white);
  border-radius: 999px; padding: 8px; box-shadow: var(--shadow-lift); max-width: 760px; position: relative;
}
.search-capsule .field { position: relative; padding: 10px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; min-width: 0; border-radius: 999px; transition: background .3s; }
.search-capsule .field:hover { background: var(--cream); }
.search-capsule .field:nth-last-child(2) { border-right: 0; }
.search-capsule label { font: 600 .7rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.search-capsule select, .search-capsule input { border: 0; background: transparent; padding: 0; font: 500 .98rem var(--f-body); color: var(--night); outline: none; width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer; }
.search-capsule .go { width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--coral); color: var(--night); display: grid; place-items: center; align-self: center; transition: transform .5s var(--ease), background .3s; }
.search-capsule .go-txt { display: none; font: 600 .95rem var(--f-head); }
.search-capsule .go:hover { transform: scale(1.06) rotate(-8deg); background: var(--night); color: var(--cream); }

.hero-art { position: relative; height: min(76vh, 760px); min-height: 520px; }
.arch { position: absolute; overflow: hidden; border-radius: var(--arch); background: var(--peach); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .arch--main { inset: 0 0 0 12%; box-shadow: var(--shadow-lift); }

.hero-art .circle-img { position: absolute; left: -2%; bottom: 8%; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--cream); box-shadow: var(--shadow-lift); }
.hero-art .circle-img img { width: 100%; height: 100%; object-fit: cover; }
.ring { position: absolute; left: 22%; bottom: 31%; width: 132px; height: 132px; display: grid; place-items: center; z-index: 3; }
.ring svg.text { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.ring svg.text text { font: 600 10.5px var(--f-head); letter-spacing: 3.2px; fill: var(--night); text-transform: uppercase; }
.ring .core { width: 64px; height: 64px; border-radius: 50%; background: var(--night); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(15,39,64,.6); }
.ring .core img { width: 36px; filter: none; }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cream); z-index: -1; }
.float-card { position: absolute; z-index: 4; background: rgba(255,255,255,.94); border-radius: 20px; padding: 14px 18px; box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,.6); }
.float-card--price { right: -3%; top: 10%; min-width: 200px; }
.float-card[hidden], .rail-nav[hidden], .rail-progress[hidden], .btn[hidden] { display: none; }
/* Catálogo sin inmuebles publicados (lanzamiento) */
.rail.rail--vacio { display: block; overflow: visible; }
.preparando { max-width: 680px; }
.preparando .lead { margin: 0 0 22px; }
.preparando-acciones { display: flex; gap: 12px; flex-wrap: wrap; }
.float-card--price .k { font: 600 .68rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.float-card--price .v { font: 600 1.7rem/1.1 var(--f-head); letter-spacing: -.03em; margin-top: 4px; }
.float-card--price .v small { font: 500 .8rem var(--f-body); color: var(--muted); letter-spacing: 0; }
.float-card--zone { right: 6%; bottom: 6%; display: flex; gap: 12px; align-items: center; }
.float-card--zone .pin { width: 38px; height: 38px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; color: var(--coral-ink); }
.float-card--zone b { display: block; font: 600 .95rem var(--f-head); }
.float-card--zone span { font-size: .8rem; color: var(--muted); }

/* Buscador en dos columnas cuando no cabe en una fila (columna del texto estrecha o tableta) */
@media (max-width: 1360px) {
  .search-capsule { grid-template-columns: 1fr 1fr; border-radius: 28px; gap: 4px; }
  .search-capsule .field { border-right: 0; border-radius: 18px; background: var(--cream); }
  .search-capsule .field:nth-child(3) { grid-column: 1 / 2; }
  .search-capsule .go { width: 100%; height: auto; min-height: 58px; border-radius: 18px; display: flex; gap: 10px; justify-content: center; align-items: center; }
  .search-capsule .go-txt { display: inline; }
  .search-capsule .go:hover { transform: none; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { height: 520px; min-height: 0; margin: 18px 0 0; }
  .hero-art .arch--main { inset: 0 6% 0 14%; }
}
@media (max-width: 560px) {
  .hero-art { height: 400px; }
  .hero h1 { margin: 16px 0 18px; }
  .hero .lead { margin-bottom: 24px; }
  .hero-art .arch--main { inset: 0 0 0 10%; }
  .hero-art .circle-img { width: 42%; left: -2%; bottom: 4%; border-width: 6px; }
  .ring { width: 104px; height: 104px; left: 26%; bottom: 30%; }
  .ring svg.text text { font-size: 13px; }
  .float-card--price { right: -2%; top: 5%; min-width: 0; padding: 10px 14px; }
  .float-card--price .v { font-size: 1.3rem; }
  .float-card--zone { display: none; }
  .search-capsule { grid-template-columns: 1fr; }
  .search-capsule .field:nth-child(3) { grid-column: auto; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--night); color: var(--cream); overflow: hidden; padding: 26px 0; position: relative; }
.marquee__track { display: flex; width: max-content; animation: marquee var(--speed, 38s) linear infinite; }
.marquee__track > div { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee b { font: 600 clamp(1.6rem, 3.4vw, 3rem)/1 var(--f-head); letter-spacing: -.03em; white-space: nowrap; }
.marquee b.o { color: transparent; -webkit-text-stroke: 1.2px rgba(255,247,236,.55); }
.marquee .star { width: 26px; height: 26px; color: var(--coral); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Secciones ---------- */
section { position: relative; }
.section { padding: clamp(80px, 11vw, 170px) 0; }
.section--tight { padding: clamp(60px, 7vw, 110px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head .h2 { max-width: 15ch; margin-top: 16px; }
.section-head p { max-width: 42ch; margin: 0; }
.bg-paper { background: var(--paper); }
.bg-night { background: var(--night); color: var(--cream); }
.bg-night h1, .bg-night h2, .bg-night h3 { color: var(--cream); }
.bg-night .eyebrow { color: var(--peach); }
.bg-night .muted, .bg-night .lead { color: rgba(255,247,236,.7); }
.bg-coral { background: var(--coral); }
.bg-peach { background: var(--peach); }

/* Manifiesto con relleno por palabra */
.manifesto { padding: clamp(90px, 13vw, 200px) 0; }
.manifesto p { font: 600 clamp(1.9rem, 4.6vw, 4.3rem)/1.12 var(--f-head); letter-spacing: -.035em; margin: 0; max-width: 20ch; }
.manifesto .w { color: rgba(15,39,64,.14); transition: color .4s; }
.manifesto .w.on { color: var(--night); }
.manifesto .w.on.accent { color: var(--coral-ink); }
.manifesto-grid { display: grid; grid-template-columns: 1.5fr .7fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.manifesto-art { position: relative; height: clamp(360px, 40vw, 560px); }
.manifesto-art .arch { position: absolute; inset: 0; }
.manifesto-art .arch img { position: absolute; inset: 0; }
.manifesto-art .stamp { position: absolute; left: -46px; bottom: 50px; width: 130px; height: 130px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; text-align: center; font: 600 .78rem/1.2 var(--f-head); color: var(--night); box-shadow: var(--shadow-lift); align-content: center; gap: 2px; }
.manifesto-art .stamp b { font: 500 2rem/1 var(--f-serif); }
@media (max-width: 900px) { .manifesto-grid { grid-template-columns: 1fr; } .manifesto-art { height: 380px; margin: 0 0 0 40px; } }
.form .pills label span { padding: 9px 13px; }
.manifesto-meta { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.manifesto-meta div { max-width: 280px; }
.manifesto-meta b { display: block; font: 600 1.05rem var(--f-head); margin-bottom: 6px; }

/* ---------- Tarjetas de alojamiento ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 400px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 30px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail .card { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; display: grid; place-items: center; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.rail-nav button:hover { background: var(--night); color: var(--cream); border-color: var(--night); }
.rail-progress { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 4px; }
.rail-progress span { display: block; height: 100%; width: 20%; background: var(--night); transition: transform .2s; transform-origin: left; }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 2.4vw, 34px); }
.card { position: relative; display: flex; flex-direction: column; gap: 16px; }
.card__media { position: relative; aspect-ratio: 4 / 4.6; border-radius: 220px 220px 24px 24px; overflow: hidden; background: var(--peach); transform: translateZ(0); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.card__media img + img { opacity: 0; }
.card:hover .card__media img { transform: scale(1.06); }
.card:hover .card__media img + img { opacity: 1; }
.card__chips { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.card__tag { position: absolute; top: 22%; right: 14px; z-index: 2; }
.card__body { display: grid; gap: 6px; padding: 0 4px; }
.card__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card h3 { font-size: 1.22rem; letter-spacing: -.02em; line-height: 1.2; }
.card .zone { color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: 6px; }
.prices { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; }
.price { display: grid; }
.price .k { font: 500 .74rem var(--f-body); color: var(--muted); }
.price .v { font: 600 1.06rem var(--f-head); letter-spacing: -.02em; }
.price .v small { font: 500 .78rem var(--f-body); color: var(--muted); letter-spacing: 0; }
.card a.cover-link { position: absolute; inset: 0; z-index: 3; border-radius: 24px; }
.skeleton { background: linear-gradient(100deg, rgba(15,39,64,.06) 30%, rgba(15,39,64,.12) 50%, rgba(15,39,64,.06) 70%); background-size: 300% 100%; animation: shimmer 1.6s infinite; border-radius: 16px; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------- Cómo funciona (sticky) ---------- */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.how-visual { position: sticky; top: 110px; height: calc(100vh - 150px); max-height: 760px; }
.how-visual .frame { position: absolute; inset: 0; border-radius: var(--arch); overflow: hidden; background: var(--peach); }
.how-visual .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-io); }
.how-visual .frame img.on { clip-path: inset(0 0 0 0); }
.how-visual .frame img.was { clip-path: inset(0 0 0 0); z-index: -1; }
.how-visual .counter { position: absolute; right: -14px; bottom: 40px; background: var(--night); color: var(--cream); border-radius: 999px; padding: 12px 20px; font: 600 1rem var(--f-head); box-shadow: var(--shadow-lift); }
.how-visual .counter b { color: var(--coral); }
.how-steps { display: grid; gap: 0; position: relative; padding-left: 34px; }
.how-steps::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.how-steps .fill { position: absolute; left: 6px; top: 12px; width: 2px; height: var(--p, 0%); background: var(--coral); transition: height .2s linear; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; position: relative; padding: 40px 0; }
.step::before { content: ""; position: absolute; left: -34px; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 2px solid var(--line-strong); transform: translateY(-50%); transition: background .4s, border-color .4s, transform .4s var(--ease); }
.step.on::before { background: var(--coral); border-color: var(--coral); transform: translateY(-50%) scale(1.3); }
.step .num { font: 500 .85rem var(--f-body); color: var(--coral-ink); letter-spacing: .1em; margin-bottom: 14px; }
.step h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.035em; margin-bottom: 16px; max-width: 16ch; }
.step p { color: var(--muted); max-width: 42ch; margin: 0; font-size: 1.05rem; }
.step .step-img { display: none; }
@media (max-width: 900px) {
  .how { grid-template-columns: 1fr; }
  .how-visual { display: none; }
  .step { min-height: 0; padding: 26px 0 34px; }
  .step .step-img { display: block; aspect-ratio: 4/3; border-radius: 24px; overflow: hidden; margin-bottom: 22px; }
  .step .step-img img { width: 100%; height: 100%; object-fit: cover; }
  .step::before { top: 38px; }
}

/* ---------- Roomity Verified ---------- */
.verified { overflow: hidden; }
.verified-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.verified-emblem { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; display: grid; place-items: center; }
.verified-emblem .glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(244,119,105,.35), transparent 70%); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
.verified-emblem .orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255,216,197,.28); animation: spin 60s linear infinite; }
.verified-emblem .orbit:nth-child(3) { inset: 13%; animation-duration: 40s; animation-direction: reverse; border-style: solid; border-color: rgba(255,216,197,.14); }
.verified-emblem .orbit i { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 20px var(--coral); }
.verified-emblem .seal { position: relative; width: 52%; aspect-ratio: 1; border-radius: 50%; background: var(--cream); display: grid; place-items: center; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 0 0 10px rgba(15,39,64,.06); }
.verified-emblem .seal img { width: 56%; }
.verified-emblem .seal .tick { position: absolute; right: 4%; bottom: 8%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: var(--coral); display: grid; place-items: center; color: var(--night); box-shadow: 0 0 0 8px var(--night); }
.checklist { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 4px; }
.checklist li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,247,236,.12); align-items: start; }
.checklist .ck { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255,216,197,.4); display: grid; place-items: center; color: var(--coral); }
.checklist .ck path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .8s var(--ease) var(--d, 0s); }
.checklist li.is-in .ck path { stroke-dashoffset: 0; }
.checklist b { display: block; font: 600 1.06rem var(--f-head); color: var(--cream); margin-bottom: 2px; }
.checklist span { color: rgba(255,247,236,.66); font-size: .95rem; }
.scope-note { margin-top: 34px; padding: 22px 24px; border-radius: 20px; background: rgba(255,216,197,.08); border: 1px solid rgba(255,216,197,.18); color: rgba(255,247,236,.82); font-size: .93rem; display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.scope-note svg { color: var(--peach); margin-top: 2px; }
@media (max-width: 900px) { .verified-grid { grid-template-columns: 1fr; } .verified-emblem { max-width: 360px; margin: 0 auto; } }

/* ---------- Familias / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.split .media { position: relative; }
.split .media .arch { position: relative; aspect-ratio: 4/5; }
.split .media .note { position: absolute; right: -20px; bottom: 40px; max-width: 280px; background: var(--white); border-radius: 22px; padding: 20px 22px; box-shadow: var(--shadow-lift); }
.split .media .note p { margin: 0; font: 400 1.25rem/1.3 var(--f-serif); font-style: italic; }
.split .media .note small { display: block; margin-top: 8px; color: var(--muted); font-size: .8rem; }
.bullets { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 14px; }
.bullets li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.bullets li svg { color: var(--coral-ink); margin-top: 3px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .media .note { right: 12px; } }

/* ---------- Testimonios ---------- */
.testimonials { overflow: hidden; }
.t-stage { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.t-portrait { position: relative; aspect-ratio: 4/5; max-width: 440px; }
.t-portrait .arch { inset: 0; }
.t-portrait .arch img { position: absolute; inset: 0; opacity: 0; transform: scale(1.1); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.t-portrait .arch img.on { opacity: 1; transform: scale(1); }
.t-portrait .qmark { position: absolute; right: -24px; top: 24px; width: 92px; height: 92px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; font: 400 5rem/1 var(--f-serif); color: var(--night); padding-top: 26px; box-shadow: var(--shadow-lift); z-index: 2; }
.t-quote { position: relative; min-height: 330px; }
.t-item { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.t-item.on { position: relative; opacity: 1; pointer-events: auto; }
.t-item blockquote { margin: 0; font: 400 clamp(1.8rem, 3.4vw, 3.1rem)/1.12 var(--f-serif); letter-spacing: -.015em; color: var(--night); }
.t-item blockquote .wd { display: inline-block; opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.t-item.on blockquote .wd { opacity: 1; transform: none; }
.t-item figcaption { margin-top: 30px; display: flex; gap: 14px; align-items: center; }
.t-item figcaption b { font: 600 1.05rem var(--f-head); display: block; }
.t-item figcaption span { color: var(--muted); font-size: .9rem; }
.t-controls { display: flex; align-items: center; gap: 22px; margin-top: 40px; }
.t-bars { display: flex; gap: 8px; flex: 1; max-width: 340px; }
.t-bars button { flex: 1; height: 26px; border: 0; background: transparent; padding: 0; position: relative; }
.t-bars button::before, .t-bars button i { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: var(--line-strong); border-radius: 2px; }
.t-bars button i { background: var(--night); transform: scaleX(0); transform-origin: left; }
.t-bars button.done i { transform: scaleX(1); }
.t-bars button.on i { animation: fillbar var(--t, 7s) linear forwards; }
@keyframes fillbar { to { transform: scaleX(1); } }
.example-note { display: inline-flex; gap: 8px; align-items: center; font-size: .78rem; color: #6B4E00; background: #FFF1C2; border-radius: 999px; padding: 6px 12px; }
@media (max-width: 900px) { .t-stage { grid-template-columns: 1fr; } .t-portrait { max-width: 300px; } .t-quote { min-height: 380px; } }

/* ---------- Propietarios CTA ---------- */
.owners-cta { border-radius: clamp(28px, 4vw, 56px); overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; position: relative; background: var(--coral); }
.owners-cta .txt { padding: clamp(36px, 6vw, 90px); position: relative; z-index: 2; }
.owners-cta .txt .h2 { color: var(--night); max-width: 13ch; margin: 18px 0 20px; }
.owners-cta .txt p { color: rgba(15,39,64,.82); max-width: 44ch; font-size: 1.08rem; }
.owners-cta .eyebrow { color: var(--night); }
.owners-cta .eyebrow::before { background: var(--night); animation: none; }
.owners-cta .pic { position: relative; min-height: 420px; }
.owners-cta .pic .arch { position: absolute; inset: 40px 40px 0 0; border-radius: 999px 999px 0 0; }
.owners-cta .mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0 36px; }
.owners-cta .mini div { border-top: 1.5px solid rgba(15,39,64,.25); padding-top: 14px; font-size: .92rem; color: rgba(15,39,64,.85); }
.owners-cta .mini b { display: block; font: 600 1rem var(--f-head); color: var(--night); margin-bottom: 4px; }
@media (max-width: 900px) { .owners-cta { grid-template-columns: 1fr; } .owners-cta .pic { min-height: 320px; } .owners-cta .pic .arch { inset: 0 24px 0 24px; } .owners-cta .mini { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { list-style: none; display: grid; grid-template-columns: 1fr 44px; gap: 20px; align-items: center; padding: 26px 0; cursor: pointer; font: 600 clamp(1.08rem, 1.6vw, 1.35rem)/1.3 var(--f-head); letter-spacing: -.015em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .pm { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); position: relative; transition: background .3s, transform .5s var(--ease), border-color .3s; }
.faq-item .pm::before, .faq-item .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
.faq-item .pm::after { transform: rotate(90deg); }
.faq-item[open] .pm { background: var(--coral); border-color: var(--coral); transform: rotate(180deg); }
.faq-item[open] .pm::after { transform: rotate(0); }
.faq-item .ans { padding: 0 64px 28px 0; color: var(--muted); max-width: 72ch; font-size: 1.02rem; animation: fadeup .5s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(-8px); } }
.faq-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }

/* ---------- Pills / segmentos ---------- */
.pills { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(15,39,64,.06); flex-wrap: wrap; }
.pills button, .pills label { border: 0; background: transparent; border-radius: 999px; padding: 10px 16px; font: 500 .9rem/1 var(--f-body); color: var(--night); transition: background .3s, color .3s; cursor: pointer; position: relative; }
.pills button.on, .pills input:checked + span { background: var(--night); color: var(--cream); }
.pills label { padding: 0; }
.pills label span { display: block; padding: 10px 16px; border-radius: 999px; transition: background .3s, color .3s; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills input:focus-visible + span { outline: 3px solid var(--coral); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.channels { display: grid; gap: 14px; margin-top: 34px; }
.channel { display: grid; grid-template-columns: 54px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .4s, border-color .3s; }
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: transparent; }
.channel .ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--peach); color: var(--night); }
.channel b { display: block; font: 600 1.02rem var(--f-head); }
.channel span { color: var(--muted); font-size: .9rem; }
.panel { background: var(--white); border-radius: clamp(24px, 3vw, 36px); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.fld { display: grid; gap: 7px; }
.fld > label, .fld > .lbl { font: 600 .82rem var(--f-body); color: var(--night); }
.fld .hint { font-size: .78rem; color: var(--muted); }
.fld input:not([type=checkbox]):not([type=radio]), .fld select, .fld textarea {
  width: 100%; min-height: 52px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--paper);
  padding: 13px 16px; font-size: 1rem; transition: border-color .25s, box-shadow .25s, background .25s; outline: none; appearance: none; -webkit-appearance: none;
}
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%230F2740' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.fld textarea { min-height: 110px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(37,59,96,.1); }
.fld.err input, .fld.err select, .fld.err textarea { border-color: var(--coral-ink); }
.fld .msg { font-size: .8rem; color: var(--coral-ink); font-weight: 500; min-height: 0; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--night); }
.form-error { background: #FDEBE8; color: var(--coral-ink); border-radius: 14px; padding: 12px 16px; font-size: .9rem; font-weight: 500; }
.form-error[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { text-align: center; padding: 20px 0; }
.success .seal { width: 84px; height: 84px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; margin: 0 auto 22px; color: var(--night); animation: pop .7s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.success .folio { display: inline-block; font: 600 1.6rem var(--f-head); letter-spacing: .02em; background: var(--cream); padding: 10px 22px; border-radius: 14px; margin: 12px 0 16px; }
.success p { color: var(--muted); max-width: 46ch; margin: 0 auto 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255,247,236,.72); padding: clamp(70px, 9vw, 120px) 0 32px; position: relative; overflow: hidden; }
.site-footer .big-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding-bottom: clamp(50px, 7vw, 90px); border-bottom: 1px solid rgba(255,247,236,.14); }
.site-footer .big-cta h2 { font-size: clamp(2.4rem, 6vw, 5.6rem); color: var(--cream); letter-spacing: -.045em; max-width: 12ch; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding: 56px 0; }
.site-footer h4 { font: 600 .78rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--peach); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--coral); }
.site-footer .logo-foot { width: 190px; margin-bottom: 18px; }
.site-footer .legal { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .8rem; padding-top: 26px; border-top: 1px solid rgba(255,247,236,.14); }
.site-footer .disclaimer { font-size: .8rem; color: rgba(255,247,236,.55); max-width: 60ch; margin-top: 14px; }
.wordmark-bg { position: absolute; left: 50%; bottom: -4vw; transform: translateX(-50%); font: 600 22vw/0.8 var(--f-head); letter-spacing: -.06em; color: rgba(255,247,236,.03); white-space: nowrap; pointer-events: none; user-select: none; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* ---------- Encabezado de página interior ---------- */
.page-hero { padding: clamp(40px, 6vw, 90px) 0 clamp(40px, 5vw, 70px); position: relative; }
.page-hero .h1 { margin: 18px 0 22px; max-width: 16ch; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); flex-wrap: wrap; }
.crumbs a:hover { color: var(--night); }

/* ---------- Catálogo ---------- */
.filters-bar { position: sticky; top: 100px; z-index: 30; margin-bottom: 36px; }
.filters-inner { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: rgba(255,255,255,.96); border-radius: 24px; padding: 10px; box-shadow: var(--shadow-soft); border: 1px solid var(--line); }
.fsel { position: relative; }
.fsel select, .fsel input { appearance: none; -webkit-appearance: none; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); padding: 0 34px 0 16px; font: 500 .9rem var(--f-body); color: var(--night); cursor: pointer; outline: none; transition: border-color .25s, background .25s; max-width: 220px; }
.fsel input[type=month] { padding-right: 12px; }
.fsel select:focus, .fsel input:focus, .fsel.active select, .fsel.active input { border-color: var(--night); background: var(--white); }
.fsel::after { content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; border-right: 1.6px solid var(--night); border-bottom: 1.6px solid var(--night); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.fsel.no-caret::after { display: none; }
.filters-inner .spacer { flex: 1; }
.results-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.results-meta b { font: 600 1.1rem var(--f-head); }
/* Escritorio: Universidad, Modalidad, Presupuesto y Convivencia siempre visibles; Zona, Entrada, Duración y Amueblado en «Más filtros» */
@media (min-width: 901px) {
  .filters-inner .fsel--extra { display: none; }
  .filters-inner.open .fsel--extra { display: block; }
}
.filters-inner .fsel--campus select { min-width: 228px; }
@media (max-width: 900px) {
  .filters-bar { top: 80px; }
  .filters-inner .filters-toggle { display: inline-flex; }
  .filters-inner .fsel, .filters-inner .clear-filters { display: none; }
  .filters-inner.open .fsel, .filters-inner.open .clear-filters { display: block; width: 100%; }
  .filters-inner.open .fsel select, .filters-inner.open .fsel input { width: 100%; max-width: none; }
  .filters-inner .pills { width: 100%; justify-content: space-between; }
  .filters-inner .pills button { flex: 1; padding: 10px 8px; }
}
.empty { text-align: center; padding: clamp(40px, 6vw, 80px) 0; }
.empty .ill { width: 120px; height: 120px; margin: 0 auto 26px; border-radius: 999px 999px 18px 18px; background: var(--peach); display: grid; place-items: center; color: var(--coral-ink); }
.empty h2 { margin-bottom: 14px; }
.assisted { max-width: 760px; margin: 40px auto 0; text-align: left; }
.assisted .kept { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }

/* ---------- Ficha ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 10px; border-radius: 32px; overflow: hidden; position: relative; }
.gallery button { position: relative; border: 0; padding: 0; overflow: hidden; background: var(--peach); }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.gallery button:first-child { grid-row: 1 / 3; }
.gallery .all { position: absolute; right: 18px; bottom: 18px; z-index: 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: 320px; border-radius: 24px; }
  .gallery button:not(:first-child) { display: none; }
  .gallery button:first-child { grid-row: auto; }
}
.prop-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; flex-wrap: wrap; margin: 26px 0 34px; }
.prop-head h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -.04em; max-width: 20ch; margin: 12px 0 14px; }
.prop-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: transparent; font: 500 .88rem var(--f-body); transition: background .3s, border-color .3s; }
.icon-btn:hover { background: var(--white); border-color: var(--night); }
.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(30px, 5vw, 80px); align-items: start; }
.prop-main > section { padding: 40px 0; border-top: 1px solid var(--line); }
.prop-main > section:first-child { border-top: 0; padding-top: 0; }
.prop-main h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.03em; margin-bottom: 20px; }
.options { display: grid; gap: 14px; }
.opt { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; padding: 12px; padding-right: 20px; border-radius: 22px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; transition: border-color .3s, box-shadow .4s, transform .5s var(--ease); position: relative; text-align: left; width: 100%; }
.opt:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.opt.sel { border-color: var(--night); box-shadow: 0 0 0 4px rgba(15,39,64,.08), var(--shadow-soft); }
.opt.disabled { cursor: not-allowed; opacity: .62; transform: none; box-shadow: none; background: transparent; }
.opt .thumb { width: 110px; height: 96px; border-radius: 60px 60px 14px 14px; overflow: hidden; background: var(--peach); display: grid; place-items: center; color: var(--coral-ink); }
.opt .thumb img { width: 100%; height: 100%; object-fit: cover; }
.opt h3 { font-size: 1.08rem; letter-spacing: -.015em; margin-bottom: 6px; }
.opt .meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .84rem; color: var(--muted); margin-top: 6px; }
.opt .p { text-align: right; }
.opt .p b { font: 600 1.25rem var(--f-head); letter-spacing: -.02em; display: block; }
.opt .p small { color: var(--muted); font-size: .78rem; }
.opt .radio { position: absolute; top: 20px; left: 20px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--white); background: rgba(15,39,64,.25); box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.opt.sel .radio { border: 6px solid var(--white); background: var(--coral); }
.opt-group-title { font: 600 .78rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
@media (max-width: 600px) { .opt { grid-template-columns: 76px 1fr; } .opt .thumb { width: 76px; height: 76px; } .opt .p { grid-column: 2; text-align: left; } }
.breakdown { border-radius: 24px; background: var(--paper); border: 1px solid var(--line); padding: 24px; margin-top: 18px; }
.breakdown h3 { font-size: 1.1rem; margin-bottom: 14px; }
.brow { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px dashed var(--line-strong); font-size: .95rem; }
.brow:last-child { border-bottom: 0; }
.brow span:last-child { font-weight: 600; text-align: right; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; list-style: none; padding: 0; margin: 0; }
.feature-grid li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .97rem; }
.feature-grid li svg { color: var(--coral-ink); margin-top: 3px; }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 700px) { .cols-2 { grid-template-columns: 1fr; } }
.sub-title { font: 600 .8rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.map-box { position: relative; border-radius: 28px; overflow: hidden; height: 340px; background: var(--peach); }
.map-box iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) sepia(.15) saturate(.9); }
.map-box .zone-circle { position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; margin: -90px 0 0 -90px; border-radius: 50%; background: rgba(244,119,105,.28); border: 2px solid var(--coral); pointer-events: none; animation: breathe 5s ease-in-out infinite; }
.map-box .map-note { position: absolute; left: 16px; bottom: 16px; right: 16px; background: rgba(255,255,255,.94); border-radius: 16px; padding: 12px 16px; font-size: .86rem; }
.verified-box { border-radius: 28px; background: var(--night); color: var(--cream); padding: 28px; display: grid; grid-template-columns: 64px 1fr; gap: 20px; }
.verified-box .seal-s { width: 64px; height: 64px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.verified-box .seal-s img { width: 38px; }
.verified-box h3 { color: var(--cream); font-size: 1.2rem; margin-bottom: 6px; }
.verified-box p { color: rgba(255,247,236,.75); font-size: .92rem; margin: 6px 0 0; }
.verified-box a { color: var(--peach); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.book { position: sticky; top: 104px; border-radius: 30px; background: var(--white); box-shadow: var(--shadow-lift); padding: 26px; border: 1px solid var(--line); }
.book .sel-name { font: 600 .82rem var(--f-body); color: var(--muted); letter-spacing: .04em; }
.book .big { font: 600 2.2rem/1.05 var(--f-head); letter-spacing: -.04em; margin: 6px 0 4px; }
.book .big small { font: 500 .9rem var(--f-body); color: var(--muted); letter-spacing: 0; }
.book .acts { display: grid; gap: 10px; margin: 20px 0 16px; }
.book .fine { font-size: .8rem; color: var(--muted); display: grid; gap: 8px; }
.book .fine div { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.book .fine svg { color: var(--ok); margin-top: 2px; }
.mobile-book { display: none; }
@media (max-width: 1020px) {
  .prop-layout { grid-template-columns: 1fr; }
  .book { display: none; }
  .mobile-book { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; background: var(--night); color: var(--cream); border-radius: 22px; padding: 12px 12px 12px 20px; align-items: center; justify-content: space-between; gap: 12px; box-shadow: var(--shadow-lift); }
  .mobile-book b { font: 600 1.15rem var(--f-head); display: block; }
  .mobile-book span { font-size: .78rem; color: var(--peach); }
  body.has-mobile-book { padding-bottom: 90px; }
}

/* ---------- Drawer / modal ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(15,39,64,.45); opacity: 0; transition: opacity .5s; backdrop-filter: blur(3px); }
.drawer .sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--cream); transform: translateX(100%); transition: transform .7s var(--ease-io); display: flex; flex-direction: column; box-shadow: -30px 0 80px -30px rgba(15,39,64,.4); }
.drawer.open { pointer-events: auto; }
.drawer.open .scrim { opacity: 1; }
.drawer.open .sheet { transform: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 1.35rem; }
.sheet-body { flex: 1; overflow-y: auto; padding: 24px 26px 40px; }
.close-x { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; display: grid; place-items: center; transition: transform .5s var(--ease), background .3s; }
.close-x:hover { transform: rotate(90deg); background: var(--white); }
.attached { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); margin-bottom: 22px; }
.attached .thumb { width: 64px; height: 64px; border-radius: 40px 40px 10px 10px; overflow: hidden; background: var(--peach); }
.attached .thumb img { width: 100%; height: 100%; object-fit: cover; }
.attached b { display: block; font: 600 .98rem var(--f-head); }
.attached span { font-size: .84rem; color: var(--muted); }
@media (max-width: 640px) { .drawer .sheet { top: 6vh; width: 100%; border-radius: 26px 26px 0 0; transform: translateY(100%); } }

.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(8, 20, 34, .96); display: none; flex-direction: column; color: var(--cream); }
.lightbox.open { display: flex; animation: fadein .4s; }
@keyframes fadein { from { opacity: 0; } }
.lightbox .lb-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; }
.lightbox .lb-stage { flex: 1; display: grid; place-items: center; position: relative; padding: 0 70px 20px; min-height: 0; }
.lightbox .lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; animation: fadein .5s; }
.lightbox .nav-b { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255,247,236,.3); background: transparent; color: var(--cream); display: grid; place-items: center; }
.lightbox .nav-b:hover { background: var(--coral); color: var(--night); border-color: var(--coral); }
.lightbox .prev { left: 10px; } .lightbox .next { right: 10px; }
.lightbox .close-x { border-color: rgba(255,247,236,.3); color: var(--cream); }
.lightbox .lb-cap { text-align: center; padding: 0 20px 20px; font-size: .9rem; color: rgba(255,247,236,.7); }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 220%); background: var(--night); color: var(--cream); padding: 14px 22px; border-radius: 999px; z-index: 400; font-weight: 500; font-size: .92rem; transition: transform .6s var(--ease), visibility .6s; box-shadow: var(--shadow-lift); visibility: hidden; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Bloques de páginas interiores ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile { border-radius: 28px; padding: clamp(24px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.tile .n { font: 600 .82rem var(--f-body); color: var(--coral-ink); letter-spacing: .1em; }
.tile h3 { margin: 14px 0 10px; }
.tile p { color: var(--muted); margin: 0; }
.tile--night { background: var(--night); color: var(--cream); border-color: transparent; }
.tile--night h3 { color: var(--cream); } .tile--night p { color: rgba(255,247,236,.72); }
.tile--peach { background: var(--peach); border-color: transparent; } .tile--peach p { color: rgba(15,39,64,.78); }
.tile--img { padding: 0; min-height: 300px; }
.tile--img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
@media (max-width: 900px) { .bento > * { grid-column: span 12; } }
.timeline { display: grid; gap: 0; counter-reset: tl; }
.tl-item { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line-strong); }
.tl-item .n { font: 600 2.4rem/1 var(--f-head); color: var(--coral); letter-spacing: -.04em; }
.tl-item h3 { margin-bottom: 8px; }
.tl-item p { color: var(--muted); margin: 0; max-width: 60ch; }
.not-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.not-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.not-list .x { width: 26px; height: 26px; border-radius: 50%; background: rgba(184,67,58,.12); color: var(--coral-ink); display: grid; place-items: center; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose p, .prose li { color: #2E3F55; }
.notice { border-radius: 18px; background: #FFF1C2; color: #5B4300; padding: 16px 20px; font-size: .92rem; }

/* ---------- Logo del encabezado: despliegue de «Roomity» ----------
   Mismo movimiento que la animación original (capas oficiales en assets/brand/despliegue, 30 KB): la casa aparece y cada letra
   sale de ella hacia su lugar, de derecha a izquierda; luego el birrete y el punto. Recorrido completo ≈ 1.1 s, pausado y
   suave (casa 380 ms; letras de 560 ms cada 70 ms desde los 80 ms; birrete a 420 ms; punto a 560 ms), con salida ease-out.
   Se reproduce en cada carga de página: al entrar al inicio, al cambiar de sección, al recargar y al volver con «Atrás»
   (clase logo-play que pone <head>; arranca cuando las capas cargaron, clase go). Al terminar queda completo: deslizar o abrir
   y cerrar el menú no lo reinicia. Con movimiento reducido, o si las capas tardan más de 2.5 s, queda fijo y completo. */
.logo-anim{position:relative;width:100%;margin:0;aspect-ratio:600/185}
.logo-anim .ly{position:absolute;inset:0;width:100%;height:100%;display:block}
.logo-anim .sale{z-index:2}.logo-anim .birrete,.logo-anim .punto{z-index:3}
.logo-play .logo-anim:not(.go):not(.done) .ly{opacity:0}
.logo-play .logo-anim.go .casa{animation:la-casa .38s cubic-bezier(.33,1,.68,1) both}
.logo-play .logo-anim.go .sale{animation:la-sale .56s cubic-bezier(.33,1,.68,1) var(--d) both}
.logo-play .logo-anim.go .birrete{animation-name:la-salebirrete}
@keyframes la-casa{from{opacity:0;transform:translateY(6%) scale(.96)}to{opacity:1;transform:none}}
@keyframes la-sale{from{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.5)}45%{opacity:1}to{opacity:1;transform:none}}
@keyframes la-salebirrete{from{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.45) rotate(-10deg)}45%{opacity:1}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){.logo-anim .ly{animation:none!important;opacity:1!important}}

/* ---------- Portada: propietarios como acción secundaria ---------- */
.owners-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; padding: 24px 30px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.owners-strip .txt { flex: 1 1 380px; }
.owners-strip p { margin: 8px 0 0; color: var(--muted); max-width: 70ch; }
.owners-strip p b { color: var(--night); font-family: var(--f-head); font-weight: 600; }
@media (max-width: 600px) { .owners-strip { padding: 22px; } .owners-strip .btn { width: 100%; justify-content: center; } }

/* ---------- Sobre Roomity: relato del fundador ---------- */
.founder-story { display: grid; gap: 18px; }
.founder-story .lead { margin: 0; }
.founder-story .signature { margin: 8px 0 0; font: 600 1rem var(--f-head); color: var(--coral-ink); }
/* Sobre Roomity: cabecera compacta y «Nuestra historia» centrada dentro del ancho del sitio.
   Escritorio: título de sección arriba; retrato y relato alineados por arriba, el relato con ancho cómodo de lectura.
   Celular: título → retrato → relato, con fotos más bajas para que no se sigan dos imágenes grandes. */
.about-title { margin: 18px 0 0; max-width: 22ch; font-size: clamp(2.4rem, 4.4vw, 4.8rem); }
.about-group { padding: 0 0 clamp(18px, 2vw, 28px); }
.about-group-photo { position: relative; height: clamp(190px, 22vw, 300px); border-radius: 999px 999px 36px 36px; }
.about-group-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.section--tight.story-section { padding-top: clamp(12px, 1.4vw, 20px); }
.story-grid { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 640px); grid-template-areas: "eyebrow eyebrow" "photo story"; justify-content: center; column-gap: clamp(32px, 4.5vw, 64px); row-gap: 22px; align-items: start; }
.story-eyebrow { grid-area: eyebrow; }
.founder-photo { grid-area: photo; margin: 0; width: 100%; aspect-ratio: 610 / 880; border-radius: 999px 999px 28px 28px; overflow: hidden; background: var(--peach); box-shadow: var(--shadow-soft); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.story-grid .founder-story { grid-area: story; text-align: left; }
.story-grid .founder-story .lead { color: var(--ink); font-size: clamp(1.12rem, 1.5vw, 1.4rem); line-height: 1.6; max-width: 34em; }
@media (max-width: 760px) {
  .story-grid { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "photo" "story"; row-gap: 18px; }
  .founder-photo { max-width: 210px; justify-self: center; }
  .about-group-photo { height: 170px; }
}

/* ---------- Portada móvil: menos adornos sobre la foto principal ---------- */
@media (max-width: 560px) {
  .hero-art .ring, .hero-art .circle-img { display: none; }
  .hero-art .arch--main { inset: 0; }
  .hero-art .float-card--price { right: 10px; top: 10px; animation: none; }
}

/* ---------- Catálogo móvil: filtros compactos ---------- */
.filters-bar .sheet-head, .filters-bar .sheet-foot, .filters-fab { display: none; }
@media (max-width: 900px) {
  .filters-bar { position: static; }
  .filters-fab:not([hidden]) { display: inline-flex; align-items: center; gap: 8px; position: fixed; z-index: 45; left: 50%; transform: translateX(-50%);
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)); height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--night); color: var(--cream);
    font: 600 .92rem var(--f-body); box-shadow: 0 12px 30px -10px rgba(15,39,64,.55); cursor: pointer; }
  .filters-fab span { color: var(--peach); }
  .filters-backdrop:not([hidden]) { position: fixed; inset: 0; z-index: 69; background: rgba(15,39,64,.45); }
  .filters-bar.is-sheet { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; top: auto; margin: 0; max-height: 86vh; overflow-y: auto;
    background: var(--white); border-radius: 26px 26px 0 0; box-shadow: var(--shadow-lift); padding: 6px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
  .filters-bar.is-sheet .sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; position: sticky; top: -6px; background: var(--white); z-index: 1; }
  .filters-bar.is-sheet .sheet-head b { font: 600 1.15rem var(--f-head); }
  .filters-bar.is-sheet .filters-inner { box-shadow: none; border: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }
  .filters-bar.is-sheet .filters-inner .fsel { display: block; width: 100%; }
  .filters-bar.is-sheet .filters-inner .fsel select, .filters-bar.is-sheet .filters-inner .fsel input { width: 100%; max-width: none; }
  .filters-bar.is-sheet .filters-inner .filters-toggle, .filters-bar.is-sheet .filters-inner .clear-filters, .filters-bar.is-sheet .filters-inner .spacer { display: none; }
  .filters-bar.is-sheet .sheet-foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: sticky; bottom: 0; background: var(--white); padding-top: 14px; margin-top: 10px; }
  .filters-bar.is-sheet .sheet-foot .btn { justify-content: center; }
  html.filters-lock, html.filters-lock body { overflow: hidden; }
}

/* ---------- Ficha: costo de la opción elegida ---------- */
.cost-card { border-radius: 24px; background: var(--paper); border: 1.5px solid var(--night); padding: 22px; margin-top: 18px; box-shadow: var(--shadow-soft); scroll-margin-top: 110px; }
.cost-card.flash { animation: costflash .9s var(--ease); }
@keyframes costflash { 0% { box-shadow: 0 0 0 0 rgba(242,119,105,.55); } 100% { box-shadow: 0 0 0 14px rgba(242,119,105,0); } }
.cost-head h3 { font-size: 1.12rem; margin: 6px 0 16px; }
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cost-item { background: var(--white); border-radius: 18px; padding: 14px 16px; border: 1px solid var(--line); min-width: 0; }
.cost-item--wide { grid-column: 1 / -1; }
.cost-item .k { display: block; font: 600 .7rem var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cost-item b { font: 600 1.35rem/1.1 var(--f-head); letter-spacing: -.02em; }
.cost-item b small { font: 500 .78rem var(--f-body); color: var(--muted); letter-spacing: 0; }
.cost-item--main { background: var(--night); color: var(--cream); border-color: var(--night); }
.cost-item--main .k { color: var(--peach); }
.cost-item--main b { font-size: 1.6rem; }
.cost-item--main b small { color: var(--peach); }
.cost-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cost-chips .chip svg { width: 14px; height: 14px; color: var(--ok); }
.cost-extras { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cost-extras li { display: flex; justify-content: space-between; gap: 14px; font-size: .93rem; }
.cost-extras b { font: 600 .93rem var(--f-body); white-space: nowrap; }
.cost-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.cost-foot b { color: var(--night); }
.cost-acts { display: none; }
.book-costs { margin: 14px 0 0; display: grid; gap: 6px; font-size: .86rem; }
.book-costs div { display: grid; grid-template-columns: 92px 1fr; gap: 8px; }
.book-costs dt { color: var(--muted); }
.book-costs dd { margin: 0; font-weight: 600; color: var(--night); }
@media (max-width: 1020px) {
  .cost-acts { display: grid; gap: 10px; margin-top: 16px; }
  body.has-mobile-book { padding-bottom: 104px; }
}
@media (max-width: 420px) { .cost-grid { grid-template-columns: 1fr; } }

/* ---------- Avisos de privacidad junto a los formularios y ubicación en texto ---------- */
.privacy-notice { font-size: .8rem; line-height: 1.55; color: var(--muted); background: rgba(15,39,64,.04); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.privacy-notice p { margin: 0; }
.privacy-notice a, .check a { color: var(--night); text-decoration: underline; text-underline-offset: 2px; }
/* Aviso de privacidad dentro de la página (formularios) */
.privacy-notice .aviso-abrir { display: inline-block; font-weight: 600; }
html.aviso-abierto { overflow: hidden; }
.aviso-dialog { width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: var(--r-md); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lift); display: none; flex-direction: column; overflow: hidden; }
.aviso-dialog[open] { display: flex; }
.aviso-dialog::backdrop { background: rgba(15,39,64,.55); }
.aviso-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.aviso-dialog-head h2 { margin: 0; font-size: 1.25rem; }
.aviso-cerrar { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--night); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.aviso-dialog-body { overflow-y: auto; overscroll-behavior: contain; padding: 6px 22px 22px; max-width: none; font-size: .95rem; }
.aviso-dialog-body h2 { font-size: 1.12rem; margin: 1.5em 0 .5em; }
.aviso-dialog-body .version { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.aviso-dialog-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--line); }
.loc-box { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 20px 22px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); }
.loc-box .loc-pin { width: 44px; height: 44px; border-radius: 50%; background: var(--peach); color: var(--coral-ink); display: grid; place-items: center; }
.loc-box b { font: 600 1.05rem var(--f-head); }
.loc-box p { margin: 6px 0 0; }
.legal-page .prose h2 { margin-top: 1.6em; }
.legal-page .version { font-size: .88rem; color: var(--muted); }

/* ---------- Cabeceras compactas de página ---------- */
.page-hero--compact { padding: clamp(20px, 2.6vw, 40px) 0 clamp(18px, 2.2vw, 32px); }
.page-hero--compact .h1 { margin: 12px 0 16px; }

/* Cómo funciona: título y explicación a la izquierda, foto con arco a la derecha; el primer paso asoma en laptop */
.how-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: 8px; }
.how-hero .h1 { margin-top: 0; }
.how-hero .lead { margin: 0; max-width: 52ch; }
.how-hero-photo { position: relative; height: clamp(300px, 27vw, 380px); width: 100%; box-shadow: var(--shadow-lift); }
.how-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.section--tight.how-steps-section { padding-top: clamp(20px, 2.4vw, 36px); }
@media (max-width: 900px) {
  .how-hero { grid-template-columns: 1fr; gap: 22px; }
  .how-hero-photo { height: 280px; max-width: 360px; justify-self: center; }
}

/* ---------- Portada: la entrada del hero no depende del JavaScript ----------
   Con red lenta el JS llega tarde; el título, el texto y la foto principal entran por CSS desde el primer dibujo.
   La foto principal no tiene animación de revelado: se ve en cuanto el navegador la decodifica. */
.hero-copy .reveal:not([data-split]) { animation: hero-rise .6s var(--ease) calc(var(--d, 0s) * .5) both; }
.hero .line-mask > span { animation: hero-line .8s var(--ease) var(--d, 0s) both; }
@keyframes hero-rise { from { transform: translateY(14px); } to { transform: none; } }
@keyframes hero-line { from { transform: translateY(135%); } to { transform: none; } }

/* ---------- Ritmo vertical de la portada ----------
   Menos relleno entre secciones; en laptop cada bloque busca mostrar título, explicación y contenido clave en la altura visible
   (descontando el encabezado fijo). En móvil el contenido fluye sin alturas forzadas. */
.section { padding: clamp(56px, 6.4vw, 100px) 0; }
.section--tight { padding: clamp(44px, 4.8vw, 72px) 0; }
.section-head { margin-bottom: clamp(24px, 3vw, 44px); }
.section-head .h2 { margin-top: 12px; }
.manifesto { padding: clamp(60px, 7.5vw, 120px) 0; }
.manifesto-art { height: clamp(320px, 33vw, 470px); }
.manifesto-meta { margin-top: 36px; }
@media (min-width: 901px) {
  .step { min-height: 46vh; padding: 28px 0; }
  .split .media .arch { max-height: calc(100vh - 170px); min-height: 420px; width: 100%; }
}
/* Destacados: título en dos líneas y menos relleno superior, para que las tarjetas entren en la altura visible */
.featured.section--tight { padding-top: clamp(30px, 2.8vw, 48px); }
.featured .section-head { margin-bottom: 22px; }
.featured .section-head .h2 { max-width: 22ch; }

/* Roomity Verified: sello junto al texto, puntos compactos; en escritorio el aviso de alcance va bajo el sello */
.verified.section { padding: clamp(44px, 4.4vw, 72px) 0; }
.verified-grid { grid-template-columns: .82fr 1.18fr; grid-template-areas: "emblem copy" "note copy"; gap: 18px clamp(24px, 3.4vw, 52px); }
/* Sello (con sus órbitas y puntos) y aviso centrados en la columna izquierda, sobre el mismo eje vertical */
.verified-emblem { grid-area: emblem; max-width: 360px; justify-self: center; align-self: end; }
.verified-copy { grid-area: copy; align-self: center; }
.verified-grid > .scope-note { grid-area: note; align-self: start; margin-top: 0; width: 100%; max-width: 420px; justify-self: center; }
/* Página /roomity-verified: sello centrado en la columna izquierda y a media altura del texto (sin aviso debajo) */
.verified-grid--page { grid-template-areas: "emblem copy"; align-items: center; }
.verified-grid--page .verified-emblem { align-self: center; }
.verified .h2 { margin: 12px 0 14px !important; }
.verified .lead { max-width: 56ch; }
.checklist { margin-top: 20px; gap: 0; }
.checklist li { padding: 10px 0; gap: 14px; grid-template-columns: 30px 1fr; }
.checklist .ck { width: 26px; height: 26px; }
.checklist b { font-size: 1rem; margin-bottom: 0; }
.checklist span { font-size: .92rem; }
.scope-note { margin-top: 18px; padding: 14px 18px; font-size: .88rem; gap: 12px; }
@media (min-width: 1100px) { .checklist { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
@media (max-width: 900px) {
  .verified-grid { grid-template-columns: 1fr; grid-template-areas: none; gap: 18px; }
  .verified-emblem, .verified-copy, .verified-grid > .scope-note { grid-area: auto; }
  .verified-emblem { max-width: 210px; justify-self: center; margin: 0 auto; }
  .verified-grid > .scope-note { max-width: none; justify-self: stretch; }
}

/* Reducción de movimiento: solo efectos intrusivos */
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .verified-emblem .orbit, .ring svg.text { animation-duration: 120s; }
}
