/* ==========================================================================
   Ventas de Terrenos — hoja de estilos (v2, diseño oscuro)
   Tipografía: Archivo (títulos condensados en mayúsculas) · Acento: oro tierra
   ========================================================================== */
:root {
  --bg: #0e100f;
  --bg-2: #141715;
  --card: #1a1e1b;
  --card-2: #212622;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #eeece6;
  --muted: #9ba49e;
  --accent: #d9a648;
  --accent-2: #f0c36d;
  --accent-ink: #1b1406;
  --wa: #25d366;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1240px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--bg); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Tipografía ---------- */
h1, h2 {
  font-family: var(--font); font-weight: 800; text-transform: uppercase;
  font-stretch: 75%; font-variation-settings: "wdth" 75;
  line-height: .92; letter-spacing: -.01em; margin: 0 0 .45em;
}
h1 { font-size: clamp(2.4rem, 11.5vw, 6.8rem); }
h2 { font-size: clamp(2.3rem, 6vw, 4.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.2; margin: 0 0 .4em; }
.accent { color: var(--accent); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }

.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.section--alt { background: var(--bg-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.section-head > div { max-width: 760px; }
.section-head .lead { margin: 0; }

/* ---------- Datos pendientes (modo borrador) ---------- */
.pending { font-style: normal; }
body.draft .pending {
  background: #fff1a8; color: #4a3b00; border-radius: 4px; padding: 0 .3em;
  -webkit-text-stroke: 0; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.draft-bar {
  position: relative; z-index: 70; background: #fff1a8; color: #4a3b00; font-size: .8rem;
  text-align: center; padding: .4rem 1rem; font-weight: 600;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 700 1rem/1 var(--font); padding: 1.05rem 1.6rem; border-radius: 999px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-2); }
.btn--wa { background: var(--wa); color: #06210f; }
.btn--wa:hover { background: #3ee07b; }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { padding: .75rem 1.1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.arrow-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--accent); color: var(--accent-ink); transition: transform .3s var(--ease);
}
.arrow-btn svg { width: 20px; height: 20px; }

/* ---------- Header (escritorio) ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .3s, border-color .3s, top .3s; border-bottom: 1px solid transparent;
}
body.draft .site-header { top: var(--draft-h, 30px); }
.site-header.scrolled { background: rgba(14,16,15,.82); backdrop-filter: blur(14px); border-color: var(--line); }
body.draft .site-header.scrolled { top: 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo strong { display: block; font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; font-variation-settings: "wdth" 85; line-height: 1; }
.logo span { display: block; font-size: .68rem; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .82; }
.nav a:not(.btn):hover { opacity: 1; color: var(--accent); }

/* ---------- Dock móvil (menú flotante inferior) ---------- */
.dock { display: none; }
.menu-sheet {
  position: fixed; inset: 0; z-index: 80; background: rgba(10,12,11,.97); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; padding: 2rem 1.6rem 7rem;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s var(--ease), visibility 0s .3s;
}
.menu-sheet.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s var(--ease); }
.menu-sheet a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 75; font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.1; padding: .3rem 0; border-bottom: 1px solid var(--line); }
.menu-sheet a:not(.btn):hover { color: var(--accent); }
.menu-sheet .btn { margin-top: 2rem; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 9rem 0 3rem; overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: #1a2019; }
.hero__media .leaflet-container { background: #1a2019; width: 100%; height: 100%; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media .leaflet-control-attribution { font-size: 9px; background: rgba(0,0,0,.45) !important; color: #bbb; }
.hero__media .leaflet-control-attribution a { color: #ddd; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14,16,15,.6) 0%, rgba(14,16,15,.4) 35%, rgba(14,16,15,.9) 75%, var(--bg) 100%),
    radial-gradient(80% 60% at 20% 80%, rgba(14,16,15,.6), transparent 70%);
}
.hero__pin {
  position: absolute; top: 34%; right: 18%; z-index: 1; display: flex; align-items: center; gap: .6rem; pointer-events: none;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
}
.hero__pin i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(217,166,72,.6); } 100% { box-shadow: 0 0 0 22px rgba(217,166,72,0); } }
.hero .container { position: relative; z-index: 2; }
.hero h1 { max-width: 15ch; }
.hero .lead { color: #c9cfca; }
.hero .btn-row { margin-top: 2rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; border-top: 1px solid var(--line-2); }
.stats > div { padding: 1.4rem 1.5rem 0 0; }
.stats b { display: block; font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; font-variation-settings: "wdth" 75; color: var(--text); }
.stats b small { font-size: .45em; color: var(--accent); margin-left: .15em; }
.stats span { font-size: .85rem; color: var(--muted); }

/* ---------- Marquesina ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 1.1rem 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee span { font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 75; font-size: clamp(1.4rem, 3vw, 2.2rem); white-space: nowrap; padding-right: 2.4rem; color: var(--muted); }
.marquee span::after { content: "✦"; color: var(--accent); margin-left: 2.4rem; font-size: .7em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Placeholders de fotos ---------- */
.ph { position: relative; overflow: hidden; background: #202620; display: grid; place-items: center; }
.ph::before {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background:
    radial-gradient(120% 80% at 70% 20%, rgba(217,166,72,.18), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400' fill='none' stroke='%23d9a648' stroke-opacity='.28' stroke-width='1'%3E%3Cpath d='M-20 300 C 80 260, 160 330, 260 290 S 380 230, 420 260'/%3E%3Cpath d='M-20 260 C 80 220, 160 290, 260 250 S 380 190, 420 220'/%3E%3Cpath d='M-20 220 C 80 180, 160 250, 260 210 S 380 150, 420 180'/%3E%3Cpath d='M-20 180 C 80 140, 160 210, 260 170 S 380 110, 420 140'/%3E%3Cpath d='M-20 140 C 80 100, 160 170, 260 130 S 380 70, 420 100'/%3E%3Cpath d='M-20 340 C 80 300, 160 370, 260 330 S 380 270, 420 300'/%3E%3C/svg%3E") center/cover;
}
.ph > span { position: relative; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line-2); padding: .45rem .8rem; border-radius: 999px; text-align: center; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Tarjetas de terrenos ---------- */
.lots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.lot {
  position: relative; min-height: 600px; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; color: var(--text);
  border: 1px solid var(--line); isolation: isolate;
}
.lot .ph { position: absolute; inset: 0; z-index: -2; transition: transform .8s var(--ease); }
.lot .ph > span { position: absolute; top: 40%; }
.lot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,11,.55) 0%, transparent 30%, transparent 40%, rgba(10,12,11,.94) 100%); }
.lot:hover .ph { transform: scale(1.04); }
.lot:hover .arrow-btn { transform: rotate(-45deg); }
.lot__top { display: flex; justify-content: space-between; align-items: flex-start; padding: 1.5rem; gap: 1rem; }
.lot__tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #dfe3df; max-width: 70%; }
.lot__num { font-weight: 800; font-size: 1rem; color: var(--accent); }
.lot__body { padding: 1.6rem; }
.lot h3 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 75; line-height: .92; margin-bottom: .7rem; }
.lot__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .92rem; color: #cdd3ce; margin-bottom: 1.2rem; }
.lot__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line-2); }
.lot__price { font-weight: 800; font-size: 1.9rem; font-variation-settings: "wdth" 80; line-height: 1; }
.lot__price small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-top: .35rem; }

