/* ============ MOYANO & ASOCIADOS — sistema visual ============ */
:root {
  --black: #0a0b0a;
  --black-2: #141615;
  --black-3: #1f2220;
  --red: var(--ink);
  --red-2: #fff;
  --green-950: #0a0b0a;
  --green-900: #141615;
  --green-800: #0f4d38;   /* verde del logo */
  --green-600: #2b6a50;
  --green-100: #e3ece6;
  --sand-50: #f4f1eb;
  --sand-100: #ebe6dc;
  --sand-200: #e0d9cc;
  --sand-300: #cfc6b5;
  --brass: #0f4d38;
  --brass-soft: #e3ece6;
  --ink: #0f1110;
  --ink-2: #3b3f3c;
  --muted: #6d716d;
  --line: #dcd4c5;
  --white: #fff;
  --danger: #b4452f;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15, 43, 32, .06), 0 2px 8px rgba(15, 43, 32, .05);
  --shadow: 0 10px 30px -12px rgba(15, 43, 32, .22), 0 2px 6px rgba(15, 43, 32, .06);
  --shadow-lg: 0 30px 70px -25px rgba(10, 42, 31, .45);
  --serif: 'Manrope', system-ui, -apple-system, sans-serif;
  --display: 'Manrope', system-ui, -apple-system, sans-serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --max: 1240px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--sand-50);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon.fill { fill: currentColor; stroke: none; }

/* ---------- tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.12; margin: 0; font-variation-settings: "SOFT" 50, "opsz" 72; }
h1, h2 { font-family: var(--display); font-weight: 600; font-stretch: 112%; letter-spacing: -.028em; line-height: 1.02; font-variation-settings: normal; }
h1 em, h2 em, h1 .it, h2 .it { font-family: var(--serif); font-weight: 400; font-style: italic; font-stretch: normal; letter-spacing: -.01em; font-variation-settings: "SOFT" 100, "opsz" 144; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
.eyebrow { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
em.it { font-style: italic; color: inherit; }
.amp { color: var(--red); }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: .93rem; transition: transform .15s, background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--black); color: #fff; }
.btn-primary:hover { background: #262a28; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .55); }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { background: #a82a21; }
.btn-white { background: #fff; color: var(--black); }
.btn-white:hover { background: var(--sand-100); }
.btn-outline-w { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline-w:hover { background: #fff; color: var(--black); }
.btn-ghost { border: 1.5px solid var(--line); background: var(--white); color: var(--ink); }
.btn-ghost:hover { border-color: var(--black); color: var(--green-800); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.24); }
.btn-wa { background: #1f9d57; color: #fff; }
.btn-wa:hover { background: #17864a; }
.btn-sm { height: 38px; padding: 0 16px; font-size: .85rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.link-arrow .icon { color: var(--red); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 50; transition: background .3s, box-shadow .3s, color .3s; color: var(--ink); background: rgba(251, 248, 242, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.header.over-hero:not(.scrolled) { background: transparent; box-shadow: none; color: #fff; backdrop-filter: none; }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand svg { width: 38px; height: 38px; }
.brand-text { line-height: 1; }
.brand-name { font-family: var(--sans); font-weight: 600; letter-spacing: .26em; font-size: .92rem; display: block; }
.brand-sub { font-size: .6rem; letter-spacing: .5em; font-weight: 500; opacity: .75; display: block; margin-top: 6px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; padding: 8px 13px; border-radius: 999px; font-size: .9rem; font-weight: 600; opacity: .9; transition: background .2s, opacity .2s; }
.nav a:hover { opacity: 1; background: rgba(15, 77, 56, .07); }
.over-hero:not(.scrolled) .nav a:hover { background: rgba(255,255,255,.12); }
.nav a.active { opacity: 1; box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.over-hero:not(.scrolled) .nav a.active { color: #fff; box-shadow: inset 0 -2px 0 var(--brass); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.fav-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.fav-btn:hover { background: rgba(15, 77, 56, .08); }
.fav-btn .count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brass); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; }
.fav-btn .count:empty, .fav-btn .count[data-n="0"] { display: none; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; }
.header .btn-wa { height: 42px; }

.drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(10, 30, 22, .5); opacity: 0; transition: opacity .3s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: var(--sand-50); transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); padding: 22px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-panel a.dl { padding: 14px 6px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.35rem; display: flex; justify-content: space-between; align-items: center; }
.drawer-close { align-self: flex-end; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sand-200); margin-bottom: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; padding: calc(var(--header-h) + 60px) 0 56px; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 28, 20, .82) 0%, rgba(8, 28, 20, .55) 38%, rgba(8, 28, 20, .08) 70%), linear-gradient(180deg, rgba(10, 30, 22, .5) 0%, rgba(10, 30, 22, 0) 30%, rgba(8, 28, 20, .75) 100%); }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--brass-soft); }
.hero .lead { color: rgba(255,255,255,.86); margin: 18px 0 34px; }
.hero .eyebrow { color: var(--brass-soft); }
.live-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: 6px 13px; border-radius: 999px; backdrop-filter: blur(6px); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

/* buscador */
.search { background: var(--white); color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-lg); max-width: 980px; }
.search-tabs { display: flex; gap: 4px; padding: 8px 8px 0; }
.search-tabs button { padding: 10px 18px; font-weight: 700; font-size: .88rem; border-radius: 12px 12px 0 0; color: var(--muted); position: relative; }
.search-tabs button.on { color: var(--green-800); }
.search-tabs button.on::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; background: var(--black); border-radius: 2px; }
.search-body { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr 1.1fr auto; gap: 0; padding: 10px; border-top: 1px solid var(--sand-200); align-items: stretch; }
.sfield { padding: 8px 16px; border-right: 1px solid var(--sand-200); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.sfield:nth-last-child(2) { border-right: 0; }
.sfield label { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sfield select, .sfield input { border: 0; background: transparent; padding: 3px 0; font-weight: 600; font-size: .98rem; outline: none; width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer; text-overflow: ellipsis; }
.search-body .btn { height: 58px; border-radius: 14px; padding: 0 26px; }
.search-alt { padding: 20px 22px; display: flex; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--sand-200); flex-wrap: wrap; }
.search-alt p { margin: 0; color: var(--ink-2); max-width: 55ch; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quick a { font-size: .84rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); transition: background .2s; }
.quick a:hover { background: rgba(255,255,255,.25); }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- secciones ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; flex-wrap: wrap; }
.section-head h2 { margin-top: 12px; max-width: 22ch; }
.bg-sand { background: var(--sand-100); }
.bg-green { background: var(--green-900); color: #f2efe7; }
.bg-green .lead { color: rgba(242, 239, 231, .78); }
.bg-green .eyebrow { color: #e8645a; }

.seg { display: inline-flex; padding: 4px; background: var(--sand-200); border-radius: 999px; gap: 2px; flex-wrap: wrap; }
.seg button { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--ink-2); transition: background .2s, color .2s; }
.seg button.on { background: var(--white); color: var(--green-800); box-shadow: var(--shadow-sm); }

/* ---------- tarjeta de propiedad ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 72px) / 4); } }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-200); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, transform .6s; }
.card:hover .card-media img { transform: scale(1.035); }
.card-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.tag { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--green-900); }
.tag.dark { background: var(--black); color: #fff; }
.tag.brass { background: var(--brass); color: #fff; }
.card-fav { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; color: var(--ink); transition: transform .2s, color .2s; }
.card-fav:hover { transform: scale(1.08); }
.card-fav.on { color: var(--danger); }
.card-fav.on .icon { fill: currentColor; }
.card-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; opacity: 0; transition: opacity .2s; z-index: 2; }
.card-nav.prev { left: 10px; } .card-nav.next { right: 10px; }
.card:hover .card-nav { opacity: 1; }
.card-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; z-index: 2; }
.card-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.card-dots i.on { background: #fff; }
.card-price { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: var(--green-900); color: #fff; font-weight: 800; padding: 6px 12px; border-radius: 10px; font-size: .98rem; letter-spacing: .01em; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-meta { display: flex; justify-content: space-between; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); }
.card-meta span:last-child { color: var(--muted); letter-spacing: .04em; }
.card-title { font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; margin: 2px 0; }
.card-loc { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .9rem; }
.specs { display: flex; gap: 14px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--sand-200); font-size: .86rem; color: var(--ink-2); font-weight: 600; }
.specs span { display: inline-flex; gap: 6px; align-items: center; }
.specs .icon { color: var(--green-600); }
.card-link { position: absolute; inset: 0; z-index: 1; }

/* modo lista */
.cards.list { grid-template-columns: 1fr; }
.cards.list .card { flex-direction: row; }
.cards.list .card-media { width: 40%; aspect-ratio: auto; min-height: 240px; flex-shrink: 0; }
.cards.list .card-body { padding: 22px 26px; }
.cards.list .card-title { font-size: 1.45rem; }
.card-excerpt { display: none; color: var(--ink-2); font-size: .93rem; margin: 6px 0; }
.cards.list .card-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* sin fotos */
.nophoto { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: rgba(255,255,255,.85); text-align: center; padding: 20px;
  background: radial-gradient(120% 90% at 20% 10%, #2b6a50 0%, #0f4d38 45%, #0a2a1f 100%); }
.nophoto::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 14px); }
.nophoto svg { width: 54px; height: 54px; position: relative; }
.nophoto small { position: relative; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }

/* ---------- zonas ---------- */
.zones { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.zone { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; color: #fff; display: flex; align-items: flex-end; padding: 24px; isolation: isolate; box-shadow: var(--shadow-sm); }
.zone:nth-child(1) { grid-column: span 7; min-height: 380px; }
.zone:nth-child(2) { grid-column: span 5; min-height: 380px; }
.zone:nth-child(3), .zone:nth-child(4) { grid-column: span 6; }
.zone img, .zone .nophoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.zone::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(8, 28, 20, .85)); }
.zone:hover img { transform: scale(1.05); }
.zone h3 { font-size: 1.9rem; }
.zone p { margin: 6px 0 0; opacity: .85; font-size: .92rem; }
.zone .zone-count { position: absolute; top: 20px; right: 20px; background: rgba(8, 28, 20, .55); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.zone .barrios { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.zone .barrios span { font-size: .74rem; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.14); }

/* ---------- pilares / stats ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(242, 239, 231, .14); border-radius: var(--radius); overflow: hidden; margin-top: 44px; }
.pillar { background: var(--green-900); padding: 34px 30px; }
.pillar .num { font-family: var(--serif); font-size: 1rem; color: #e8645a; }
.pillar h3 { margin: 18px 0 10px; font-size: 1.5rem; }
.pillar p { margin: 0; color: rgba(242, 239, 231, .72); font-size: .96rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: #fff; }
.stat span { color: rgba(242, 239, 231, .68); font-size: .9rem; }

/* ---------- vender ---------- */
.sell { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.sell-visual { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.sell-visual img { width: 100%; height: 100%; object-fit: cover; }
.sell-badge { position: absolute; left: 20px; bottom: 20px; right: 20px; background: rgba(251, 248, 242, .96); border-radius: 16px; padding: 18px 20px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); }
.sell-badge .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--green-100); color: var(--green-800); display: grid; place-items: center; flex-shrink: 0; }
.sell-badge b { display: block; font-size: .98rem; }
.sell-badge span { font-size: .85rem; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--green-800); margin-top: 3px; }
.mini-form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; background: var(--white); padding: 10px; border-radius: 16px; box-shadow: var(--shadow-sm); }
.mini-form select, .mini-form input { border: 1px solid var(--sand-200); border-radius: 10px; padding: 0 12px; height: 48px; background: var(--sand-50); min-width: 0; }

