/* ===== Dojo Invicto · Kit de Supervivencia · sales page low-ticket ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg-base); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg-deep); color: var(--text-muted);
  text-align: center; font-size: 13px; letter-spacing: .02em;
  padding: 9px 16px; border-bottom: 1px solid var(--border);
}
.topbar strong { color: var(--gold); font-weight: 600; }

.wrap { width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0; }
section.tight { padding: 40px 0; }
.alt { background: var(--bg-deep); }

h1, h2, h3 { font-family: var(--font-display); color: var(--text-strong); line-height: 1.14; letter-spacing: .01em; }
/* ⛔ El H1 se dimensiona con el ANCHO DE COLUMNA (760px), no con el viewport: a 50px en Fugaz One
   entran ~31 caracteres por línea. Un titular de más de ~90 car. se come el fold entero y empuja
   el CTA fuera de pantalla (caso 05/08/2026: 9 líneas y CTA invisible sin scroll). */
h1 {
  font-size: clamp(27px, 5.4vw, 42px);
  margin: 0 0 18px;
  max-width: 660px;
  margin-inline: auto;
  text-wrap: balance;
}
h2 { font-size: clamp(23px, 5.4vw, 35px); margin: 0 0 20px; }
h3 { font-size: clamp(18px, 4.4vw, 24px); margin: 0 0 12px; }
p { margin: 0 0 16px; }
strong { color: var(--text-strong); font-weight: 600; }
.hl { color: var(--gold); }
.acc { color: var(--accent); }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700; color: var(--accent); margin: 0 0 14px; }
.lead { font-size: clamp(18px, 4.4vw, 21px); color: var(--text-strong); }
.center { text-align: center; }

.logo { height: 34px; width: auto; margin: 0 auto 26px; display: block; opacity: .95; }
.hero { text-align: center; padding-top: 44px; }
.hero .sub { font-size: clamp(16px, 4.2vw, 19px); color: var(--text); max-width: 620px; margin: 0 auto 26px; }

/* Prueba social ARRIBA (canon low-ticket: estrellas antes del titular, no enterradas al final) */
.hero-rating {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 30px;
  padding: 7px 16px; margin: 0 auto 20px; font-size: 13.5px; color: var(--text-muted);
}
.hero-rating .stars { font-size: 15px; letter-spacing: 1px; }
.hero-rating strong { color: var(--text-strong); font-weight: 600; }

.hero-photo { max-width: 380px; margin: 30px auto 0; position: relative; }
.hero-photo::before {
  content: ""; position: absolute; inset: -30px -40px -10px;
  background: radial-gradient(closest-side, rgba(254,94,34,.22), transparent 72%);
  pointer-events: none;
}
.hero-photo img {
  width: 100%; height: auto; border-radius: 20px;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
  position: relative;
}

.press { margin-top: 40px; }
.press-label { text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 700; color: var(--text-muted); margin: 0 0 16px; }
.press-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 26px; }
.press-logos img { height: 22px; width: auto; opacity: .75; }
.press-logos img.tedx { height: 18px; }

.cta {
  display: inline-block; background: var(--accent); color: #fff !important;
  font-family: var(--font-body); font-weight: 700; font-size: clamp(16px, 4vw, 19px);
  text-decoration: none; text-align: center; padding: 17px 34px; border: 0;
  border-radius: 40px; cursor: pointer; box-shadow: var(--shadow-cta);
  transition: transform .18s ease, background .18s ease; letter-spacing: .01em; line-height: 1.25;
}
.cta:hover { transform: translateY(-2px) scale(1.02); background: var(--accent-hover); }
.cta.block { display: block; width: 100%; max-width: 520px; margin: 0 auto; }
.cta-note { color: var(--text-muted); font-size: 13px; text-align: center; margin: 12px 0 0; }
.cta-wrap { text-align: center; margin: 30px 0 4px; }

.pain { list-style: none; padding: 0; margin: 0; }
.pain li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--border); color: var(--text); }
.pain li::before { content: "✕"; position: absolute; left: 4px; top: 12px; color: var(--accent); font-weight: 700; }

.roast { list-style: none; padding: 0; margin: 0; }
.roast li { padding: 14px 0; border-bottom: 1px solid var(--border); }
.roast li strong { display: block; color: var(--text-strong); margin-bottom: 3px; }

.product {
  background: linear-gradient(165deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--border); border-radius: 20px; padding: 34px 28px;
  box-shadow: var(--shadow-card); text-align: center;
}
.product .tag { display: inline-block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.product ul { list-style: none; padding: 0; margin: 22px 0; text-align: left; }
.product ul li { padding: 10px 0 10px 30px; position: relative; }
.product ul li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: var(--green); font-weight: 700; }
.price { font-family: var(--font-display); font-size: clamp(46px, 12vw, 68px); color: var(--text-strong); line-height: 1; margin: 6px 0 4px; }
.price small { font-size: 20px; color: var(--text-muted); vertical-align: super; }
.mini { color: var(--text-muted); font-size: 14px; }

