/* ============================================================
   NATI · Landing Premium — EDITORIAL light theme
   marfil · olivo · dorado · Cormorant Garamond
   ============================================================ */

:root {
  --bg: #F3EEE4;          /* marfil */
  --bg-2: #ECE4D5;        /* alt */
  --paper: #FBF7EE;       /* card warm white */
  --panel: rgba(255,255,255,0.55);
  --panel-2: rgba(255,255,255,0.8);
  --border: rgba(43,53,40,0.13);
  --border-bright: rgba(43,53,40,0.24);
  --ink: #1B1B19;
  --ink-soft: #4A4944;
  --ink-mute: #8A836F;
  --rule: #C9C0AC;
  --accent: #2D4534;      /* olivo */
  --accent-soft: #5E7A5C;
  --accent-ink: #F3EEE4;  /* text on olive */
  --gold: #9A7E45;
  --danger: #B0492A;      /* terracota para "problema" */
  --glow-olive: rgba(45,69,52,0.22);
  --glow-gold: rgba(154,126,69,0.24);
  --radius: 20px;
  --maxw: 1200px;
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--accent-ink); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ---------- ambient background ---------- */
.bg-field { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5; will-change: transform; }
.blob.b1 { width: 600px; height: 600px; top: -180px; left: -120px;
  background: radial-gradient(circle, var(--glow-olive), transparent 68%); animation: drift1 24s ease-in-out infinite; }
.blob.b2 { width: 540px; height: 540px; top: 22%; right: -160px;
  background: radial-gradient(circle, var(--glow-gold), transparent 68%); animation: drift2 28s ease-in-out infinite; }
.blob.b3 { width: 680px; height: 680px; bottom: -260px; left: 30%;
  background: radial-gradient(circle, rgba(94,122,92,0.28), transparent 70%); animation: drift3 32s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(70px,50px)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-60px,80px)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,-60px)} }

.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(43,53,40,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,53,40,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 25%, transparent 75%);
}
.noise { display: none; }

main, header, footer { position: relative; z-index: 2; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--panel); backdrop-filter: blur(12px); white-space: nowrap;
}
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 12px 2px var(--glow-gold); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; margin: 0; }

