/* ============================================================
   Del Vacío a la Paz — elcaminodelalevedad.com
   Identidad: navy profundo + dorado + serif crema
   ============================================================ */

:root {
  --navy-950: #060f18;
  --navy-900: #081724;
  --navy-800: #0c2233;
  --navy-700: #123044;
  --gold: #d4a53c;
  --gold-light: #f0d488;
  --gold-dark: #a97e22;
  --cream: #f6efdc;
  --text: #dfe6e4;
  --text-dim: #a8b5b2;
  --green-ok: #7fc48a;
  --red-soft: #d98a7e;
}

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

html { scroll-behavior: smooth; }

/* --- Accesibilidad --- */
.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  background: var(--navy-900);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.06rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--cream);
  line-height: 1.22;
}

h1 { font-size: clamp(1.75rem, 4.5vw, 2.7rem); }
h2 { font-size: clamp(1.45rem, 3.5vw, 2.1rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

.container { max-width: 780px; margin: 0 auto; padding: 0 1.25rem; }
.container-wide { max-width: 1000px; margin: 0 auto; padding: 0 1.25rem; }

section { padding: 3.5rem 0; }

.bg-deep { background: var(--navy-950); }
.bg-mid  { background: var(--navy-800); }

.gold { color: var(--gold-light); }
.center { text-align: center; }
.muted { color: var(--text-dim); font-size: .92rem; }

/* --- Eyebrow --- */
.eyebrow {
  display: inline-block;
  color: var(--gold-light);
  border: 1px solid rgba(212, 165, 60, .45);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* --- CTA button --- */
.btn {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  color: #14202b;
  font-weight: 800;
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  text-align: center;
  text-decoration: none;
  padding: 1.1rem 1.5rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(212, 165, 60, .35), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .15s ease, box-shadow .15s ease;
  letter-spacing: .01em;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212, 165, 60, .5), inset 0 1px 0 rgba(255,255,255,.4); }

.trust-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 14px;
  font-size: .85rem;
  text-align: center;
  color: var(--text-dim);
}
.trust-items span { white-space: nowrap; }
.trust-items .check { color: var(--green-ok); }
@media (max-width: 480px) {
  .trust-items {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
}

/* --- Hero --- */
.hero {
  padding: 2.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(212,165,60,.14) 0%, transparent 55%),
    var(--navy-950);
  text-align: center;
}
.hero img { border-radius: 14px; margin: 1.75rem auto; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.hero .sub { font-size: clamp(1.02rem, 2.6vw, 1.2rem); color: var(--text); max-width: 640px; margin: 1.1rem auto 1.6rem; }

/* --- Listas --- */
.pain-list { list-style: none; margin: 1.4rem 0; }
.pain-list li {
  padding: .65rem 0 .65rem 2.1rem;
  position: relative;
  border-bottom: 1px solid rgba(212,165,60,.12);
}
.pain-list li::before { content: "✖"; position: absolute; left: .25rem; color: var(--red-soft); font-size: .9rem; top: .78rem; }

.check-list { list-style: none; margin: 1rem 0; }
.check-list li { padding: .45rem 0 .45rem 2rem; position: relative; }
.check-list li::before { content: "✔"; position: absolute; left: .25rem; color: var(--green-ok); }

.cross-list { list-style: none; margin: 1rem 0; }
.cross-list li { padding: .45rem 0 .45rem 2rem; position: relative; }
.cross-list li::before { content: "✖"; position: absolute; left: .25rem; color: var(--red-soft); }

/* --- Pasos (mecanismo) --- */
.steps { counter-reset: paso; list-style: none; margin: 1.5rem 0; }
.steps li {
  counter-increment: paso;
  position: relative;
  padding: .8rem 0 .8rem 3.2rem;
}
.steps li::before {
  content: counter(paso);
  position: absolute; left: 0; top: .7rem;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: var(--navy-700);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-weight: bold;
  display: flex; align-items: center; justify-content: center;
}
.steps b { color: var(--cream); }

/* --- Un día por dentro (muestra real del ebook) --- */
.ebook-page {
  background: var(--cream);
  color: #2c3a45;
  border-radius: 14px;
  padding: 1.75rem 1.4rem;
  box-shadow: 0 14px 44px rgba(0,0,0,.5);
  margin: 1.75rem 0;
}
.ebook-page .day-label {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8a6d1f;
  font-weight: 700;
}
.ebook-page h3 {
  color: #1d2a33;
  font-size: 1.4rem;
  margin: .2rem 0 1rem;
}
.ebook-page p { color: #2c3a45; }
.ebook-page .block {
  border-radius: 8px;
  padding: .9rem 1rem;
  margin-bottom: .9rem;
}
.ebook-page .block b { display: block; margin-bottom: .3rem; color: #1d2a33; }
.block-verse { background: #faf3d9; border: 1px solid #e3cf8a; font-family: Georgia, serif; font-style: italic; }
.block-verse .ref { display: block; font-style: normal; font-size: .88rem; color: #8a6d1f; margin-top: .4rem; }
.block-prayer { background: #e8eef4; border: 1px solid #c3d3e0; }
.block-action { background: #eaf2e6; border: 1px solid #c5d9bc; }
.ebook-page .footnote { font-size: .85rem; color: #6b7a86; margin: 0; }

/* Índice de los 21 días */
.toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem 1.25rem;
  padding: .35rem 1.25rem 1.2rem;
  color: var(--text);
  font-size: .95rem;
}
.toc-grid span b { color: var(--gold-light); font-weight: 700; }
@media (max-width: 560px) { .toc-grid { grid-template-columns: 1fr; } }

/* --- Cards de oferta --- */
.offer-card {
  background: var(--navy-800);
  border: 1px solid rgba(212,165,60,.3);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.offer-card.main { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 10px 34px rgba(0,0,0,.35); }
.offer-card img { width: 130px; flex-shrink: 0; border-radius: 8px; }
.offer-card h3 { margin-bottom: .4rem; }
.offer-card .value { color: var(--gold-light); font-weight: 700; }
.offer-card .value s { color: var(--text-dim); font-weight: 400; }

@media (max-width: 560px) {
  .offer-card { flex-direction: column; text-align: center; }
  .offer-card img { width: 150px; }
}

/* --- Bloque de precio ancla --- */
.price-anchor {
  text-align: center;
  background: var(--navy-800);
  border: 1px solid rgba(212,165,60,.35);
  border-radius: 16px;
  padding: 1.7rem 1rem;
  margin: 2rem 0 1.5rem;
}
.price-anchor .old { font-size: 1.3rem; color: var(--text-dim); text-decoration: line-through; margin-bottom: 0; }
.price-anchor .now {
  font-family: Georgia, serif;
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  color: var(--gold-light);
  line-height: 1.1;
  margin: .25rem 0 .35rem;
}
.price-anchor .payment-note {
  color: var(--cream);
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: .5rem;
}
.price-anchor .muted { margin-bottom: 0; }

/* --- Dos columnas para quién es --- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.two-col > div {
  background: var(--navy-800);
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.06);
}
.two-col > div:first-child { border-color: rgba(127,196,138,.35); }
.two-col > div:last-child  { border-color: rgba(217,138,126,.3); }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }

/* --- Testimonios --- */
.testimonials {
  background:
    linear-gradient(rgba(6,15,24,.88), rgba(6,15,24,.88)),
    url("../img/fundo-depoimentos.jpg") center/cover no-repeat;
}
.testimonial {
  background: rgba(12,34,51,.85);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.25rem;
}
.testimonial p { color: var(--cream); margin-bottom: 0; }
.testimonial p strong { color: var(--gold-light); }

/* --- Garantía --- */
.guarantee {
  display: flex; gap: 2rem; align-items: center;
  background: var(--navy-800);
  border: 1px solid rgba(212,165,60,.3);
  border-radius: 16px;
  padding: 2rem;
}
.guarantee img { width: 150px; flex-shrink: 0; }
@media (max-width: 600px) { .guarantee { flex-direction: column; text-align: center; } }

/* --- FAQ --- */
details {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  margin-bottom: .75rem;
  overflow: hidden;
}
details summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--cream);
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  position: absolute; right: 1.1rem; top: .8rem;
  color: var(--gold); font-size: 1.4rem; font-family: Georgia, serif;
  transition: transform .2s;
}
details[open] summary::after { transform: rotate(45deg); }
details .faq-body { padding: 0 1.25rem 1.1rem; color: var(--text); }

/* --- Cita destacada --- */
.quote {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-light);
  border-left: 3px solid var(--gold);
  padding: .5rem 0 .5rem 1.25rem;
  margin: 1.5rem 0;
}

/* --- Imágenes de contenido --- */
.img-content { border-radius: 14px; margin: 1.5rem auto; }

/* En pantallas chicas las imágenes van a sangre completa:
   ganan ~13% de ancho, clave con tráfico 100% móvil */
@media (max-width: 640px) {
  .img-content,
  .hero img {
    width: calc(100% + 2.5rem);
    max-width: calc(100% + 2.5rem);
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    border-radius: 0;
  }
}

/* --- Footer --- */
footer {
  background: var(--navy-950);
  padding: 2.5rem 0 3rem;
  text-align: center;
  font-size: .82rem;
  color: var(--text-dim);
}
footer p { max-width: 720px; margin: 0 auto .8rem; }
footer a { color: var(--gold-light); text-decoration: underline; }
.footer-links { font-size: .9rem; }

/* --- Páginas legales --- */
.legal-page { padding: 2.5rem 0 4rem; }
.legal-page h1 { margin-bottom: .5rem; }
.legal-page h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.legal-page ul { margin: 0 0 1rem 1.4rem; }
.legal-page li { margin-bottom: .4rem; }
.legal-page a { color: var(--gold-light); }
.legal-updated { color: var(--text-dim); font-size: .88rem; margin-bottom: 2rem; }
.back-home { display: inline-block; margin-top: 2.5rem; color: var(--gold-light); }

/* --- Páginas de funil (upsell / downsell / gracias) --- */
.funnel-page { min-height: 100vh; padding: 2.5rem 0 4rem; }
.funnel-page .alert-bar {
  background: var(--gold);
  color: #14202b;
  text-align: center;
  font-weight: 700;
  padding: .6rem 1rem;
  font-size: .95rem;
}
.pack-box {
  background: var(--navy-800);
  border: 1px solid rgba(212,165,60,.35);
  border-radius: 16px;
  padding: 1.75rem;
  margin: 1.75rem 0;
}
.decline-link {
  display: block;
  text-align: center;
  color: var(--text-dim);
  font-size: .88rem;
  margin-top: 1.1rem;
  text-decoration: underline;
}

/* Widget Hotmart container */
#hotmart-sales-funnel { margin: 1.5rem auto; max-width: 560px; }
