/* ============================================================
   Dieta Carnívora — Versión 2: Black / Agresiva / Escasez
   ============================================================ */

:root {
  --bg: #000000;
  --bg-panel: #0a0a0a;
  --bg-panel-2: #131313;
  --border: #2a2a2a;

  --text: #ffffff;
  --text-muted: #b0b0b0;
  --text-faint: #777777;

  --crimson: #ff1f1f;
  --crimson-light: #ff4d4d;
  --gold: #ffc14d;
  --gold-light: #ffd98a;

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", -apple-system, Helvetica, Arial, sans-serif;

  --radius: 10px;
  --container: 1140px;

  --shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 78px; /* espacio para sticky CTA mobile */
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 64px 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h2 {
  font-size: clamp(28px, 5vw, 42px);
  text-align: center;
  margin-bottom: 14px;
}

h2 em, h1 em {
  font-style: italic;
  color: var(--crimson-light);
}

.kicker {
  display: block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  font-size: 17px;
}

/* ================= URGENCY BAR ================= */

.urgency-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, #b30000, #ff1f1f, #b30000);
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .5px;
  padding: 10px 12px;
  text-transform: uppercase;
}

.urgency-bar .countdown {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 10px;
  border-radius: 4px;
  margin-left: 6px;
  font-size: 13px;
}

/* ================= BOTONES / CTA ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--crimson-light), var(--crimson));
  color: #fff;
  font-size: 18px;
  padding: 18px 40px;
  box-shadow: 0 0 0 0 rgba(255, 31, 31, 0.55);
  animation: pulse-cta 1.8s infinite;
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 31, 31, 0.55); }
  50% { box-shadow: 0 0 0 14px rgba(255, 31, 31, 0); }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 31, 31, 0.6);
}

.btn-block { width: 100%; }

.btn-sub {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-faint);
}

.btn-sub strong { color: var(--gold-light); }

/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 38px;
  z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .5px;
  color: var(--text);
}

.logo span { color: var(--crimson-light); }

.header-cta {
  font-size: 13px;
  padding: 12px 22px;
}

/* ================= HERO ================= */

.hero {
  padding-top: 56px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(255, 31, 31, 0.16), transparent 60%),
    var(--bg);
}

.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  max-width: 920px;
  margin: 0 auto 18px;
}

.hero .lead {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--text-muted);
}

.video-wrap {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.video-wrap::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 */
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-cta-wrap { max-width: 480px; margin: 0 auto; }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 31, 31, 0.12);
  border: 1px solid rgba(255, 31, 31, 0.4);
  color: var(--crimson-light);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  margin: 24px auto 0;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff1f1f;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

.trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  color: var(--text-faint);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trust-row span { display: flex; align-items: center; gap: 8px; }

/* ================= AGITACIÓN ================= */

.agitation { background: var(--bg-panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.agitation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.agitation-card {
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.agitation-card .icon { font-size: 32px; margin-bottom: 14px; }

.agitation-card h3 { font-family: var(--font-body); font-size: 17px; margin-bottom: 8px; }

.agitation-card p { color: var(--text-muted); font-size: 14px; }

.agitation-flip {
  text-align: center;
  margin-top: 40px;
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 28px);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--gold-light);
}

/* ================= STORY ================= */

.story {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.story img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.story h2 { text-align: left; }

.story .kicker { text-align: left; }

.story p { color: var(--text-muted); margin-bottom: 14px; }

.story .highlight {
  color: var(--crimson-light);
  font-weight: 700;
}

@media (max-width: 760px) {
  .story { grid-template-columns: 1fr; text-align: center; }
  .story h2, .story .kicker { text-align: center; }
  .story img { max-width: 240px; margin: 0 auto; }
}

/* ================= BENEFICIOS ================= */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-card .check {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 31, 31, 0.18);
  color: var(--crimson-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.benefit-card h4 { font-size: 16px; margin-bottom: 4px; font-family: var(--font-body); }

.benefit-card p { color: var(--text-muted); font-size: 14px; }

/* ================= ANTES Y DESPUÉS ================= */

.before-after { background: var(--bg-panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.ba-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform .2s ease;
}

.ba-grid img:hover { transform: scale(1.03); }

@media (max-width: 760px) {
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================= TESTIMONIOS ================= */

.testimonials { background: var(--bg-panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.testi-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testi-card {
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.testi-card .stars { color: var(--gold); margin-bottom: 10px; letter-spacing: 2px; }

.testi-card p.quote { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; font-style: italic; }

.testi-author { display: flex; align-items: center; gap: 12px; }

.testi-author img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--crimson);
}

.testi-author .name { font-weight: 700; font-size: 14px; }

.testi-author .result { color: var(--crimson-light); font-size: 12px; font-weight: 700; }

/* ================= CONTENIDO DEL CURSO ================= */

.curriculum {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.module {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.module .num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 900;
  color: var(--crimson-light);
  text-align: center;
}

.module h3 { font-size: 18px; margin-bottom: 6px; }

.module p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }

.module ul { margin: 8px 0 0 18px; color: var(--text-muted); font-size: 14px; }
.module ul li { margin-bottom: 4px; }

/* ================= BONOS ================= */

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .bonus-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .bonus-grid { grid-template-columns: 1fr; }
}

.bonus-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, border-color .15s ease;
}

.bonus-card:hover {
  transform: translateY(-4px);
  border-color: var(--crimson);
}

.bonus-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.bonus-info { padding: 20px; }

.bonus-tag {
  display: inline-block;
  background: rgba(255, 31, 31, 0.15);
  color: var(--crimson-light);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.bonus-info h4 { font-size: 16px; margin-bottom: 6px; font-family: var(--font-body); }

.bonus-info p { color: var(--text-muted); font-size: 14px; }

/* ================= OFERTA / STACK ================= */

.offer { background: var(--bg-panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.offer-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-panel-2);
  border: 2px solid var(--crimson);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}

/* ================= COUNTDOWN ================= */

.countdown-box {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 8px 0 28px;
}

.countdown-unit {
  background: var(--bg);
  border: 1px solid var(--crimson);
  border-radius: 8px;
  padding: 12px 20px;
  min-width: 70px;
  text-align: center;
}

.countdown-unit .num {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 900;
  color: var(--crimson-light);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.countdown-unit .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-faint);
}

/* ================= STOCK BAR ================= */

.stock-bar-wrap { margin: 24px 0; }

.stock-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--gold-light);
}

.stock-bar {
  height: 10px;
  background: var(--bg);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.stock-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--crimson), var(--crimson-light));
  transition: width .4s ease;
}

