/* PROSPERA — Landing premium. HTML + CSS + JS puro. Sin frameworks. */

:root {
  --bg: #0b0b0d;
  --bg-soft: #121216;
  --surface: #17171c;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f2ee;
  --muted: #a4a099;
  --gold: #d3a95f;
  --gold-soft: #f0d49a;
  --green: #4fd18b;
  --radius: 16px;
  --maxw: 1160px;
  --grad-gold: linear-gradient(135deg, #f0d49a 0%, #d3a95f 45%, #b0813a 100%);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; background: rgba(211, 169, 95, 0.07);
}

.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary {
  background: var(--grad-gold); color: #17130a;
  box-shadow: 0 14px 34px -14px rgba(211, 169, 95, .75);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(211,169,95,.9); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { background: rgba(255,255,255,.06); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--grad-gold); color: #17130a;
  text-align: center; font-size: 13px; font-weight: 700;
  padding: 9px 16px; letter-spacing: .01em;
}

header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 11, 13, .72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: "Playfair Display", serif; font-size: 24px; letter-spacing: .22em; font-weight: 700; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav .btn { padding: 11px 20px; font-size: 14px; }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 620px;
  background: radial-gradient(closest-side, rgba(211,169,95,.20), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); margin: 20px 0 18px; }
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 18px; }
.microcopy { font-size: 13px; color: var(--muted); }
.hero-media { position: relative; }
.hero-media img { border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.float-card {
  position: absolute; left: -18px; bottom: 26px;
  background: rgba(23,23,28,.92); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; backdrop-filter: blur(8px);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(79,209,139,.18); }
.float-card b { font-size: 14px; } .float-card small { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .float-card { left: 8px; } }

/* ---------- Métricas ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; text-align: center; }
.stat b { display: block; font-family: "Playfair Display", serif; font-size: 34px; }
.stat small { color: var(--muted); font-size: 13px; letter-spacing: .04em; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Secciones ---------- */
section { padding: 92px 0; }
.sec-head { max-width: 720px; margin-bottom: 46px; }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin: 16px 0 14px; }
.sec-head p { color: var(--muted); font-size: 17px; }
.center { margin-left: auto; margin-right: auto; text-align: center; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(211,169,95,.45); }
.card .ico { font-size: 26px; margin-bottom: 14px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Dolor / transformación ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--surface); }
.panel.bad { background: rgba(255, 90, 90, .04); }
.panel.good { background: rgba(79, 209, 139, .05); border-color: rgba(79,209,139,.28); }
.panel h3 { font-size: 21px; margin-bottom: 16px; }
.panel ul { list-style: none; display: grid; gap: 12px; }
.panel li { display: flex; gap: 11px; color: var(--muted); font-size: 15px; }
.panel li b { color: var(--text); font-weight: 600; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* ---------- Packs ---------- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.pack {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 32px;
}
.pack.featured {
  border-color: rgba(211,169,95,.6);
  background: linear-gradient(180deg, rgba(211,169,95,.10), rgba(23,23,28,1) 40%);
  box-shadow: var(--shadow); transform: scale(1.03);
}
.pack .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-gold); color: #17130a; font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px;
}
.pack h3 { font-size: 23px; }
.pack .desc { color: var(--muted); font-size: 14px; margin: 8px 0 18px; min-height: 42px; }
.price { display: flex; align-items: baseline; gap: 10px; }
.price .now { font-family: "Playfair Display", serif; font-size: 42px; }
.price .was { color: var(--muted); text-decoration: line-through; font-size: 16px; }
.price-note { color: var(--muted); font-size: 13px; margin-top: 6px; }
.pack ul { list-style: none; display: grid; gap: 11px; margin: 22px 0 26px; }
.pack li { display: flex; gap: 10px; font-size: 14.5px; color: #ddd8d0; }
.pack li i { color: var(--green); font-style: normal; }
.pack .btn { margin-top: auto; }
@media (max-width: 980px) { .packs { grid-template-columns: 1fr; } .pack.featured { transform: none; } }

/* ---------- Testimonios ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; }
.testi p { font-size: 15px; color: #ded9d1; }
.who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-gold); color: #17130a;
  display: grid; place-items: center; font-weight: 800; }
.who b { font-size: 14px; display: block; } .who small { color: var(--muted); font-size: 12px; }
@media (max-width: 900px) { .testis { grid-template-columns: 1fr; } }

/* ---------- Countdown ---------- */
.urgency { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.count { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.count div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; min-width: 92px; }
.count b { font-family: "Playfair Display", serif; font-size: 34px; display: block; }
.count small { color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.q { border-bottom: 1px solid var(--line); }
.q button {
  width: 100%; background: none; border: 0; color: var(--text); cursor: pointer;
  text-align: left; font-size: 17px; font-weight: 600; padding: 22px 40px 22px 0;
  position: relative; font-family: inherit;
}
.q button::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 24px; color: var(--gold); transition: transform .3s; }
.q.open button::after { transform: rotate(45deg); }
.a { max-height: 0; overflow: hidden; transition: max-height .35s ease; color: var(--muted); font-size: 15px; }
.a p { padding-bottom: 22px; }

/* ---------- Form ---------- */
.form-card { max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 34px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; font-size: 15px; font-family: inherit;
  background: #0f0f13; border: 1px solid var(--line); color: var(--text);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); }
.form-msg { margin-top: 14px; font-size: 14px; color: var(--green); display: none; }
.form-msg.show { display: block; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 50px 0 34px; color: var(--muted); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.foot-grid h4 { color: var(--text); font-size: 14px; margin-bottom: 12px; letter-spacing: .08em; text-transform: uppercase; }
.foot-grid a { display: block; margin-bottom: 8px; }
.foot-grid a:hover { color: var(--gold); }
.legal { border-top: 1px solid var(--line); padding-top: 20px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Barra fija móvil ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(11,11,13,.94); border-top: 1px solid var(--line);
  padding: 12px 16px; display: none; backdrop-filter: blur(10px);
}
@media (max-width: 760px) { .sticky-cta { display: block; } body { padding-bottom: 78px; } }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
