/* ========================================
   AVALÚA.GT — Design System
   Palette: Midnight navy + warm gold + ivory
   ======================================== */

:root {
  --ink: #0A1628;
  --ink-soft: #1A2942;
  --gold: #C9A961;
  --gold-deep: #A68842;
  --emerald: #1B4332;
  --terracotta: #B46654;
  --ivory: #FAFAF7;
  --paper: #F4F1EA;
  --line: #E8E3D8;
  --muted: #6B7280;
  --text: #1A1A1A;

  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.04), 0 2px 6px rgba(10, 22, 40, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.06), 0 12px 32px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 20px 48px rgba(10, 22, 40, 0.12);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 32px;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" on, "cv11" on, "kern" on;
  font-optical-sizing: auto;
}
.display,
.h2,
.h2 em,
.display em {
  font-optical-sizing: auto;
  font-feature-settings: "ss01" on, "dlig" on, "kern" on, "liga" on;
  text-wrap: balance;
}
code, pre,
.adoc-n, .adoc-k,
.nav-plat-k,
.fuentes-inner,
.foot-plat-inner {
  font-feature-settings: "calt" on, "ss01" on, "zero" on;
}
[class*="-val"],
[class*="stat-num"],
[class*="pu-num"],
.adoc-val,
.zr-marker,
.zf-val,
.zf-mix-val,
.cov-n {
  font-variant-numeric: tabular-nums;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ================== TYPOGRAPHY ================== */
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}
.h2.white { color: var(--ivory); }

.lede {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
  margin-top: 1.5rem;
}
.lede strong { color: var(--ink); font-weight: 600; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 2rem;
}
.kicker .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(27, 67, 50, 0.15);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-bottom: 14px;
}
.section-sub {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ================== BUTTONS ================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: transform 200ms, background 200ms, color 200ms, box-shadow 200ms;
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn-lg { padding: 18px 30px; font-size: 1.02rem; }

.btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn-primary:hover { background: var(--ink-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--ivory); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--paper); border-color: var(--ink); }

