/* =========================================================
   Estilos — Paleta: negro + rojo sangre
   ========================================================= */
:root {
  --bg: #070506;
  --bg-2: #0d0809;
  --surface: #140c0d;
  --surface-2: #1b1011;
  --line: rgba(255, 60, 70, 0.12);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f3ece9;
  --muted: #a3908d;
  --red: #d3122b;
  --red-hot: #ff2a3d;
  --red-deep: #6d0610;
  --radius: 4px;
  --shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.9);
  --glow: 0 0 40px -6px rgba(255, 42, 61, 0.55);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }
::selection { background: var(--red); color: #fff; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
h1 { font-size: clamp(3rem, 7.5vw, 6.2rem); }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
h3 { font-size: 1.6rem; }
em { font-style: italic; color: var(--red-hot); font-weight: 500; }

.container { width: min(1180px, 90%); margin-inline: auto; }
.container--narrow { width: min(820px, 90%); }

.eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--red-hot);
  font-weight: 500;
  margin-bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Grano de película sobre todo el sitio */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  font-family: var(--sans);
}
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -12px rgba(211, 18, 43, 0.8); }
.btn--red:hover { background: var(--red-hot); box-shadow: var(--glow); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 42, 61, 0.45); color: var(--text); }
.btn--ghost:hover { border-color: var(--red-hot); background: rgba(255, 42, 61, 0.08); }
.btn--sm { padding: 0.75rem 1.2rem; font-size: 0.72rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1.4rem 0;
  transition: padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
/* El blur va en un pseudo-elemento para no "encerrar" el menú móvil (position: fixed). */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 5, 6, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.3s;
}
.nav--scrolled::before { opacity: 1; }
.nav--scrolled { padding: 0.8rem 0; border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.24em;
  color: var(--text);
  white-space: nowrap;
}
.logo__accent { color: var(--red-hot); text-shadow: 0 0 18px rgba(255, 42, 61, 0.55); }
.logo__mark {
  width: 12px;
  height: 12px;
  background: var(--red-hot);
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(255, 42, 61, 0.9);
}
.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a { white-space: nowrap; }
.nav__links a:not(.btn) { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 30px; height: 22px; position: relative; }
.nav__toggle span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--text); transition: 0.3s; }
.nav__toggle span:nth-child(1) { top: 2px; }
.nav__toggle span:nth-child(2) { top: 10px; }
.nav__toggle span:nth-child(3) { top: 18px; }
.nav__toggle.is-open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__smoke {
  position: absolute;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(ellipse 35% 30% at 50% 55%, rgba(211, 18, 43, 0.45), transparent 70%),
    radial-gradient(ellipse 30% 40% at 20% 70%, rgba(109, 6, 16, 0.55), transparent 70%),
    radial-gradient(ellipse 30% 35% at 82% 30%, rgba(109, 6, 16, 0.5), transparent 70%);
  filter: blur(30px);
  animation: smoke 18s ease-in-out infinite alternate;
}
@keyframes smoke {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 2%) scale(1.08); }
  100% { transform: translate(3%, -2%) scale(1.02); }
}
.hero__ring {
  position: absolute;
  z-index: -1;
  width: min(620px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 42, 61, 0.35);
  box-shadow: 0 0 80px -10px rgba(255, 42, 61, 0.35), inset 0 0 80px -10px rgba(255, 42, 61, 0.25);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 6s ease-in-out infinite;
}
.hero__ring::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 42, 61, 0.15);
  animation: spin 80s linear infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero h1 { text-shadow: 0 10px 50px rgba(0, 0, 0, 0.8); }
