/* Kesef agencia · site.css — celular primero */
@font-face { font-family: "Newsreader"; src: url("../fonts/Newsreader.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/Newsreader-Italic.woff2") format("woff2"); font-style: italic; font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/SchibstedGrotesk.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --bg: #FBFAF6; --bg2: #F2F0E8; --card: #FFFFFF;
  --ink: #10261A; --ink2: #3A4E42; --mute: #5F6E65;
  --green: #04471F; --green2: #0B5A2C; --deep: #06291A;
  --gold: #C3A200; --gold-t: #7E6300; --gold-l: #E3CB5A;
  --line: rgba(16, 38, 26, .13); --line2: rgba(16, 38, 26, .07);
  --ok: #1F7A45; --res: #876306; --sold: #8C561A;
  --gut: 20px; --max: 1240px; --r: 22px;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); font-family: var(--sans); font-size: 17px; line-height: 1.55; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a, button, label, input, select, textarea { touch-action: manipulation; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--gold-l); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-t); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── Tipografía ───────── */
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--gold-t); }
.eyebrow--light { color: var(--gold-l); }
.rule { display: inline-block; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.h2 { margin-top: 16px; font-size: clamp(36px, 9.4vw, 82px); line-height: 1; font-weight: 600; letter-spacing: -.045em; }
.h2 em { font-size: 1.06em; letter-spacing: -.02em; color: var(--gold-t); }
.lead { margin-top: 20px; font-size: 19px; line-height: 1.5; color: var(--ink2); max-width: 34em; }
.small { font-size: 14px; color: var(--mute); }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; will-change: transform; }