/* ---------- Tablas ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 700; background: var(--card-2); }
tbody th { font-weight: 600; color: var(--muted); width: 40%; }
tr:last-child td, tr:last-child th { border-bottom: 0; }

/* ---------- Mapa ---------- */
.map-wrap { position: relative; }
.map { width: 100%; height: 540px; border-radius: var(--radius); border: 1px solid var(--line); background: #1a2019; z-index: 0; }
.map-legend {
  position: absolute; left: 1rem; top: 1rem; z-index: 500; background: rgba(14,16,15,.88); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.1rem; font-size: .82rem; display: grid; gap: .45rem; pointer-events: none;
}
.map-legend span { display: flex; align-items: center; gap: .55rem; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.map-legend i.b { background: #7fd1b9; }
.pin-label { background: var(--accent); color: var(--accent-ink); font: 800 .78rem/1 var(--font); text-transform: uppercase; letter-spacing: .06em; padding: .5rem .75rem; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.45); display: inline-block; transform: translate(-50%, -50%); }
.pin-label.b { background: #7fd1b9; }
.leaflet-div-icon { background: none !important; border: 0 !important; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--card); color: var(--text); }
.leaflet-popup-content { font-family: var(--font); margin: 14px 16px; font-size: .9rem; }
.leaflet-popup-content b { display: block; font-size: 1rem; margin-bottom: .2rem; }
.leaflet-popup-content a { color: var(--accent-2); font-weight: 700; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
.map-note { font-size: .82rem; color: var(--muted); margin-top: .8rem; }

/* ---------- Tarjetas numeradas ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; transition: border-color .3s, transform .3s var(--ease); }
.card:hover { border-color: rgba(217,166,72,.5); transform: translateY(-4px); }
.card__num { font-weight: 800; color: var(--accent); font-size: .85rem; letter-spacing: .12em; display: block; margin-bottom: 2.2rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.big-num { font-weight: 800; font-size: clamp(3rem, 6vw, 4.6rem); font-variation-settings: "wdth" 75; line-height: .9; color: var(--text); display: block; margin-bottom: .8rem; }
.big-num small { font-size: .4em; color: var(--accent); }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-2); counter-reset: paso; }
.steps li { padding: 1.8rem 1.4rem 0 0; counter-increment: paso; }
.steps li::before { content: "0" counter(paso); font-weight: 800; color: var(--accent); font-size: 2.6rem; font-variation-settings: "wdth" 75; display: block; line-height: 1; margin-bottom: 1rem; }
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Banda corredores ---------- */
.band { border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; background: var(--accent); color: var(--accent-ink); margin-top: 4rem; }
.band h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 0 0 .4rem; }
.band p { margin: 0; font-weight: 500; max-width: 52ch; }
.band .btn { background: var(--accent-ink); color: var(--accent-2); }
.band .pending { background: #fff8d6; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 1.5rem 0; font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.3rem); display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 1.4rem; color: var(--accent); transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq details p { color: var(--muted); padding: 0 3.5rem 1.6rem 0; margin: 0; max-width: 75ch; }

/* ---------- Formulario ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.lead-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1rem; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lead-form label { display: grid; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; padding: .9rem 1rem; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); width: 100%; }
.lead-form select option { background: var(--bg); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.lead-form textarea { min-height: 100px; resize: vertical; }
.lead-form .btn { width: 100%; margin-top: .3rem; }
.lead-form .note { font-size: .8rem; color: var(--muted); margin: 0; text-align: center; }
.checklist { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .8rem; align-items: center; font-weight: 500; }
.checklist li::before { content: "✓"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(217,166,72,.14); color: var(--accent); font-weight: 800; font-size: .85rem; }

/* ---------- Ficha de terreno ---------- */
.crumbs { font-size: .75rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.4rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.lot-hero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; padding: 9rem 0 3rem; isolation: isolate; overflow: hidden; }
.lot-hero > .ph { position: absolute; inset: 0; z-index: -2; }
.lot-hero > .ph > span { position: absolute; top: 20%; }
.lot-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,16,15,.6) 0%, rgba(14,16,15,.1) 35%, rgba(14,16,15,.9) 82%, var(--bg) 100%); }
.lot-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.lot-hero h1 { font-size: clamp(3rem, 14vw, 7rem); margin-bottom: .3rem; }
.lot-hero__loc { color: #cdd3ce; margin: 0; }
.lot-hero__price { text-align: right; }
.lot-hero__price b { display: block; font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); font-variation-settings: "wdth" 75; line-height: 1; }
.lot-hero__price small { color: var(--muted); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.badge { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .4rem .75rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); background: rgba(14,16,15,.45); backdrop-filter: blur(6px); }
.badge--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.keystats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.keystats > div { padding: 1.4rem 1.5rem; border-right: 1px solid var(--line); }
.keystats > div:last-child { border-right: 0; }
.keystats span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: .4rem; font-weight: 700; }
.keystats b { font-weight: 800; font-size: 1.7rem; font-variation-settings: "wdth" 80; line-height: 1.1; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: .8rem; }
.gallery .ph { border-radius: var(--radius-sm); cursor: zoom-in; border: 1px solid var(--line); }
.gallery .ph:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery .ph:nth-child(4) { grid-column: span 2; }