.btn-dark {
  background: var(--ink);
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-dark:hover { background: var(--gold); color: var(--ink); }

.btn-light {
  background: var(--ivory);
  color: var(--ink);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ================== NAV · LETTERHEAD ================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 28px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-emissor {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}
.nav-plat-k {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  font-weight: 600;
  text-transform: uppercase;
}
.nav-emissor-sub {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.nav-emissor-sub em {
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 180ms;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.nav-links a i {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  font-weight: 600;
  opacity: 0.75;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover i { opacity: 1; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a::after { right: 0; }

.nav-cta {
  color: var(--ink) !important;
  font-weight: 600 !important;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.nav-cta::after {
  background: var(--emerald) !important;
  transform: scaleX(1) !important;
  left: 16px !important;
  height: 1.5px !important;
}
.nav-cta:hover { color: var(--emerald) !important; }

/* ================== HERO ================== */
.hero {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
  background: var(--ivory);
}
/* Cadastral grid — survey document aesthetic */
.hero-grid {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(10, 22, 40, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 22, 40, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black 40%, transparent 100%);
}
.hero-corner {
  position: absolute;
  color: var(--gold-deep);
  opacity: 0.5;
  pointer-events: none;
}
.hero-corner-tl { top: 24px; left: 24px; }
.hero-corner-tr { top: 24px; right: 24px; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-cta { display: flex; gap: 14px; margin-top: 2.4rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  gap: 0;
}
.hero-stats .stat-item {
  flex: 1;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-stats .stat-item:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.stat-item .stat-k {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.stat-item .stat-num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1;
  font-variant-numeric: tabular-nums oldstyle-nums;
}

/* ================== ZONA FINGERPRINT — signature ================== */
.zona-fingerprint {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px 26px 20px;
  box-shadow:
    0 1px 0 var(--line),
    0 24px 48px -24px rgba(10, 22, 40, 0.18);
  font-family: var(--sans);
}
.zona-fingerprint::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(10, 22, 40, 0.08);
  border-radius: 2px;
  pointer-events: none;
}

.zf-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.zf-plat { display: flex; align-items: baseline; gap: 10px; }
.zf-plat-k {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.zf-plat-n {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.zf-stamp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
  padding: 5px 9px 4px;
  border: 1px solid rgba(27, 67, 50, 0.3);
  border-radius: 2px;
  background: rgba(27, 67, 50, 0.04);
}
.zf-stamp svg { stroke: currentColor; }

.zf-body { display: flex; flex-direction: column; gap: 22px; }

.zf-zone {
  display: flex;
  align-items: center;
  gap: 16px;
}
.zf-zone-n {
  font-family: var(--serif);
  font-size: 4.2rem;
  font-weight: 500;
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: -0.03em;
  font-variant-numeric: oldstyle-nums;
}
.zf-zone-meta { display: flex; flex-direction: column; gap: 4px; }
.zf-k {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.zf-zone-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-soft);
}

.zf-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.zf-val {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* ==== ZONA RIBBON — signature component ==== */
.zona-ribbon { display: flex; flex-direction: column; gap: 8px; }
.zr-scale,
.zr-values {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.zr-scale > span:nth-child(2) { text-align: center; color: var(--gold-deep); }
.zr-scale > span:last-child { text-align: right; }
.zr-values {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.zr-values > span:last-child { text-align: right; }
.zr-track {
  position: relative;
  height: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.zr-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(27, 67, 50, 0.25) 0%,
    rgba(201, 169, 97, 0.35) 50%,
    rgba(180, 102, 84, 0.25) 100%);
}
.zr-tick-med {
  position: absolute;
  top: -4px; bottom: -4px;
  left: 50%;
  width: 1.5px;
  background: var(--gold-deep);
  transform: translateX(-50%);
}
.zr-marker {
  position: absolute;
  top: -6px; bottom: -6px;
  left: 50%;
  width: 3px;
  background: var(--ink);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--ink);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: left 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Type mix segmented bar */
.zf-mix { display: flex; flex-direction: column; gap: 10px; }
.zf-mix-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.zf-mix-count {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.tm-bar {
  display: flex;
  height: 6px;
  border-radius: 1px;
  overflow: hidden;
  background: var(--paper);
}
.tm-seg {
  display: block;
  height: 100%;
  transition: width 600ms ease-out;
}
.tm-apto { background: var(--ink); }
.tm-casa { background: var(--gold-deep); }
.tm-ter  { background: var(--emerald); }
.tm-ofi  { background: var(--terracotta); }

.tm-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.74rem;
  color: var(--ink-soft);
}
.tm-legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tm-legend i {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 1px;
}
.tm-legend b {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.zf-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px dashed var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}
.zf-coord {
  font-family: var(--mono);
  letter-spacing: 0;
  text-transform: none;
}
.zf-sig { color: var(--gold-deep); font-weight: 600; }

/* ================== FUENTES · PLAT LINE ================== */
.fuentes {
  border-block: 1px solid var(--line);
  background: var(--paper);
  padding: 14px 0;
}
.fuentes-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
}
.fuentes-k {
  color: var(--gold-deep);
  font-weight: 600;
  flex-shrink: 0;
}
.fuentes-dots {
  color: var(--line);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.fuentes-list {
  display: flex;
  gap: 14px;
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.fuentes-list span {
  position: relative;
  color: var(--ink);
  font-weight: 500;
}
.fuentes-list span:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -10px;
  top: 0;
  color: var(--line);
}
.fuentes-n {
  color: var(--ink-soft);
  flex-shrink: 0;
  font-weight: 500;
}
.fuentes-n b {
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ================== COBERTURA — ZONES MAP ================== */
.cobertura {
  padding: 120px 0;
  background: var(--ivory);
  border-top: 1px solid var(--line);
}
.cov-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  max-width: 1180px;
  margin: 56px auto 0;
  align-items: start;
}
.cov-map-wrap { padding: 18px 18px 14px; }
.cov-map-wrap .adoc-head { padding-left: 8px; padding-right: 8px; }
.cov-map {
  height: 520px;
  width: 100%;
  border-radius: 2px;
  margin-top: 14px;
  background: #f2efe8;
  overflow: hidden;
  position: relative;
}
.cov-map::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px dashed rgba(10, 22, 40, 0.08);
  margin: 6px;
  border-radius: 2px;
  z-index: 500;
}
.cov-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 16px 8px 4px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.cov-leg-item { display: inline-flex; align-items: center; gap: 8px; }
.cov-leg-item i {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block;
  opacity: 0.75;
}

.cov-ledger {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px 24px 20px;
  box-shadow: 0 1px 0 rgba(10,22,40,0.02), 0 6px 24px -14px rgba(10,22,40,0.08);
  position: relative;
}
.cov-ledger::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed var(--line);
  border-radius: 2px;
  pointer-events: none;
}
.cov-ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 4px 14px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 8px;
  position: relative;
}
.cov-lh-k {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gold-deep);
}
.cov-lh-n {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.cov-list {
  list-style: none;
  padding: 0 4px;
  margin: 0;
  position: relative;
}
.cov-row {
  display: grid;
  grid-template-columns: 24px 1fr 54px 48px 46px;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dotted var(--line);
  font-size: 0.84rem;
}
.cov-row:last-child { border-bottom: none; }
.cov-rank {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.cov-zname {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}
.cov-bar {
  display: block;
  height: 4px;
  background: rgba(10, 22, 40, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.cov-bar i {
  display: block;
  height: 100%;
  opacity: 0.7;
  border-radius: 2px;
}
.cov-nlist {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.cov-pm2 {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gold-deep);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.cov-ledger-foot {
  display: flex;
  justify-content: space-between;
  padding: 14px 4px 0;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Leaflet tooltip override */
.cov-tooltip {
  background: var(--ink) !important;
  border: 1px solid var(--gold-deep) !important;
  border-radius: 2px !important;
  padding: 8px 10px !important;
  box-shadow: 0 6px 20px -8px rgba(10,22,40,0.3) !important;
  color: var(--ivory) !important;
  font-family: var(--sans) !important;
  font-size: 0.8rem !important;
}
.cov-tooltip::before { display: none !important; }
.cov-tip { display: flex; flex-direction: column; gap: 3px; line-height: 1.35; }
.cov-tip-z { font-family: var(--serif); font-weight: 600; font-size: 0.95rem; color: var(--gold); }
.cov-tip-n { font-family: var(--mono); font-size: 0.7rem; color: rgba(250,250,247,0.75); letter-spacing: 0.04em; }
.cov-tip-p { font-family: var(--mono); font-size: 0.78rem; color: var(--ivory); font-weight: 600; }

/* ================== ANATOMY OF AN AVALÚO ================== */
.how { padding: 120px 0; background: var(--paper); }

.anatomy {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* The mini avalúo document */
.adoc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px 24px;
  box-shadow:
    0 1px 0 var(--line),
    0 30px 60px -30px rgba(10, 22, 40, 0.2);
  position: relative;
}
.adoc::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(10, 22, 40, 0.08);
  border-radius: 2px;
  pointer-events: none;
}

.adoc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.adoc-plat { display: flex; align-items: baseline; gap: 10px; }
.adoc-k {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 500;
}
.adoc-n {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.adoc-stamp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--emerald);
  letter-spacing: 0.04em;
}

/* Each region in the mini document */
.adoc-region {
  padding: 14px 10px;
  margin: 0 -10px;
  border-radius: 3px;
  position: relative;
  transition: background 240ms;
}
.adoc-region + .adoc-region {
  margin-top: 6px;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}
.adoc-region::before {
  content: attr(data-region);
  position: absolute;
  top: 14px;
  left: -26px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold-deep);
  border: 1px solid var(--gold-deep);
  border-radius: 50%;
  background: var(--paper);
  opacity: 0.5;
  transition: opacity 240ms, transform 240ms;
}
.adoc-region:hover,
.adoc-region.is-active {
  background: rgba(201, 169, 97, 0.06);
}
.adoc-region:hover::before,
.adoc-region.is-active::before {
  opacity: 1;
  transform: scale(1.1);
}
.adoc-rk {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.adoc-rk em {
  font-style: normal;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
}

/* Region 1 — inputs grid */
.adoc-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 20px;
}
.adoc-inputs > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.78rem;
}
.adoc-inputs span {
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.adoc-inputs b {
  font-family: var(--sans);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.88rem;
}

/* Region 2 — comparables list */
.adoc-comps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.adoc-comp {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 8px 10px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: var(--paper);
  border-radius: 2px;
  overflow: hidden;
}
.adoc-comp i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: rgba(201, 169, 97, 0.18);
  border-right: 1px solid rgba(201, 169, 97, 0.5);
}
.adoc-comp span { position: relative; }
.adoc-comp b {
  position: relative;
  font-family: var(--mono);
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
}

/* Region 3 — verdict */
.adoc-verdict { display: flex; flex-direction: column; gap: 10px; }
.adoc-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.adoc-vk {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.adoc-val {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.adoc-range {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.adoc-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--emerald);
}

/* Zona ribbon — small variant */
.zona-ribbon-sm .zr-track { height: 8px; }
.zona-ribbon-sm .zr-marker { top: -4px; bottom: -4px; }

/* Callouts column */
.anatomy-callouts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  counter-reset: ca;
}
.anatomy-callouts li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 20px;
  align-items: start;
  padding: 20px 4px 20px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.anatomy-callouts li:first-child { border-top: none; padding-top: 0; }
.cb-num {
  grid-row: span 2;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold-deep);
  background: #fff;
  border: 1px solid var(--gold-deep);
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-top: 2px;
}
.anatomy-callouts h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.anatomy-callouts p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  grid-column: 2;
}

/* ================== COMPARE — DUAL RECEIPT ================== */
.compare { padding: 130px 0; background: var(--ivory); }
.receipts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.receipt {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 26px 18px;
  position: relative;
  box-shadow:
    0 1px 0 var(--line),
    0 18px 48px -28px rgba(10, 22, 40, 0.16);
  font-family: var(--sans);
  display: flex;
  flex-direction: column;
}
/* subtle perforated top edge — receipt feel */
.receipt::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background-image:
    radial-gradient(circle at 4px 0px, transparent 2.5px, var(--line) 2.5px, var(--line) 3px, transparent 3px);
  background-size: 8px 4px;
  background-position: 0 -2px;
  opacity: 0.6;
}

.rc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 14px;
}
.rc-from { display: flex; flex-direction: column; gap: 2px; }
.rc-k {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.rc-v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}
.rc-ref {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.rc-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.rc-lines {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.rc-lines td {
  padding: 10px 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
  vertical-align: top;
}
.rc-lines td:first-child {
  color: var(--muted);
  font-weight: 400;
}
.rc-val {
  text-align: right;
  font-family: var(--mono);
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.rc-val em {
  font-family: var(--sans);
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
}
.rc-total-row td {
  padding-top: 14px;
  border-bottom: none;
  border-top: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.92rem;
}
.rc-total-val {
  font-family: var(--mono);
  font-size: 1.1rem;
}

.rc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px dashed var(--line);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.rc-wm { font-style: italic; color: var(--muted); letter-spacing: 0.04em; text-transform: none; font-family: var(--serif); }
.rc-stamp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--emerald);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: none;
}
.rc-sig { color: var(--gold-deep); font-weight: 600; }

/* Traditional — stamped "slow" look */
.receipt-old {
  opacity: 0.92;
}
.receipt-old::after {
  content: 'LENTO';
  position: absolute;
  top: 32px; right: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.2rem;
  font-weight: 400;
  color: rgba(180, 102, 84, 0.14);
  letter-spacing: 0.08em;
  transform: rotate(-8deg);
  pointer-events: none;
  border: 2px solid rgba(180, 102, 84, 0.18);
  padding: 4px 12px;
  border-radius: 4px;
}
.receipt-old .rc-total-val { color: var(--terracotta); }

/* AvaluoGT — slight elevation, fresh stamp */
.receipt-new {
  border-color: rgba(27, 67, 50, 0.25);
  transform: translateY(-6px);
}
.receipt-new .rc-title { color: var(--ink); }
.receipt-new .rc-total-val { color: var(--emerald); }

.compare-foot {
  text-align: center;
  max-width: 680px;
  margin: 56px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.compare-foot em {
  color: var(--ink);
  font-weight: 500;
  font-style: normal;
}

/* ================== AVALUO — MERGED ADOC ================== */
.avaluo { padding: 130px 0; }

/* Merged adoc: form (region 1) + output (regions 2+3) in one document */
.adoc-merged {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0;
}
.adoc-merged .adoc-head {
  margin: 0;
  padding: 22px 32px 14px;
}
.adoc-merged .adoc-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
}
.adoc-merged .adoc-region {
  padding: 28px 32px 28px 56px;
  margin: 0;
}
.adoc-merged .adoc-region::before {
  left: 20px;
  top: 30px;
}

/* Region 1 — form */
.adoc-region-form {
  border-right: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  padding-bottom: 28px;
}
.adoc-region-form .adoc-rk em {
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82em;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  margin-left: 4px;
}

.adoc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin-top: 18px;
  margin-bottom: 22px;
}
.adoc-fld {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.adoc-fld-full { grid-column: 1 / -1; }
.adoc-fld > span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.adoc-fld input,
.adoc-fld select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.96rem;
  padding: 6px 0 8px;
  transition: border-bottom-color 180ms;
  appearance: none;
  -webkit-appearance: none;
}
.adoc-fld select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
                    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 10px) 16px, calc(100% - 6px) 16px;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
  padding-right: 20px;
}
.adoc-fld input:focus,
.adoc-fld select:focus {
  outline: none;
  border-bottom-color: var(--emerald);
}
.adoc-fld input:hover,
.adoc-fld select:hover { border-bottom-color: var(--ink-soft); }

/* Radio chips on paper */
.adoc-region-form .radio-row {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}
.adoc-region-form .radio-chip {
  flex: 1;
  position: relative;
  cursor: pointer;
  margin: 0;
}
.adoc-region-form .radio-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.adoc-region-form .radio-chip span {
  display: block;
  padding: 10px 8px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  transition: all 160ms;
}
.adoc-region-form .radio-chip:hover span { border-color: var(--ink-soft); }
.adoc-region-form .radio-chip input:checked + span {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--ivory);
  font-weight: 500;
}

/* Emit button — signs the document */
.adoc-btn {
  margin-top: auto;
  width: 100%;
  padding: 14px 16px;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 180ms, border-color 180ms, transform 120ms;
}
.adoc-btn:hover {
  background: var(--emerald);
  border-color: var(--emerald);
}
.adoc-btn:active { transform: translateY(1px); }
.adoc-btn:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

/* Right column — regions 2 & 3 stacked */
.adoc-output {
  display: flex;
  flex-direction: column;
}
.adoc-output .adoc-region + .adoc-region {
  border-top: 1px dashed var(--line);
}

/* Pending modifier — applied to .adoc until calc runs */
.adoc.is-pending .adoc-stamp { color: var(--muted); opacity: 0.75; }
.adoc.is-pending .adoc-val {
  color: var(--muted);
  opacity: 0.55;
}
.adoc.is-pending .adoc-val { font-variant-numeric: tabular-nums; }
.adoc.is-pending .adoc-range { color: var(--muted); opacity: 0.7; }
.adoc.is-pending .adoc-note {
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
}
.adoc.is-pending .adoc-note strong {
  color: var(--ink-soft);
  font-weight: 500;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.82em;
  background: var(--paper);
  padding: 1px 8px;
  border-radius: 3px;
  border: 1px solid var(--line);
}
.adoc.is-pending .adoc-region::before { opacity: 0.3; }
.adoc.is-pending .zr-marker {
  background: var(--muted);
  opacity: 0.4;
}

/* Placeholder comp rows — dotted waiting lines */
.adoc-comp.placeholder {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--muted);
}
.adoc-comp.placeholder span {
  font-family: var(--mono);
  letter-spacing: 0.1em;
  color: var(--line);
  font-size: 0.78rem;
}
.adoc-comp.placeholder b {
  color: var(--muted);
  opacity: 0.6;
}