/* ───────── Botones ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-size: 16px; font-weight: 550; letter-spacing: -.01em;
  user-select: none; -webkit-user-select: none; transition: background .3s, color .3s, transform .2s, border-color .3s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.btn--line { border: 1px solid currentColor; }
.btn--solid { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn:active { transform: scale(.97); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 550; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn--line:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .btn--solid:hover { background: var(--ink); }
  .link:hover svg { transform: translateX(4px); }
}

/* ───────── Barra ───────── */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 14px; padding: calc(12px + var(--sat)) var(--gut) 12px; transition: transform .6s var(--ease); }
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(251, 250, 246, .78); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .4s; }
.nav.solid::before { opacity: 1; }
.nav.hide { transform: translateY(-110%); }
.nav > * { position: relative; }
.nav__logo img { width: auto; height: 34px; }
.nav__links { display: none; }
.nav__cta { margin-left: auto; min-height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; background: var(--green); color: #fff; font-size: 15px; font-weight: 550; }
.nav__menu { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; margin-right: -8px; }
.nav__menu i { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__menu[aria-expanded="true"] i:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__menu[aria-expanded="true"] i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 45; padding: calc(92px + var(--sat)) var(--gut) calc(28px + var(--sab)); display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu::before { content: ""; position: fixed; inset: 0; background: var(--bg); }
.menu > * { position: relative; }
.menu nav a { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; font-size: clamp(28px, 8vw, 42px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; border-bottom: 1px solid var(--line); }
.menu nav small { font-size: 13px; font-weight: 500; color: var(--gold-t); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.menu__foot { display: grid; gap: 8px; margin-top: 28px; font-size: 16px; color: var(--ink2); }
/* sobre la escena del inicio la barra va clara */
.nav.over:not(.solid) .nav__menu i { background: var(--ink); }

/* ───────── Inicio: la obra ───────── */
.obra { position: relative; height: 100svh; overflow: hidden; background: #E9E1D2; }
.obra canvas, .obra .obra__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.obra__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(251, 250, 246, .9) 0%, rgba(251, 250, 246, .55) 26%, rgba(251, 250, 246, 0) 46%), linear-gradient(0deg, rgba(10, 22, 14, .55) 0%, rgba(10, 22, 14, 0) 30%); }
.obra__copy { position: absolute; left: 0; right: 0; top: 0; padding: calc(86px + var(--sat)) var(--gut) 0; max-width: 760px; }
.obra__copy h1 { font-size: clamp(44px, 12.4vw, 112px); line-height: .94; font-weight: 600; letter-spacing: -.055em; }
.obra__copy h1 em { color: var(--gold-t); font-size: 1.1em; letter-spacing: -.03em; padding-right: .04em; }
.obra__copy p { margin-top: 16px; font-size: 17.5px; line-height: 1.45; color: var(--ink2); max-width: 25em; }
.obra__stage { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(22px + var(--sab)); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; color: #fff; }
.obra__lvl { display: grid; gap: 2px; }
.obra__lvl small { font-size: 13px; opacity: .8; font-variant-numeric: tabular-nums; }
.obra__lvl b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: -.01em; }
.obra__bar { display: flex; gap: 6px; }
.obra__bar i { width: 26px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; position: relative; }
.obra__bar i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }
.obra__hint { position: absolute; left: 50%; bottom: calc(80px + var(--sab)); transform: translateX(-50%); font-size: 13px; color: #fff; opacity: .85; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: opacity .4s; }
.obra__hint i { width: 1px; height: 28px; background: linear-gradient(#fff, transparent); animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.floors { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; transition: opacity .6s; }
.floors.on { opacity: 1; pointer-events: auto; }
.floors rect { cursor: pointer; transition: fill-opacity .25s, stroke-opacity .25s; stroke: #fff; stroke-opacity: 0; stroke-width: 1; }
.floors rect.d { fill: #4FBF7F; fill-opacity: .28; }
.floors rect.r { fill: #F2C94C; fill-opacity: .34; }
.floors rect.v { fill: #B5652A; fill-opacity: .38; }
.floors rect.sel { fill-opacity: .85; stroke-opacity: 1; stroke-width: 2; }
@media (hover: hover) and (pointer: fine) { .floors rect:hover { fill-opacity: .7; stroke-opacity: .8; } }
.floorcard { position: absolute; right: var(--gut); bottom: calc(86px + var(--sab)); width: min(300px, calc(100% - 2 * var(--gut))); padding: 16px 16px 14px; border-radius: 18px; color: var(--ink);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.floorcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(251, 250, 246, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .5); }
.floorcard > * { position: relative; }
.floorcard.on { opacity: 1; transform: none; pointer-events: auto; }
.floorcard__k { font-size: 12.5px; color: var(--mute); }
.floorcard h3 { font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.units { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.units span { display: grid; gap: 1px; padding: 7px 6px; border-radius: 10px; font-size: 12px; text-align: center; background: #fff; border: 1px solid var(--line); }
.units span b { font-size: 14px; font-weight: 600; }
.units .d b { color: var(--ok); } .units .r b { color: var(--res); } .units .v b { color: var(--sold); }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: 12px; color: var(--ink2); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* ───────── Secciones generales ───────── */
section { position: relative; }
.sec { padding: 96px 0; }
.intro { padding: 96px 0 40px; }
.intro__text { font-size: clamp(28px, 7.4vw, 60px); line-height: 1.1; font-weight: 600; letter-spacing: -.04em; max-width: 20em; }
.intro__text em { color: var(--gold-t); }
.rubros { display: grid; gap: 14px; margin-top: 44px; }
.rubro { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.2; color: #fff; isolation: isolate; }
.rubro img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.rubro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 20, 12, .78) 0%, rgba(6, 20, 12, .1) 55%, rgba(6, 20, 12, 0) 100%); }
.rubro__in { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.rubro__in small { font-size: 13px; opacity: .85; }
.rubro__in h3 { margin-top: 4px; font-size: 26px; line-height: 1.05; font-weight: 600; letter-spacing: -.035em; }
.rubro__in p { margin-top: 8px; font-size: 15px; opacity: .88; max-width: 26em; }
.rubro__go { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); }
.rubro__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
@media (hover: hover) and (pointer: fine) { .rubro:hover img { transform: scale(1.04); } }

/* ───────── Elegí tu vista ───────── */
.vista { display: grid; gap: 22px; margin-top: 44px; }
.vista__frame { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: #D9CDB8; }
.vista__frame canvas, .vista__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vista__pisos { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; }
.vista__pisos::before { content: ""; position: absolute; inset: -6px; border-radius: 18px; background: rgba(251, 250, 246, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.vista__pisos button { position: relative; min-width: 64px; padding: 9px 12px; border-radius: 12px; font-size: 13px; font-weight: 500; text-align: left; color: var(--ink2); display: grid; }
.vista__pisos button b { font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.vista__pisos button.on { background: var(--green); color: rgba(255, 255, 255, .8); }
.vista__pisos button.on b { color: #fff; }
.vista__alt { position: absolute; left: 14px; bottom: 14px; color: #fff; font-size: 13px; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.vista__alt b { display: block; font-size: 34px; line-height: 1; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ficha { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); padding: 22px 20px; display: grid; gap: 16px; align-content: start; }
.ficha__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ficha__top small { font-size: 13px; color: var(--mute); }
.ficha h3 { font-size: 28px; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 550; color: var(--ok); }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ficha dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.ficha dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.ficha dt { font-size: 12.5px; color: var(--mute); }
.ficha dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc { display: grid; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.calc__k { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold-t); padding-top: 10px; }
.calc label { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 14px; font-weight: 500; color: var(--ink2); }
.calc output { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.range { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 0; }
.range::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--green) var(--p, 50%), #E1E3DC var(--p, 50%)); }
.range::-moz-range-track { height: 3px; border-radius: 2px; background: #E1E3DC; }
.range::-moz-range-progress { height: 3px; background: var(--green); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11.5px; border-radius: 50%; background: #fff; border: 1.5px solid var(--green); box-shadow: 0 4px 10px rgba(6, 40, 20, .2); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1.5px solid var(--green); }
.calc__res { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); }
.calc__res span { font-size: 14px; color: var(--ink2); }
.calc__res b { font-size: 30px; font-weight: 600; letter-spacing: -.04em; color: var(--green); font-variant-numeric: tabular-nums; }
.demo-note { font-size: 12.5px; color: var(--mute); }

/* ───────── Recorrido de una venta ───────── */
.flow { position: relative; }
.flow__pin { min-height: 100svh; padding: calc(84px + var(--sat)) 0 28px; display: flex; flex-direction: column; }
.flow__grid { flex: 1; display: grid; gap: 18px; align-content: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { display: none; }
.steps li.on { display: block; }
.steps li small { font-size: 13px; color: var(--gold-t); font-weight: 500; font-variant-numeric: tabular-nums; }
.steps li h3 { margin-top: 4px; font-size: 24px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.steps li p { margin-top: 6px; font-size: 16px; color: var(--ink2); }
.steps__bar { display: flex; gap: 6px; margin-bottom: 14px; }
.steps__bar i { flex: 1; height: 3px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.steps__bar i::after { content: ""; position: absolute; inset: 0; background: var(--green); transform: scaleX(var(--p, 0)); transform-origin: left; }
.devices { position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--r); overflow: hidden; background: #E8E2D6; }
.dev { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.dev.on { opacity: 1; }
.dev__stage { position: absolute; top: 0; bottom: 0; left: 50%; height: 100%; aspect-ratio: 16 / 9; transform: translateX(-50%); }
.dev__stage > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.scr { position: absolute; overflow: hidden; background: #FBFAF6; container-type: inline-size; }
.scr--phone { left: 40.45%; top: 10.3%; width: 19%; height: 72.1%; border-radius: 6.4% / 3%; }
.scr--phone::after { content: ""; position: absolute; left: 50%; top: 1.7%; width: 30%; height: 3.8%; transform: translateX(-50%); border-radius: 99px; background: #0B0B0B; }
.scr--lap { left: 30.9%; top: 27.7%; width: 37.85%; height: 41.3%; border-radius: .4% / .6%; }
.scr--lap::after { content: ""; position: absolute; left: 50%; top: 0; width: 11.4%; height: 3.4%; transform: translateX(-50%); border-radius: 0 0 4px 4px; background: #0B0B0B; }
.flow__next { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
/* interfaces dentro de las pantallas (todo en unidades del contenedor) */
.ui { position: absolute; inset: 0; padding: 14cqw 6cqw 6cqw; font-size: 4.2cqw; line-height: 1.3; color: var(--ink); display: flex; flex-direction: column; gap: 3cqw; }
.ui[hidden] { display: none; }
@media (max-width: 760px) {
  .dev--lap .dev__stage { height: 175%; top: -24%; }
  .dev--phone .dev__stage { height: 118%; top: -4%; }
}
.ui__app { display: flex; justify-content: space-between; align-items: center; font-size: 3.6cqw; color: var(--mute); }
.ui__app b { color: var(--ink); font-size: 4.6cqw; font-weight: 650; }
.ui__card { background: #fff; border: 1px solid var(--line2); border-radius: 3.2cqw; padding: 4cqw; box-shadow: 0 1.5cqw 5cqw -3cqw rgba(0, 0, 0, .25); display: grid; gap: 1.6cqw; }
.ui__card small { font-size: 3.3cqw; color: var(--mute); }
.ui__card b { font-weight: 650; }
.ui__pill { display: inline-flex; align-items: center; gap: 1.5cqw; font-size: 3.3cqw; font-weight: 600; padding: 1.2cqw 2.6cqw; border-radius: 99px; background: rgba(31, 122, 69, .12); color: var(--ok); justify-self: start; }
.ui__pill.r { background: rgba(184, 134, 11, .14); color: var(--res); }
.ui__pill.v { background: rgba(140, 86, 26, .14); color: var(--sold); }
.ui__btn { display: flex; justify-content: center; padding: 3cqw; border-radius: 99px; background: var(--green); color: #fff; font-weight: 600; font-size: 3.9cqw; }
.ui__row { display: flex; justify-content: space-between; gap: 2cqw; font-size: 3.7cqw; }
.ui__row span { color: var(--mute); }
.ui__wa { background: #E9F6EE; border-radius: 3.2cqw 3.2cqw 3.2cqw 1cqw; padding: 3.4cqw; font-size: 3.6cqw; }
.ui__pdf { display: flex; gap: 3cqw; align-items: center; }
.ui__pdf i { flex: none; width: 10cqw; height: 13cqw; border-radius: 1.6cqw; background: linear-gradient(160deg, #fff, #EFEAD9); border: 1px solid var(--line); position: relative; }
.ui__pdf i::after { content: "PDF"; position: absolute; left: 1cqw; bottom: 1cqw; font-size: 2.4cqw; font-weight: 700; color: #B03A2E; font-style: normal; }
.ui--lap { padding: 5.5cqw 3cqw 2.4cqw; font-size: 1.7cqw; gap: 1.6cqw; }
.ui--lap .ui__app { font-size: 1.5cqw; } .ui--lap .ui__app b { font-size: 2cqw; }
.ui__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2cqw; }
.ui__kpis div { background: #fff; border: 1px solid var(--line2); border-radius: 1.2cqw; padding: 1.4cqw; display: grid; gap: .3cqw; }
.ui__kpis small { font-size: 1.25cqw; color: var(--mute); }
.ui__kpis b { font-size: 2.5cqw; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ui__dash { flex: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.4cqw; min-height: 0; }
.ui__tower { background: #fff; border: 1px solid var(--line2); border-radius: 1.2cqw; padding: 1.4cqw; display: grid; grid-template-columns: repeat(6, 1fr); gap: .35cqw; align-content: end; }
.ui__tower i { height: 1.3cqw; border-radius: .25cqw; background: rgba(31, 122, 69, .35); }
.ui__tower i.r { background: rgba(242, 201, 76, .8); } .ui__tower i.v { background: rgba(181, 101, 42, .75); }
.ui__tower i.flash { animation: flash 1.2s ease-in-out 2; }
@keyframes flash { 50% { background: var(--sold); transform: scaleY(1.4); } }
.ui__list { background: #fff; border: 1px solid var(--line2); border-radius: 1.2cqw; padding: 1.2cqw 1.4cqw; display: grid; gap: .8cqw; align-content: start; font-size: 1.45cqw; }
.ui__list div { display: flex; justify-content: space-between; gap: 1cqw; padding-bottom: .7cqw; border-bottom: 1px solid var(--line2); }
.ui__list span { color: var(--mute); }

/* ───────── Capítulos de rubro (escena con video) ───────── */
.scene { position: relative; height: 100svh; overflow: hidden; color: #fff; background: #1d2a21; }
.scene canvas, .scene .scene__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(6, 18, 11, .94) 0%, rgba(6, 18, 11, .86) 38%, rgba(6, 18, 11, .45) 62%, rgba(6, 18, 11, .12) 80%, rgba(6, 18, 11, .4) 100%); }
.scene__in .h2, .scene__in .lead, .scene__in .eyebrow { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
@media (min-width: 761px) { .scene::after { background: linear-gradient(0deg, rgba(6, 18, 11, .9) 0%, rgba(6, 18, 11, .55) 40%, rgba(6, 18, 11, .1) 70%, rgba(6, 18, 11, .35) 100%), linear-gradient(90deg, rgba(6, 18, 11, .5), rgba(6, 18, 11, 0) 60%); } }
.scene__in { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 var(--gut) calc(30px + var(--sab)); max-width: var(--max); margin: 0 auto; display: grid; gap: 22px; }
.scene__in .h2 { color: #fff; } .scene__in .h2 em { color: var(--gold-l); }
.scene__in .lead { color: rgba(255, 255, 255, .86); margin-top: 12px; }
.scene__in .link { color: #fff; margin-top: 18px; }
.panel { position: relative; color: var(--ink); border-radius: 20px; padding: 16px; max-width: 420px; }
.panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(251, 250, 246, .9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.panel > * { position: relative; }
.panel__k { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--mute); margin-bottom: 8px; }
.panel h4 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.track { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.track li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--mute); transition: color .4s; }
.track li i { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .4s, border-color .4s; }
.track li.on { color: var(--ink); } .track li.on i { background: var(--green); border-color: var(--green); }
.track li.on i::after { content: ""; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.track li time { margin-left: auto; font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* ───────── Demos ───────── */
.demo { display: grid; gap: 22px; margin-top: 44px; }
.demo__box { border-radius: var(--r); background: var(--card); border: 1px solid var(--line); padding: 20px; display: grid; gap: 14px; align-content: start; }
.demo__k { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--mute); }
.cat { display: grid; gap: 0; }
.cat__item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.cat__item b { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.cat__item small { grid-column: 1; font-size: 13px; color: var(--mute); }
.qty { grid-row: 1 / 3; grid-column: 2; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.qty button { width: 38px; height: 38px; font-size: 18px; color: var(--green); }
.qty output { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.sum { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.sum b { font-size: 26px; font-weight: 600; letter-spacing: -.035em; color: var(--green); font-variant-numeric: tabular-nums; }
.conf { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: #E5E0D7; cursor: grab; touch-action: pan-y; }
.conf:active { cursor: grabbing; }
.conf canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .35s; }
.conf__hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font-size: 13px; color: var(--ink2); display: flex; align-items: center; gap: 8px; pointer-events: none; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .7); }
.colors { display: flex; gap: 10px; }
.colors button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid transparent; outline: 1px solid var(--line); outline-offset: 2px; transition: outline-color .2s; }
.colors button.on { outline: 2px solid var(--green); }
.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span:last-child { color: var(--mute); font-variant-numeric: tabular-nums; }
.opt.on { border-color: var(--green); background: rgba(4, 71, 31, .05); }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.days button { padding: 10px 4px; border-radius: 12px; border: 1px solid var(--line); display: grid; font-size: 12px; color: var(--mute); }
.days button b { font-size: 18px; color: var(--ink); font-weight: 600; }
.days button.on { background: var(--green); border-color: var(--green); color: rgba(255, 255, 255, .8); } .days button.on b { color: #fff; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slots button { padding: 10px 0; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.slots button:disabled { opacity: .35; text-decoration: line-through; cursor: default; }
.slots button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ok-card { border-radius: 16px; padding: 14px; background: #EEF6F0; display: grid; gap: 4px; font-size: 14.5px; }
.ok-card b { font-size: 16px; }
.ok-card[hidden] { display: none; }

/* ───────── Lista de lo que incluye ───────── */
.feats { display: grid; gap: 0; margin-top: 40px; }
.feat { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.feat h3 { font-size: 21px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; display: flex; gap: 12px; align-items: baseline; }
.feat h3 small { font-size: 13px; font-weight: 500; color: var(--gold-t); font-variant-numeric: tabular-nums; }
.feat p { color: var(--ink2); font-size: 16px; }

/* ───────── Niveles ───────── */
.levels__list { list-style: none; margin: 44px 0 0; padding: 0; }
.lv { padding: 26px 0 28px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.lv:last-child { border-bottom: 1px solid var(--line); }
.lv__n { font-size: 13px; font-weight: 500; color: var(--gold-t); font-variant-numeric: tabular-nums; }
.lv__old { font-size: 16px; color: var(--mute); }
.lv__old s { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / var(--strike, 100%) 1px; }
.lv__new { font-size: clamp(23px, 6.2vw, 38px); line-height: 1.12; font-weight: 550; letter-spacing: -.035em; }

/* ───────── Infraestructura ───────── */
.infra { padding: 30px 10px 70px; }
.infra__panel { position: relative; max-width: 1320px; margin: 0 auto; border-radius: 28px; padding: 64px 16px 46px; color: #F2EFE4; overflow: hidden;
  background: radial-gradient(120% 80% at 100% 0%, #0C4A26 0%, transparent 60%), linear-gradient(170deg, #07301A, #041F11); }
.infra .h2 { color: #fff; } .infra .h2 em { color: var(--gold-l); }
.infra .lead { color: rgba(242, 239, 228, .82); }
.pulse { margin-top: 36px; }
.pulse svg { width: 100%; height: 76px; overflow: visible; }
.pulse path { fill: none; stroke: var(--gold-l); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pulse p { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(242, 239, 228, .78); }
.live { width: 8px; height: 8px; border-radius: 50%; background: #5BD08A; animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(91, 208, 138, .6); } 70% { box-shadow: 0 0 0 9px rgba(91, 208, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 208, 138, 0); } }
.infra__list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; }
.infra__list li { padding: 22px 0 22px 34px; border-top: 1px solid rgba(242, 239, 228, .16); position: relative; }
.mk { position: absolute; left: 0; top: 27px; width: 16px; height: 19px; background: linear-gradient(135deg, var(--gold-l), #8C561A); clip-path: polygon(0 40%, 100% 0, 100% 60%, 0 100%); }
.infra__list h3 { font-size: 20px; font-weight: 600; letter-spacing: -.025em; color: #fff; }
.infra__list p { margin-top: 6px; font-size: 16px; color: rgba(242, 239, 228, .78); }

/* ───────── Método y nosotros ───────── */
.steps4 { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps4 li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; }
.steps4 li > span { grid-row: 1 / 3; font-family: var(--serif); font-style: italic; font-size: 38px; line-height: 1; color: var(--gold-t); }
.steps4 h3 { font-size: 21px; font-weight: 600; letter-spacing: -.03em; }
.steps4 p { color: var(--ink2); font-size: 16px; }
.about { display: grid; gap: 34px; }
.about__iso { width: 42%; max-width: 280px; }
.about__copy > p:last-child { margin-top: 16px; color: var(--ink2); font-size: 17px; max-width: 34em; }

/* ───────── Contacto ───────── */
.contact { display: grid; gap: 40px; }
.direct { list-style: none; margin: 28px 0 0; padding: 0; }
.direct li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.direct span { font-size: 13px; color: var(--mute); }
.direct a { font-size: 19px; font-weight: 550; letter-spacing: -.02em; }
.form { display: grid; gap: 16px; padding: 24px 18px; border-radius: var(--r); background: var(--bg2); }
.fld { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.fld > span, .fld legend { font-size: 14px; font-weight: 500; color: var(--ink2); padding: 0; }
.fld input, .fld select, .fld textarea { width: 100%; font-size: 16px; padding: 14px; border-radius: 12px; border: 1px solid rgba(16, 38, 26, .18); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2310261A' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.fld textarea { resize: vertical; min-height: 96px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(4, 71, 31, .12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 8px; width: 100%; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(16, 38, 26, .22); background: #fff; font-size: 15px; font-weight: 500; user-select: none; -webkit-user-select: none; transition: background .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--gold-t); outline-offset: 2px; }
.form__err { font-size: 14px; color: #9A2B1E; } .form__err:empty { display: none; }
.form__go { display: grid; gap: 10px; }

/* ───────── Cierre de página de rubro ───────── */
.cta { padding: 90px 0; }
.cta__box { border-radius: 28px; padding: 46px 22px; background: var(--bg2); display: grid; gap: 20px; }
.cta__box .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.crumbs { font-size: 14px; color: var(--mute); display: flex; gap: 8px; }
.crumbs a { color: var(--ink2); border-bottom: 1px solid var(--line); }
.others { display: grid; gap: 10px; margin-top: 30px; }
.others a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); font-size: 21px; font-weight: 600; letter-spacing: -.03em; }
.others svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ───────── Pie y flotante ───────── */
.pie { padding: 56px var(--gut) calc(40px + var(--sab)); border-top: 1px solid var(--line); max-width: var(--max); margin: 0 auto; display: grid; gap: 18px; font-size: 15px; color: var(--ink2); }
.pie__logo img { width: 150px; height: auto; }
.pie nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; color: var(--ink); font-weight: 500; }
.pie__c { font-size: 13px; color: var(--mute); }
.wa { position: fixed; z-index: 40; right: 16px; bottom: calc(16px + var(--sab)); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; transform: translateY(140%); transition: transform .6s var(--ease); }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); box-shadow: 0 14px 30px -10px rgba(4, 71, 31, .6); }
.wa svg { position: relative; width: 28px; height: 28px; fill: #fff; }
.wa.in { transform: none; }

/* ───────── Teléfonos bajos ───────── */
@media (max-height: 700px) and (max-width: 760px) {
  .obra__copy { padding-top: calc(74px + var(--sat)); }
  .obra__copy h1 { font-size: clamp(38px, 11vw, 56px); }
  .obra__copy p { font-size: 16px; margin-top: 10px; }
  .devices { aspect-ratio: 4 / 3.6; }
}

/* ───────── Tablet y escritorio ───────── */
@media (min-width: 761px) {
  :root { --gut: 40px; }
  body { font-size: 18px; }
  .nav { padding-top: calc(18px + var(--sat)); padding-bottom: 18px; }
  .nav__logo img { height: 40px; }
  .nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
  .nav__links a { transition: color .25s; } .nav__links a[aria-current] { color: var(--gold-t); }
  .nav__cta { margin-left: 24px; }
  .nav__menu { display: none; }
  .obra__copy { padding-top: 130px; }
  .obra__copy p { font-size: 20px; }
  .obra__stage { bottom: 34px; }
  .floorcard { bottom: 110px; right: 6vw; }
  .rubros { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .rubro { aspect-ratio: 16 / 11; }
  .rubro__in { left: 28px; right: 28px; bottom: 26px; }
  .rubro__in h3 { font-size: 32px; }
  .vista { grid-template-columns: 1.5fr 1fr; align-items: stretch; }
  .vista__frame { aspect-ratio: auto; min-height: 560px; }
  .ficha { padding: 28px; }
  .flow__pin { padding-top: 110px; justify-content: center; }
  .flow__grid { grid-template-columns: .8fr 1.6fr; gap: 50px; align-items: center; flex: none; }
  .steps { gap: 4px; }
  .steps li { display: block; padding: 14px 0 14px 18px; border-left: 2px solid var(--line); opacity: .45; transition: opacity .4s, border-color .4s; cursor: pointer; }
  .steps li p { display: none; }
  .steps li.on { opacity: 1; border-color: var(--green); } .steps li.on p { display: block; }
  .steps__bar { display: none; }
  .devices { aspect-ratio: 16 / 9; background: transparent; overflow: visible; border-radius: 0; }
  .devices .dev { opacity: 1; overflow: hidden; border-radius: var(--r); transition: filter .6s, transform .6s var(--ease); }
  .devices .dev--phone { inset: 0 auto 0 0; width: 38%; }
  .devices .dev--lap { inset: 0 0 0 auto; width: calc(62% - 14px); }
  .devices .dev--lap .dev__stage { height: 132%; top: -14%; }
  .devices .dev:not(.on) { filter: saturate(.7) brightness(.96); transform: scale(.985); }
  .obra__shade { background: linear-gradient(90deg, rgba(251, 250, 246, .92) 0%, rgba(251, 250, 246, .7) 28%, rgba(251, 250, 246, 0) 52%), linear-gradient(0deg, rgba(10, 22, 14, .5) 0%, rgba(10, 22, 14, 0) 26%); }
  .obra__copy { max-width: min(50vw, 760px); }
  .obra__copy h1 { font-size: clamp(56px, 6.3vw, 104px); }
  .obra__stage { justify-content: flex-start; gap: 34px; right: auto; color: var(--ink); }
  .obra__bar i { background: rgba(16, 38, 26, .18); } .obra__bar i::after { background: var(--ink); }
  .intro__text { font-size: clamp(28px, 3.5vw, 50px); max-width: 24em; }
  .scene__in { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 50px; padding-bottom: 56px; }
  .panel { justify-self: end; width: 100%; padding: 20px; }
  .demo { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 30px; }
  .demo--r { grid-template-columns: 1fr 1.3fr; }
  .feats { grid-template-columns: repeat(2, 1fr); column-gap: 50px; }
  .lv { grid-template-columns: 120px 1fr 1.5fr; gap: 30px; align-items: baseline; padding: 36px 0; }
  .lv__old { font-size: 18px; }
  .infra { padding: 40px 20px 90px; }
  .infra__panel { padding: 96px 70px 76px; border-radius: 36px; }
  .infra__list { grid-template-columns: repeat(2, 1fr); column-gap: 60px; }
  .steps4 { grid-template-columns: repeat(2, 1fr); column-gap: 50px; }
  .about { grid-template-columns: .7fr 1.4fr; align-items: center; gap: 80px; }
  .about__iso { width: 100%; max-width: 320px; justify-self: center; }
  .contact { grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
  .form { padding: 34px 30px; }
  .form__go { grid-template-columns: 1fr 1fr; }
  .cta__box { padding: 70px 60px; grid-template-columns: 1.4fr 1fr; align-items: end; }
  .others { grid-template-columns: repeat(3, 1fr); column-gap: 30px; }
  .pie { grid-template-columns: auto 1fr auto; align-items: end; gap: 30px 60px; }
  .pie nav { grid-template-columns: repeat(3, auto); }
  .pie__c { grid-column: 1 / -1; }
  .wa { right: 26px; bottom: 26px; }
}
@media (min-width: 1100px) {
  .rubros { grid-template-columns: repeat(4, 1fr); }
  .rubro { aspect-ratio: 3 / 4.2; }
  .rubro__in h3 { font-size: 27px; }
  .infra__list { grid-template-columns: repeat(3, 1fr); }
  .steps4 { grid-template-columns: repeat(4, 1fr); column-gap: 30px; }
  .steps4 li { grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
  .steps4 li > span { grid-row: auto; margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wa { transform: none; }
}


/* ════════ Dirección A · editorial (Newsreader + Schibsted Grotesk, fotos limpias con epígrafe) ════════ */
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.015em; color: var(--gold-t); }
.display, .h2, .obra__cover h1, .intro__text, .lv__new, .steps li h3, .feat h3, .steps4 h3, .ficha h3, .floorcard h3, .menu nav a, .others a, .infra__list h3, .rubro__in h3, .cta .h2 {
  font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; letter-spacing: -.022em; }
.h2 { font-size: clamp(40px, 10.4vw, 86px); line-height: 1; }
.h2 em, .display em { font-size: 1em; }
.kicker { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.kicker .rule { width: 28px; opacity: .6; }
.kicker--light { color: rgba(242, 239, 228, .72); }
.lead { color: var(--ink2); }
.lv__new { font-size: clamp(26px, 6.8vw, 42px); line-height: 1.12; }
.steps li h3 { font-size: 27px; } .feat h3 { font-size: 24px; } .steps4 h3 { font-size: 25px; }
.menu nav a { font-size: clamp(30px, 8.6vw, 44px); }
.others a { font-size: 24px; }
.infra__list h3 { font-size: 23px; }
.ficha h3, .floorcard h3 { font-size: 30px; }
.steps4 li > span { font-family: var(--serif); font-style: italic; }

/* epígrafe debajo de cada imagen */
.cap { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 0; padding-top: 11px; padding-bottom: 4px; font-size: 13px; color: var(--mute); }
.cap b { color: var(--ink); font-weight: 600; }
.cap__r { text-align: right; }
.plate-tag { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 99px; background: rgba(251, 250, 246, .92); color: var(--ink); transition: opacity .4s; }

/* portada: texto en su espacio, la obra como lámina limpia */
.obra { height: 100svh; display: flex; flex-direction: column; background: var(--bg); overflow: hidden; }
.obra__cover { flex: none; display: grid; gap: 12px; padding-top: calc(80px + var(--sat)); padding-bottom: 16px; }
.obra__cover h1 { margin-top: 12px; font-size: clamp(44px, 12.6vw, 64px); line-height: .96; }
.obra__sub { font-size: 16px; line-height: 1.45; color: var(--ink2); max-width: 30em; }
.obra__plate { position: relative; flex: 1; min-height: 0; margin: 0; overflow: hidden; background: #E9E1D2; }
.obra__plate canvas, .obra__plate .obra__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.obra .cap { flex: none; padding-bottom: calc(12px + var(--sab)); }
.obra__lvl { font-size: 13px; color: var(--mute); }
.obra__lvl small { font-size: 13px; font-weight: 600; color: var(--ink); }
.obra__lvl b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 17px; color: var(--ink); }
.obra .obra__bar { margin-left: auto; }
.obra .obra__bar i { background: rgba(16, 38, 26, .16); } .obra .obra__bar i::after { background: var(--ink); }
.obra .cap__r { display: none; }
.floorcard { bottom: 14px; right: 12px; }
.floorcard::before { background: rgba(251, 250, 246, .95); }

/* tarjetas de rubro: foto limpia y texto debajo */
.rubro { aspect-ratio: auto; color: var(--ink); overflow: visible; border-radius: 0; isolation: auto; }
.rubro::after { display: none; }
.rubro__img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--bg2); }
.rubro__img img { position: absolute; inset: 0; z-index: 0; }
.rubro__in { position: static; display: block; padding-top: 14px; }
.rubro__in small { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--mute); opacity: 1; }
.rubro__in h3 { margin-top: 6px; font-size: 27px; line-height: 1.08; }
.rubro__in p { margin-top: 6px; font-size: 15px; color: var(--ink2); opacity: 1; }
.rubro__go { position: static; display: inline-flex; align-items: center; gap: 8px; width: auto; height: auto; margin-top: 10px; border-radius: 0; background: none; font-size: 14px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.rubros { gap: 34px; }

/* capítulos: encabezado editorial, video limpio a pantalla completa, epígrafe y demo apoyada en el borde */
.chapter { padding-top: 100px; }
.chapter--first { padding-top: calc(108px + var(--sat)); }
.chead { display: grid; gap: 16px; margin-bottom: 30px; }
.chead .lead { margin-top: 0; }
.chead .link { margin-top: 16px; }
.chapter .scene { height: 100svh; background: #DCD6CB; color: var(--ink); }
.chapter .scene::after { display: none; }
.chapter__foot { position: relative; display: grid; gap: 4px; }
.chapter__foot .panel { margin-top: 14px; max-width: none; z-index: 3; }
.chapter .panel::before { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 30px 60px -32px rgba(6, 40, 20, .45); border: 1px solid var(--line2); }
.vista .cap { padding-top: 10px; }

@media (max-height: 700px) and (max-width: 760px) {
  .obra__sub { display: none; }
  .obra__cover h1 { font-size: 42px; }
}
@media (min-width: 761px) {
  .h2 { font-size: clamp(52px, 6vw, 92px); }
  .obra__cover { grid-template-columns: 1.55fr 1fr; align-items: end; gap: 60px; padding-top: 112px; padding-bottom: 26px; }
  .obra__cover h1 { font-size: clamp(64px, 6.6vw, 112px); }
  .obra__sub { font-size: 18px; padding-bottom: 8px; }
  .obra .cap__r { display: block; }
  .obra .obra__bar { margin-left: 30px; margin-right: auto; }
  .floorcard { right: 40px; bottom: 26px; }
  .plate-tag { left: 40px; top: 20px; }
  .chead { grid-template-columns: 1.5fr 1fr; align-items: end; gap: 60px; margin-bottom: 40px; }
  .chapter__foot { grid-template-columns: 1fr 420px; align-items: start; column-gap: 40px; }
  .chapter__foot .panel { grid-column: 2; grid-row: 1 / 3; margin-top: -170px; }
  .rubro__img { aspect-ratio: 4 / 3.1; }
  .rubro__in h3 { font-size: 30px; }
}
@media (min-width: 1100px) {
  .rubro__img { aspect-ratio: 3 / 3.8; }
  .rubro__in h3 { font-size: 26px; }
}

/* ════════ Sin rasgos de IA: rótulos sobrios, comparación en tabla, sin adornos ════════ */
.kicker, .kicker--light { font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--gold-t); gap: 0; }
.kicker--light { color: var(--gold-l); }
.kicker .rule { display: none; }
.rubro__in h3 { margin-top: 0; }
.steps4 li > span { font-family: var(--sans); font-style: normal; font-size: 14px; font-weight: 600; color: var(--gold-t); line-height: 1.6; }
.feat h3 small { display: none; }
/* diferencias */
.lv { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
.lv--head { display: none; }
.lv__n { font-size: 14px; font-weight: 600; color: var(--ink); }
.lv__old { font-size: 16px; color: var(--mute); }
.lv__old::before { content: "Lo habitual: "; }
.lv__new { font-size: clamp(22px, 6vw, 30px); line-height: 1.2; }
.lv__new::before { content: "Con Kesef: "; display: block; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--gold-t); margin-bottom: 2px; }
.pulse { display: none; }
/* celular: notebook sin recorte y escenas con la imagen completa */
@media (max-width: 760px) {
  .dev--lap .dev__stage { height: 132%; top: -12%; }
  .chapter .scene { height: 68svh; }
}
@media (min-width: 761px) {
  .lv { grid-template-columns: 180px 1fr 1.4fr; gap: 40px; align-items: baseline; padding: 26px 0; }
  .lv--head { display: grid; padding: 0 0 12px; border-top: 0; }
  .lv--head p { font-size: 13px; font-weight: 600; color: var(--mute); }
  .lv__old::before, .lv__new::before { display: none; content: none; }
  .lv__new { font-size: clamp(24px, 2.2vw, 32px); }
}
@media (max-width: 760px) {
  .chapter .scene { height: auto; aspect-ratio: 4 / 3.5; }
  .obra__cover h1 { font-size: clamp(36px, 10vw, 60px); }
}
@media (min-width: 761px) {
  .obra__cover { grid-template-columns: 2fr 1fr; padding-top: 104px; padding-bottom: 22px; }
  .obra__cover h1 { font-size: clamp(48px, 4.6vw, 80px); line-height: 1; }
  .h2 { font-size: clamp(44px, 4.4vw, 74px); line-height: 1.04; }
  .chead { grid-template-columns: 1.7fr 1fr; }
}

/* ════════ Portada corregida: la torre siempre completa ════════ */
:root { --side: max(var(--gut), calc((100vw - var(--max)) / 2 + var(--gut))); }
.nav { padding-left: var(--side); padding-right: var(--side); }
.obra__lvl { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.obra__lvl small { display: inline; }
.obra .cap { flex-wrap: nowrap; }
@media (max-width: 899px) {
  .obra__cover h1 { font-size: clamp(34px, 9.4vw, 56px); }
}
@media (min-width: 900px) {
  .obra { display: grid; grid-template-columns: minmax(360px, .85fr) 1.35fr; grid-template-rows: minmax(0, 1fr) auto; column-gap: 48px; padding-top: calc(86px + var(--sat)); padding-bottom: 24px; }
  .obra__cover.wrap { grid-column: 1; grid-row: 1; max-width: none; margin: 0; padding: 0 0 0 var(--side); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
  .obra__cover h1 { font-size: clamp(42px, 3.7vw, 70px); line-height: 1.02; }
  .obra__sub { font-size: clamp(16px, 1.15vw, 19px); padding: 0; }
  .obra__plate { grid-column: 2; grid-row: 1 / 3; margin-right: var(--gut); border-radius: 22px; }
  .obra .cap.wrap { grid-column: 1; grid-row: 2; max-width: none; margin: 0; padding: 0 0 4px var(--side); flex-wrap: wrap; gap: 10px 24px; }
  .obra .cap__r { display: none; }
  .obra .obra__bar { margin: 0; }
  .plate-tag { left: 20px; top: 20px; }
  .floorcard { right: 22px; bottom: 22px; }
}
@media (min-width: 900px) {
  .obra { padding-left: var(--side); padding-right: var(--side); grid-template-columns: minmax(340px, .9fr) 1.25fr; }
  .obra__cover.wrap, .obra .cap.wrap { padding-left: 0; }
  .obra__plate { margin-right: 0; }
}
.tag-btn { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
/* la portada ya no se fija: ocupa la pantalla y se reproduce sola */
.obra { min-height: 100svh; height: auto; }
@media (max-width: 899px) { .obra { height: 100svh; } }
@media (min-width: 900px) { .obra { height: 100svh; } }

/* recorrido de la venta: entra completo en una pantalla */
.flow__side .kicker { margin-bottom: 12px; }
.flow__t { margin: 0 0 22px; font-size: clamp(32px, 8.4vw, 46px); }
@media (min-width: 761px) {
  .flow__pin { padding-top: calc(92px + var(--sat)); padding-bottom: 24px; justify-content: center; }
  .flow__grid { grid-template-columns: minmax(300px, .82fr) 1.6fr; gap: 48px; align-items: center; }
  .flow__t { font-size: clamp(32px, 2.6vw, 46px); line-height: 1.06; }
  .steps li { padding: 9px 0 9px 16px; }
  .steps li h3 { font-size: clamp(19px, 1.4vw, 23px); }
  .steps li p { font-size: 15px; margin-top: 4px; }
  .devices { aspect-ratio: auto; height: min(62vh, 560px); }
  .flow__next { margin-top: 14px; }
}
.obra__vid, .scene__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; background: #E9E1D2; }
.chapter .scene video { pointer-events: none; }
@media (max-width: 760px) { .devices { aspect-ratio: 4 / 4; } .flow__t { font-size: clamp(30px, 8vw, 40px); margin-bottom: 16px; } }

/* recorrido en celular: el equipo queda fijo arriba y los pasos pasan por debajo */
@media (max-width: 760px) {
  .flow__pin { min-height: 0; padding-bottom: 40px; }
  .flow__grid, .flow__side { display: contents; }
  .flow__pin > .wrap { display: flex; flex-direction: column; }
  .flow__side .kicker { order: 1; }
  .flow__t { order: 2; }
  .devices { order: 3; position: sticky; top: calc(66px + var(--sat)); z-index: 2; aspect-ratio: auto; height: 42svh; margin-bottom: 10px; box-shadow: 0 18px 40px -24px rgba(6, 40, 20, .45); }
  .steps__bar, .flow__next { display: none; }
  .steps { order: 4; }
  .steps li { display: block !important; min-height: 46svh; padding: 26px 0 0; opacity: .32; transition: opacity .45s var(--ease); }
  .steps li.on { opacity: 1; }
  .steps li p { display: block; }
}

/* ════════ Mockups calzados al píxel sobre las fotos (2048×1152) ════════ */
.scr--phone { left: 40.23%; top: 10.07%; width: 19.09%; height: 72.31%; border-radius: 13.8% / 6.5%; }
.scr--phone::after { top: 1.44%; width: 30.2%; height: 3.96%; }
/* la pantalla de la notebook es un trapecio por la perspectiva de la foto */
.scr--lap { left: 29.98%; top: 27.52%; width: 38.82%; height: 41.41%; border-radius: 0; clip-path: polygon(2.4% 0, 97.0% 0, 100% 100%, 0 100%); }
.scr--lap::after { width: 11.2%; height: 2.8%; border-radius: 0 0 5px 5px; }
.ui--lap { padding: 5.2cqw 4.2cqw 2.2cqw; }
@media (min-width: 761px) {
  .devices .dev--lap .dev__stage { height: 100%; top: 0; }
}
@media (max-width: 760px) {
  .dev--lap .dev__stage { height: 112%; top: -6%; }
  .dev--phone .dev__stage { height: 112%; top: -4%; }
}

/* ════════ Selector de pisos al estilo Palmanova ════════ */
.floors rect.d, .floors rect.r, .floors rect.v { display: none; }
.floors { cursor: default; }
.floors .f-hit { fill: transparent; cursor: pointer; }
.floors .f-dim { fill: rgba(14, 26, 20, .38); }
.floors .f-edge { fill: rgba(255, 236, 200, .2); mix-blend-mode: screen; }
.floors .f-band { fill: rgba(255, 255, 255, .62); transition: y .25s var(--ease); }
.fruler { position: absolute; z-index: 2; width: 46px; border-radius: 10px; pointer-events: none; opacity: 0; transform: translateY(6px);
  background: rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(20, 34, 26, .08), 0 8px 24px rgba(20, 34, 26, .1);
  transition: opacity .45s var(--ease), transform .5s var(--ease); }
.fruler__tick { position: absolute; left: 10px; width: 30px; height: 2px; margin-top: -1px; border-radius: 1px; background: #14221a; opacity: .25; transform: scaleX(.18); transform-origin: 0 50%;
  transition: transform .4s var(--ease), opacity .3s var(--ease); }
.fruler__tick.cur { height: 3px; margin-top: -1.5px; }
.fruler__spine { position: absolute; left: 5px; bottom: 8px; width: 2px; border-radius: 1px; background: #14221a; opacity: .75; transition: top .4s var(--ease); }
.ftip { position: absolute; z-index: 3; display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; transform: translateY(-50%); pointer-events: none; opacity: 0;
  background: rgba(251, 250, 246, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .45);
  transition: opacity .4s var(--ease), top .25s var(--ease); white-space: nowrap; }
.ftip b { font-family: var(--serif); font-weight: 400; font-size: 20px; letter-spacing: -.02em; }
.ftip span { font-size: 13px; color: var(--ink2); }
.ftip--bottom { left: 12px; right: auto; top: auto !important; bottom: 12px; transform: none; }
.obra__plate:has(.floors.on) .fruler, .obra__plate:has(.floors.on) .ftip { opacity: 1; transform: none; }
.obra__plate:has(.floors.on) .ftip:not(.ftip--bottom) { transform: translateY(-50%); }
/* ficha del piso: lista sobria, sin colores */
.floorcard { width: min(320px, calc(100% - 24px)); }
.floorcard .units, .floorcard .legend { display: none; }
.fc__close { position: absolute; top: 8px; right: 10px; z-index: 2; width: 32px; height: 32px; font-size: 22px; line-height: 1; color: var(--mute); }
.fc__list { list-style: none; margin: 10px 0 0; padding: 0; }
.fc__list li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.fc__list b { font-weight: 600; }
.fc__list span { color: var(--ink2); }
.fc__list em { font-style: normal; font-size: 13px; color: var(--mute); }
.fc__list li.d em { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .fruler { width: 34px; } .fruler__tick { width: 20px; } .floorcard { bottom: 64px; } }
.fruler { z-index: 1; } .ftip { z-index: 2; } .plate-tag { z-index: 4; } .floorcard { z-index: 6; }
/* selector sin oscurecer el fondo: todo claro */
.floors .f-dim, .floors .f-edge { display: none; }

/* selector en celular: botones grandes y regla que se arrastra */
.fruler { pointer-events: auto; touch-action: none; cursor: ns-resize; }
.ftip--bottom { pointer-events: auto; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; padding: 8px; white-space: normal; }
.ftip--bottom .ftip__t { flex: 1; display: grid; gap: 1px; min-width: 0; }
.ftip--bottom .ftip__t b { font-size: 19px; }
.ftip--bottom .ftip__t span { font-size: 12.5px; }
.ftip__b { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 18px; color: var(--ink); }
.ftip__b:active { background: var(--bg2); }
.ftip__go { flex: none; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--green); color: #fff; font-size: 13.5px; font-weight: 600; }
.ftip--bottom .ftip__t { order: 2; } .ftip--bottom [data-fs="-1"] { order: 1; } .ftip--bottom [data-fs="1"] { order: 3; } .ftip--bottom .ftip__go { order: 4; }
@media (max-width: 760px) { .floorcard { bottom: 72px; } }
@media (max-width: 760px) { .floorcard { bottom: auto; top: 12px; max-height: calc(100% - 140px); overflow: auto; } }
.fc__list em { font-family: var(--sans); }

/* franja táctil sobre la torre y la regla (solo pantallas táctiles) */
.fstrip { position: absolute; z-index: 3; display: none; touch-action: none; -webkit-user-select: none; user-select: none; }
@media (hover: none), (pointer: coarse) { .obra__plate:has(.floors.on) .fstrip { display: block; } }
.floors .f-band { transition: y .22s cubic-bezier(.2, .7, .1, 1); }
.ftip--bottom { display: grid; gap: 1px; left: 12px; right: auto; bottom: 12px; padding: 10px 14px; cursor: pointer; }
.ftip__b, .ftip__go { display: none; }