.display { font-size: clamp(46px, 7vw, 100px); line-height: 0.98; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.grad-text {
  font-style: italic; font-weight: 500;
  background: linear-gradient(105deg, var(--accent) 0%, var(--accent-soft) 45%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.section-title { font-size: clamp(34px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.lede { color: var(--ink-soft); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; text-wrap: pretty; }
.eyebrow-mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 15px 26px; border-radius: 13px; border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .3s, background .3s, border-color .3s, color .3s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { color: var(--accent-ink); background: var(--accent);
  box-shadow: 0 10px 30px -10px var(--glow-olive); }
.btn-primary:hover { transform: translateY(-2px); background: var(--ink); box-shadow: 0 16px 40px -12px var(--glow-olive); }
.btn-ghost { color: var(--ink); background: var(--panel); border-color: var(--border-bright); backdrop-filter: blur(12px); }
.btn-ghost:hover { transform: translateY(-2px); background: var(--panel-2); border-color: var(--accent); }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 60; display: flex; justify-content: center; padding: 0 20px; }
.nav-inner {
  width: 100%; max-width: var(--maxw); display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 20px; border: 1px solid var(--border); border-radius: 16px;
  background: rgba(243,238,228,0.7); backdrop-filter: blur(20px) saturate(140%);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled .nav-inner { background: rgba(243,238,228,0.92); box-shadow: 0 14px 40px -24px rgba(43,40,30,0.6); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--accent-ink); font-size: 18px;
  box-shadow: 0 4px 14px -4px var(--glow-olive);
}
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: 0; }
.brand-name span { color: var(--ink-mute); font-weight: 400; font-style: italic; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { font-size: 14px; color: var(--ink-soft); padding: 8px 14px; border-radius: 9px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--accent); background: var(--panel); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav .btn { padding: 11px 18px; font-size: 14px; }

/* ---------- floating CTA ---------- */
.float-cta { position: fixed; bottom: 24px; right: 24px; z-index: 70;
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .4s, transform .4s cubic-bezier(.2,.7,.2,1); }
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.float-cta .btn { box-shadow: 0 14px 40px -10px var(--glow-olive); padding: 15px 24px; }

/* ---------- section frame ---------- */
section { padding: 110px 0; position: relative; }
.sec-head { max-width: 760px; margin: 0 auto 64px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sec-head .lede { max-width: 56ch; }

/* ---------- HERO ---------- */
.hero { padding: 170px 0 90px; text-align: center; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin: 24px 0 0; max-width: 15ch; }
.hero .lede { margin: 26px 0 0; max-width: 60ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; justify-content: center; }
.hero-trust { margin-top: 22px; font-size: 13px; color: var(--ink-mute); display: flex; align-items: center; gap: 10px; }
.hero-trust .av { display: flex; }
.hero-trust .av i { width: 26px; height: 26px; border-radius: 50%; margin-left: -8px; border: 2px solid var(--bg);
  background: linear-gradient(135deg, var(--accent-soft), var(--gold)); display: inline-block; }

/* hero visual: floating warm dashboard */
.hero-visual { margin-top: 70px; width: 100%; max-width: 980px; position: relative; perspective: 1600px; }
.dash {
  position: relative; border: 1px solid var(--border-bright); border-radius: 22px;
  background: linear-gradient(180deg, var(--paper), #F6F1E7);
  box-shadow: 0 50px 110px -45px rgba(43,40,30,0.5), inset 0 1px 0 rgba(255,255,255,0.6);
  overflow: hidden; transform: rotateX(13deg) scale(.96); transform-origin: center top;
}
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.dash-bar .dots { display: flex; gap: 7px; }
.dash-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(43,53,40,0.16); }
.dash-bar .url { margin-left: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute);
  background: var(--panel); border: 1px solid var(--border); border-radius: 8px; padding: 5px 12px; }
.dash-body { display: grid; grid-template-columns: 200px 1fr; min-height: 380px; }
.dash-side { border-right: 1px solid var(--border); padding: 18px 14px; display: flex; flex-direction: column; gap: 7px; }
.dash-side .si { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px; font-size: 13px; color: var(--ink-soft); }
.dash-side .si.active { background: rgba(45,69,52,0.08); color: var(--accent); border: 1px solid var(--border); font-weight: 600; }
.dash-side .si .ic { width: 15px; height: 15px; border-radius: 5px; background: linear-gradient(135deg, var(--accent), var(--gold)); opacity: .85; }
.dash-main { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.dash-main .dm-head { display: flex; justify-content: space-between; align-items: center; }
.dash-main .dm-title { font-family: var(--font-display); font-weight: 600; font-size: 24px; }
.dash-main .dm-tag { font-family: var(--font-mono); font-size: 11px; color: var(--accent); border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; }
.listings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lcard { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--paper); transition: transform .3s, border-color .3s; }
.lcard:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.lcard .ph { height: 84px; background: linear-gradient(135deg, rgba(45,69,52,0.16), rgba(154,126,69,0.18)); position: relative; }
.lcard .ph .score { position: absolute; top: 8px; right: 8px; font-family: var(--font-mono); font-size: 10px;
  background: rgba(251,247,238,0.85); color: var(--accent); padding: 3px 8px; border-radius: 999px; border: 1px solid var(--border); }
.lcard .li { padding: 11px 12px; }
.lcard .li .t { font-weight: 600; font-size: 13px; }
.lcard .li .s { font-size: 11px; color: var(--ink-mute); margin-top: 3px; }
.lcard .li .p { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin-top: 6px; color: var(--accent); }

.float-chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 11px;
  padding: 12px 16px; border-radius: 14px; border: 1px solid var(--border-bright);
  background: rgba(251,247,238,0.9); backdrop-filter: blur(18px);
  box-shadow: 0 24px 50px -20px rgba(43,40,30,0.45); font-size: 13px; will-change: transform;
}
.float-chip .ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft)); color: var(--accent-ink); font-weight: 700; }
.float-chip .v { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.float-chip .l { color: var(--ink-mute); font-size: 11px; }
.float-chip.fc1 { top: 22%; left: -38px; }
.float-chip.fc2 { bottom: 16%; right: -30px; }
.float-chip.fc2 .ico { background: linear-gradient(135deg, var(--gold), #B89A5C); color: #2a2113; }

/* ---------- stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 78px; width: 100%; }
.stat { border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); backdrop-filter: blur(12px); padding: 26px 22px; text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 4.4vw, 54px); letter-spacing: -0.02em; line-height: 1; color: var(--accent); }
.stat .lab { color: var(--ink-soft); font-size: 13px; margin-top: 8px; }

/* ============================================================
   SCROLL STORYTELLING — el piso se construye al hacer scroll
   ============================================================ */
.build { position: relative; height: 360vh; }
.build-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.build-inner { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 60px; align-items: center; width: 100%; }

.build-copy .kicker { margin-bottom: 22px; }
.build-copy h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.04; margin-bottom: 28px; }
.build-steps { display: flex; flex-direction: column; gap: 4px; }
.bstep { padding: 16px 0 16px 22px; border-left: 2px solid var(--border); opacity: .4; transition: opacity .35s, border-color .35s; }
.bstep.active { opacity: 1; border-left-color: var(--accent); }
.bstep .n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.bstep h3 { font-size: 24px; margin: 4px 0 4px; }
.bstep p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.build-progress { height: 3px; background: var(--border); border-radius: 3px; margin-top: 30px; overflow: hidden; }
.build-progress i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 3px; }

.build-stage { position: relative; aspect-ratio: 4 / 3; width: 100%;
  border: 1px solid var(--border); border-radius: 24px; background: var(--paper);
  box-shadow: 0 50px 110px -50px rgba(43,40,30,0.5), inset 0 1px 0 rgba(255,255,255,0.6);
  padding: 30px; overflow: hidden; }
.floorplan { width: 100%; height: 100%; overflow: visible; display: block; }
.floorplan .fp { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.floorplan .win { fill: none; stroke: var(--gold); stroke-width: 4.5; stroke-linecap: round; }
.floorplan .furn { fill: rgba(45,69,52,0.1); stroke: var(--accent); stroke-width: 1.3; opacity: 0; }
.floorplan .rlabel { fill: var(--ink-mute); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; opacity: 0; text-transform: uppercase; }

.build-photo {
  position: absolute; right: 26px; bottom: 26px; width: 46%; max-width: 320px;
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border-bright);
  box-shadow: 0 30px 60px -24px rgba(43,40,30,0.6); opacity: 0; will-change: transform, opacity;
  background: var(--bg-2);
}
.build-photo .ratio { aspect-ratio: 16 / 10; position: relative; }
.build-photo .cap { display: flex; justify-content: space-between; align-items: center; padding: 10px 13px; background: var(--paper); }
.build-photo .cap b { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.build-photo .cap s { text-decoration: none; font-family: var(--font-mono); font-size: 10px; color: var(--ink-mute); }

.build-badge {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 13px; border: 1px solid var(--border-bright);
  background: rgba(251,247,238,0.92); backdrop-filter: blur(14px);
  box-shadow: 0 20px 44px -18px rgba(43,40,30,0.5); opacity: 0; will-change: transform, opacity; z-index: 4;
}
.build-badge .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.build-badge .v { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1; }
.build-badge .l { font-size: 11px; color: var(--ink-mute); }
.build-badge.match { top: 34px; left: 34px; }
.build-badge.match .ic { background: rgba(45,69,52,0.14); color: var(--accent); }
.build-badge.price { top: 40%; right: 30px; }
.build-badge.price .ic { background: rgba(154,126,69,0.18); color: var(--gold); }
.build-badge.nego { bottom: 30px; left: 34px; }
.build-badge.nego .ic { background: var(--accent); color: var(--accent-ink); }
.build-badge.nego .v { color: var(--accent); }

/* ---------- problema ---------- */
.prob-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prob-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); backdrop-filter: blur(12px);
  padding: 28px 24px; transition: transform .35s, border-color .35s, background .35s; }