.two-col { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.prose > section { padding-bottom: 3.5rem; margin-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
.prose > section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.prose h2 { font-size: clamp(2rem, 4vw, 3rem); }
.prose p { color: #c9cfca; }
.disclaimer { font-size: .85rem; color: var(--muted) !important; border-left: 3px solid var(--accent); padding: .8rem 1.1rem; background: var(--card); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-top: 1rem; }
.sticky-card { position: sticky; top: 100px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.sticky-card .eyebrow { margin-bottom: .6rem; }
.sticky-card .price { display: block; font-weight: 800; font-size: 2.6rem; font-variation-settings: "wdth" 75; line-height: 1; margin-bottom: 1.3rem; }
.sticky-card ul { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .6rem; font-size: .95rem; }
.sticky-card li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.sticky-card li span { color: var(--muted); }
.sticky-card .btn { width: 100%; margin-top: .6rem; }
.sticky-card .alt { font-size: .85rem; color: var(--muted); margin: 1.2rem 0 0; }

.docs-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.docs-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); font-size: .96rem; }
.status { font-size: .66rem; font-weight: 800; padding: .3rem .7rem; border-radius: 999px; white-space: nowrap; letter-spacing: .1em; text-transform: uppercase; }
.status--ok { background: rgba(37,211,102,.15); color: #5fe39a; }
.status--wip { background: rgba(240,195,109,.14); color: var(--accent-2); }

/* ---------- Simulador ---------- */
.calc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.calc h3 { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--accent); }
.calc label { display: grid; gap: .35rem; font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }
.calc input { font: inherit; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--bg); color: var(--text); width: 100%; }
.calc input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.calc-out { display: grid; gap: .8rem; align-content: start; }
.calc-out > div { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; background: var(--bg); }
.calc-out span { display: block; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.calc-out b { font-weight: 800; font-size: 2rem; font-variation-settings: "wdth" 75; color: var(--accent-2); line-height: 1.2; }
.calc small { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 4.5rem 0 2.5rem; font-size: .92rem; color: var(--muted); overflow: hidden; }
.footer-big { font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 75; font-size: clamp(2rem, 10.5vw, 9.5rem); line-height: .85; color: var(--card-2); margin: 0 0 3rem; white-space: nowrap; }
.site-footer .grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.site-footer h4 { color: var(--text); font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 1rem; }
.site-footer a { color: var(--text); text-decoration: none; display: block; margin-bottom: .5rem; opacity: .8; }
.site-footer a:hover { opacity: 1; color: var(--accent); }
.site-footer .legal { border-top: 1px solid var(--line); padding-top: 1.6rem; font-size: .78rem; }

/* ---------- WhatsApp flotante (escritorio) ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #06210f; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.35); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(6,8,7,.95); z-index: 100; display: none; place-items: center; padding: 2rem; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 88vh; border-radius: var(--radius-sm); }
.lightbox button { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; color: var(--text); font-size: 2.6rem; cursor: pointer; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__pin i { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 1rem; }
  .two-col, .contact { grid-template-columns: minmax(0, 1fr); }
  .sticky-card { position: static; }
}
@media (max-width: 900px) {
  body { padding-bottom: 96px; }
  .site-header .nav { display: none; }
  .site-header .container { height: 66px; }
  .wa-float { display: none; }
  .dock {
    display: flex; align-items: center; gap: .6rem; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    background: rgba(26,30,27,.92); backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: 20px; padding: .5rem;
    box-shadow: 0 14px 40px rgba(0,0,0,.45);
  }
  .dock__logo { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--text); }
  .dock__logo svg { width: 28px; height: 28px; }
  .dock__label { flex: 1; min-width: 0; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dock__wa { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--wa); color: #06210f; flex: none; }
  .dock__wa svg { width: 24px; height: 24px; }
  .dock__menu { width: 46px; height: 46px; border-radius: 14px; border: 0; background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; flex: none; }
  .dock__menu svg { width: 26px; height: 26px; }
  .lots { grid-template-columns: minmax(0, 1fr); }
  .lot { min-height: 520px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div { padding-top: 1.1rem; }
  .keystats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keystats > div:nth-child(2) { border-right: 0; }
  .keystats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .keystats b { font-size: 1.3rem; overflow-wrap: anywhere; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .gallery .ph:nth-child(4) { grid-column: span 1; }
  .gallery .ph:nth-child(5) { grid-column: span 2; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .site-footer .grid { grid-template-columns: 1fr; }
  .lead-form .row { grid-template-columns: 1fr; }
  .map { height: 440px; }
  .hero__pin { display: none; }
  .lot-hero__price { text-align: left; }
  .faq details p { padding-right: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .btn-row .btn { width: 100%; }
  .stats b { font-size: 2rem; }
  .lot__price { font-size: 1.5rem; }
  .lot__body, .lot__top { padding: 1.2rem; }
}
