/* NOCODYA · IA para inmobiliarias — «Señal».
   El lenguaje de las referencias del usuario:
   · el cartel rojo de moda: un rostro velado por un cristal y una sola ventana nítida (lo que importa se ve claro);
   · el moodboard naranja y negro: desenfoque de movimiento (urgencia), siluetas a contraluz (cualquier cliente),
     grano, luz que se quema, rótulos anchos en mayúsculas y datos técnicos en monoespaciada (la máquina, la precisión);
   · las apps oscuras: la foto se funde en desenfoque, paneles de cristal, píldora blanca para la acción principal y
     botones redondos para las secundarias. */
/* fuentes alojadas aquí y recortadas a lo que se usa (work/: ver LEEME): Archivo de 100 a 125 % de ancho, JetBrains Mono
   para los datos y Space Grotesk para el selector de páginas, igual que en las otras dos páginas */
@font-face { font-family: 'Archivo'; src: url(../../fonts/archivo.woff2) format('woff2'); font-weight: 400 900; font-stretch: 100% 125%; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url(../../fonts/jetbrainsmono.woff2) format('woff2'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(../../fonts/spacegrotesk.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }

:root {
  --negro: #0b0a09;
  --carbon: #141210;
  --hueso: #f2eee7;
  --gris: #a29b92;
  --gris-2: #6f6a64;
  --rojo: #c50307;        /* el rojo del fondo de la foto del cartel */
  --naranja: #ff4b1f;
  --melocoton: #ffb48c;
  --cobalto: #2a47c9;
  --verde: #39d17b;
  --pared: #746f6b;       /* la pared de la foto del cliente que se va */
  --suelo: #4d4440;
  --linea: rgba(242, 238, 231, .13);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(20px, 5vw, 64px);
  --curva: cubic-bezier(.22, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--negro); color: var(--hueso); font: 400 17px/1.5 var(--display); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::after { content: ''; position: fixed; inset: 0; z-index: 80; pointer-events: none; background: url(../img/grano.png); opacity: .08; mix-blend-mode: overlay; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }   /* el AVIF va en <picture>: que no cambie la maqueta */
figure, blockquote, h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 800; text-wrap: balance; }
use { pointer-events: none; }
svg:has(> use) { width: 1em; height: 1em; fill: currentColor; flex: none; }
:focus-visible { outline: 2px solid var(--naranja); outline-offset: 3px; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.mono { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.ancha { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: .95; }
.eti { margin-bottom: 22px; font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--naranja); }
.eti--oscura { color: rgba(255, 236, 220, .85); }
.punto { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #e3221c; vertical-align: 1px; }
.punto--vivo { margin: 0 6px; background: var(--naranja); animation: latido 1.6s infinite; }
@keyframes latido { 50% { opacity: .25; } }

/* ---------- botones: la píldora blanca es la acción; el círculo de cristal, lo secundario ---------- */
.pildora { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 24px; border-radius: 999px; font: 600 15px/1 var(--display); letter-spacing: -.005em; white-space: nowrap; transition: transform .35s var(--curva), background-color .25s, color .25s; }
.pildora svg { width: 18px; height: 18px; }
.pildora--blanca { background: #fff; color: var(--negro); }
a.pildora--blanca:hover { background: var(--naranja); color: #fff; }
.pildora:active, .redonda:active { transform: scale(.96); }
.pildora--grande { height: 58px; padding: 0 30px; font-size: 17px; }
.redonda { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; transition: background-color .25s, transform .35s var(--curva); }
a.redonda:hover { background: rgba(255, 255, 255, .22); }
.redonda svg { width: 19px; height: 19px; }
.redonda--grande { width: 58px; height: 58px; }
.redonda--grande svg { width: 22px; height: 22px; }
.redonda--mini { width: 30px; height: 30px; }
.redonda--mini svg { width: 14px; height: 14px; }
.vidrio { background: rgba(22, 20, 18, .5); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.pastilla { display: inline-block; padding: 4px 9px; border-radius: 999px; background: var(--naranja); color: #fff; font: 600 9.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.pastilla--si { background: var(--verde); color: #04140a; }

/* apariciones */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--curva), transform .6s var(--curva); transition-delay: calc(var(--i, 0) * 55ms); }
.js .rv.visto { opacity: 1; transform: none; }

/* al venir de la puerta del sol */
.velo { position: fixed; inset: 0; z-index: 100; pointer-events: none; background: radial-gradient(circle at 72% 28%, #FFE36B, #FFB01F 40%, #FF7A1A 75%); opacity: 0; }
.desde-luz .velo { animation: velo 1.6s .1s var(--curva) both; }
@keyframes velo { 0%, 35% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- barra ---------- */
.barra { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 68px; display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s; }
.barra.solida { background: rgba(11, 10, 9, .55); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); border-color: var(--linea); }
.barra__nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.barra__nav a { opacity: .8; transition: opacity .2s; }
.barra__nav a:hover { opacity: 1; }
.barra__cta { gap: 0; height: 40px; padding: 0 18px; font-size: 14px; }
.barra__largo { margin-left: .26em; }

/* ---------- 01 · el cartel ---------- */
.cartel { position: relative; height: 200vh; height: 200svh; background: var(--rojo); }
.cartel__fijo { --alto: calc(100svh - 290px); position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; display: flex; flex-direction: column; align-items: center; padding: 76px var(--pad) 24px; background: var(--rojo); color: #1a0203; text-align: center; }
.cartel__sello { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.cartel__logo { font-stretch: 125%; font-weight: 700; font-size: clamp(25px, 2.3vw, 34px); line-height: 1; letter-spacing: -.05em; }
.cartel__sello .mono { font-size: 10px; letter-spacing: .1em; }
.cartel__cara { position: relative; flex: none; height: min(var(--alto), 128vw); aspect-ratio: 1122 / 1402; margin-top: 12px; }
.cartel__borrosa, .cartel__nitida, .cartel__nitida img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cartel__borrosa { transform: scale(1.14); opacity: var(--velo, 1); -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 97%); mask-image: linear-gradient(to bottom, #000 72%, transparent 97%); }
.cartel__nitida { clip-path: inset(var(--t, 47.5%) var(--d, 13%) var(--b, 40%) var(--i, 13%) round var(--r, 7px)); }
.cartel__nitida img { -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent); mask-image: linear-gradient(to bottom, #000 84%, transparent); }
/* el marco de plástico rojo de la ventana */
.cartel__marco { position: absolute; top: var(--t, 47.5%); right: var(--d, 13%); bottom: var(--b, 40%); left: var(--i, 13%); border-radius: var(--r, 7px); background: linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 40%); box-shadow: 0 0 0 4px #e1251f, 0 0 0 5px rgba(90, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .45), inset 0 3px 12px rgba(0, 0, 0, .35), 0 18px 36px rgba(70, 0, 0, .45); opacity: var(--m, 1); pointer-events: none; }
.cartel__texto { margin-top: clamp(12px, 2.2svh, 24px); }
.cartel__t { font-stretch: 108%; font-weight: 600; font-size: clamp(26px, 3.1vw, 46px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; color: #140102; text-shadow: 0 1px 0 rgba(255, 120, 110, .25), 0 -1px 0 rgba(0, 0, 0, .2); }
.cartel__estado { position: relative; height: 15px; margin-top: 10px; color: #1f0203; font-size: 11.5px; }
.cartel__estado span { position: absolute; left: 50%; top: 0; transform: translateX(-50%); white-space: nowrap; transition: opacity .45s; }
.cartel__despues, .cartel.claro .cartel__antes { opacity: 0; }
.cartel.claro .cartel__despues { opacity: 1; }
.cartel__pie { margin-top: auto; color: rgba(20, 1, 2, .8); font-size: 10.5px; letter-spacing: .1em; }

/* ---------- 02 · el cliente que se va ---------- */
.fuga { position: relative; overflow: clip; padding-top: clamp(120px, 15vw, 190px); background: linear-gradient(var(--pared) 0 70%, var(--suelo) 70%); color: #141210; }
.fuga__texto { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.fuga .eti { grid-column: 1 / -1; margin-bottom: 0; color: #2b0c04; }
.fuga__t { grid-column: 1 / -1; font-size: clamp(40px, 6.4vw, 100px); color: #100e0d; }
.fuga__p { grid-column: 2; }
.fuga__p { max-width: 32em; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: #100e0d; }
.fuga__p .p { opacity: var(--o, .3); transition: opacity .25s linear; }
.fuga__foto { position: relative; margin-top: clamp(-30px, -1.5vw, 0px); }
.fuga__foto img { width: 100%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%); mask-image: linear-gradient(to bottom, transparent, #000 20%); }
.fuga__hud { position: absolute; right: var(--pad); top: 40%; display: flex; flex-direction: column; gap: 7px; text-align: right; color: #1b1715; font-size: 10.5px; }
.fuga__remate { padding: clamp(28px, 4vw, 56px) var(--pad) clamp(110px, 12vw, 170px); font-size: clamp(28px, 4.2vw, 64px); color: var(--hueso); }
.fuga__remate em { font-style: normal; color: var(--naranja); }

/* ---------- 03 · el sistema en acción ---------- */
.accion { position: relative; height: 240vh; height: 240svh; background: #080605; }
.accion__fijo { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; }
.accion__luz { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.accion__etiquetas { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.etiqueta { position: absolute; left: 0; top: 0; padding: 5px 10px; border-radius: 999px; background: rgba(30, 27, 24, .62); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 10.5px/1.3 var(--mono); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; color: var(--hueso); transition: color .4s, background-color .4s, border-color .4s, opacity .35s; will-change: transform; }
.etiqueta.perdida { color: #ff7a5c; border-color: rgba(255, 75, 31, .45); }
.etiqueta.ok { background: #fff; color: var(--negro); }
.etiqueta.oculta { opacity: 0; }
.accion__eti { position: absolute; z-index: 3; left: 0; right: 0; top: calc(68px + 6vh); text-align: center; color: var(--gris); }
.accion__textos { position: absolute; z-index: 3; left: 50%; bottom: 11vh; width: min(760px, calc(100% - 2 * var(--pad))); transform: translateX(-50%); }
.accion__paso { position: absolute; left: 0; bottom: 0; width: 100%; text-align: center; color: var(--gris-2); font-stretch: 108%; font-size: clamp(22px, 2.4vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; transition: opacity .5s ease; }
.accion__paso b { color: var(--hueso); }
.accion__paso--ia { opacity: 0; }
.accion__paso--ia b { color: var(--naranja); }
.accion__leyenda { position: absolute; z-index: 3; left: 0; right: 0; bottom: 4.5vh; display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--gris-2); font-size: 10px; }
.ley { display: inline-block; margin-left: 14px; }
.ley:first-child { margin-left: 0; }
.ley--cliente { width: 8px; height: 8px; border-radius: 50%; background: #ff7a3c; box-shadow: 0 0 8px var(--naranja); }
.ley--casa { width: 13px; height: 9px; border-radius: 3px; background: #fff2e2; box-shadow: 0 0 8px rgba(255, 240, 220, .7); }
.ley--linea { width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--naranja), var(--melocoton)); }
.sin-gl .accion { height: auto; }
.sin-gl .accion__fijo { position: relative; height: auto; min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 120px var(--pad); }
.sin-gl .accion__textos { position: relative; left: 0; bottom: 0; transform: none; }
.sin-gl .accion__leyenda, .sin-gl .accion__eti { display: none; }

/* ---------- 04 · el sistema: la app ---------- */
.app { position: relative; overflow: clip; padding: clamp(120px, 14vw, 180px) 0 clamp(110px, 12vw, 170px); background: radial-gradient(110% 55% at 50% 0%, #2c1508 0%, var(--negro) 62%); }
.app__cabecera { padding: 0 var(--pad); text-align: center; }
.app__t { font-weight: 400; font-size: clamp(40px, 5.6vw, 86px); line-height: 1.02; letter-spacing: -.04em; }
.app__t span { color: var(--gris-2); }
.app__sub { margin-top: 18px; color: var(--gris); font-size: 18px; }
.app__moviles { display: flex; justify-content: center; align-items: flex-start; gap: clamp(22px, 3vw, 52px); margin-top: clamp(64px, 7vw, 100px); padding: 0 var(--pad); }
.movil { flex: none; width: clamp(250px, 21vw, 300px); transform: translate3d(0, var(--y, 0px), 0); }
.movil--perfil { margin-top: 70px; }
.movil--avisos { margin-top: 36px; }
.movil__pantalla { position: relative; aspect-ratio: 9 / 19.5; overflow: hidden; border-radius: 44px; background: #1b1916; isolation: isolate; box-shadow: 0 0 0 9px #0d0c0b, 0 0 0 10px #3b3733, 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 140px -50px rgba(255, 75, 31, .45); color: #fff; font-size: 13px; line-height: 1.35; }
.movil__pantalla::before { content: ''; position: absolute; z-index: 6; top: 11px; left: 50%; width: 32%; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.movil__estado { position: absolute; z-index: 5; top: 15px; left: 26px; right: 22px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 13px; line-height: 1; }
.movil__estado svg { width: 30px; height: 11px; }
.movil figcaption { margin-top: 30px; text-align: center; color: var(--gris); font-size: 15px; }
.movil figcaption .mono { display: block; margin-bottom: 6px; color: var(--naranja); }

/* pantalla 1 · perfil: la foto con ojo de pez se funde en desenfoque */
.perfil__foto { position: absolute; inset: 0 0 auto; width: 100%; height: 74%; object-fit: cover; object-position: 50% 12%; }
.movil--perfil .movil__pantalla::after { content: ''; position: absolute; z-index: 1; left: 0; right: 0; top: 36%; bottom: 0; background: linear-gradient(to bottom, rgba(44, 44, 56, 0), rgba(46, 45, 56, .62) 26%, #2a2931 52%); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28%); mask-image: linear-gradient(to bottom, transparent, #000 28%); }
.perfil__arriba { position: absolute; z-index: 3; top: 48px; left: 14px; right: 14px; display: flex; justify-content: space-between; }
.perfil__cuerpo { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 18px; text-align: center; }
.perfil__nombre { font-size: 25px; font-weight: 600; letter-spacing: -.025em; }
.perfil__sub { margin-top: 2px; font-size: 11.5px; color: rgba(255, 255, 255, .55); }
.perfil__acciones { display: flex; gap: 8px; margin-top: 14px; }
.pildora--app { flex: 1; height: 38px; font-size: 13px; }
.redonda--app { width: 38px; height: 38px; }
.redonda--app svg { width: 17px; height: 17px; }
.perfil__cifras { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; font-size: 10px; color: rgba(255, 255, 255, .55); }
.perfil__cifras b { display: block; font-size: 18px; font-weight: 600; color: #fff; letter-spacing: -.02em; }
.perfil__nota { margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); text-align: left; font-size: 11px; line-height: 1.4; color: rgba(255, 255, 255, .85); }

/* pantalla 2 · vivienda: foto cálida desenfocada y paneles de cristal */
.vivienda__fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.movil--vivienda .movil__pantalla::after { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .4), transparent 24%, transparent 46%, rgba(0, 0, 0, .55)); }
.vivienda__cab { position: absolute; z-index: 3; top: 48px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.vivienda__crm { position: absolute; z-index: 3; top: 15.5%; left: 12px; right: 12px; padding: 13px 16px; border-radius: 22px; text-align: center; }
.vivienda__crm .mono, .vivienda__teselas .mono { font-size: 8.5px; color: rgba(255, 255, 255, .62); }
.vivienda__nombre { margin-top: 4px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.vivienda__ref { margin-top: 2px; font-size: 10.5px; color: rgba(255, 255, 255, .62); }
.vivienda__dial { position: absolute; z-index: 3; top: 34%; left: 12px; right: 12px; padding: 14px 16px 16px; border-radius: 26px; }
.dial { display: grid; justify-items: center; }
.dial svg, .dial__n { grid-area: 1 / 1; }
.dial svg { width: 88%; height: auto; overflow: visible; }
.dial__fondo, .dial__valor { fill: none; stroke-width: 6; stroke-linecap: round; }
.dial__fondo { stroke: rgba(255, 255, 255, .14); }
.dial__valor { stroke: #fff; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px rgba(255, 255, 255, .7)); transition: stroke-dashoffset 1.8s var(--curva) .3s; }
.movil--vivienda.visto .dial__valor { stroke-dashoffset: .1; }
.dial__n { align-self: end; font-size: 40px; font-weight: 600; line-height: .9; letter-spacing: -.04em; }
.dial__t { margin-top: 4px; font-size: 10.5px; color: rgba(255, 255, 255, .68); }
.deslizador { margin-top: 12px; font-size: 10px; color: rgba(255, 255, 255, .72); }
.deslizador p { display: flex; justify-content: space-between; margin-bottom: 7px; }
.deslizador i { position: relative; display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.deslizador i::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 100%); right: calc((1 - var(--b)) * 100%); border-radius: 4px; background: linear-gradient(90deg, var(--naranja), var(--melocoton)); }
.deslizador i::after { content: ''; position: absolute; top: 50%; left: calc(var(--b) * 100%); width: 13px; height: 13px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.vivienda__teselas { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vivienda__teselas .vidrio { padding: 12px 14px; border-radius: 20px; }
.vivienda__teselas b { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }

/* pantalla 3 · avisos: app negra con tarjetas de cine */
.movil__pantalla--negra { background: #0e0d0c; }
.avisos__cab { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 50px 16px 0; }
.avisos__logo { display: flex; align-items: center; gap: 7px; font-stretch: 115%; font-size: 17px; font-weight: 700; letter-spacing: -.045em; }
.avisos__logo svg { width: 20px; height: 20px; color: var(--naranja); filter: drop-shadow(0 0 6px rgba(255, 75, 31, .7)); }
.avisos__campana { position: relative; display: grid; place-items: center; width: 32px; height: 32px; }
.avisos__campana svg { width: 20px; height: 20px; }
.avisos__campana i { position: absolute; top: 6px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--naranja); }
.avisos__t { padding: 14px 16px 8px; font-size: 13px; font-weight: 600; }
.avisos__t span { font-weight: 400; color: rgba(255, 255, 255, .5); }
.avisos__fila { display: flex; gap: 8px; padding: 0 16px; overflow: hidden; }
.ava { position: relative; flex: none; width: 44px; height: 44px; border-radius: 15px; }
.ava img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; border-radius: 15px; }
.ava::after { content: ''; position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; background: var(--verde); border: 2px solid #0e0d0c; }
.ava--letra { display: grid; place-items: center; background: var(--c); color: var(--t, #fff); font-weight: 600; font-size: 12.5px; }
.avisos__tarjetas { display: flex; gap: 10px; padding: 0 16px; }
.tarjeta { position: relative; flex: none; width: 76%; aspect-ratio: 3 / 4.1; overflow: hidden; border-radius: 22px; background: #222; }
.tarjeta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tarjeta::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .8)); }
.tarjeta__quien { position: absolute; z-index: 2; top: 8px; left: 8px; right: 8px; display: flex; flex-direction: column; padding: 6px 10px; border-radius: 14px; background: rgba(30, 28, 26, .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 11px; font-weight: 600; line-height: 1.25; }
.tarjeta__quien small { font-size: 9px; font-weight: 400; color: rgba(255, 255, 255, .62); }
.tarjeta__pie { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; }
.tarjeta__t { margin-bottom: 7px; font-stretch: 115%; font-size: 18px; font-weight: 800; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.tarjeta__pie small { margin-left: 6px; font-size: 9px; color: rgba(255, 255, 255, .72); }
.avisos__nav { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 12px; height: 54px; display: flex; justify-content: space-around; align-items: center; border-radius: 20px; background: rgba(120, 88, 66, .32); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: rgba(255, 255, 255, .85); }
.avisos__nav svg { width: 19px; height: 19px; }
.avisos__nucleo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 75, 31, .65), transparent 70%); color: var(--melocoton); }

.pasos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; max-width: 1240px; margin: clamp(80px, 9vw, 120px) auto 0; padding: 0 var(--pad); }
.pasos li { position: relative; padding-top: 22px; border-top: 1px solid var(--linea); color: var(--gris); font-size: 15px; line-height: 1.5; }
.pasos li::before { content: ''; position: absolute; top: -1px; left: 0; width: 36px; height: 1px; background: var(--naranja); }
.pasos .mono { display: block; margin-bottom: 14px; color: var(--naranja); }
.pasos b { display: block; margin-bottom: 8px; color: var(--hueso); font-size: 18px; font-weight: 600; letter-spacing: -.015em; }

/* ---------- 05 · al instante ---------- */
.prisa { position: relative; display: grid; min-height: 100vh; min-height: 100svh; overflow: clip; background: #e1e1e2; color: #141414; }
.prisa > * { grid-area: 1 / 1; }
.prisa__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.prisa__hud { position: relative; z-index: 2; pointer-events: none; font-size: 10px; line-height: 1.75; }
.prisa__esq { position: absolute; }
.prisa__esq b { margin-left: 10px; font-weight: 500; }
.prisa__esq--1 { top: 100px; left: var(--pad); }
.prisa__esq--2 { top: 100px; right: var(--pad); text-align: right; }
.prisa__esq--3 { bottom: 30px; right: var(--pad); text-align: right; }
.prisa__esq--4 { top: 50%; right: calc(var(--pad) + 30px); }
.prisa__caja { display: inline-block; padding: 3px 8px; border: 1px solid currentColor; }
.prisa__regla { position: absolute; top: 28%; bottom: 28%; right: var(--pad); width: 12px; background: repeating-linear-gradient(to bottom, #141414 0 1px, transparent 1px 11px); }
.prisa__texto { position: relative; z-index: 3; align-self: center; padding: 120px var(--pad); max-width: 720px; }
.prisa__t { font-stretch: 125%; font-weight: 900; font-size: clamp(64px, 10.5vw, 176px); line-height: .82; letter-spacing: -.06em; color: var(--naranja); transform: skewX(-10deg); transform-origin: 0 100%; }
.prisa__texto p { max-width: 25em; margin-top: 26px; font-size: 17px; line-height: 1.5; color: #1b1b1b; }

/* ---------- 06 · una vivienda, veinte clientes ---------- */
.veinte__pared { position: relative; display: grid; align-items: end; min-height: 92vh; min-height: 92svh; overflow: clip; }
.veinte__pared img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.veinte__pared::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(to bottom, transparent, rgba(11, 10, 9, .9)); }
.veinte__texto { position: relative; z-index: 2; max-width: 1180px; padding: 0 var(--pad) clamp(56px, 7vw, 96px); }
.veinte__t { font-size: clamp(34px, 5.2vw, 82px); }
.veinte__t span { color: var(--melocoton); }
.veinte__texto > p:last-child { max-width: 34em; margin-top: 22px; font-size: 18px; color: rgba(242, 238, 231, .85); }
.veinte__rejilla { padding: clamp(36px, 5vw, 64px) var(--pad) clamp(110px, 12vw, 170px); }
.veinte__contador { max-width: 1440px; margin: 0 auto 16px; color: var(--gris); }
.veinte__contador b { color: var(--hueso); font-size: 13px; }
.rejilla { list-style: none; display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; max-width: 1440px; margin: 0 auto; padding: 0; }
.t { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4; overflow: hidden; padding: 10px; filter: grayscale(1) brightness(.42); transition: filter .6s var(--curva); }
.t.on { filter: none; }
.t .mono { position: relative; z-index: 1; font-size: 9px; }
.t b { position: relative; z-index: 1; font-size: 13px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.t::after { content: 'Enviado'; position: absolute; z-index: 1; top: 8px; right: 8px; padding: 2px 6px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font: 600 7.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: 0; transform: translateY(-4px); transition: opacity .4s .2s, transform .4s .2s; }
.t.on::after { opacity: 1; transform: none; }
.t--crema { background: var(--hueso); color: #1a1310; }
.t--naranja { background: var(--naranja); color: #fff; }
.t--negra { background: #1d1a18; color: var(--hueso); }
.t--cobalto { background: var(--cobalto); color: #fff; }
.t--melocoton { background: var(--melocoton); color: #2b1206; }
.t--foto { padding: 0; }
.t--foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t--foto .mono { padding: 10px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }

/* ---------- 07 · tu equipo ---------- */
.equipo { position: relative; display: grid; align-items: center; min-height: 100vh; min-height: 100svh; overflow: clip; background: #000; }
.equipo__foto { position: absolute; inset: 0; }
.equipo__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 84% 40%; transform: translateX(9%); }
.equipo__foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #000 0 26%, rgba(0, 0, 0, .55) 44%, transparent 60%); }
.equipo__texto { position: relative; z-index: 2; max-width: 600px; padding: 130px var(--pad); }
.equipo__t { font-size: clamp(38px, 4.2vw, 62px); }
.equipo__texto > p { max-width: 30em; margin-top: 22px; font-size: 18px; color: rgba(242, 238, 231, .8); }
.filas { list-style: none; display: grid; gap: 10px; margin: 36px 0 0; padding: 0; }
.filas li { display: flex; flex-direction: column; gap: 3px; padding: 16px 20px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.filas b { font-size: 16px; font-weight: 600; }
.filas span { color: var(--gris); font-size: 14px; }

/* ---------- 08 · ventas cerradas ---------- */
.llaves { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: 108vh; min-height: 108svh; overflow: clip; background: #050403; }
.llaves__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 45%; }
.llaves__texto { position: relative; z-index: 2; align-self: center; max-width: 640px; padding: 140px var(--pad) 40px; }
.llaves__t { font-size: clamp(38px, 5vw, 78px); }
.llaves__t em { font-style: normal; color: var(--naranja); }
.llaves__texto > p { max-width: 28em; margin-top: 22px; font-size: 18px; color: rgba(242, 238, 231, .8); }
.llaves__cifras { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 var(--pad) var(--pad); }
.llaves__cifras .vidrio { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 28px; border-radius: 26px; }
.llaves__cifras b { font-size: clamp(28px, 3.2vw, 50px); }
.llaves__cifras span { color: rgba(242, 238, 231, .74); font-size: 14.5px; line-height: 1.45; }

/* ---------- 09 · la frase ---------- */
.frase { position: relative; display: grid; place-items: center; min-height: 100vh; min-height: 100svh; overflow: clip; background: #3a0c03; }
.frase__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }
.frase__t { position: relative; z-index: 2; max-width: 1150px; margin-top: -14vh; padding: 0 var(--pad); text-align: center; font-size: clamp(30px, 4.6vw, 72px); color: rgba(36, 8, 1, .55); }
.frase__t span { color: #210701; }

/* ---------- 10 · precio ---------- */
.precio { padding: clamp(120px, 14vw, 180px) var(--pad); background: radial-gradient(80% 50% at 90% 6%, rgba(255, 75, 31, .2), transparent 60%), var(--negro); }
.precio__cabecera, .opciones, .desglose, .desglose__nota { max-width: 1240px; margin-left: auto; margin-right: auto; }
.precio__t { font-size: clamp(40px, 5.6vw, 88px); }
.precio__cabecera > p:last-child { margin-top: 16px; color: var(--gris); font-size: 18px; }
.opciones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.opcion { display: flex; flex-direction: column; padding: 30px 28px 32px; border-radius: 30px; background: rgba(255, 255, 255, .04); }
.opcion__n { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--gris); }
.opcion__precio { margin-top: 22px; font-size: clamp(38px, 3.6vw, 56px); }
.opcion__precio small { display: block; margin-top: 10px; font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--gris); }
.opcion__d { margin-top: 18px; color: rgba(242, 238, 231, .78); font-size: 15px; }
.opcion ul { list-style: none; margin: 24px 0 0; padding: 0; }
.opcion li { position: relative; padding: 11px 0 11px 26px; border-top: 1px solid var(--linea); font-size: 14.5px; }
.opcion li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 11px; height: 6px; border: solid var(--naranja); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.opcion li.no { color: var(--gris); }
.opcion li.no::before { top: 21px; width: 10px; height: 0; border-width: 0 0 1.5px; border-color: var(--gris-2); transform: none; }
.opcion--nocodya { background: linear-gradient(160deg, rgba(255, 75, 31, .24), rgba(255, 75, 31, .04) 60%); border-color: rgba(255, 75, 31, .55); box-shadow: 0 30px 90px -40px rgba(255, 75, 31, .65), inset 0 1px 0 rgba(255, 255, 255, .1); }
.opcion--nocodya .opcion__n { color: var(--hueso); }
.opcion--nocodya ul { margin-bottom: 30px; }
.opcion--nocodya .pildora { align-self: flex-start; margin-top: auto; }
.desglose { width: 100%; margin-top: 56px; border-collapse: collapse; font-size: 15px; }
.desglose caption { padding-bottom: 14px; text-align: left; color: var(--naranja); }
.desglose th, .desglose td { padding: 16px 0; border-top: 1px solid var(--linea); text-align: left; vertical-align: top; }
.desglose th { width: 26%; font-weight: 600; }
.desglose td { color: var(--gris); }
.desglose td:last-child { text-align: right; color: var(--hueso); font-weight: 600; white-space: nowrap; }
.desglose__total th, .desglose__total td { border-top-color: var(--hueso); color: var(--hueso); vertical-align: baseline; }
.desglose__total td:last-child { font-stretch: 125%; font-weight: 800; font-size: 24px; }
.desglose__nota { padding-top: 16px; border-top: 1px solid var(--linea); color: var(--gris); font-size: 12px; line-height: 1.4; }

/* ---------- 11 · cómo trabajamos ---------- */
.metodo { padding: clamp(110px, 13vw, 170px) var(--pad); background: var(--carbon); border-top: 1px solid var(--linea); }
.metodo__cabecera, .etapas { max-width: 1240px; margin-left: auto; margin-right: auto; }
.metodo__t { font-size: clamp(36px, 5vw, 76px); }
.metodo__t span { color: var(--gris-2); }
.etapas { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 20px; margin-top: 64px; padding: 0; }
.etapas li { position: relative; padding-top: 26px; color: var(--gris); font-size: 14.5px; line-height: 1.5; }
.etapas li::before, .etapas li::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); }
.etapas li::after { background: var(--naranja); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--curva) calc(.25s + var(--i, 0) * 220ms); }
.etapas li.visto::after { transform: none; }
.etapas .mono { display: block; margin-bottom: 12px; color: var(--naranja); }
.etapas b { display: block; margin-bottom: 6px; color: var(--hueso); font-size: 17px; font-weight: 600; }

/* ---------- 12 · contacto ---------- */
.contacto { position: relative; overflow: clip; padding: clamp(130px, 16vw, 220px) var(--pad); text-align: center; background: radial-gradient(75% 95% at 50% 112%, #ff5a1f 0%, var(--rojo) 36%, #3a0603 68%, var(--negro) 100%); }
.contacto .eti { color: var(--melocoton); }
.contacto__t { font-size: clamp(36px, 6.2vw, 100px); }
.contacto__p { max-width: 34em; margin: 24px auto 0; font-size: 18px; color: rgba(242, 238, 231, .82); }
.contacto__acciones { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 40px; }
.contacto__tel { margin-left: 6px; color: rgba(242, 238, 231, .85); font-size: 12px; }

/* ---------- pie ---------- */
.pie { padding: 40px var(--pad) 36px; border-top: 1px solid var(--linea); background: var(--negro); color: var(--gris); font-size: 12.5px; }
.pie__nota { max-width: 60em; line-height: 1.5; }
.pie__abajo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--linea); font-size: 10px; }
.pie__abajo nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pie a:hover { color: var(--hueso); }
.barra-cta { display: none; }

/* ---------- tableta ---------- */
@media (max-width: 960px) {
  .barra__nav { display: none; }
  .barra__cta { margin-left: auto; }
}
@media (max-width: 1068px) {
  .app__moviles { gap: 18px; }
  .movil { width: 30vw; }
  .pasos { grid-template-columns: repeat(2, 1fr); gap: 34px 28px; }
  .opciones { grid-template-columns: 1fr; max-width: 640px; }
  .etapas { grid-template-columns: repeat(3, 1fr); gap: 36px 20px; }
  .rejilla { grid-template-columns: repeat(5, 1fr); }
  .llaves__cifras { grid-template-columns: 1fr; max-width: 520px; }
}

/* ---------- móvil ---------- */
@media (max-width: 734px) {
  body { font-size: 16px; }
  .barra { height: 58px; gap: 14px; }
  .barra__nav { display: none; }
  .barra__cta { margin-left: auto; height: 36px; padding: 0 14px; font-size: 13px; }
  .barra__largo { display: none; }
  .cartel__fijo { --alto: calc(100svh - 318px); padding-top: 68px; padding-bottom: 18px; }
  .cartel__t { font-size: 26px; }
  .fuga__texto { grid-template-columns: 1fr; }
  .fuga__p { grid-column: 1; }
  .fuga__hud { position: static; padding: 18px var(--pad) 0; text-align: left; color: rgba(242, 238, 231, .78); background: var(--suelo); }
  .fuga__remate { padding-top: 20px; }
  .accion__eti { top: calc(58px + 4vh); }
  .accion__textos { bottom: 15vh; }
  .accion__leyenda { top: calc(58px + 4vh + 30px); bottom: auto; flex-wrap: wrap; }
  .etiqueta { padding: 4px 8px; font-size: 9.5px; }
  .app__moviles { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 12px; }
  .app__moviles::-webkit-scrollbar { display: none; }
  .movil { width: 72vw; max-width: 300px; margin-top: 0; scroll-snap-align: center; transform: none; }
  .movil:first-child { margin-left: 4vw; }
  .movil:last-child { margin-right: 4vw; }
  .pasos { grid-template-columns: 1fr; gap: 26px; }
  .prisa__foto img { object-position: 64% 50%; }
  .prisa__esq--1, .prisa__esq--2 { top: 76px; }
  .prisa__esq--4, .prisa__regla { display: none; }
  .prisa__texto { align-self: end; padding-bottom: 70px; }
  .prisa__texto p { background: rgba(225, 225, 226, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 12px 14px; border-radius: 14px; }
  .rejilla { grid-template-columns: repeat(4, 1fr); gap: 3px; }
  .t { padding: 8px; }
  .t b { font-size: 11.5px; }
  .t::after { display: none; }
  .equipo { display: block; min-height: 0; }
  .equipo__foto { position: relative; height: 62svh; }
  .equipo__foto img { object-position: 80% 40%; transform: none; }
  .equipo__foto::after { display: none; }
  .equipo__texto { padding: 40px var(--pad) 110px; }
  .equipo__t, .metodo__t, .contacto__t { font-size: 32px; }
  .llaves { display: block; min-height: 0; }
  .llaves__foto { position: relative; height: 56svh; object-position: 70% 45%; }
  .llaves__texto { padding: 40px var(--pad) 30px; }
  .llaves__cifras { padding-bottom: 110px; }
  .frase__t { margin-top: -18vh; }
  .opcion { padding: 26px 22px 28px; }
  .desglose th { width: auto; }
  .desglose td:nth-child(2) { display: none; }
  .etapas { grid-template-columns: 1fr; gap: 28px; }
  .contacto__acciones { flex-direction: column; }
  .contacto__tel { margin: 0; }
  .barra-cta { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; display: flex; height: 52px; font-size: 16px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); transform: translateY(160%); transition: transform .5s var(--curva); }
  .barra-cta.visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .desde-luz .velo { animation-duration: .3s; }
  .fuga__p .p { opacity: 1; }
  .etapas li::after { transition: none; }
  .t { transition: none; }
}