/* Result populated */

/* ================== ZONES ================== */
.zonas { padding: 130px 0; background: var(--paper); }
.zone-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.zone-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ivory);
  font-size: 0.85rem;
  color: var(--ink-soft);
  transition: all 180ms;
}
.chip:hover { border-color: var(--ink); }
.chip-active {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.zone-search {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ivory);
  font-size: 0.9rem;
  min-width: 240px;
  font-family: var(--sans);
}
.zone-search:focus { outline: none; border-color: var(--ink); }

.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.zone-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  cursor: pointer;
  transition: all 280ms;
  position: relative;
  overflow: hidden;
}
.zone-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--seg-color, var(--gold));
  transition: width 280ms;
}
.zone-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.zone-card:hover::before { width: 8px; }
.zc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.zc-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.zc-seg {
  font-size: 0.7rem;
  padding: 4px 8px;
  background: var(--seg-bg, var(--paper));
  color: var(--seg-color, var(--gold-deep));
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.zc-price {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 6px;
}
.zc-price small {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
}
.zc-meta {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}
.zc-meta span { color: var(--muted); }
.zc-meta b { color: var(--ink); font-weight: 600; font-family: var(--mono); }

/* ================== INSIGHTS ================== */
.insights { padding: 130px 0; }
.insight-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  margin-bottom: 40px;
}
.insight-grid-2 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
}
.insight-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.insight-card.big { grid-row: span 2; }
.insight-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.insight-sub {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.chart-wrap { position: relative; height: 280px; }
.insight-card.big .chart-wrap { height: 460px; }

.suspect-card {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--ivory);
  padding: 36px 40px;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.suspect-card::before {
  content: '◆';
  position: absolute;
  top: -40px; right: -40px;
  font-size: 260px;
  color: rgba(201, 169, 97, 0.05);
  transform: rotate(15deg);
}
.suspect-head { display: flex; align-items: center; gap: 14px; }
.suspect-head h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pulse {
  width: 10px; height: 10px;
  background: var(--terracotta);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(180, 102, 84, 0.3);
  animation: pulse 1.8s infinite;
}
.suspect-card p {
  color: rgba(250, 250, 247, 0.8);
  max-width: 640px;
  font-size: 0.98rem;
  line-height: 1.6;
}
.suspect-card .btn-ghost {
  align-self: flex-start;
  color: var(--gold);
  border-color: rgba(201, 169, 97, 0.4);
}
.suspect-card .btn-ghost:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ================== LISTINGS ================== */
.listados { padding: 130px 0; background: var(--paper); }
.list-controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 32px;
  background: var(--ivory);
  padding: 18px 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.select {
  padding: 10px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.9rem;
  font-family: var(--sans);
  color: var(--ink);
  min-width: 160px;
}
.select:focus { outline: none; border-color: var(--ink); }

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
  padding: 8px 14px;
  background: #fff;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}
.toggle input { accent-color: var(--ink); }

.count {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--mono);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.listing-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform 280ms, box-shadow 280ms;
  cursor: pointer;
  position: relative;
}
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.listing-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--ink), var(--ink-soft));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.listing-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.28), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(180, 102, 84, 0.22), transparent 45%);
}
.listing-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg, transparent 0, transparent 14px,
    rgba(250, 250, 247, 0.03) 14px, rgba(250, 250, 247, 0.03) 15px
  );
}
.listing-thumb .tipo-badge {
  position: relative;
  z-index: 2;
  font-size: 0.72rem;
  padding: 5px 10px;
  background: rgba(250, 250, 247, 0.94);
  color: var(--ink);
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.listing-thumb .suspect-badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  font-size: 0.68rem;
  padding: 4px 9px;
  background: var(--terracotta);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.listing-body { padding: 20px; }
.listing-zona {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.listing-price {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.listing-pm2 {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--gold-deep);
  margin-top: 4px;
}
.listing-specs {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.listing-specs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.listing-specs b { color: var(--ink); font-weight: 600; }

.list-more { text-align: center; margin-top: 32px; }

/* ================== MAP ================== */
.mapa { padding: 130px 0; }
.leaflet-shell {
  height: 560px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  z-index: 1;
}
.map-legend {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.map-legend i {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
}

/* ================== PRICING ================== */
.pricing { padding: 130px 0; background: var(--paper); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.plans-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1320px;
  gap: 20px;
}
.plan {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 280ms, box-shadow 280ms;
  position: relative;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan-featured {
  background: var(--ink);
  color: var(--ivory);
  transform: scale(1.04);
  border-color: var(--ink);
  box-shadow: 0 30px 60px rgba(10, 22, 40, 0.2);
}
.plan-featured:hover { transform: scale(1.04) translateY(-6px); }
.plan-featured .plan-head h3 { color: var(--ivory); }
.plan-featured .plan-desc { color: rgba(250, 250, 247, 0.6); }
.plan-featured .plan-features li { color: rgba(250, 250, 247, 0.88); border-color: rgba(250, 250, 247, 0.08); }
.plan-featured .plan-features li.muted { color: rgba(250, 250, 247, 0.35); }
.plan-featured .plan-features li i { color: var(--gold); background: rgba(201, 169, 97, 0.12); }
.plan-featured .plan-features li.muted i { color: rgba(250, 250, 247, 0.3); background: rgba(250, 250, 247, 0.05); }

.plan-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.plan-featured .plan-head { border-color: rgba(250, 250, 247, 0.1); }
.tier-label {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.plan-featured .tier-label { color: var(--gold); background: none; border: none; padding: 0; }
.plan-head h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.plan-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.4; }

/* Unit-economics hero — Q/avalúo leads */
.plan-unit-hero {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0 10px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.plan-featured .plan-unit-hero { border-color: rgba(250, 250, 247, 0.12); }
.pu-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.plan-featured .pu-num { color: var(--ivory); }
.pu-dec {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
}
.plan-featured .pu-dec { color: rgba(250, 250, 247, 0.7); }
.pu-custom {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-style: italic;
  letter-spacing: -0.015em;
}
.pu-lbl {
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.plan-featured .pu-lbl { color: rgba(250, 250, 247, 0.55); }

.plan-meta {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.plan-meta b { color: var(--ink); font-weight: 600; }
.plan-featured .plan-meta { color: rgba(250, 250, 247, 0.55); }
.plan-featured .plan-meta b { color: var(--gold); }

/* ---- Plan mockups — progressive visual density per tier ---- */
.plan-mockup {
  margin: 0 0 22px;
  padding: 16px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  font-family: var(--sans);
}
.plan-featured .plan-mockup {
  background: rgba(250, 250, 247, 0.04);
  border-color: rgba(250, 250, 247, 0.1);
}
.plan-mockup::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.mk-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
}
.mk-zona {
  font-size: 0.68rem;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0;
  text-transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.plan-featured .mk-zona { color: rgba(250, 250, 247, 0.5); }
.mk-tag {
  font-size: 0.58rem;
  padding: 3px 7px;
  background: var(--paper);
  color: var(--muted);
  border-radius: 3px;
  letter-spacing: 0.1em;
  font-weight: 700;
  flex-shrink: 0;
}
.mk-tag.gold { background: rgba(201, 169, 97, 0.18); color: var(--gold-deep); }
.mk-tag.dark { background: var(--ink); color: var(--gold); }
.plan-featured .mk-tag { background: var(--gold); color: var(--ink); }
.plan-featured .mk-tag.dark { background: rgba(201, 169, 97, 0.15); color: var(--gold); }

.mk-hero {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1;
}
.plan-featured .mk-hero { color: var(--ivory); }

.mk-bar {
  height: 5px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}
.plan-featured .mk-bar { background: rgba(250, 250, 247, 0.1); }
.mk-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  border-radius: 999px;
}

.mk-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 0.72rem;
}
.mk-stats > div { display: flex; flex-direction: column; gap: 2px; }
.mk-stats span {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mk-stats b {
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.82rem;
}
.plan-featured .mk-stats b { color: var(--ivory); }

.mk-comps {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan-featured .mk-comps { border-color: rgba(250, 250, 247, 0.1); }
.mk-comp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
}
.mk-comp i {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  border-radius: 999px;
  flex-shrink: 0;
}
.mk-comp b {
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 600;
  margin-left: auto;
  font-size: 0.7rem;
}
.plan-featured .mk-comp b { color: var(--ivory); }

.mk-sparkline {
  margin: 8px 0 10px;
  position: relative;
}
.mk-sparkline svg { display: block; }
.spark-label {
  position: absolute;
  top: 2px;
  right: 4px;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--gold-deep);
  font-weight: 600;
}

.mk-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 10px;
  font-size: 0.7rem;
  padding: 10px;
  background: var(--paper);
  border-radius: var(--r-sm);
  margin-bottom: 10px;
}
.plan-featured .mk-stats-grid { background: rgba(201, 169, 97, 0.08); }
.mk-stats-grid > div { display: flex; flex-direction: column; gap: 2px; }
.mk-stats-grid span {
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mk-stats-grid b {
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.76rem;
}
.plan-featured .mk-stats-grid b { color: var(--ivory); }
.plan-featured .mk-stats-grid span { color: rgba(250, 250, 247, 0.5); }

.mk-simulator {
  padding: 8px 10px;
  background: rgba(201, 169, 97, 0.1);
  border-radius: var(--r-sm);
  margin-top: 6px;
}
.plan-featured .mk-simulator { background: rgba(201, 169, 97, 0.12); }
.sim-label {
  display: block;
  font-size: 0.68rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.sim-label b { font-weight: 600; color: var(--gold-deep); }
.plan-featured .sim-label { color: rgba(250, 250, 247, 0.8); }
.plan-featured .sim-label b { color: var(--gold); }
.sim-plus {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--emerald);
  margin-left: 4px;
}
.sim-track {
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold), var(--emerald));
  border-radius: 999px;
  position: relative;
}
.sim-dot {
  position: absolute;
  top: -3px;
  width: 10px;
  height: 10px;
  background: var(--ivory);
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: translateX(-50%);
}
.plan-featured .sim-dot { background: var(--ink); border-color: var(--gold); }

.mk-api {
  background: #0A1628;
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  margin-bottom: 10px;
  border: 1px solid rgba(201, 169, 97, 0.2);
}
.mk-api-line {
  color: rgba(250, 250, 247, 0.75);
  padding: 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tok-kw { color: var(--gold); font-weight: 600; }
.tok-path { color: var(--ivory); }
.tok-str { color: var(--terracotta); }
.tok-ok { color: #5EBE8A; font-weight: 600; }

.mk-collab {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.plan-featured .mk-collab { border-color: rgba(250, 250, 247, 0.1); }
.dot-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  font-family: var(--sans);
  letter-spacing: 0;
  border: 2px solid var(--ivory);
  margin-left: -6px;
}
.dot-avatar:first-child { margin-left: 0; }
.plan-featured .dot-avatar { border-color: var(--ink); }
.dot-avatar.more {
  background: var(--paper);
  color: var(--muted);
}
.plan-featured .dot-avatar.more { background: rgba(250, 250, 247, 0.1); color: rgba(250, 250, 247, 0.7); }
.collab-label {
  font-size: 0.66rem;
  color: var(--muted);
  margin-left: 6px;
}
.plan-featured .collab-label { color: rgba(250, 250, 247, 0.5); }

/* Tier-specific accents ------------------------------------------------ */
.plan-tier-1::before,
.plan-tier-2::before,
.plan-tier-3::before,
.plan-tier-4::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  opacity: 0.8;
}
.plan-tier-1::before { background: var(--muted); }
.plan-tier-2::before { background: linear-gradient(90deg, var(--emerald), var(--gold)); }
.plan-tier-3::before { background: linear-gradient(90deg, var(--gold), var(--terracotta), var(--gold-deep)); }
.plan-tier-4::before { background: linear-gradient(90deg, var(--ink), var(--gold), var(--ink)); }

/* ---- Plan features / cta ---- */
.plan-features {
  list-style: none;
  margin-bottom: 22px;
  flex: 1;
}
.plan-features li {
  padding: 9px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
  line-height: 1.35;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li i {
  font-style: normal;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(27, 67, 50, 0.1);
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.64rem;
  flex-shrink: 0;
  font-weight: 700;
}
.plan-features li.muted {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--line);
}
.plan-features li.muted i { background: rgba(107, 114, 128, 0.1); color: var(--muted); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
}
.btn-gold:hover { background: #d9b874; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.plan .btn { width: 100%; justify-content: center; padding: 12px 20px; font-size: 0.9rem; }
.plans-foot {
  text-align: center;
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.plans-foot a { color: var(--gold-deep); border-bottom: 1px solid var(--line); }

/* ================== FAQ · §08 ================== */
.faq {
  background: var(--ivory);
  padding: 120px 0 110px;
}
.faq-doc {
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
}
.faq-doc .adoc-head {
  margin: 0;
  padding: 22px 32px 14px;
}
.faq-item {
  border-top: 1px dashed var(--line);
  padding: 22px 32px 22px 58px;
  position: relative;
  transition: background 180ms;
}
.faq-item:hover { background: rgba(201, 169, 97, 0.03); }
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 20px;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 6px;
  border-radius: 2px;
}
.faq-n {
  position: absolute;
  left: 20px;
  top: 24px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-deep);
  font-weight: 600;
  background: #fff;
}
.faq-q {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.35;
}
.faq-toggle {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--ink-soft);
  transition: transform 260ms ease, color 180ms;
  width: 18px;
  text-align: center;
  display: inline-block;
  line-height: 1;
}
.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  color: var(--emerald);
}
.faq-item[open] .faq-n {
  background: var(--emerald);
  color: #fff;
  border-color: var(--emerald);
}
.faq-a {
  padding-top: 14px;
  max-width: 68ch;
}
.faq-a p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}
.faq-a p + p { margin-top: 10px; }
.faq-a p strong { color: var(--ink); font-weight: 600; }
.faq-a p em { font-style: italic; color: var(--ink); font-weight: 500; }
.faq-a code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--paper);
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* ================== FINAL CTA — stamped adoc ================== */
.final-cta {
  background: var(--paper);
  padding: 96px 0 120px;
  position: relative;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.cta-doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 36px 24px;
  position: relative;
  overflow: hidden;
}
.cta-watermark {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
  font-family: var(--mono);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--terracotta);
  opacity: 0.08;
  white-space: nowrap;
  pointer-events: none;
  border: 3px solid var(--terracotta);
  padding: 10px 24px;
  border-radius: 6px;
  z-index: 0;
}
.cta-doc > * { position: relative; z-index: 1; }
.cta-body {
  padding: 8px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-head {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cta-head em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}
.cta-sub {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
}
.cta-action { align-self: flex-start; margin-top: 6px; }

.cta-doc-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.cta-sig-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), var(--gold-deep) 40%, var(--line));
  opacity: 0.6;
}
.cta-sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