.prob-card:hover { transform: translateY(-6px); border-color: rgba(176,73,42,0.35); background: var(--panel-2); }
.prob-card .pn { font-family: var(--font-mono); font-size: 12px; color: var(--danger); }
.prob-card h3 { font-size: 25px; margin: 14px 0 8px; }
.prob-card p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* ---------- solución antes/después ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.comp-col { border: 1px solid var(--border); border-radius: 24px; padding: 34px 30px; background: var(--panel); backdrop-filter: blur(12px); position: relative; }
.comp-col.before { opacity: .9; }
.comp-col.after { border-color: rgba(45,69,52,0.3);
  background: linear-gradient(180deg, rgba(45,69,52,0.07), var(--panel-2));
  box-shadow: 0 30px 70px -40px var(--glow-olive); }
.comp-col .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.comp-col.before .tag { color: var(--ink-mute); }
.comp-col.after .tag { color: var(--accent); }
.comp-col h3 { font-size: 30px; margin: 12px 0 24px; }
.comp-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.comp-col li { display: flex; align-items: flex-start; gap: 13px; font-size: 15px; color: var(--ink-soft); }
.comp-col li .mk { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 13px; margin-top: 1px; }
.comp-col.before li .mk { background: rgba(176,73,42,0.14); color: var(--danger); }
.comp-col.after li .mk { background: rgba(45,69,52,0.14); color: var(--accent); }
.comp-col.after li { color: var(--ink); }
.vs-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 4;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--accent);
  background: var(--paper); border: 1px solid var(--border-bright); box-shadow: 0 12px 30px -10px rgba(43,40,30,0.4); }