/* ---------- emprendimiento destacado ---------- */
.dev-feature { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 24px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.dev-feature .media { position: relative; min-height: 440px; }
.dev-feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dev-feature .body { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .82rem; padding: 6px 12px; border-radius: 999px; background: var(--sand-100); border: 1px solid var(--sand-200); color: var(--ink-2); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.chip .icon { color: var(--green-600); }

/* ---------- calculadora ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.calc-in { padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.calc-out { padding: 36px; background: var(--green-900); color: #f2efe7; display: flex; flex-direction: column; gap: 14px; }
.range-row label { display: flex; justify-content: space-between; font-weight: 700; font-size: .92rem; margin-bottom: 10px; }
.range-row label b { font-family: var(--display); font-stretch: 110%; font-weight: 600; font-size: 1.4rem; color: var(--ink); }
input[type=range] { width: 100%; accent-color: var(--red); height: 6px; }
.pct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pct-grid label { font-size: .76rem; font-weight: 700; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.pct-grid input { border: 1px solid var(--sand-200); border-radius: 10px; height: 44px; padding: 0 12px; background: var(--sand-50); font-weight: 700; width: 100%; }
.calc-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(242, 239, 231, .12); font-size: .95rem; }
.calc-line span:first-child { color: rgba(242, 239, 231, .75); }
.calc-total { margin-top: auto; padding-top: 18px; }
.calc-total small { color: rgba(242, 239, 231, .7); font-size: .85rem; }
.calc-total b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1.1; color: #fff; }
.calc-note { font-size: .78rem; color: rgba(242, 239, 231, .55); margin: 0; }

/* ---------- reseñas ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; position: relative; }
.review .stars { color: var(--brass); letter-spacing: 3px; font-size: .95rem; }
.review q { font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; quotes: "“" "”"; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: .9rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--green-100); color: var(--green-800); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.sample-flag { position: absolute; top: 14px; right: 14px; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--danger); background: #fbe9e4; padding: 3px 8px; border-radius: 6px; }

/* ---------- media / cta ---------- */
.media-band { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.media-card { border-radius: 20px; padding: 34px; display: flex; flex-direction: column; gap: 14px; min-height: 250px; position: relative; overflow: hidden; }
.media-card.yt { background: #1b1b1b; color: #fff; }
.media-card.ig { background: linear-gradient(135deg, #f3e7d3, #ebdcc6); }
.media-card .big-ic { position: absolute; right: -10px; bottom: -20px; width: 180px; height: 180px; opacity: .1; }
.cta-band { border-radius: 26px; background: var(--black); color: #fff; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 60px rgba(255,255,255,.03), 0 0 0 120px rgba(255,255,255,.02); }
.cta-actions { display: grid; gap: 12px; position: relative; z-index: 1; }
.cta-line { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 14px 18px; border-radius: 14px; transition: background .2s; }
.cta-line:hover { background: rgba(255,255,255,.15); }
.cta-line small { display: block; opacity: .7; font-size: .78rem; }
.cta-line b { font-size: 1.02rem; }

/* ---------- footer ---------- */
.footer { background: var(--green-950); color: rgba(242, 239, 231, .75); padding: 72px 0 28px; margin-top: 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: #e8645a; font-weight: 800; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(242, 239, 231, .2); display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: rgba(255,255,255,.1); }
.legal { border-top: 1px solid rgba(242, 239, 231, .12); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 24px; font-size: .78rem; color: rgba(242, 239, 231, .5); flex-wrap: wrap; }
.legal p { margin: 0; max-width: 80ch; }
.tokko-sync { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #1f9d57; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(31, 157, 87, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float .tip { position: absolute; right: 72px; white-space: nowrap; background: var(--white); color: var(--ink); padding: 9px 14px; border-radius: 12px; font-size: .85rem; font-weight: 700; box-shadow: var(--shadow); opacity: 0; transform: translateX(8px); transition: .25s; pointer-events: none; }
.wa-float:hover .tip { opacity: 1; transform: none; }

/* ---------- páginas internas ---------- */
.page-top { padding: calc(var(--header-h) + 40px) 0 28px; }
.crumbs { display: flex; gap: 8px; font-size: .84rem; color: var(--muted); flex-wrap: wrap; margin-bottom: 14px; }
.crumbs a:hover { color: var(--green-800); }
.crumbs span.sep { opacity: .5; }

/* listado */
.listing { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: start; padding-bottom: 96px; }
.filters { position: sticky; top: calc(var(--header-h) + 18px); max-height: calc(100vh - var(--header-h) - 36px); overflow-y: auto; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); scrollbar-width: thin; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--sand-200); position: sticky; top: 0; background: var(--white); z-index: 2; }
.filters-head b { font-size: 1rem; }
.filters-head button { font-size: .84rem; font-weight: 700; color: var(--brass); }
.fgroup { border-bottom: 1px solid var(--sand-200); }
.fgroup > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; font-weight: 700; font-size: .92rem; text-align: left; }
.fgroup > button .icon { transition: transform .2s; color: var(--muted); }
.fgroup.closed > button .icon { transform: rotate(-90deg); }
.fgroup .fbody { padding: 0 20px 18px; display: grid; gap: 8px; }
.fgroup.closed .fbody { display: none; }
.fgroup .fbody .zlabel { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.check { display: flex; align-items: center; gap: 10px; font-size: .92rem; cursor: pointer; padding: 2px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--green-800); margin: 0; flex-shrink: 0; }
.check .n { margin-left: auto; color: var(--muted); font-size: .8rem; font-weight: 600; }
.check.disabled { opacity: .45; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills button { min-width: 42px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--sand-200); font-weight: 700; font-size: .86rem; background: var(--sand-50); transition: .15s; }
.pills button:hover { border-color: var(--green-600); }
.pills button.on { background: var(--black); border-color: var(--black); color: #fff; }
.minmax { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.minmax input, .fselect { width: 100%; height: 42px; border: 1.5px solid var(--sand-200); border-radius: 10px; padding: 0 12px; background: var(--sand-50); font-size: .9rem; min-width: 0; }
.minmax input:focus, .fselect:focus, .ftext:focus { border-color: var(--green-600); outline: none; }
.ftext { width: 100%; height: 44px; border: 1.5px solid var(--sand-200); border-radius: 10px; padding: 0 12px 0 38px; background: var(--sand-50) no-repeat 12px center; font-size: .92rem; }
.search-in { position: relative; }
.search-in .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.cur-toggle { display: inline-flex; padding: 3px; background: var(--sand-200); border-radius: 9px; margin-bottom: 4px; width: max-content; }
.cur-toggle button { padding: 4px 12px; border-radius: 7px; font-size: .78rem; font-weight: 800; color: var(--muted); }
.cur-toggle button.on { background: var(--white); color: var(--green-800); box-shadow: var(--shadow-sm); }
.more-link { font-size: .84rem; font-weight: 700; color: var(--green-800); justify-self: start; }

.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.results-bar h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.results-count { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.results-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sort { height: 42px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 36px 0 16px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236c776f' stroke-width='2'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; -webkit-appearance: none; font-weight: 600; font-size: .88rem; cursor: pointer; }
.views { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white); }
.views button { width: 44px; height: 39px; display: grid; place-items: center; color: var(--muted); }
.views button.on { background: var(--black); color: #fff; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.active-chips button { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; padding: 6px 10px 6px 13px; border-radius: 999px; background: var(--green-100); color: var(--green-900); }
.active-chips button:hover { background: #d3e2d8; }
.filters-open { display: none; }
.empty { text-align: center; padding: 70px 24px; background: var(--white); border-radius: var(--radius); border: 1px dashed var(--sand-300); }
.empty h3 { margin: 14px 0 8px; font-size: 1.6rem; }
.empty p { color: var(--muted); max-width: 46ch; margin: 0 auto 22px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.pager button { min-width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); font-weight: 700; }
.pager button.on { background: var(--black); border-color: var(--black); color: #fff; }
.pager button:disabled { opacity: .4; cursor: default; }
#map-list { height: calc(100vh - var(--header-h) - 190px); min-height: 480px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-pin { background: var(--green-900); color: #fff; font-weight: 800; font-size: .78rem; padding: 5px 9px; border-radius: 9px; white-space: nowrap; box-shadow: 0 4px 10px rgba(0,0,0,.25); position: relative; transform: translate(-50%, -100%); display: inline-block; font-family: var(--sans); }
.map-pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--green-900); }
.map-pin.hot { background: var(--brass); }
.map-pin.hot::after { border-top-color: var(--brass); }
.leaflet-popup-content-wrapper { border-radius: 14px !important; padding: 0 !important; overflow: hidden; }
.leaflet-popup-content { margin: 0 !important; width: 240px !important; font-family: var(--sans); }
.pop img, .pop .pop-ph { width: 100%; height: 130px; object-fit: cover; position: relative; }
.pop div.pbody { padding: 10px 12px 12px; }
.pop b { display: block; font-size: .95rem; }
.pop span { font-size: .8rem; color: var(--muted); }
.pop a.link-arrow { font-size: .82rem; margin-top: 6px; }

/* ficha */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: min(62vh, 560px); border-radius: 20px; overflow: hidden; position: relative; }
.gallery button { position: relative; overflow: hidden; background: var(--sand-200); }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery button:first-child { grid-row: span 2; }
.gallery.g1 { grid-template-columns: 1fr; }
.gallery.g1 button:first-child { grid-row: span 2; }
.gallery.g3 { grid-template-columns: 2fr 1fr; }
.gallery .gallery-all { position: absolute; grid-row: auto; right: 16px; bottom: 16px; z-index: 2; background: var(--white); border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: .86rem; display: inline-flex; gap: 8px; align-items: center; box-shadow: var(--shadow); }
.detail { display: grid; grid-template-columns: 1fr 380px; gap: 48px; margin-top: 36px; align-items: start; padding-bottom: 80px; }
.detail-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.detail-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); max-width: 22ch; }
.detail-loc { display: flex; gap: 8px; align-items: center; color: var(--muted); margin-top: 12px; }
.detail-tools { display: flex; gap: 8px; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; background: var(--white); transition: .2s; }
.round:hover { border-color: var(--black); color: var(--green-800); }
.round.on { color: var(--danger); border-color: #f0c9bf; }
.round.on .icon { fill: currentColor; }
.keyspecs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 30px 0; }
.keyspecs div { background: var(--white); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.keyspecs .icon { color: var(--green-600); width: 22px; height: 22px; }
.keyspecs b { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.1; margin-top: 6px; }
.keyspecs span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.dsec { padding: 30px 0; border-top: 1px solid var(--line); }
.dsec h2 { font-size: 1.6rem; margin-bottom: 18px; }
.dtable { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 36px; }
.dtable div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--sand-300); font-size: .95rem; }
.dtable div span { color: var(--muted); }
.dtable div b { font-weight: 700; text-align: right; }
.desc { color: var(--ink-2); white-space: pre-line; position: relative; }
.desc.clamped { max-height: 250px; overflow: hidden; }
.desc.clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--sand-50)); }
.tagcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tagcols h4 { font-family: var(--sans); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.tagcols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tagcols li { display: flex; gap: 8px; align-items: center; font-size: .93rem; }
.tagcols li .icon { color: var(--green-600); }
#map-detail { height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-note { font-size: .82rem; color: var(--muted); margin-top: 10px; display: flex; gap: 6px; align-items: center; }
.aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.box { background: var(--white); border-radius: 18px; border: 1px solid var(--line); padding: 26px; box-shadow: var(--shadow-sm); }
.price-lg { font-family: var(--serif); font-size: 2.3rem; line-height: 1; color: var(--green-900); }
.price-sub { color: var(--muted); font-size: .86rem; margin-top: 8px; display: flex; justify-content: space-between; }
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; border: 1.5px solid var(--sand-200); border-radius: 11px; padding: 12px 14px; background: var(--sand-50); font-size: .95rem; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green-600); outline: none; background: #fff; }
.field.err input { border-color: var(--danger); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-ok { text-align: center; padding: 18px 6px; }
.form-ok .ok-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--green-100); color: var(--green-800); display: grid; place-items: center; margin: 0 auto 14px; }
.form-ok .ok-ic .icon { width: 28px; height: 28px; }
.form-ok h3 { margin-bottom: 6px; }
.form-ok p { color: var(--muted); font-size: .92rem; margin: 0 0 14px; }
.hint { font-size: .78rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.or { display: flex; align-items: center; gap: 12px; font-size: .78rem; color: var(--muted); margin: 4px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slots button { border: 1.5px solid var(--sand-200); border-radius: 11px; padding: 8px 4px; background: var(--sand-50); font-size: .82rem; font-weight: 700; line-height: 1.25; }
.slots button small { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; }
.slots button.on { border-color: var(--black); background: var(--black); color: #fff; }
.slots button.on small { color: rgba(255,255,255,.8); }
.times { display: flex; gap: 6px; flex-wrap: wrap; }
.times button { border: 1.5px solid var(--sand-200); border-radius: 999px; padding: 6px 12px; font-size: .82rem; font-weight: 700; background: var(--sand-50); }
.times button.on { background: var(--black); border-color: var(--black); color: #fff; }
.agent { display: flex; gap: 14px; align-items: center; }
.agent .avatar { width: 52px; height: 52px; font-size: 1.05rem; background: var(--black); color: #fff; }
.agent small { color: var(--muted); display: block; font-size: .8rem; }
.mobile-cta { display: none; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(8, 20, 15, .96); display: none; flex-direction: column; color: #fff; }
.lb.open { display: flex; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; font-size: .9rem; }
.lb-top button { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.lb-stage { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 70px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; user-select: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 14px 22px 18px; scrollbar-width: thin; }
.lb-thumbs button { width: 84px; height: 60px; flex-shrink: 0; border-radius: 7px; overflow: hidden; opacity: .45; border: 2px solid transparent; }
.lb-thumbs button.on { opacity: 1; border-color: #fff; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* tasación */
.steps-nav { display: flex; gap: 8px; margin-bottom: 30px; }
.steps-nav div { flex: 1; height: 5px; border-radius: 3px; background: var(--sand-200); overflow: hidden; }
.steps-nav div.on { background: var(--black); }
.tas-grid { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; padding-bottom: 96px; }
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.opt { border: 1.5px solid var(--sand-200); border-radius: 16px; padding: 20px 16px; background: var(--white); text-align: left; display: flex; flex-direction: column; gap: 10px; transition: .15s; }
.opt .icon { width: 28px; height: 28px; color: var(--green-600); }
.opt b { font-size: 1rem; }
.opt small { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.opt:hover { border-color: var(--green-600); }
.opt.on { border-color: var(--black); background: var(--green-100); box-shadow: inset 0 0 0 1px var(--green-800); }
.step-foot { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }
.step h2 { font-size: 1.8rem; margin-bottom: 6px; }
.step > p { color: var(--muted); margin: 0 0 24px; }

/* nosotros */
.about-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; position: relative; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 40px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: rgba(242, 239, 231, .25); }
.tl { padding-right: 20px; position: relative; }
.tl::before { content: ""; display: block; width: 19px; height: 19px; border-radius: 50%; background: var(--green-900); border: 2px solid #e8645a; margin-bottom: 18px; position: relative; }
.tl b { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; color: #fff; display: block; }
.tl p { margin: 6px 0 0; font-size: .9rem; color: rgba(242, 239, 231, .72); }
.team { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; gap: 22px; align-items: flex-start; }
.person .avatar { width: 84px; height: 84px; font-size: 1.6rem; font-family: var(--serif); background: var(--black); color: #fff; }
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.partner { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; gap: 12px; align-items: center; }
.partner .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--green-100); color: var(--green-800); display: grid; place-items: center; flex-shrink: 0; }
.partner b { display: block; font-size: .95rem; }
.partner span { font-size: .82rem; color: var(--muted); }

/* contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 96px; }
.channels { display: grid; gap: 12px; }
.channel { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: border-color .2s, transform .2s; }
.channel:hover { border-color: var(--green-600); transform: translateY(-2px); }
.channel .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-100); color: var(--green-800); flex-shrink: 0; }
.channel small { color: var(--muted); display: block; font-size: .8rem; }
.channel b { font-size: 1.02rem; }
#map-office { height: 280px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-top: 12px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .9rem; font-weight: 600; z-index: 120; opacity: 0; transition: .3s; pointer-events: none; display: flex; gap: 8px; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .hero-media img { animation: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header .btn-wa span { display: none; }
  .header .btn-wa { width: 42px; padding: 0; }
  .header-actions { margin-left: auto; }
  .search-body { grid-template-columns: 1fr 1fr; }
  .sfield { border-right: 0; border-bottom: 1px solid var(--sand-200); }
  .search-body .btn { grid-column: span 2; margin-top: 8px; }
  .listing { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 90; max-height: none; border-radius: 0; transform: translateY(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); border: 0; padding-bottom: 90px; }
  .filters.open { transform: none; }
  .filters-apply { position: fixed; left: 0; right: 0; bottom: 0; padding: 14px 20px; background: var(--white); border-top: 1px solid var(--line); display: flex; gap: 10px; }
  .filters-open { display: inline-flex; }
  .detail { grid-template-columns: 1fr; }
  .aside { position: static; }
  .tas-grid { grid-template-columns: 1fr; }
}
@media (min-width: 1101px) { .filters-apply, .filters-close { display: none !important; } }
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .zones { grid-template-columns: 1fr; }
  .zone:nth-child(n) { grid-column: auto; min-height: 260px; }
  .pillars, .reviews, .media-band { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .sell, .about-hero, .contact-grid, .team, .calc, .dev-feature, .cta-band { grid-template-columns: 1fr; }
  .sell-visual { aspect-ratio: 4 / 3; }
  .dev-feature .media { min-height: 280px; }
  .dev-feature .body, .cta-band { padding: 32px; }
  .mini-form { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 460px; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:not(.gallery-all):nth-child(n+4) { display: none; }
  .tagcols { grid-template-columns: 1fr 1fr; }
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--white); border-top: 1px solid var(--line); padding: 10px 16px; gap: 10px; }
  .mobile-cta .btn { flex: 1; }
  body.has-mcta .wa-float { display: none; }
  body.has-mcta .footer { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  :root { --header-h: 66px; }
  .brand-name { font-size: .78rem; letter-spacing: .2em; }
  .brand-sub { font-size: .52rem; letter-spacing: .42em; }
  .brand svg { width: 32px; height: 32px; }
  .header .wrap { gap: 12px; }
  .header .btn-wa { display: none; }
  .header-actions { gap: 4px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 50px); padding-bottom: 36px; }
  .search-body { grid-template-columns: 1fr; }
  .search-body .btn { grid-column: auto; }
  .search-tabs button { padding: 10px 12px; font-size: .82rem; }
  .cards.list .card { flex-direction: column; }
  .cards.list .card-media { width: 100%; min-height: 0; aspect-ratio: 4/3; }
  .dtable { grid-template-columns: 1fr; }
  .opt-grid { grid-template-columns: 1fr 1fr; }
  .pct-grid { grid-template-columns: 1fr; }
  .calc-in, .calc-out { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr; }
  .person { flex-direction: column; }
  .lb-stage { padding: 0 8px; }
  .lb-nav { width: 42px; height: 42px; }
  .keyspecs { grid-template-columns: repeat(2, 1fr); }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .results-tools { width: 100%; }
  .results-tools .sort { flex: 1; }
}

/* impresión de ficha */
@media print {
  .header, .footer, .wa-float, .aside .box:not(.print-keep), .mobile-cta, .gallery-all, .detail-tools, #map-detail, .map-note, .similar, .calc-sec { display: none !important; }
  .page-top { padding-top: 0; }
  .detail { grid-template-columns: 1fr; }
  body { background: #fff; }
}

/* =====================================================================
   V2 — identidad negra, hueso y rojo · portada de marca
   ===================================================================== */
.header.over-hero.scrolled { background: rgba(10, 11, 10, .9); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.header.over-hero.scrolled .nav a:hover { background: rgba(255,255,255,.1); }
.header.over-hero.scrolled .nav a.active { color: #fff; }
.search-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid currentColor; font-weight: 700; font-size: .86rem; opacity: .9; transition: .2s; }
.search-btn:hover { opacity: 1; background: rgba(127,127,127,.12); }
.search-btn kbd { font: inherit; font-size: .7rem; opacity: .6; border: 1px solid currentColor; border-radius: 5px; padding: 0 5px; }

/* intro */
.intro { position: fixed; inset: 0; z-index: 300; background: var(--black); color: #fff; display: grid; place-items: center; transition: clip-path 1s cubic-bezier(.77,0,.18,1); clip-path: inset(0 0 0 0); }
.intro.out { clip-path: inset(0 0 100% 0); }
.intro-in { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.intro svg { width: 92px; height: 92px; }
.intro svg path { stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw 1.1s cubic-bezier(.6,0,.2,1) forwards; }
.intro svg path:nth-child(2) { animation-delay: .12s; } .intro svg path:nth-child(3) { animation-delay: .24s; } .intro svg path:nth-child(4) { animation-delay: .36s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.intro-word { font-family: var(--sans); font-weight: 600; letter-spacing: .42em; font-size: clamp(.9rem, 2.4vw, 1.25rem); display: flex; overflow: hidden; }
.intro-word span { display: inline-block; transform: translateY(110%); animation: up .6s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes up { to { transform: none; } }
.intro-sub { font-size: .7rem; letter-spacing: .6em; opacity: 0; animation: fade .6s 1.1s forwards; }
@keyframes fade { to { opacity: .6; } }

/* hero cinematográfico */
.hx { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1000px; background: var(--black); color: #fff; overflow: hidden; isolation: isolate; }
.hx-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; z-index: -2; }
.hx-slide.on { opacity: 1; }
.hx-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hx-slide.on img { animation: kb 9s linear forwards; }
@keyframes kb { from { transform: scale(1.12) translate3d(1.5%, 0, 0); } to { transform: scale(1.02) translate3d(-1%, -1%, 0); } }
.hx::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,11,10,.88) 0%, rgba(10,11,10,.55) 42%, rgba(10,11,10,.15) 75%), linear-gradient(0deg, rgba(10,11,10,.92) 0%, rgba(10,11,10,0) 45%), linear-gradient(180deg, rgba(10,11,10,.55), transparent 22%); }
.hx-content { position: absolute; left: 0; right: 0; bottom: 118px; }
.hx .eyebrow { color: #fff; opacity: .8; }
.hx .eyebrow::before { background: var(--red); height: 2px; }
.hx h1 { font-size: clamp(3.1rem, 8.6vw, 8.6rem); line-height: .9; text-transform: uppercase; margin: 22px 0 26px; font-weight: 700; font-stretch: 115%; }
.hx h1 em { text-transform: none; font-size: 1.04em; color: #fff; }
.hx h1 .dot { color: var(--red); }
.hx h1 .ln { display: block; overflow: hidden; }
.hx h1 .ln > span { display: inline-block; transform: translateY(105%); animation: up 1s cubic-bezier(.2,.8,.2,1) forwards; }
.hx h1 .ln:nth-child(2) > span { animation-delay: .12s; } .hx h1 .ln:nth-child(3) > span { animation-delay: .24s; }
.hx-lead { max-width: 46ch; color: rgba(255,255,255,.78); font-size: 1.08rem; margin: 0 0 30px; opacity: 0; animation: fade2 1s .6s forwards; }
@keyframes fade2 { to { opacity: 1; } }
.hx-ctas { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; animation: fade2 1s .8s forwards; }
.hx-bar { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255,255,255,.14); }
.hx-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.hx-cap { display: flex; gap: 14px; align-items: center; font-size: .9rem; min-width: 0; }
.hx-cap b { font-weight: 700; white-space: nowrap; }
.hx-cap span { color: rgba(255,255,255,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-cap .num { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: .85rem; color: var(--red-2); }
.hx-prog { display: flex; gap: 8px; }
.hx-prog button { width: 46px; height: 22px; position: relative; }
.hx-prog button::before, .hx-prog button i { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: rgba(255,255,255,.25); }
.hx-prog button i { right: auto; width: 0; background: #fff; }
.hx-prog button.on i { animation: prog 7s linear forwards; }
@keyframes prog { to { width: 100%; } }
.hx-scroll { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hx-scroll i { width: 1px; height: 34px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hx-scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 1.8s infinite; }
@keyframes drip { to { top: 100%; } }
.hx-live { position: absolute; right: 24px; top: calc(var(--header-h) + 24px); }

/* marquesina de barrios */
.marquee { background: var(--black); color: #fff; overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); padding: 26px 0; }
.marquee-track { display: inline-flex; white-space: nowrap; animation: mq 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { font-family: var(--display); font-stretch: 118%; font-weight: 600; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2.3rem); letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; color: rgba(255,255,255,.9); transition: color .2s; }
.marquee a:hover { color: var(--red-2); }
.marquee a::after { content: ""; width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); flex-shrink: 0; }
@keyframes mq { to { transform: translateX(-50%); } }

/* manifiesto */
.manifesto { background: var(--black); color: #fff; padding: 150px 0 160px; }
.manifesto .eyebrow { color: #fff; opacity: .7; }
.manifesto .eyebrow::before { background: var(--red); height: 2px; }
.manifesto p.big { font-family: var(--display); font-stretch: 108%; font-weight: 500; font-size: clamp(1.9rem, 4.3vw, 4rem); line-height: 1.1; letter-spacing: -.025em; margin: 34px 0 0; max-width: 22ch; }
.manifesto .w { opacity: .16; transition: opacity .35s, color .35s; }
.manifesto .w.lit { opacity: 1; }
.manifesto .w.red.lit { color: var(--red-2); }
.manifesto .sign { display: flex; gap: 16px; align-items: center; margin-top: 56px; color: rgba(255,255,255,.7); font-size: .95rem; }
.manifesto .sign .avatar { background: #fff; color: var(--black); }

/* caminos */
.paths { display: flex; gap: 14px; height: min(78vh, 620px); }
.path { flex: 1; position: relative; border-radius: 20px; overflow: hidden; color: #fff; transition: flex .7s cubic-bezier(.2,.8,.2,1); isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; min-width: 0; }
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s; }
.path::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,11,10,.92), rgba(10,11,10,.25) 60%, rgba(10,11,10,.35)); transition: background .5s; }
.path.on { flex: 2.4; }
.path.on img { transform: scale(1.05); }
.path .pnum { position: absolute; top: 26px; left: 30px; font-family: var(--display); font-weight: 600; font-stretch: 112%; font-size: .9rem; }
.path .pnum b { color: var(--red-2); }
.path h3 { font-family: var(--display); font-stretch: 115%; font-weight: 700; text-transform: uppercase; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: .95; letter-spacing: -.02em; }
.path .pbody { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s, opacity .4s, margin .4s; }
.path.on .pbody { max-height: 220px; opacity: 1; margin-top: 14px; }
.path .pbody p { color: rgba(255,255,255,.8); margin: 0 0 18px; max-width: 42ch; }

/* buscador de barrio ideal */
.matcher { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: 24px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.matcher-in { padding: 40px; display: flex; flex-direction: column; gap: 26px; }
.prio { display: flex; flex-wrap: wrap; gap: 8px; }
.prio button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--sand-200); background: var(--sand-50); font-weight: 700; font-size: .88rem; transition: .15s; }
.prio button:hover { border-color: var(--ink); }
.prio button.on { background: var(--black); border-color: var(--black); color: #fff; }
.prio button.on .icon { color: var(--red-2); }
.matcher-out { background: var(--black); color: #fff; padding: 40px; display: grid; grid-template-rows: auto 1fr; gap: 20px; }
.zrank { display: grid; gap: 10px; }
.zr { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--black-2); border: 1px solid rgba(255,255,255,.06); transition: .3s; }
.zr:hover { border-color: rgba(255,255,255,.25); }
.zr .pos { font-family: var(--display); font-weight: 700; font-stretch: 112%; font-size: 1.1rem; color: rgba(255,255,255,.4); }
.zr b { font-size: 1.02rem; }
.zr small { display: block; color: rgba(255,255,255,.55); font-size: .8rem; }
.zr .bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); margin-top: 8px; overflow: hidden; }
.zr .bar i { display: block; height: 100%; background: rgba(255,255,255,.55); border-radius: 2px; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.zr .pct { font-family: var(--display); font-weight: 700; font-stretch: 112%; font-size: 1.35rem; }
.zr.top { background: #1d100f; border-color: rgba(200,53,43,.5); }
.zr.top .pos, .zr.top .pct { color: var(--red-2); }
.zr.top .bar i { background: var(--red); }
#map-match { height: 100%; min-height: 220px; border-radius: 14px; overflow: hidden; filter: grayscale(.85) contrast(1.05); }

/* contadores */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.counter { padding: 38px 26px 10px 0; border-right: 1px solid rgba(255,255,255,.12); }
.counter:last-child { border-right: 0; }
.counter + .counter { padding-left: 26px; }
.counter b { display: block; font-family: var(--display); font-weight: 600; font-stretch: 112%; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.03em; }
.counter b sup { color: var(--red-2); font-size: .55em; vertical-align: top; margin-right: 2px; }
.counter > span { color: rgba(255,255,255,.6); font-size: .92rem; display: block; margin-top: 12px; }

/* proceso */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step-card { padding: 28px 26px 30px; border-left: 1px solid var(--line); transition: background .3s; }
.step-card:first-child { border-left: 0; padding-left: 0; }
.step-card .n { font-family: var(--display); font-weight: 800; font-stretch: 120%; font-size: 5.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--sand-300); transition: .4s; }
.step-card:hover .n { color: var(--red); -webkit-text-stroke-color: var(--red); }
.step-card h3 { font-size: 1.35rem; margin: 18px 0 10px; }
.step-card p { color: var(--ink-2); margin: 0; font-size: .95rem; }

/* selección editorial */
.showcase { display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; align-items: stretch; }
.sc-main { position: relative; border-radius: 22px; overflow: hidden; min-height: 560px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px; isolation: isolate; }
.sc-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: opacity .4s; }
.sc-main::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,11,10,.9), rgba(10,11,10,0) 60%); }
.sc-main h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin: 10px 0 8px; }
.sc-main .price { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: 1.5rem; }
.sc-main .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-top: 14px; }
.sc-main .specs { margin-top: 18px; border-top-color: rgba(255,255,255,.2); color: rgba(255,255,255,.85); }
.sc-main .specs .icon { color: var(--red-2); }
.sc-list { display: flex; flex-direction: column; }
.sc-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; transition: .2s; }
.sc-item:first-child { border-top: 1px solid var(--line); }
.sc-item img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; filter: grayscale(1); transition: filter .3s; }
.sc-item.on img, .sc-item:hover img { filter: none; }
.sc-item b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.12rem; line-height: 1.25; }
.sc-item small { color: var(--muted); }
.sc-item .p { font-weight: 800; font-size: .92rem; white-space: nowrap; }
.sc-item.on .p { color: var(--red); }
.sc-item .icon { color: var(--red); opacity: 0; transition: .2s; }
.sc-item.on .icon { opacity: 1; }

/* emprendimiento full */
.dev-full { background: var(--black); color: #fff; padding: 110px 0; overflow: hidden; }
.dev-full .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.dev-art { position: relative; display: block; border-radius: 22px; background: var(--black-2); transform: rotate(1.5deg); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.dev-art > img { width: 100%; height: auto; border-radius: 22px; }
.dev-art .ph2 { position: absolute; width: 42%; aspect-ratio: 4/5; left: -14%; bottom: 8%; border-radius: 16px; overflow: hidden; transform: rotate(-5deg); border: 6px solid var(--black); }
.dev-art .ph2 img { width: 100%; height: 100%; object-fit: cover; }
.dev-full h2 { font-size: clamp(2.4rem, 5.6vw, 5rem); text-transform: uppercase; max-width: 12ch; margin: 18px 0; }
.dev-full .lead { color: rgba(255,255,255,.8); }
.dev-full .chip { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; }
.dev-full .chip .icon { color: var(--red-2); }
.dev-full .eyebrow { color: #fff; }
.dev-full .eyebrow::before { background: var(--red); height: 2px; }

/* testimonios */
.quote-slider { position: relative; max-width: 980px; }
.qs-item { display: none; }
.qs-item.on { display: block; animation: fade2 .6s; }
.qs-item q { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.3; quotes: "“" "”"; display: block; }
.qs-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; gap: 20px; flex-wrap: wrap; }
.qs-nav { display: flex; gap: 8px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: .3s; }
.faq details[open] summary .pm { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 62ch; }

/* cierre */
.outro { background: var(--black); color: #fff; padding: 130px 0 90px; overflow: hidden; }
.outro h2 { font-size: clamp(4rem, 15vw, 14rem); text-transform: uppercase; line-height: .85; font-weight: 800; font-stretch: 120%; letter-spacing: -.04em; }
.outro h2 .dot { color: var(--red); }
.outro-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 20px; margin-top: 60px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 34px; }
.outro-grid a, .outro-grid div { display: flex; flex-direction: column; gap: 6px; }
.outro-grid small { color: rgba(255,255,255,.5); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.outro-grid b { font-size: 1.1rem; }
.outro-grid a:hover b { color: var(--red-2); }
.bg-black { background: var(--black); color: #fff; }
.bg-black .lead { color: rgba(255,255,255,.72); }
.bg-black .eyebrow { color: #fff; opacity: .75; }
.bg-black .eyebrow::before, .eyebrow.red::before { background: var(--red); height: 2px; }

/* buscador a pantalla completa */
.so { position: fixed; inset: 0; z-index: 150; background: rgba(10,11,10,.97); color: #fff; display: none; overflow-y: auto; }
.so.open { display: block; animation: fade2 .25s; }
.so-in { padding-top: 26px; padding-bottom: 60px; }
.so-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.so-close { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.so-input { width: 100%; background: transparent; border: 0; border-bottom: 2px solid rgba(255,255,255,.2); color: #fff; font-family: var(--display); font-stretch: 110%; font-weight: 600; font-size: clamp(1.8rem, 4.6vw, 3.6rem); padding: 10px 0 18px; outline: none; letter-spacing: -.02em; }
.so-input:focus { border-bottom-color: var(--red); }
.so-input::placeholder { color: rgba(255,255,255,.28); }
.so-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin: 34px 0; }
.so-g small { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.so-g .prio button { background: transparent; border-color: rgba(255,255,255,.2); color: #fff; padding: 8px 13px; font-size: .84rem; }
.so-g .prio button:hover { border-color: #fff; }
.so-g .prio button.on { background: #fff; color: var(--black); border-color: #fff; }
.so-res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.so-r { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.05); transition: background .2s; }
.so-r:hover { background: rgba(255,255,255,.1); }
.so-r .th { width: 84px; height: 64px; border-radius: 9px; overflow: hidden; position: relative; background: var(--black-3); }
.so-r .th img { width: 100%; height: 100%; object-fit: cover; }
.so-r .th .nophoto svg { width: 26px; height: 26px; }
.so-r .th .nophoto small { display: none; }
.so-r b { display: block; font-size: .93rem; line-height: 1.3; }
.so-r small { color: rgba(255,255,255,.55); font-size: .8rem; }
.so-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.so-count { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: 1.4rem; }
.so-count b { color: var(--red-2); }

/* página oscura (inicio) */
body.dark-home { background: var(--black); }

@media (max-width: 1100px) {
  .search-btn span, .search-btn kbd { display: none; }
  .search-btn { width: 42px; padding: 0; justify-content: center; border: 0; }
  .paths { flex-direction: column; height: auto; }
  .path { min-height: 220px; flex: none !important; }
  .path .pbody { max-height: none; opacity: 1; margin-top: 12px; }
  .showcase, .matcher, .faq { grid-template-columns: 1fr; }
  .so-groups { grid-template-columns: 1fr 1fr; }
  .so-res { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .step-card:nth-child(3) { border-left: 0; padding-left: 0; }
  .outro-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hx-content { bottom: 100px; }
  .hx-bar .wrap { height: 72px; }
  .hx-scroll, .hx-cap span, .hx-live { display: none; }
  .hx-prog button { width: 28px; }
  .manifesto { padding: 96px 0 100px; }
  .counters { grid-template-columns: 1fr 1fr; }
  .counter, .counter + .counter { padding: 26px 12px 10px 0; border-right: 0; }
  .process { grid-template-columns: 1fr; }
  .step-card, .step-card:first-child { border-left: 0; padding: 22px 0; border-top: 1px solid var(--line); }
  .sc-main { min-height: 440px; padding: 24px; }
  .matcher-in, .matcher-out { padding: 26px; }
  .so-groups, .so-res { grid-template-columns: 1fr; }
  .outro-grid { grid-template-columns: 1fr; }
  .outro h2 { font-size: 14vw; font-stretch: 100%; }
  .hx h1 { font-size: 13.4vw; font-stretch: 100%; }
  .dev-full .wrap { grid-template-columns: 1fr; gap: 40px; }
  .dev-art { max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-slide.on img, .marquee-track, .hx h1 .ln > span, .hx-lead, .hx-ctas { animation: none !important; transform: none; opacity: 1; }
  .intro { display: none; }
}
.ztip { background: transparent; border: 0; box-shadow: none; color: var(--black); font-weight: 800; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; font-family: var(--sans); }
.ztip::before { display: none; }

body.dark-home .section:not(.bg-black):not(.bg-sand) { background: var(--sand-50); }

/* =====================================================================
   V3 — sin rojo, verde solo como acento de marca, tipografía única y fina
   ===================================================================== */
h1, h2, h3, h4 { font-family: var(--sans); font-stretch: normal; font-variation-settings: normal; }
h1 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.3rem); font-weight: 500; letter-spacing: -.022em; line-height: 1.15; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
h1 em, h2 em, h1 .it, h2 .it, em.it { font-family: var(--sans); font-style: normal; font-weight: 300; letter-spacing: -.02em; color: inherit; font-stretch: normal; }
.eyebrow { font-size: .7rem; font-weight: 600; letter-spacing: .24em; color: var(--muted); gap: 12px; }
.eyebrow::before, .eyebrow.red::before, .bg-black .eyebrow::before, .hx .eyebrow::before, .manifesto .eyebrow::before, .dev-full .eyebrow::before { width: 22px; height: 1px; background: var(--green-800); }
.bg-black .eyebrow, .hx .eyebrow, .manifesto .eyebrow, .dev-full .eyebrow { color: rgba(255,255,255,.62); opacity: 1; }
.bg-black .eyebrow::before, .hx .eyebrow::before, .manifesto .eyebrow::before, .dev-full .eyebrow::before { background: rgba(255,255,255,.45); }
.lead { font-size: 1.04rem; line-height: 1.7; }
.amp { color: inherit; }
.header .brand svg { color: var(--green-800); }
.header.over-hero .brand svg, .footer .brand svg { color: #fff; }
.brand-name { font-weight: 500; }
.nav a { font-weight: 500; font-size: .88rem; }
.nav a.active, .over-hero:not(.scrolled) .nav a.active { color: inherit; box-shadow: inset 0 -1px 0 currentColor; }
.link-arrow { font-weight: 600; }
.link-arrow .icon { color: inherit; }
.btn { font-weight: 600; letter-spacing: .01em; }
.btn-brass { background: var(--black); }
.btn-brass:hover { background: #262a28; }
.card-title { font-size: 1.06rem; font-weight: 600; line-height: 1.35; }
.card-meta { color: var(--muted); font-weight: 600; }
.card-price { font-weight: 600; font-size: .92rem; }
.card-fav.on, .round.on { color: var(--ink); }
.round.on { border-color: var(--ink); }
.sample-flag { color: var(--ink-2); background: var(--sand-200); }
.filters-head button { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tagcols h4 { color: var(--muted); }
.price-lg { font-weight: 600; font-size: 2rem; letter-spacing: -.02em; }
.keyspecs b { font-weight: 600; font-size: 1.25rem; }
.detail-head h1 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.results-bar h1 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.dsec h2 { font-size: 1.35rem; font-weight: 600; }
.footer h4 { color: rgba(255,255,255,.5); font-weight: 600; }
.pillar .num, .tl b { color: #fff; }
.tl::before { border-color: rgba(255,255,255,.5); }
.bg-green .eyebrow { color: rgba(255,255,255,.62); }
.person .avatar, .agent .avatar { font-family: var(--sans); font-weight: 500; }

/* intro */
.intro svg { width: 64px; height: 64px; }
.intro-word { font-weight: 400; letter-spacing: .5em; font-size: clamp(.78rem, 1.6vw, .95rem); }
.intro-sub { font-size: .62rem; }

/* hero */
.hx h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300; text-transform: none; letter-spacing: -.035em; line-height: 1.04; margin: 20px 0 22px; font-stretch: normal; }
.hx h1 em { font-weight: 600; font-size: 1em; }
.hx h1 .dot { color: inherit; }
.hx-lead { font-size: 1.02rem; max-width: 44ch; }
.hx-cap .num { font-family: var(--sans); font-stretch: normal; font-weight: 500; color: rgba(255,255,255,.55); }
.hx-cap b { font-weight: 600; }
.live-pill { font-weight: 500; }

/* marquesina */
.marquee { padding: 20px 0; }
.marquee a { font-family: var(--sans); font-stretch: normal; font-weight: 400; font-size: clamp(.82rem, 1.1vw, .95rem); letter-spacing: .26em; gap: 30px; padding-right: 30px; color: rgba(255,255,255,.7); }
.marquee a:hover { color: #fff; }
.marquee a::after { width: 4px; height: 4px; border-radius: 50%; transform: none; background: rgba(255,255,255,.35); }
.marquee-track { animation-duration: 60s; }

/* manifiesto */
.manifesto { padding: 130px 0 140px; }
.manifesto p.big { font-family: var(--sans); font-stretch: normal; font-weight: 300; font-size: clamp(1.45rem, 2.6vw, 2.25rem); line-height: 1.4; letter-spacing: -.02em; max-width: 34ch; }
.manifesto .w { opacity: .2; }
.manifesto .w.red.lit { color: #fff; font-weight: 500; }
.manifesto .sign { margin-top: 44px; font-size: .9rem; }

/* caminos */
.path h3 { font-family: var(--sans); font-stretch: normal; font-weight: 500; text-transform: none; font-size: clamp(1.35rem, 1.9vw, 1.75rem); letter-spacing: -.02em; line-height: 1.15; }
.path .pnum { font-family: var(--sans); font-stretch: normal; font-weight: 500; font-size: .78rem; letter-spacing: .12em; color: rgba(255,255,255,.7); }
.path .pnum b { color: #fff; }

/* buscador de zona */
.prio button { font-weight: 600; font-size: .84rem; }
.prio button.on .icon { color: inherit; }
.range-row label b { font-family: var(--sans); font-stretch: normal; font-weight: 600; font-size: 1.15rem; }
input[type=range] { accent-color: var(--green-800); }
.zr .pos, .zr .pct { font-family: var(--sans); font-stretch: normal; font-weight: 500; }
.zr .pct { font-size: 1.1rem; }
.zr.top { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.3); }
.zr.top .pos, .zr.top .pct { color: #fff; }
.zr.top .bar i { background: #fff; }
.zr .bar i { background: rgba(255,255,255,.3); }

/* números */
.counter b { font-family: var(--sans); font-stretch: normal; font-weight: 300; font-size: clamp(2.2rem, 3.6vw, 3.1rem); letter-spacing: -.03em; }
.counter b.small { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 400; padding-top: .45em; }
.counter b sup { color: rgba(255,255,255,.45); font-weight: 300; }

/* proceso */
.step-card .n { font-family: var(--sans); font-stretch: normal; font-weight: 300; font-size: 2.6rem; color: var(--sand-300); -webkit-text-stroke: 0; }
.step-card:hover .n { color: var(--green-800); -webkit-text-stroke: 0; }
.step-card h3 { font-size: 1.1rem; margin: 14px 0 8px; }

/* selección */
.sc-main h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; }
.sc-main .price { font-family: var(--sans); font-stretch: normal; font-size: 1.2rem; }
.sc-main .specs .icon { color: rgba(255,255,255,.7); }
.sc-item b { font-family: var(--sans); font-weight: 600; font-size: .98rem; }
.sc-item .p { font-weight: 600; }
.sc-item.on .p, .sc-item .icon { color: var(--green-800); }

/* emprendimiento / reseñas / faq / cierre */
.dev-full h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); text-transform: none; font-weight: 400; }
.dev-full .chip .icon { color: inherit; }
.qs-item q { font-family: var(--sans); font-weight: 300; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.55; letter-spacing: -.01em; }
.faq summary { font-weight: 600; font-size: 1rem; }
.faq details[open] summary .pm { background: var(--black); border-color: var(--black); }
.outro { padding: 110px 0 80px; }
.outro h2 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); text-transform: none; font-weight: 300; font-stretch: normal; letter-spacing: -.035em; line-height: 1.05; }
.outro h2 .dot { color: inherit; }
.outro-grid a:hover b { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.outro-grid b { font-weight: 500; }

/* buscador */
.so-input { font-family: var(--sans); font-stretch: normal; font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.4rem); }
.so-input:focus { border-bottom-color: #fff; }
.so-count { font-family: var(--sans); font-stretch: normal; font-weight: 400; font-size: 1.15rem; }
.so-count b { color: #fff; font-weight: 600; }
.map-pin { font-weight: 600; }

@media (max-width: 640px) {
  .hx h1 { font-size: 2.35rem; }
  .outro h2 { font-size: 2.6rem; }
  .manifesto p.big { font-size: 1.4rem; }
}

/* ---------- interacción al hacer scroll (sutil) ---------- */
.rv { transition-delay: var(--d, 0s); }
.rv-img { clip-path: inset(10% 8% 10% 8% round 22px); transition: clip-path 1.2s cubic-bezier(.2,.8,.2,1); }
.rv-img img { transform: scale(1.12); transition: transform 1.6s cubic-bezier(.2,.8,.2,1); }
.rv-img.in { clip-path: inset(0 0 0 0 round 22px); }
.rv-img.in img { transform: none; }
.dev-art.rv-img { clip-path: none; opacity: 0; transform: translateY(30px) rotate(3deg); transition: opacity 1s, transform 1.2s cubic-bezier(.2,.8,.2,1); }
.dev-art.rv-img.in { opacity: 1; transform: rotate(1.5deg); }
.dev-art.rv-img img, .dev-art.rv-img.in img { transform: none; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--green-800); z-index: 70; transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
body.dark-home .progress { background: rgba(255,255,255,.7); }
.header { transition: background .3s, box-shadow .3s, color .3s, transform .4s cubic-bezier(.2,.8,.2,1); }
.header.hide { transform: translateY(-100%); }
.hx-content .wrap, .hx-slide img { will-change: transform; }
.sell-visual img { transition: transform .1s linear; }
.cards .card.rv { transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  .rv-img, .rv-img img, .dev-art.rv-img { clip-path: none !important; transform: none !important; opacity: 1 !important; transition: none !important; }
  .progress { display: none; }
}

/* ---------- celular: orden y proporciones ---------- */
@media (max-width: 900px) {
  .path { min-height: 300px; padding: 24px; }
  .path .pnum { position: static; margin-bottom: auto; padding-bottom: 20px; }
  .path.on { flex: none; }
  .matcher-out { grid-template-rows: auto; }
  .sc-main { min-height: 420px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 26px; gap: 14px; }
  .section-head .lead { font-size: .96rem; }
  h2 { font-size: 1.6rem; }
  .hx-lead { font-size: .96rem; }
  .hx-ctas .btn { flex: 1; padding: 0 14px; }
  .marquee { padding: 16px 0; }
  .prio { gap: 6px; }
  .prio button { padding: 7px 11px; font-size: .78rem; gap: 6px; }
  .prio button .icon { width: 1em; height: 1em; }
  #map-match { display: none; }
  .zr { grid-template-columns: 26px 1fr auto; padding: 12px 14px; gap: 10px; }
  .zr b { font-size: .95rem; }
  .zr small { font-size: .74rem; }
  .step-card, .step-card:first-child { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; padding: 18px 0; }
  .step-card .n { font-size: 1.9rem; grid-row: span 2; line-height: 1.1; }
  .step-card h3 { margin: 4px 0 4px; }
  .sc-item { grid-template-columns: 72px 1fr; column-gap: 14px; row-gap: 2px; padding: 14px 0; }
  .sc-item img { width: 72px; height: 58px; grid-row: span 2; }
  .sc-item > div:last-child { grid-column: 2; }
  .sc-item b { font-size: .92rem; }
  .sc-item .icon { display: none; }
  .mini-form { grid-template-columns: 1fr 1fr; }
  .dev-full { padding: 72px 0; }
  .dev-art { transform: none; }
  .dev-art .ph2 { display: none; }
  .dev-art.rv-img.in { transform: none; }
  .qs-item q { font-size: 1.15rem; }
  .outro { padding: 80px 0 56px; }
  .outro-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; margin-top: 36px; }
  .footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: span 2; }
  .legal { flex-direction: column; gap: 12px; margin-top: 36px; }
  .counter > span { font-size: .84rem; }
}

/* =====================================================================
   V4 — Explorá, guías y detalles de interacción
   ===================================================================== */
/* Explorá */
.explore { padding-top: 90px; }
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.ex-label { font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ex-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ex-row { display: grid; grid-template-columns: 1fr auto 22px; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); position: relative; }
.ex-row::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.ex-row:hover::before { transform: scaleX(1); }
.ex-name { font-size: clamp(1.2rem, 1.9vw, 1.6rem); font-weight: 300; letter-spacing: -.02em; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.ex-row:hover .ex-name { transform: translateX(10px); }
.ex-n { font-size: .8rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; font-variant-numeric: tabular-nums; transition: .3s; }
.ex-row:hover .ex-n { background: var(--black); border-color: var(--black); color: #fff; }
.ex-row .icon { opacity: .25; transition: opacity .3s, transform .3s, color .3s; }
.ex-row:hover .icon { opacity: 1; transform: translateX(4px); color: var(--green-800); }
.ex-float { position: fixed; left: 0; top: 0; width: 280px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; pointer-events: none; z-index: 45; opacity: 0; transition: opacity .3s; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.ex-float img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ex-float.on { opacity: 1; }
.ex-float.on img { transform: none; }

/* Guías */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.guides.two { grid-template-columns: repeat(2, 1fr); }
.guide { display: flex; flex-direction: column; background: var(--white); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); transition: transform .35s, box-shadow .35s; }
.guide:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-200); }
.guide-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.guide:hover .guide-media img { transform: scale(1.05); }
.guide-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.guide-meta { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.guide h3 { font-size: 1.15rem; font-weight: 500; }
.guide p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.guide .link-arrow { margin-top: auto; padding-top: 8px; font-size: .88rem; }
.article { max-width: 780px; }
.article-img { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; margin: 34px 0 10px; }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body h2 { font-size: 1.3rem; font-weight: 600; margin: 34px 0 10px; }
.article-body p { color: var(--ink-2); margin: 0; font-size: 1.02rem; line-height: 1.75; }
.article-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding: 24px 26px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.article-cta b { display: block; }
.article-cta span { color: var(--muted); font-size: .92rem; }

/* tarjetas: segunda foto al pasar el mouse */
.card-media img.alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease, transform .8s; }
@media (hover: hover) { .card:not(.nav-used):hover .card-media img.alt { opacity: 1; } }
.card.nav-used .card-media img.alt { display: none; }

/* corazón que late al guardar */
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
.card-fav.on .icon, .round.on .icon { animation: pop .4s cubic-bezier(.2,.8,.2,1); }

/* menú con subrayado que crece */
.nav a { position: relative; }
.nav a:hover { background: none !important; }
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active, .over-hero:not(.scrolled) .nav a.active { box-shadow: none; }

/* flechas que avanzan */
.btn .icon:not(.fill) { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.btn:hover .icon:not(.fill) { transform: translateX(3px); }

/* transición suave entre páginas */
#app.enter { animation: pageIn .45s ease both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* volver arriba */
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 58; width: 44px; height: 44px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top .icon { transform: rotate(90deg); }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--ink); }

/* acordeón */
.faq details { overflow: hidden; }
.faq details.closing summary .pm { background: transparent; border-color: var(--line); color: inherit; transform: none; }

@media (max-width: 900px) {
  .guides { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .explore { padding-top: 60px; }
  .ex-grid { grid-template-columns: 1fr; gap: 34px; }
  .ex-row { padding: 16px 0; }
  .ex-name { font-size: 1.15rem; }
  .guides, .guides.two { grid-template-columns: 1fr; }
  .to-top { display: none; }
  .article-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #app.enter, .card-fav.on .icon, .round.on .icon { animation: none; }
  .ex-float { display: none; }
}

/* =====================================================================
   V5 — identidad: la casita del logo, capítulos y herramientas propias
   ===================================================================== */
.eyebrow.chap b { font-weight: 600; color: var(--green-800); letter-spacing: .08em; }
.eyebrow.chap::before { display: none; }
.bg-black .eyebrow.chap b, .dev-full .eyebrow.chap b { color: rgba(255,255,255,.9); }

/* índice lateral de capítulos */
.chapters { position: fixed; right: 26px; top: 50%; transform: translate(12px, -50%); z-index: 40; display: flex; flex-direction: column; gap: 6px; opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s; color: var(--ink); }
.chapters.show { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.chapters.dark { color: #fff; }
.chapters a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; height: 22px; }
.chapters a span { opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; white-space: nowrap; }
.chapters a i { font-style: normal; width: 26px; text-align: right; opacity: .35; transition: opacity .3s; position: relative; }
.chapters a i::before { content: ""; position: absolute; right: 32px; top: 50%; width: 0; height: 1px; background: currentColor; transition: width .35s; }
.chapters:hover a span, .chapters a.on span { opacity: 1; transform: none; }
.chapters a.on i, .chapters a:hover i { opacity: 1; }
.chapters a.on span { opacity: .9; }
.chapters:not(:hover) a:not(.on) span { opacity: 0; }
@media (max-width: 1280px) { .chapters { display: none; } }

/* escena inicial */
.stage { position: relative; height: 190vh; background: var(--sand-50); }
.stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage-img { position: absolute; inset: 0; z-index: 1; clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 100%, 0 0); will-change: clip-path; }
.stage-img img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 55%; will-change: transform; }
.stage-shade { position: absolute; inset: 0; z-index: 2; background: var(--black); opacity: 0; pointer-events: none; }
.stage-hero { position: relative; z-index: 3; height: 100%; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; padding-top: var(--header-h); will-change: transform, opacity; }
.stage-copy h1 { font-size: clamp(2.6rem, 5.2vw, 4.7rem); font-weight: 300; letter-spacing: -.04em; line-height: 1.02; margin: 20px 0 22px; }
.stage-copy h1 b { font-weight: 600; }
.stage-copy h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.stage-copy h1 .ln > span { display: inline-block; transform: translateY(105%); animation: up 1s cubic-bezier(.2,.8,.2,1) forwards; }
.stage-copy h1 .ln:nth-child(2) > span { animation-delay: .1s; } .stage-copy h1 .ln:nth-child(3) > span { animation-delay: .2s; }
.stage-copy .lead { max-width: 42ch; margin: 0 0 28px; }
.stage-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.stage-trust { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 0; border-top: 1px solid var(--line); max-width: 520px; }
.stage-trust li { flex: 1; padding: 16px 16px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.stage-trust li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.stage-trust b { display: block; font-size: 1.05rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.stage-frame { position: relative; justify-self: end; width: min(100%, 460px); aspect-ratio: 4 / 5; max-height: 72vh; }
.stage-line { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); overflow: visible; pointer-events: none; }
.stage-line path { fill: none; stroke: var(--green-800); stroke-width: 1; stroke-dasharray: 600; stroke-dashoffset: 600; animation: dash 2.2s .5s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.stage-agent { position: absolute; left: -38px; bottom: 34px; z-index: 4; display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 999px; padding: 8px 16px 8px 8px; box-shadow: var(--shadow); font-size: .82rem; opacity: 0; animation: fade2 .8s 1.3s forwards; transition: transform .3s; }
.stage-agent:hover { transform: translateY(-2px); }
.stage-agent .avatar { width: 40px; height: 40px; background: var(--black); color: #fff; font-size: .85rem; }
.stage-agent b { display: block; font-size: .88rem; }
.stage-agent small { color: var(--muted); }
.stage-agent .icon { color: #1f9d57; width: 1.3em; height: 1.3em; margin-left: 6px; }
.stage-mf { position: absolute; left: 0; right: 0; bottom: 12vh; z-index: 3; color: #fff; opacity: 0; pointer-events: none; }
.stage-mf .eyebrow { color: rgba(255,255,255,.7); }
.stage-mf .eyebrow::before { background: rgba(255,255,255,.5); }
.stage-mf p.big { font-weight: 300; font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.35; letter-spacing: -.02em; margin: 24px 0 0; max-width: 32ch; }
.stage-mf .w { opacity: .22; transition: opacity .35s; }
.stage-mf .w.lit { opacity: 1; }
.stage-mf .w.hl.lit { font-weight: 500; }
.stage-mf .sign { display: flex; gap: 14px; align-items: center; margin-top: 34px; font-size: .9rem; color: rgba(255,255,255,.75); }
.stage-mf .sign b { color: #fff; }
.stage-mf .avatar { background: #fff; color: var(--black); }
.stage-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.stage-cue i { width: 1px; height: 36px; background: var(--line); position: relative; overflow: hidden; }
.stage-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: drip 1.8s infinite; }
.stage.calm { height: auto; }
.stage.calm .stage-sticky { position: relative; height: auto; min-height: 100vh; }
.stage.calm .stage-mf { position: relative; bottom: auto; opacity: 1; background: var(--black); padding: 80px 24px; margin: 0; max-width: none; }

/* casita del logo como marco */
.house { clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%); border-radius: 0 !important; }
.sell-visual.house { box-shadow: none; }
.sell-visual.house .sell-badge { left: 20px; right: 20px; }

/* Tu casa en 60 segundos */
.concierge { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.cc-in { padding: 38px; display: flex; flex-direction: column; gap: 26px; }
.cc-q > b { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .95rem; }
.cc-q > b span { width: 24px; height: 24px; border-radius: 50%; background: var(--sand-100); border: 1px solid var(--line); display: grid; place-items: center; font-size: .72rem; }
.cc-q .range-row label { margin-bottom: 8px; }
.cc-out { background: var(--black); color: #fff; padding: 38px; display: flex; flex-direction: column; gap: 22px; }
.cc-out small { display: block; color: rgba(255,255,255,.55); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 10px; }
.cc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 14px; }
.cc-top b { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 400; letter-spacing: -.03em; }
.cc-pct { font-size: 1.8rem; font-weight: 300; }
.cc-pct i { font-style: normal; font-size: .6em; opacity: .6; }
.cc-zone p { color: rgba(255,255,255,.72); margin: 14px 0 12px; font-size: .94rem; }
.cc-alt { display: flex; gap: 8px; flex-wrap: wrap; }
.cc-alt span { font-size: .78rem; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.75); }
.cc-alt b { color: #fff; font-weight: 600; }
.cc-list { display: flex; flex-direction: column; gap: 8px; }
.cc-item { display: grid; grid-template-columns: 64px 1fr 20px; gap: 14px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(255,255,255,.05); transition: background .2s; animation: fade2 .4s; }
.cc-item:hover { background: rgba(255,255,255,.11); }
.cc-item .th { width: 64px; height: 48px; border-radius: 8px; overflow: hidden; position: relative; background: var(--black-3); }
.cc-item .th img { width: 100%; height: 100%; object-fit: cover; }
.cc-item .th .nophoto svg { width: 20px; height: 20px; }
.cc-item .th .nophoto small { display: none; }
.cc-item b { display: block; font-size: .9rem; font-weight: 500; line-height: 1.3; }
.cc-item small { margin: 2px 0 0; letter-spacing: 0; text-transform: none; font-weight: 400; font-size: .8rem; }
.cc-empty { color: rgba(255,255,255,.7); margin: 0; }
.cc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.cc-actions .btn { height: 44px; font-size: .86rem; }

/* método */
.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.method-side { position: sticky; top: calc(var(--header-h) + 50px); }
.method-side h2 { margin: 14px 0 26px; }
.method-num { display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; }
.method-num span { font-size: clamp(4rem, 8vw, 6.5rem); font-weight: 200; line-height: 1; letter-spacing: -.05em; color: var(--green-800); display: inline-block; }
.method-num span.flip { animation: flip .5s cubic-bezier(.2,.8,.2,1); }
@keyframes flip { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.method-num small { color: var(--muted); font-size: 1rem; }
.method-steps { list-style: none; margin: 0; padding: 0; }
.mstep { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 44px 0; border-bottom: 1px solid var(--line); opacity: .32; transition: opacity .5s; }
.mstep:first-child { border-top: 1px solid var(--line); }
.mstep.on { opacity: 1; }
.ms-ic { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--green-800); transition: background .4s, color .4s, border-color .4s; }
.mstep.on .ms-ic { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.ms-n { font-size: .72rem; font-weight: 600; letter-spacing: .16em; color: var(--muted); }
.mstep h3 { font-size: 1.35rem; font-weight: 500; margin: 6px 0 10px; }
.mstep p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.counters.light { margin-top: 90px; border-top-color: var(--line); }
.counters.light .counter { border-right-color: var(--line); }
.counters.light .counter b { color: var(--ink); }
.counters.light .counter b sup { color: var(--muted); }
.counters.light .counter > span { color: var(--muted); }

/* confianza: testimonios + preguntas */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); overflow: hidden; }
.faq-list details:first-of-type { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-weight: 600; font-size: .98rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: .3s; }
.faq-list details[open] summary .pm { background: var(--black); border-color: var(--black); color: #fff; transform: rotate(45deg); }
.faq-list details.closing summary .pm { background: transparent; border-color: var(--line); color: inherit; transform: none; }
.faq-list details p { margin: 0 0 20px; color: var(--ink-2); }

@media (max-width: 1100px) {
  .concierge, .method-grid, .trust-grid { grid-template-columns: 1fr; }
  .method-side { position: static; }
  .method-num { display: none; }
  .mstep { opacity: 1; padding: 28px 0; }
  .trust-grid { gap: 50px; }
}
@media (max-width: 900px) {
  .stage { height: 160vh; }
  .stage-hero { grid-template-columns: 1fr; gap: 26px; align-content: start; padding-top: calc(var(--header-h) + 26px); }
  .stage-frame { justify-self: stretch; width: 100%; max-width: 420px; aspect-ratio: auto; height: 36vh; max-height: none; margin: 0 auto; }
  .stage-agent { left: 50%; transform: translateX(-50%); bottom: 14px; white-space: nowrap; }
  .stage-agent:hover { transform: translateX(-50%); }
  .stage-trust { margin-top: 26px; }
  .stage-cue { display: none; }
  .stage-mf { bottom: 8vh; }
}
@media (max-width: 640px) {
  .stage-copy h1 { font-size: 2.35rem; margin: 14px 0 14px; }
  .stage-copy .lead { font-size: .95rem; margin-bottom: 20px; }
  .stage-ctas .btn { flex: 1; padding: 0 12px; }
  .stage-trust li { font-size: .72rem; padding-right: 10px; }
  .stage-trust li + li { padding-left: 10px; }
  .stage-trust b { font-size: .92rem; }
  .stage-frame { height: 30vh; }
  .stage-line { display: none; }
  .stage-mf p.big { font-size: 1.35rem; }
  .cc-in, .cc-out { padding: 24px; }
  .cc-top b { font-size: 1.7rem; }
  .cc-actions .btn { width: 100%; }
  .mstep { grid-template-columns: 40px 1fr; gap: 14px; }
  .ms-ic { width: 40px; height: 40px; }
  .mstep h3 { font-size: 1.15rem; }
  .counters.light { margin-top: 50px; }
}

/* =====================================================================
   V6 — entradas laterales, títulos por línea, recorrido horizontal
   ===================================================================== */
.rv { transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1.15s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.rv.rv-l { transform: translate3d(-56px, 0, 0); }
.rv.rv-r { transform: translate3d(56px, 0, 0); }
.rv.rv-l.in, .rv.rv-r.in { transform: none; }
.h-lines .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.h-lines .ln > span { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--ld, 0ms) + 120ms); }
.h-lines.in .ln > span { transform: none; }
.sell-visual.house.rv { opacity: 0; }
.sell-visual.house.rv.in { opacity: 1; }

/* recorrido horizontal de propiedades */
.hscroll { position: relative; background: var(--sand-100); }
.hs-sticky { padding: 110px 0 90px; }
.hscroll.pinned .hs-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: calc(var(--header-h) + 30px) 0 50px; display: flex; flex-direction: column; justify-content: center; gap: 44px; overflow: hidden; }
.hs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; width: 100%; }
.hs-head h2 { margin-top: 14px; }
.hs-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.hs-bar { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.hs-bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.hs-track { display: flex; gap: 28px; padding: 0 max(24px, calc((100vw - var(--max)) / 2 + 24px)); will-change: transform; }
.hscroll:not(.pinned) .hs-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 34px; padding-bottom: 6px; }
.hscroll:not(.pinned) .hs-track::-webkit-scrollbar { display: none; }
.hs-card { flex: 0 0 clamp(270px, 26vw, 380px); display: flex; flex-direction: column; gap: 16px; scroll-snap-align: start; }
.hs-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-200); clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 100%, 0 0); border-radius: 16px; transition: clip-path .8s cubic-bezier(.2,.8,.2,1), border-radius .8s; }
.hs-img > img, .hs-img > .nophoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
@media (hover: hover) { .hs-card:hover .hs-img { clip-path: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); border-radius: 0; } }
.hs-type { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hs-info h3 { font-size: 1.12rem; font-weight: 500; margin: 6px 0 8px; line-height: 1.3; }
.hs-price { font-weight: 600; }
.hs-end { flex-basis: clamp(220px, 20vw, 300px); aspect-ratio: 4 / 5; align-self: flex-start; background: var(--black); color: #fff; border-radius: 16px; padding: 30px; justify-content: space-between; }
.hs-end span { font-size: 1.6rem; font-weight: 300; letter-spacing: -.02em; line-height: 1.15; }
.hs-end .icon { width: 30px; height: 30px; transition: transform .3s; }
.hs-end:hover .icon { transform: translateX(6px); }
.explore-sec { padding-top: 40px; }
@media (max-width: 900px) {
  .hs-head { flex-direction: column; align-items: flex-start; }
  .hs-meta { align-items: flex-start; }
  .hs-sticky { padding: 72px 0 60px; }
  .hs-card { flex-basis: 74vw; }
  .hs-end { flex-basis: 60vw; }
}
@media (prefers-reduced-motion: reduce) {
  .rv.rv-l, .rv.rv-r, .h-lines .ln > span { transform: none !important; }
}
@media (max-width: 900px) {
  .hscroll:not(.pinned) .hs-track { padding-left: 24px; padding-right: 24px; scroll-padding-inline: 24px; }
}
@media (max-width: 640px) {
  .stage-trust { display: none; }
  .stage-agent { display: none; }
  .stage-hero { gap: 22px; padding-top: calc(var(--header-h) + 18px); }
  .stage-frame { height: 38vh; height: 38svh; }
  .hscroll:not(.pinned) .hs-track { padding-left: 16px; padding-right: 16px; scroll-padding-inline: 16px; gap: 16px; }
}

/* ---------- celular: lectura cómoda y pantallas angostas ---------- */
@media (max-width: 640px) {
  .eyebrow, .ex-label, .hs-type, .guide-meta, .zlabel, .tag, .card-meta { font-size: .76rem; }
  .tag { padding: 5px 9px; }
  .sample-flag { font-size: .7rem; }
  .specs { font-size: .9rem; }
}
@media (max-width: 400px) {
  .header .wrap { gap: 8px; }
  .brand { gap: 9px; }
  .brand svg { width: 28px; height: 28px; }
  .brand-name { font-size: .7rem; letter-spacing: .14em; }
  .brand-sub { font-size: .5rem; letter-spacing: .36em; }
  .header-actions { gap: 0; }
  .fav-btn, .menu-btn, .search-btn { width: 38px; height: 38px; }
  .wrap { padding-left: 14px; padding-right: 14px; }
  .stage-copy h1 { font-size: 2.1rem; }
  .stage-ctas .btn { font-size: .86rem; }
}
/* menú con "Inicio": en pantallas medianas, buscar y WhatsApp quedan como íconos */
@media (max-width: 1320px) {
  .search-btn span, .search-btn kbd { display: none; }
  .search-btn { width: 42px; padding: 0; justify-content: center; }
  .header .btn-wa span { display: none; }
  .header .btn-wa { width: 42px; padding: 0; }
  .nav a { padding: 8px 10px; }
  .nav a::after { left: 10px; right: 10px; }
}

/* ---------- portada oscura: foto desenfocada + logo en líneas finas ---------- */
.stage { background: var(--black); color: #fff; }
.stage-bg { position: absolute; inset: -60px; z-index: 0; background-size: cover; background-position: center; filter: blur(46px) saturate(.75) brightness(.55); opacity: .55; transform: scale(1.1); }
.stage-sticky::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 90% at 75% 40%, rgba(10,11,10,.25), rgba(10,11,10,.85) 70%); pointer-events: none; }
.stage-mark { position: absolute; z-index: 1; left: -6vw; bottom: -14vh; width: min(78vw, 980px); height: auto; color: rgba(255,255,255,.07); pointer-events: none; }
.stage-copy h1 { color: #fff; }
.stage-copy .eyebrow { color: rgba(255,255,255,.62); }
.stage-copy .eyebrow::before { background: rgba(255,255,255,.4); }
.stage-copy .lead { color: rgba(255,255,255,.74); }
.stage-ctas .btn-primary { background: #fff; color: var(--black); }
.stage-ctas .btn-primary:hover { background: var(--sand-100); }
.stage-ctas .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.stage-ctas .btn-ghost:hover { background: #fff; color: var(--black); border-color: #fff; }
.stage-trust { border-top-color: rgba(255,255,255,.14); }
.stage-trust li { color: rgba(255,255,255,.55); }
.stage-trust li + li { border-left-color: rgba(255,255,255,.14); }
.stage-trust b { color: #fff; }
.stage-line path { stroke: rgba(111, 170, 140, .75); }
.stage-cue { color: rgba(255,255,255,.55); }
.stage-cue i { background: rgba(255,255,255,.2); }
.stage-cue i::after { background: #fff; }
@media (max-width: 640px) {
  .stage-mark { width: 150vw; left: -30vw; bottom: -6vh; }
  .stage-bg { filter: blur(34px) saturate(.75) brightness(.55); }
}
.stage-agent { color: var(--ink); }
.stage-bg { opacity: .7; }

/* ---------- combinación negro · blanco · verde de marca ---------- */
.dev-full { background: var(--green-800); }
.dev-full .lead { color: rgba(255,255,255,.82); }
.dev-full .chip { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.dev-full .btn-white { color: var(--green-800); }
.dev-full .btn-outline-w:hover { color: var(--green-800); }
.dev-full .eyebrow.chap b { color: #fff; }
.dev-art { box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .stage-frame { height: 34vh; height: 34svh; }
}

/* ---------- video después del manifiesto ---------- */
.vid { position: relative; height: 92vh; height: 92svh; min-height: 560px; overflow: hidden; background: var(--black); color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.vid-media { position: absolute; inset: 0; z-index: -2; }
.vid-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.vid-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,11,10,.82) 0%, rgba(10,11,10,.25) 50%, rgba(10,11,10,.35) 100%); }
.vid-copy { padding-bottom: 12vh; width: 100%; }
.vid-copy .eyebrow { color: rgba(255,255,255,.7); }
.vid-copy .eyebrow::before { background: rgba(255,255,255,.5); }
.vid-copy h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; margin: 18px 0 16px; }
.vid-copy h2 em { font-weight: 600; }
.vid-copy .lead { color: rgba(255,255,255,.8); max-width: 40ch; margin: 0 0 26px; }
.vid-sound { position: absolute; right: 28px; bottom: 28px; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: .84rem; font-weight: 600; backdrop-filter: blur(8px); transition: background .2s; }
.vid-sound:hover { background: rgba(255,255,255,.22); }
.vs-ic { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.vs-ic i { width: 3px; height: 4px; background: #fff; border-radius: 2px; }
.vid-sound.on .vs-ic i { animation: eq .9s ease-in-out infinite; }
.vid-sound.on .vs-ic i:nth-child(2) { animation-delay: .15s; } .vid-sound.on .vs-ic i:nth-child(3) { animation-delay: .3s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.vid.no-video .vid-sound { display: none; }
@media (max-width: 640px) {
  .vid { height: 78vh; height: 78svh; min-height: 480px; }
  .vid-copy { padding-bottom: 96px; }
  .vid-copy h2 { font-size: 2.3rem; }
  .vid-sound { right: auto; left: 16px; bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { .vid-media video { transform: none !important; } }
@media (max-width: 640px) {
  .vid { height: 64vh; height: 64svh; min-height: 440px; }
  .vid-media video { object-position: 50% 55%; }
}

/* ---------- portada en celular: fluye, sin escena fija ---------- */
.frame-img { display: none; }
.stage.flat { height: auto; }
.stage.flat .stage-sticky { position: relative; height: auto; overflow: hidden; }
.stage.flat .stage-img, .stage.flat .stage-cue, .stage.flat .stage-shade { display: none; }
.stage.flat .stage-hero { height: auto; display: block; padding-top: calc(var(--header-h) + 34px); padding-bottom: 8px; transform: none !important; opacity: 1 !important; }
.stage.flat .stage-copy h1 { font-size: clamp(2.45rem, 11vw, 3rem); line-height: 1.08; letter-spacing: -.03em; margin: 18px 0 18px; }
.stage.flat .stage-copy .lead { font-size: 1rem; line-height: 1.6; margin-bottom: 26px; max-width: 32ch; }
.stage.flat .stage-ctas { gap: 10px; }
.stage.flat .stage-ctas .btn { flex: 1 1 0; height: 50px; padding: 0 10px; font-size: .92rem; }
.stage.flat .stage-frame { display: block; width: 100%; max-width: 460px; height: auto; aspect-ratio: 1 / 1; margin: 40px auto 0; }
.stage.flat .frame-img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; clip-path: polygon(50% 0, 100% 26%, 100% 100%, 0 100%, 0 26%); }
.stage.flat .stage-line { display: block; inset: -10px; width: calc(100% + 20px); height: calc(100% + 20px); }
.stage.flat .stage-agent { display: none; }
.stage.flat .stage-trust { display: flex; max-width: none; margin: 28px 0 0; }
.stage.flat .stage-trust li { font-size: .74rem; }
.stage.flat .stage-trust b { font-size: .95rem; }
.stage.flat .stage-mf { position: relative; bottom: auto; opacity: 1 !important; transform: none !important; pointer-events: auto; margin-top: 56px; padding: 64px 16px 72px; background: var(--black); border-top: 1px solid rgba(255,255,255,.08); }
.stage.flat .stage-mf p.big { font-size: 1.42rem; line-height: 1.45; }
.stage.flat .stage-mark { bottom: auto; top: 30%; }
@media (max-width: 640px) {
  .stage.flat .stage-copy .eyebrow { font-size: .72rem; }
}
/* celular: la casita va pegada al texto y los datos de confianza debajo */
.stage.flat .stage-hero { display: flex; flex-direction: column; }
.stage.flat .stage-copy { display: contents; }
.stage.flat .stage-frame { order: 2; margin-top: 36px; }
.stage.flat .stage-trust { order: 3; margin-top: 30px; }
.stage.flat .stage-hero { align-items: stretch; text-align: left; }
.stage.flat .stage-copy .eyebrow { align-self: flex-start; }

/* ---------- celular: portada centrada ---------- */
.stage.flat .stage-hero { align-items: center; text-align: center; padding-top: calc(var(--header-h) + 40px); }
.stage.flat .stage-copy .eyebrow { align-self: center; justify-content: center; }
.stage.flat .stage-copy .eyebrow::after { content: ""; width: 22px; height: 1px; background: rgba(255,255,255,.4); }
.stage.flat .stage-copy h1 { font-size: clamp(2.5rem, 11.5vw, 3.1rem); margin: 20px auto 18px; }
.stage.flat .stage-copy .lead { margin: 0 auto 28px; max-width: 30ch; }
.stage.flat .stage-ctas { width: 100%; max-width: 420px; justify-content: center; }
.stage.flat .stage-frame { width: 88%; max-width: 400px; margin: 44px auto 0; }
.stage.flat .stage-trust { width: 100%; max-width: 420px; justify-content: center; }
.stage.flat .stage-trust li { text-align: center; padding: 16px 8px 0; }
.stage.flat .stage-trust li + li { padding-left: 8px; }
.stage.flat .frame-img { clip-path: polygon(50% 0, 100% 24%, 100% 100%, 0 100%, 0 24%); }
.stage.flat .stage-line { inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); }
.stage.flat .stage-mf { text-align: center; }
.stage.flat .stage-mf .eyebrow { justify-content: center; }
.stage.flat .stage-mf .eyebrow::after { content: ""; width: 22px; height: 1px; background: rgba(255,255,255,.45); }
.stage.flat .stage-mf p.big { margin-left: auto; margin-right: auto; }
.stage.flat .stage-mf .sign { justify-content: center; text-align: left; }