/* ================== FOOTER — certificate verso ================== */
.foot {
  background: var(--ink);
  color: rgba(250, 250, 247, 0.7);
}

/* Top plat strip — gold mono band */
.foot-plat {
  border-top: 1px solid rgba(201, 169, 97, 0.28);
  border-bottom: 1px solid rgba(201, 169, 97, 0.14);
  background:
    linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.06), transparent);
}
.foot-plat-inner {
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  flex-wrap: wrap;
}
.foot-plat-code { font-weight: 600; }
.foot-plat-sep { color: rgba(201, 169, 97, 0.4); }
.foot-plat-tag {
  color: rgba(250, 250, 247, 0.55);
  font-weight: 400;
}

/* Main body — emissor + nav cols */
.foot-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  padding: 72px 28px 56px;
  align-items: start;
}

.foot-emissor {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ivory);
  font-weight: 600;
  margin-bottom: 20px;
}
.foot-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 2px;
}
.foot-emissor-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ivory);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.foot-emissor-meta {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: rgba(250, 250, 247, 0.48);
  line-height: 1.6;
  max-width: 340px;
  margin-top: 4px;
}

/* Nav cols */
.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.foot-cols > div { display: flex; flex-direction: column; gap: 10px; }
.foot-col-code {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  font-weight: 600;
  opacity: 0.7;
}
.foot-cols h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ivory);
  text-transform: none;
  margin: 0;
}
.foot-cols a {
  display: block;
  padding: 3px 0;
  color: rgba(250, 250, 247, 0.62);
  font-size: 0.88rem;
  transition: color 180ms;
}
.foot-cols a:hover { color: var(--gold); }