/* ---------- beneficios ---------- */
.ben-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ben-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); backdrop-filter: blur(12px);
  padding: 30px 26px; transition: transform .35s, border-color .35s, background .35s; position: relative; overflow: hidden; }
.ben-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(45,69,52,0.08), transparent 60%);
  transition: opacity .35s; pointer-events: none; }
.ben-card:hover { transform: translateY(-6px); border-color: var(--border-bright); background: var(--panel-2); }
.ben-card:hover::after { opacity: 1; }
.ben-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(45,69,52,0.12), rgba(154,126,69,0.16)); border: 1px solid var(--border); margin-bottom: 20px; }
.ben-ico svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.7; }
.ben-card h3 { font-size: 25px; margin: 0 0 8px; }
.ben-card p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* ---------- cómo funciona ---------- */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 880px; margin: 0 auto; position: relative; }
.steps::before { content: ""; position: absolute; left: 31px; top: 40px; bottom: 40px; width: 2px;
  background: linear-gradient(var(--accent), var(--gold)); opacity: .4; }
.step-row { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 26px 0; position: relative; }
.step-num { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--accent);
  background: var(--paper); border: 1px solid var(--border-bright); box-shadow: 0 0 0 6px var(--bg); z-index: 2; position: relative;
  transition: background .4s, color .4s, box-shadow .4s; }
.step-row.active .step-num { background: linear-gradient(135deg, var(--accent), var(--accent-soft)); color: var(--accent-ink);
  box-shadow: 0 0 0 6px var(--bg), 0 0 30px -6px var(--glow-olive); }
.step-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); backdrop-filter: blur(12px); padding: 24px 28px; }
.step-card h3 { font-size: 27px; margin: 0 0 8px; }
.step-card h3 em { font-style: italic; color: var(--accent); }
.step-card p { color: var(--ink-soft); margin: 0 0 14px; font-size: 15px; }
.step-card .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.step-card .chips span { font-size: 12px; color: var(--ink-soft); border: 1px solid var(--border); background: var(--panel); border-radius: 999px; padding: 5px 12px; }

/* ---------- demo ---------- */
.demo-stage { border: 1px solid var(--border-bright); border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, var(--paper), #F6F1E7);
  box-shadow: 0 60px 130px -55px rgba(43,40,30,0.5), inset 0 1px 0 rgba(255,255,255,0.6);
  display: grid; grid-template-columns: 1.05fr 1fr; }
