/* ============================================
   RADAR LOCAL — Landing clásica (variante de prueba)
   ============================================ */

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #0c0b09;
  --bg-alt: #17140f;
  --bg-alt-2: #1f1a13;
  --gold: #d4af37;
  --gold-bright: #f0c975;
  --cream: #f3ede0;
  --muted: #a79b83;
  --green: #3ecf8e;
  --border: rgba(212, 175, 55, 0.18);
  --border-bright: rgba(212, 175, 55, 0.4);
  --radius: 18px;
  --max: 480px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 84px; /* espacio para la barra fija */
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

h1, h2, h3, .eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.06);
}

h1 { font-size: 32px; line-height: 1.14; margin: 16px 0 12px; }
h2 { font-size: 25px; line-height: 1.2; margin-bottom: 10px; }
h3 { font-size: 18px; line-height: 1.3; }

p { color: var(--muted); font-size: 16px; }

strong { color: var(--cream); font-weight: 600; }

a { color: inherit; }

img { display: block; width: 100%; height: auto; }

section { padding: 52px 0; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
  border: none;
}

/* ---------- Header ---------- */
.top-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
}
.top-header img { width: 34px; height: 34px; border-radius: 8px; }
.top-header span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
}

/* ---------- Hero ---------- */
.hero { padding-top: 8px; }
.hero-img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid var(--border);
}
.hero-img-frame img { aspect-ratio: 9/10; object-fit: cover; }
.hero-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12,11,9,0.92) 100%);
}

.hero-sub { font-size: 17px; margin-bottom: 22px; }

/* ---------- Stat card (firma visual) ---------- */
.stat-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stat-card .stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-card .stat-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--cream);
  margin-top: 2px;
}
.stat-card .stat-up {
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.stat-row { display: flex; gap: 10px; margin: 20px 0; }
.stat-row .stat-card { flex: 1; padding: 12px 14px; flex-direction: column; align-items: flex-start; gap: 4px; }
.stat-row .stat-card .stat-value { font-size: 20px; }

.sparkline { opacity: 0.9; }

/* ---------- CTA buttons ---------- */
.btn-gold {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #14110a;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 17px 20px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
  border: none;
}
.btn-caption {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 10px;
}

/* ---------- Problem section ---------- */
.pain-list { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.pain-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--cream);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.pain-list .mark { color: var(--gold); font-size: 18px; line-height: 1; flex-shrink: 0; }

/* ---------- Steps ---------- */
.step {
  display: flex;
  gap: 16px;
  padding: 20px 0;
}
.step + .step { border-top: 1px solid var(--border); }
.step-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--bg);
  background: var(--gold);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step h3 { margin-bottom: 4px; }
.step p { font-size: 14.5px; }

/* ---------- Value stack ---------- */
.value-box {
  background: var(--bg-alt);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-top: 20px;
}
.value-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px 0;
  font-size: 14.5px;
}
.value-item + .value-item { border-top: 1px dashed var(--border); }
.value-item .vname { color: var(--cream); }
.value-item .vprice { color: var(--muted); font-variant-numeric: tabular-nums; }
.value-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
  margin-top: 6px;
  border-top: 1px solid var(--border-bright);
}
.value-total .vname { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 15px; }
.value-total .vprice { text-decoration: line-through; color: var(--muted); font-size: 15px; }

.price-reveal {
  text-align: center;
  margin: 26px 0 6px;
}
.price-reveal .today-label {
  font-size: 13px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.price-reveal .price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 46px;
  color: var(--cream);
  margin: 4px 0;
}
.price-reveal .price sup { font-size: 20px; }

/* ---------- Social proof ---------- */
.case-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 18px;
}
.case-card img { aspect-ratio: 16/10; object-fit: cover; }
.case-card-body { padding: 18px 20px 20px; }
.case-card-body .case-name { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 15px; }
.case-card-body .case-place { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }

/* ---------- Guarantee ---------- */
.guarantee {
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(212,175,55,0.08), transparent 70%);
}
.guarantee .badge {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 18px 2px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--gold);
  font-size: 22px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; font-size: 14.5px; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; }
.final-cta h2 { margin-bottom: 14px; }

footer {
  text-align: center;
  padding: 30px 22px 20px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Sticky bottom bar ---------- */
.sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(12, 11, 9, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-bright);
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  z-index: 50;
}
.sticky-bar .btn-gold { padding: 14px 20px; font-size: 15px; }

/* ---------- Reduced motion & focus ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
a:focus-visible, summary:focus-visible, .btn-gold:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

@media (min-width: 540px) {
  h1 { font-size: 36px; }
  section { padding: 64px 0; }
}