/* Signature row */
.foot-sign {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 28px 22px;
  border-top: 1px dashed rgba(250, 250, 247, 0.09);
}
.foot-sign-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(250, 250, 247, 0.04),
    rgba(201, 169, 97, 0.45) 55%,
    rgba(250, 250, 247, 0.04));
}
.foot-sign-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  white-space: nowrap;
}
.foot-sign-stamp em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.86rem;
  color: rgba(250, 250, 247, 0.72);
  font-weight: 400;
}

.foot-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 28px 28px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(250, 250, 247, 0.38);
  border-top: 1px solid rgba(201, 169, 97, 0.14);
}
.foot-bottom-sep { color: rgba(201, 169, 97, 0.4); }
.foot-bottom-mono { color: rgba(250, 250, 247, 0.48); }

/* ================== RESPONSIVE ================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 60px 0 90px; }
  .nav-links { display: none; }
  .steps, .insight-grid, .insight-grid-2, .plans-grid { grid-template-columns: 1fr; }
  .insight-card.big { grid-row: auto; }
  .adoc-merged .adoc-body { grid-template-columns: 1fr; }
  .adoc-region-form { border-right: none; border-bottom: 1px dashed var(--line); }
  .foot-inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 28px 40px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .cta-doc { padding: 24px 24px 20px; }
  .cta-doc-foot { flex-direction: row; }
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-6px); }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat-item .stat-num { font-size: 1.4rem; }
  .adoc-merged .adoc-region { padding: 24px 24px 24px 48px; }
  .cov-grid { grid-template-columns: 1fr; gap: 32px; }
  .cov-map { height: 420px; }
  .cobertura { padding: 80px 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .adoc-fields { grid-template-columns: 1fr; gap: 14px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat-item:last-child { grid-column: span 2; text-align: center; }
  .adoc-merged .adoc-region { padding: 22px 20px 22px 40px; }
  .adoc-merged .adoc-region::before { left: 12px; top: 24px; }
  .zone-controls { flex-direction: column; align-items: stretch; }
  .zone-search { min-width: auto; }
  .list-controls .select { width: 100%; }
  .count { margin-left: 0; width: 100%; text-align: left; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-plat-inner { font-size: 0.64rem; gap: 8px; padding: 12px 20px; }
  .foot-sign { padding: 16px 20px 20px; flex-wrap: wrap; }
  .foot-sign-stamp em { font-size: 0.78rem; white-space: normal; }
  .adoc-merged .adoc-region { padding: 20px 18px 20px 36px; }
  .adoc-merged .adoc-head { padding: 18px 20px 12px; }
  .faq-item { padding: 20px 20px 20px 44px; }
  .faq-n { left: 12px; top: 22px; }
  .faq-q { font-size: 0.98rem; }
  .cta-watermark { font-size: 2.2rem; }
  .cov-row { grid-template-columns: 20px 1fr 44px 44px; gap: 8px; font-size: 0.78rem; }
  .cov-bar { display: none; }
  .cov-map { height: 360px; }
}