.phase { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 0 0 26px; }
.phase h3 { margin-bottom: 6px; }
.phase .n { color: var(--accent); font-family: var(--font-display); font-size: 14px; letter-spacing: .1em; display: block; margin-bottom: 4px; }

.proof { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin: 8px 0 0; }
.proof .stat { flex: 1 1 150px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 16px; text-align: center; }
.proof .stat b { display: block; font-family: var(--font-display); color: var(--gold); font-size: 30px; line-height: 1; margin-bottom: 6px; }
.proof .stat span { font-size: 13px; color: var(--text-muted); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 18px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 6px 0 0; }
.tags span { background: var(--bg-card); border: 1px solid var(--border); border-radius: 30px; padding: 7px 15px; font-size: 13px; color: var(--text); }

.guarantee { background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 26px 24px; display: flex; gap: 24px; align-items: flex-start; }
.guarantee h3 { color: var(--gold); }
.guarantee .sensei { width: 108px; height: auto; flex-shrink: 0; margin-top: 4px; border-radius: 14px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
.guarantee-text { flex: 1; }
@media (max-width: 620px) {
  .guarantee { flex-direction: column; align-items: center; text-align: left; }
  .guarantee .sensei { width: 118px; margin: 0 0 4px; }
}

.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; padding: 16px 30px 16px 0; font-weight: 600; color: var(--text-strong); list-style: none; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; color: var(--accent); font-size: 22px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 16px; margin: 0; color: var(--text); }

.recap { list-style: none; padding: 0; margin: 0 0 24px; }
.recap li { padding: 9px 0 9px 30px; position: relative; }
.recap li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.pd { background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; font-style: italic; color: var(--text); }
.pd strong { font-style: normal; }

.bio { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: start; }
.bio-photo img { border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-card); width: 100%; height: auto; }
.bio-chips { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.bio-chips span { background: var(--bg-card); border: 1px solid var(--border); border-radius: 30px; padding: 7px 14px; font-size: 12.5px; color: var(--gold); text-align: center; font-weight: 600; letter-spacing: .02em; }
@media (max-width: 700px) {
  .bio { grid-template-columns: 1fr; gap: 24px; }
  .bio-photo { max-width: 320px; margin: 0 auto; }
}

.greviews { margin-top: 34px; }
.ghead { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 22px; }
.ghead img { height: 30px; width: auto; }
.gscore { text-align: left; }
.gscore small { display: block; color: var(--text-muted); font-size: 13px; margin-top: 2px; }
.gcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.gcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; margin: 0; display: flex; flex-direction: column; }
.gcard .stars { font-size: 14px; margin-bottom: 10px; }
.gcard blockquote { margin: 0 0 16px; font-size: 14.5px; line-height: 1.55; color: var(--text); flex: 1; }
.gcard figcaption { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--text-strong); }
.gavatar { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-deep); border: 1px solid var(--border); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 15px; flex-shrink: 0; }
@media (max-width: 760px) { .gcards { grid-template-columns: 1fr; } }

footer { padding: 40px 0 130px; text-align: center; color: var(--text-muted); font-size: 13px; border-top: 1px solid var(--border); }
footer img { height: 26px; margin: 0 auto 14px; opacity: .6; }

.sticky-bottom {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--bg-deep); border-top: 1px solid var(--border);
  padding: 12px 16px; transform: translateY(120%); transition: transform .3s ease;
  box-shadow: 0 -8px 30px rgba(0,0,0,.4);
}
.sticky-bottom.show { transform: translateY(0); }
.sticky-bottom .row { max-width: var(--content); margin: 0 auto; display: flex; align-items: center; gap: 14px; justify-content: space-between; }
.sticky-bottom .p { font-family: var(--font-display); color: var(--text-strong); font-size: 18px; }
.sticky-bottom .cta { padding: 12px 22px; font-size: 15px; white-space: nowrap; }
@media (max-width: 560px) { .sticky-bottom .p { display: none; } .sticky-bottom .cta { width: 100%; } }

.modal { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5,7,11,.82); }
.modal.show { display: flex; }
.modal .box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 32px 26px; max-width: 440px; width: 100%; box-shadow: var(--shadow-card); text-align: center; position: relative; }
.modal h3 { margin-bottom: 8px; }
.modal p { font-size: 15px; }
.modal input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-deep); color: var(--text-strong); font-size: 16px; font-family: var(--font-body); margin: 8px 0 14px; }
.modal input:focus { outline: none; border-color: var(--accent); }
.modal .x { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: var(--text-muted); font-size: 24px; cursor: pointer; line-height: 1; }
.modal .skip { display: block; margin-top: 12px; color: var(--text-muted); font-size: 13px; background: none; border: 0; cursor: pointer; text-decoration: underline; width: 100%; }
.modal .form-error { display: none; margin: -6px 0 12px; color: var(--accent); font-size: 14px; text-align: center; }
.modal .form-error.show { display: block; }
.modal .cta[disabled] { opacity: .6; cursor: progress; }

html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 560px) {
  section { padding: 44px 0; }
  .product { padding: 28px 20px; }
}