.stack-list {
  text-align: left;
  margin: 28px 0;
  border-top: 1px dashed var(--border);
  padding-top: 24px;
}

.stack-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
}

.stack-item:last-child { border-bottom: none; }

.stack-item .name { color: var(--text); }
.stack-item .name small { display: block; color: var(--text-faint); font-size: 12px; font-weight: 400; }

.stack-item .price { color: var(--text-faint); text-decoration: line-through; font-weight: 700; }

.stack-total {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  font-size: 18px;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 2px solid var(--border);
}

.price-box { margin: 28px 0; }

.price-box .was { color: var(--text-faint); text-decoration: line-through; font-size: 18px; }

.price-box .now {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 900;
  color: var(--crimson-light);
  line-height: 1;
}

.price-box .now small { font-size: 22px; font-weight: 700; }

.price-box .tag {
  display: inline-block;
  margin-top: 10px;
  background: rgba(255, 31, 31, 0.15);
  color: var(--crimson-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ================= GARANTÍA ================= */

.guarantee {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 36px;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
}

.guarantee img { border-radius: 50%; }

.guarantee h2 { text-align: left; }
.guarantee .kicker { text-align: left; }
.guarantee p { color: var(--text-muted); }

@media (max-width: 700px) {
  .guarantee { grid-template-columns: 1fr; text-align: center; }
  .guarantee h2, .guarantee .kicker { text-align: center; }
  .guarantee img { width: 120px; margin: 0 auto; }
}

/* ================= FAQ ================= */

.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-question .icon {
  flex: none;
  font-size: 20px;
  color: var(--crimson-light);
  transition: transform .2s ease;
}

.faq-item.open .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  color: var(--text-muted);
  font-size: 14px;
}

.faq-answer p { padding-bottom: 20px; }

/* ================= CTA FINAL ================= */

.final-cta {
  text-align: center;
  background:
    radial-gradient(ellipse at bottom, rgba(255, 31, 31, 0.18), transparent 60%),
    var(--bg);
}

.final-cta h2 { max-width: 760px; margin-left: auto; margin-right: auto; }

.final-cta .price-box { margin-bottom: 32px; }

/* ================= FOOTER ================= */

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--text-faint);
  font-size: 12px;
}

footer p { max-width: 760px; margin: 0 auto 12px; }

footer .links a { margin: 0 8px; color: var(--text-muted); }
footer .links a:hover { color: var(--crimson-light); }

/* ================= NOTIFICACIÓN DE COMPRA ================= */

.purchase-toast {
  position: fixed;
  left: 16px;
  bottom: 90px;
  z-index: 70;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--crimson);
  border-radius: 10px;
  padding: 12px 16px;
  max-width: 300px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(150%);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}

.purchase-toast.visible { transform: translateY(0); opacity: 1; }

.purchase-toast .icon { font-size: 24px; }

.purchase-toast .text { font-size: 13px; color: var(--text-muted); }

.purchase-toast .text strong { color: var(--gold-light); }

.purchase-toast .time { display: block; font-size: 11px; color: var(--text-faint); margin-top: 2px; }

@media (min-width: 901px) {
  .purchase-toast { bottom: 24px; }
}

/* ================= STICKY CTA MOBILE ================= */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--bg-panel-2);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.5);
  transform: translateY(110%);
  transition: transform .3s ease;
}

.sticky-cta.visible { transform: translateY(0); }

.sticky-cta .price {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 22px;
  color: var(--crimson-light);
  white-space: nowrap;
}

.sticky-cta .btn-primary { padding: 14px 24px; font-size: 14px; white-space: nowrap; }

@media (min-width: 901px) {
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

/* ================= UTIL ================= */

.text-center { text-align: center; }