.demo-copy { padding: 54px 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.demo-copy h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.04; }
.demo-copy ul { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 12px; }
.demo-copy li { display: flex; gap: 12px; align-items: center; color: var(--ink-soft); font-size: 15px; }
.demo-copy li .ck { width: 22px; height: 22px; border-radius: 7px; background: rgba(45,69,52,0.14); color: var(--accent); display: grid; place-items: center; font-size: 12px; flex: 0 0 22px; }
.demo-screen { padding: 40px; display: grid; place-items: center; position: relative; overflow: hidden; }
.demo-screen .glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, var(--glow-olive), transparent 65%); filter: blur(60px); opacity: .5; }
.phone { position: relative; z-index: 2; width: 280px; border-radius: 34px; padding: 12px;
  background: linear-gradient(160deg, #2a3326, #1a2017); border: 1px solid rgba(0,0,0,0.3);
  box-shadow: 0 40px 90px -30px rgba(43,40,30,0.7); }
.phone-screen { background: #14180f; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.phone-top { padding: 14px 16px 8px; }
.phone-top .h { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: #F3EEE4; }
.phone-top .sub { font-size: 11px; color: #9aa090; }
.phone-feed { padding: 10px 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.feed-card { border: 1px solid rgba(255,255,255,0.08); border-radius: 13px; overflow: hidden; background: rgba(255,255,255,0.04); }
.feed-card .img { height: 70px; background: linear-gradient(135deg, rgba(94,122,92,0.5), rgba(154,126,69,0.5)); position: relative; }
.feed-card .img .badge { position: absolute; bottom: 7px; left: 8px; font-family: var(--font-mono); font-size: 9px;
  background: rgba(20,24,15,0.85); padding: 3px 7px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.1); color: #c7b07a; }
.feed-card .meta { padding: 9px 11px; }
.feed-card .meta .t { font-size: 12px; font-weight: 600; color: #F3EEE4; }
.feed-card .meta .s { font-size: 10px; color: #9aa090; margin-top: 2px; }
.feed-card .meta .row { display: flex; justify-content: space-between; align-items: center; margin-top: 7px; }
.feed-card .meta .p { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: #c7b07a; }
.feed-card .meta .mini { display: flex; gap: 6px; }
.feed-card .meta .mini b { font-size: 9px; color: #cdd0c2; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 6px; padding: 2px 6px; font-weight: 500; }

/* ---------- testimonios ---------- */
.tcarousel { position: relative; max-width: 860px; margin: 0 auto; overflow: hidden; }
.ttrack { display: flex; transition: transform .7s cubic-bezier(.4,0,.2,1); }
.tcard { flex: 0 0 100%; padding: 8px; }
.tcard-inner { border: 1px solid var(--border); border-radius: 24px; padding: 44px 46px; background: var(--panel-2); backdrop-filter: blur(16px); text-align: center; }
.tcard .quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.32; letter-spacing: -0.01em; text-wrap: balance; }
.tcard .who { margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 13px; }
.tcard .who .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-soft), var(--gold)); }
.tcard .who .nm { text-align: left; }
.tcard .who .nm b { font-family: var(--font-display); font-weight: 600; font-size: 17px; display: block; }
.tcard .who .nm s { text-decoration: none; color: var(--ink-mute); font-size: 13px; }
.tdots { display: flex; justify-content: center; gap: 9px; margin-top: 28px; }
.tdots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--border-bright); transition: all .3s; }
.tdots button.on { width: 26px; border-radius: 999px; background: var(--accent); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; background: var(--panel); backdrop-filter: blur(12px); overflow: hidden; transition: border-color .3s, background .3s; }
.faq-item.open { border-color: var(--border-bright); background: var(--panel-2); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--ink);
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 23px; }
.faq-q .pm { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--border);
  display: grid; place-items: center; transition: transform .35s, background .3s, color .3s; font-size: 18px; color: var(--ink-soft); }
.faq-item.open .pm { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 24px 22px; margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- CTA final + form ---------- */
.cta-final { padding: 130px 0; }
.cta-box { border: 1px solid var(--border-bright); border-radius: 30px; overflow: hidden;
  background: linear-gradient(180deg, var(--paper), #F4EEE2);
  box-shadow: 0 60px 150px -55px var(--glow-olive), inset 0 1px 0 rgba(255,255,255,0.6);
  display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.cta-box::before { content: ""; position: absolute; top: -40%; left: -10%; width: 60%; height: 120%;
  background: radial-gradient(circle, var(--glow-olive), transparent 60%); filter: blur(80px); opacity: .5; pointer-events: none; }
.cta-left { padding: 60px 54px; display: flex; flex-direction: column; justify-content: center; gap: 20px; position: relative; z-index: 2; }
.cta-left h2 { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.0; }
.cta-left .lede { max-width: 40ch; }
.cta-points { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.cta-points div { display: flex; gap: 11px; align-items: center; color: var(--ink-soft); font-size: 15px; }
.cta-points .ck { width: 22px; height: 22px; border-radius: 7px; background: rgba(45,69,52,0.14); color: var(--accent); display: grid; place-items: center; font-size: 12px; }
.cta-form { padding: 54px 50px; border-left: 1px solid var(--border); position: relative; z-index: 2; background: rgba(255,255,255,0.35); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }
.fg input { width: 100%; background: var(--paper); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px;
  color: var(--ink); font-family: var(--font-body); font-size: 15px; transition: border-color .25s, background .25s, box-shadow .25s; }
.fg input::placeholder { color: var(--ink-mute); }
.fg input:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(45,69,52,0.1); }
.cta-form .btn { width: 100%; margin-top: 8px; padding: 17px; }
.form-fine { font-size: 12px; color: var(--ink-mute); margin-top: 16px; text-align: center; }
.form-ok { display: none; text-align: center; padding: 40px 0; }
.form-ok.show { display: block; }
.form-ok .big { font-family: var(--font-display); font-weight: 600; font-size: 30px; margin-bottom: 8px; }
.form-ok .em { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft)); color: var(--accent-ink); font-size: 30px; }

/* ---------- footer ---------- */
footer { padding: 70px 0 40px; background: var(--accent); color: var(--accent-ink); margin-top: 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 48px; }
.foot-brand { max-width: 320px; }
.foot-brand .brand-name { color: var(--accent-ink); }
.foot-brand .brand-name span { color: rgba(243,238,228,0.6); }
.foot-brand .brand-logo { background: var(--accent-ink); color: var(--accent); }
.foot-brand p { color: rgba(243,238,228,0.75); font-size: 14px; margin: 16px 0 0; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(243,238,228,0.55); margin: 0 0 16px; font-weight: 400; }
.foot-col a { display: block; color: rgba(243,238,228,0.85); font-size: 14px; padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color: var(--gold); }
.foot-bot { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid rgba(243,238,228,0.18); color: rgba(243,238,228,0.55); font-size: 13px; flex-wrap: wrap; gap: 12px; }

/* ---------- reveal animation (arm-below-fold) ---------- */
.reveal { transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.armed { opacity: 0; transform: translateY(34px); }
.reveal.armed.in { opacity: 1; transform: none; }
.reveal.armed[data-d="1"] { transition-delay: .08s; }
.reveal.armed[data-d="2"] { transition-delay: .16s; }
.reveal.armed[data-d="3"] { transition-delay: .24s; }
.reveal.armed[data-d="4"] { transition-delay: .32s; }
.reveal.armed[data-d="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.armed { opacity: 1 !important; transform: none !important; }
  .blob, .kicker .dot { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .listings { grid-template-columns: repeat(2, 1fr); }
  .demo-stage, .cta-box { grid-template-columns: 1fr; }
  .cta-form, .cta-left { border-left: 0; }
  .build { height: auto; }
  .build-sticky { position: static; height: auto; padding: 80px 0; }
  .build-inner { grid-template-columns: 1fr; gap: 40px; }
  .build-stage { aspect-ratio: 4/3; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .stats, .prob-grid, .ben-grid { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: 1fr; }
  .vs-badge { display: none; }
  .float-chip { display: none; }
  .demo-copy { padding: 40px 30px; }
}
@media (max-width: 560px) {
  section { padding: 80px 0; }
  .stats, .prob-grid, .ben-grid, .form-row { grid-template-columns: 1fr; }
  .hero { padding: 140px 0 70px; }
  .nav-cta .btn-ghost { display: none; }
  .cta-left, .cta-form { padding: 38px 26px; }
  .listings { grid-template-columns: 1fr; }
}

/* ============================================================
   PRODUCCIÓN — añadidos sobre el diseño original
   (placeholder de foto, formulario real, páginas legales)
   ============================================================ */

/* foto del piso (sustituye al <image-slot> del prototipo) */
.build-photo .photo-ph,
.build-photo .photo-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.build-photo .photo-ph {
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(154,126,69,0.28), transparent 60%),
    linear-gradient(135deg, rgba(45,69,52,0.22), rgba(154,126,69,0.20));
}
.build-photo .photo-img { object-fit: cover; }

/* honeypot anti-spam: fuera de pantalla, sin afectar layout */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* checkbox de consentimiento RGPD */
.fg-check { display: flex; align-items: flex-start; gap: 11px; margin: 4px 0 6px;
  font-size: 13px; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.fg-check input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0;
  accent-color: var(--accent); cursor: pointer; }
.fg-check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* estado del botón al enviar */
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* mensaje de error del formulario */
.form-err { display: none; margin-top: 14px; text-align: center; font-size: 13px;
  color: var(--danger); background: rgba(176,73,42,0.08);
  border: 1px solid rgba(176,73,42,0.25); border-radius: 12px; padding: 10px 14px; }
.form-err.show { display: block; }

/* enlaces legales del footer */
.foot-legal a { color: rgba(243,238,228,0.7); }
.foot-legal a:hover { color: var(--gold); }

/* ---------- páginas legales (privacidad / aviso-legal / cookies) ---------- */
.legal { padding: 150px 0 90px; }
.legal .wrap { max-width: 820px; }
.legal .back { display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 26px; }
.legal .back:hover { color: var(--gold); }
.legal h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; margin-bottom: 10px; }
.legal .updated { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute);
  margin-bottom: 40px; }
.legal h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 40px 0 12px; }
.legal h3 { font-size: 20px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--gold); }
.legal .placeholder { background: rgba(154,126,69,0.14); border-radius: 5px; padding: 1px 6px;
  font-family: var(--font-mono); font-size: 0.85em; color: var(--gold); }