.hero__lead { font-size: 1.12rem; color: #c9b9b6; margin: 1.8rem auto 2.6rem; max-width: 36rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero__scroll {
  margin-top: 4.5rem;
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero__scroll span { width: 2px; height: 8px; background: var(--red-hot); border-radius: 2px; animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- Secciones ---------- */
.section { padding: 8rem 0; position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 4.5rem; }
.section__sub { color: var(--muted); margin-top: 1.2rem; font-size: 0.95rem; letter-spacing: 0.04em; }

.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Manifiesto */
.manifesto { padding: 7rem 0; text-align: center; border-top: 1px solid var(--line); }
.manifesto__text { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.3; color: var(--muted); }
.manifesto__text span { color: var(--text); font-style: italic; border-bottom: 1px solid var(--red); }

/* Dolores */
.pain {
  background: linear-gradient(180deg, var(--surface), transparent);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--red);
  padding: 2.2rem 1.7rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.pain:hover { transform: translateY(-4px); box-shadow: 0 -10px 40px -20px rgba(255, 42, 61, 0.6); }
.pain__num { font-family: var(--serif); font-size: 2.4rem; font-style: italic; color: var(--red-hot); display: block; margin-bottom: 0.8rem; line-height: 1; }
.pain h3 { margin-bottom: 0.6rem; }
.pain p { color: var(--muted); font-size: 0.93rem; }

/* Ebooks */
.ebook {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.ebook:hover { transform: translateY(-6px); border-color: rgba(255, 42, 61, 0.4); box-shadow: 0 30px 60px -30px rgba(255, 42, 61, 0.45); }
.ebook__cover {
  padding: 2.8rem 3.5rem 2.4rem;
  background: radial-gradient(ellipse 60% 60% at 50% 55%, rgba(211, 18, 43, 0.35), transparent 70%), #0a0607;
  border-bottom: 1px solid var(--line-soft);
}
.ebook__cover .cover, .ebook__img { max-width: 190px; margin: 0 auto; transition: transform 0.45s; }
.ebook__img { box-shadow: var(--shadow); }
.ebook:hover .cover, .ebook:hover .ebook__img { transform: translateY(-4px) rotate(-2deg); }
.ebook__body { padding: 2rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.ebook__tagline { color: var(--red-hot); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0.5rem 0 1rem; }
.ebook__desc { color: var(--muted); font-size: 0.93rem; }
.ebook__price { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); }
.ebook .pay { margin-top: 1.1rem; }

/* Portada de diseño (hasta tener las reales) */
.cover {
  aspect-ratio: 2 / 3;
  padding: 1.6rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow), inset 5px 0 8px -4px rgba(0, 0, 0, 0.6);
}
.cover::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 42, 61, 0.35);
  pointer-events: none;
}
.cover--1 { background: radial-gradient(circle at 50% 40%, #3a0910, #0b0607 70%); }
.cover--2 { background: radial-gradient(circle at 50% 60%, #8c0a1c, #2a0308 75%); }
.cover--3 { background: linear-gradient(170deg, #160b0c, #050304); }
.cover--3::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 42, 61, 0.4); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.cover__tag { font-family: var(--serif); font-size: 0.7rem; letter-spacing: 0.4em; color: var(--red-hot); position: relative; z-index: 1; }
.cover__title { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; color: #f7eeea; position: relative; z-index: 1; }
.cover__line { width: 30px; height: 2px; background: var(--red-hot); position: relative; z-index: 1; }

.checks { list-style: none; margin: 1.3rem 0 1.4rem; display: grid; gap: 0.55rem; }
.checks li { position: relative; padding-left: 1.5rem; font-size: 0.9rem; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--red-hot);
  transform: rotate(45deg);
}

.price { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--text); line-height: 1; }
.pay { display: grid; gap: 0.6rem; }
.pay-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 3rem; }
.pay-note strong { color: var(--text); }

/* Consultoría */
.consult { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: center; }
.consult__lead { color: var(--muted); font-size: 1.05rem; margin: 1.4rem 0 2.4rem; max-width: 32rem; }
.howto { list-style: none; display: grid; gap: 1.4rem; }
.howto li { display: flex; gap: 1.2rem; align-items: flex-start; }
.howto li > span { font-family: var(--serif); font-size: 1.6rem; font-style: italic; color: var(--red-hot); line-height: 1; min-width: 2.2rem; }
.howto strong { display: block; font-weight: 500; }
.howto p { color: var(--muted); font-size: 0.9rem; }

.ticket {
  position: relative;
  padding: 3rem 2.4rem 2.4rem;
  background: linear-gradient(180deg, rgba(211, 18, 43, 0.22), var(--surface) 55%);
  border: 1px solid rgba(255, 42, 61, 0.45);
  box-shadow: 0 40px 90px -40px rgba(255, 42, 61, 0.55);
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--red-hot);
}
.ticket::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.ticket::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.ticket__label { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red-hot); }
.ticket__price { display: flex; align-items: baseline; gap: 0.6rem; margin: 1rem 0 0.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.ticket__price .price { font-size: 3.6rem; }
.ticket__unit { color: var(--muted); }
.ticket__fine { margin-top: 1.2rem; text-align: center; color: var(--muted); font-size: 0.8rem; }

/* Pilares */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.step { text-align: center; position: relative; }
.step__num {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--red-hot);
  line-height: 1;
  position: relative;
  isolation: isolate;
}
/* Rombo detrás del número (rota el fondo, no el texto) */
.step__num::before {
  content: "";
  position: absolute;
  inset: 6px;
  z-index: -1;
  background: var(--bg-2);
  border: 1px solid var(--red);
  transform: rotate(45deg);
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* Mentor anónimo */
.mentor { overflow: hidden; }
.mentor__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 5rem; align-items: center; }
.mentor__mask {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(211, 18, 43, 0.25), transparent 65%);
}
.mentor__mask::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(255, 42, 61, 0.25);
}
.mask-svg { width: 70%; filter: drop-shadow(0 0 30px rgba(255, 42, 61, 0.55)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.mentor__text h2 { margin-bottom: 1.6rem; }
.mentor__text p:not(.eyebrow) { color: var(--muted); margin-bottom: 1rem; font-size: 1.02rem; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}
.faq summary:hover { color: var(--red-hot); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.4rem; color: var(--red-hot); transition: transform 0.3s; font-weight: 300; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.5rem; max-width: 40rem; }

/* CTA final */
.cta-final {
  text-align: center;
  background: radial-gradient(ellipse 55% 75% at 50% 100%, rgba(211, 18, 43, 0.4), transparent 70%), var(--bg);
}
.cta-final__inner { max-width: 640px; }
.cta-final h2 { margin-bottom: 1rem; }
.cta-final p:not(.eyebrow) { color: var(--muted); }
.newsletter { display: flex; gap: 0; margin-top: 2.2rem; border: 1px solid rgba(255, 42, 61, 0.45); background: rgba(0, 0, 0, 0.4); }
.newsletter input { flex: 1; background: none; border: 0; outline: 0; color: var(--text); padding: 0 1.3rem; font: inherit; min-width: 0; }
.newsletter input::placeholder { color: var(--muted); }
.newsletter__msg { margin-top: 1rem; color: var(--red-hot) !important; }

/* Footer */
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--line); background: #040303; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line-soft); }
.footer__social { display: flex; gap: 0.7rem; }
.footer__social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: 0.25s;
}
.footer__social a:hover { color: #fff; border-color: var(--red-hot); background: var(--red); }
.footer__social a.is-empty { opacity: 0.45; }
.footer__legal { padding-top: 2rem; color: var(--muted); font-size: 0.78rem; display: grid; gap: 0.4rem; text-align: center; }
.footer__legal a:hover { color: var(--red-hot); }

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 60;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s;
}
.wa-float:hover { transform: scale(1.08); }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 160%);
  background: var(--surface-2);
  border: 1px solid var(--red);
  color: var(--text);
  padding: 0.9rem 1.4rem;
  font-size: 0.88rem;
  z-index: 110;
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1);
  box-shadow: var(--shadow);
  max-width: 90vw;
  text-align: center;
}
.toast--show { transform: translate(-50%, 0); }

/* Aparición al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__smoke, .hero__ring, .hero__ring::after, .mask-svg, .hero__scroll span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3.5rem; }
  .steps::before { display: none; }
  .consult, .mentor__inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .ticket { max-width: 460px; width: 100%; margin: 0 auto; }
  .mentor__mask { max-width: 340px; margin: 0 auto; width: 100%; }
}

@media (max-width: 1100px) {
  .nav__links { gap: 1.5rem; }
}

@media (max-width: 980px) {
  .nav__toggle { display: block; z-index: 2; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(7, 5, 6, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__links a:not(.btn) { font-size: 1rem; color: var(--text); }
}

@media (max-width: 640px) {
  .section { padding: 5.5rem 0; }
  .manifesto { padding: 5rem 0; }
  .section__head { margin-bottom: 3rem; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .logo { font-size: 1.25rem; letter-spacing: 0.18em; gap: 0.6rem; }
  .hero__cta { flex-direction: column; width: 100%; max-width: 320px; }
  .hero__cta .btn { width: 100%; }
  .ticket { padding: 2.6rem 1.6rem 2rem; }
  .newsletter { flex-direction: column; }
  .newsletter input { padding: 1rem; text-align: center; }
  .footer__inner { justify-content: center; }
}
