:root {
  --rosa: #e94e77;
  --rosa-osc: #c7365e;
  --crema: #fff8f3;
  --durazno: #ffe7dc;
  --verde: #2fa36b;
  --texto: #2b2b2b;
  --gris: #6b6b6b;
  --borde: #f0dcd2;
  --blanco: #ffffff;
  --sombra: 0 10px 30px rgba(233, 78, 119, .12);
  --radio: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--texto);
  background: var(--crema);
  line-height: 1.6;
}
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.section { padding: 72px 0; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--gris); max-width: 640px; margin: 0 auto 40px; }
.tag {
  display: inline-block; background: var(--durazno); color: var(--rosa-osc);
  font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}

/* Barra superior */
.topbar {
  background: var(--rosa); color: #fff; text-align: center;
  font-weight: 700; font-size: .9rem; padding: 10px 16px;
}

/* Botones */
.btn {
  display: inline-block; background: var(--verde); color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1.1rem; padding: 18px 34px; border-radius: 999px;
  border: none; cursor: pointer; box-shadow: 0 8px 20px rgba(47, 163, 107, .3);
  transition: transform .15s, box-shadow .15s; text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(47, 163, 107, .4); }
.btn-block { display: block; width: 100%; }
.btn-outline { background: transparent; color: var(--rosa-osc); border: 2px solid var(--rosa); box-shadow: none; }
.btn-outline:hover { background: var(--rosa); color: #fff; box-shadow: none; }

/* Hero */
.hero { padding: 56px 0 72px; background: linear-gradient(180deg, var(--durazno), var(--crema)); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 18px; }
.hero h1 span { color: var(--rosa); }
.hero p.lead { font-size: 1.15rem; color: var(--gris); margin-bottom: 28px; }
.hero-checks { list-style: none; margin-bottom: 32px; }
.hero-checks li { padding-left: 30px; position: relative; margin-bottom: 8px; font-weight: 600; }
.hero-checks li::before { content: '✓'; position: absolute; left: 0; color: var(--verde); font-weight: 900; }
.hero-note { font-size: .85rem; color: var(--gris); margin-top: 12px; }
.mockup {
  background: #fff; border-radius: 26px; box-shadow: var(--sombra); padding: 28px;
  border: 1px solid var(--borde); position: relative;
}
.mockup-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; text-align: center; margin-bottom: 18px; color: var(--rosa-osc); }
.mockup-day { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--crema); margin-bottom: 10px; }
.mockup-day b { min-width: 64px; color: var(--rosa); }
.mockup-badge {
  position: absolute; top: -14px; right: -10px; background: var(--verde); color: #fff;
  font-weight: 800; padding: 8px 14px; border-radius: 999px; font-size: .85rem; transform: rotate(4deg);
}

/* Dolor */
.pain { background: #fff; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card { background: var(--crema); border-radius: var(--radio); padding: 26px; border: 1px solid var(--borde); }
.pain-card .emoji { font-size: 2rem; margin-bottom: 10px; }
.pain-card h3 { font-size: 1.15rem; margin-bottom: 6px; font-family: 'Nunito', sans-serif; font-weight: 800; }
.pain-card p { color: var(--gris); font-size: .95rem; }

/* Módulos */
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.module { background: #fff; border-radius: var(--radio); padding: 28px; box-shadow: var(--sombra); }
.module-num { font-weight: 900; color: var(--rosa); font-size: .85rem; letter-spacing: .08em; }
.module .emoji { font-size: 2.2rem; margin: 6px 0 10px; }
.module h3 { font-size: 1.3rem; margin-bottom: 10px; }
.module ul { list-style: none; color: var(--gris); font-size: .95rem; }
.module li { padding-left: 22px; position: relative; margin-bottom: 6px; }
.module li::before { content: '•'; position: absolute; left: 6px; color: var(--rosa); font-weight: 900; }

/* Rutina */
.routine { background: var(--rosa); color: #fff; }
.routine .section-title, .routine .section-sub { color: #fff; }
.routine .section-sub { opacity: .9; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.time-card { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radio); padding: 22px; }
.time-card .hora { font-weight: 900; font-size: 1.4rem; }
.time-card p { opacity: .95; font-size: .95rem; }

/* Planes */
.plans-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.plan {
  background: #fff; border-radius: var(--radio); padding: 26px 20px; border: 2px solid var(--borde);
  display: flex; flex-direction: column; position: relative;
}
.plan.featured { border-color: var(--rosa); box-shadow: 0 18px 40px rgba(233, 78, 119, .25); transform: scale(1.04); z-index: 1; }
.plan.vip { background: linear-gradient(180deg, #2b2b2b, #3d3236); color: #fff; border-color: #d4a85a; }
.plan.vip .plan-desc, .plan.vip .plan-list li { color: #e8dcd0; }
.plan-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--rosa); color: #fff; font-weight: 800; font-size: .75rem; padding: 6px 14px; border-radius: 999px;
}
.plan.vip .plan-ribbon { background: #d4a85a; color: #2b2b2b; }
.plan-name { font-family: 'Playfair Display', serif; font-size: 1.35rem; margin-bottom: 4px; }
.plan-desc { color: var(--gris); font-size: .85rem; margin-bottom: 14px; min-height: 40px; }
.plan-price { font-size: 2rem; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.plan-price small { font-size: 1rem; font-weight: 700; }
.plan-pay { font-size: .8rem; color: var(--gris); margin-bottom: 16px; }
.plan.vip .plan-pay { color: #cbbfb3; }
.plan-list { list-style: none; font-size: .88rem; margin-bottom: 20px; flex: 1; }
.plan-list li { padding-left: 22px; position: relative; margin-bottom: 7px; color: var(--texto); }
.plan-list li::before { content: '✓'; position: absolute; left: 0; color: var(--verde); font-weight: 900; }
.plan-list li.off { color: #b9aaa3; text-decoration: line-through; }
.plan-list li.off::before { content: '✕'; color: #d3c4bd; }
.plan .btn { font-size: .95rem; padding: 14px 18px; }

/* Bonos */
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bonus { background: #fff; border: 2px dashed var(--rosa); border-radius: var(--radio); padding: 24px; }
.bonus b { color: var(--rosa-osc); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.bonus h3 { font-size: 1.15rem; margin: 6px 0; font-family: 'Nunito', sans-serif; font-weight: 800; }
.bonus p { color: var(--gris); font-size: .92rem; }

/* Testimonios */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { background: #fff; border-radius: var(--radio); padding: 24px; box-shadow: var(--sombra); }
.testi .stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 8px; }
.testi p { font-style: italic; margin-bottom: 12px; }
.testi span { font-weight: 800; color: var(--rosa-osc); font-size: .9rem; }

/* Garantía */
.guarantee { background: #fff; }
.guarantee-box {
  display: flex; gap: 28px; align-items: center; max-width: 820px; margin: 0 auto;
  background: var(--crema); border: 2px solid var(--borde); border-radius: 24px; padding: 32px;
}
.seal {
  flex: 0 0 120px; height: 120px; border-radius: 50%; background: var(--verde); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-weight: 900; line-height: 1.1; box-shadow: 0 0 0 8px rgba(47, 163, 107, .2);
}
.seal strong { font-size: 2.2rem; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--borde); border-radius: 14px; margin-bottom: 12px; padding: 18px 22px; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; position: relative; padding-right: 26px; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--rosa); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 10px; color: var(--gris); }

/* CTA final + footer */
.final-cta { text-align: center; background: linear-gradient(180deg, var(--crema), var(--durazno)); }
.footer { text-align: center; padding: 32px 16px; font-size: .85rem; color: var(--gris); background: #fff; }

/* ===== CHECKOUT ===== */
.co-header { background: #fff; border-bottom: 1px solid var(--borde); padding: 16px 0; }
.co-header .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.3rem; color: var(--rosa-osc); text-decoration: none; }
.secure { font-size: .85rem; color: var(--verde); font-weight: 800; }
.co-steps { display: flex; justify-content: center; gap: 8px; padding: 22px 0 6px; font-size: .85rem; font-weight: 700; color: var(--gris); flex-wrap: wrap; }
.co-steps span.active { color: var(--rosa); }
.co-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; padding: 24px 0 64px; align-items: start; }
.card { background: #fff; border-radius: var(--radio); padding: 26px; box-shadow: var(--sombra); margin-bottom: 20px; }
.card h2 { font-size: 1.35rem; margin-bottom: 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field input {
  width: 100%; padding: 14px 16px; border: 2px solid var(--borde); border-radius: 12px;
  font: inherit; background: var(--crema); transition: border-color .15s;
}
.field input:focus { outline: none; border-color: var(--rosa); background: #fff; }
.field input.error { border-color: #d64545; }
.field .err { color: #d64545; font-size: .8rem; display: none; margin-top: 4px; }
.field input.error + .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.plan-pick { display: grid; gap: 10px; }
.plan-opt {
  display: flex; align-items: center; gap: 12px; border: 2px solid var(--borde); border-radius: 14px;
  padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s;
}
.plan-opt:hover { border-color: var(--rosa); }
.plan-opt input { accent-color: var(--rosa); width: 18px; height: 18px; flex: 0 0 auto; }
.plan-opt .po-name { font-weight: 800; flex: 1; }
.plan-opt .po-name small { display: block; font-weight: 600; color: var(--gris); font-size: .8rem; }
.plan-opt .po-price { font-weight: 900; white-space: nowrap; }
.plan-opt.selected { border-color: var(--rosa); background: #fff2f5; }
.plan-opt .po-badge { background: var(--rosa); color: #fff; font-size: .7rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; margin-left: 6px; }

.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pay-opt {
  border: 2px solid var(--borde); border-radius: 14px; padding: 14px 8px; text-align: center; cursor: pointer;
  font-weight: 800; font-size: .85rem; transition: border-color .15s, background .15s;
}
.pay-opt input { display: none; }
.pay-opt .ico { font-size: 1.6rem; display: block; margin-bottom: 4px; }
.pay-opt.selected { border-color: var(--rosa); background: #fff2f5; }
.pay-info { font-size: .85rem; color: var(--gris); margin-top: 12px; background: var(--crema); padding: 12px 14px; border-radius: 12px; }

.summary { position: sticky; top: 20px; }
.sum-line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: .95rem; }
.sum-line.total { border-top: 2px dashed var(--borde); margin-top: 8px; padding-top: 14px; font-size: 1.3rem; font-weight: 900; }
.sum-line .old { text-decoration: line-through; color: var(--gris); }
.sum-line .disc { color: var(--verde); font-weight: 800; }
.sum-items { list-style: none; font-size: .88rem; color: var(--gris); margin: 10px 0 14px; }
.sum-items li { padding-left: 20px; position: relative; margin-bottom: 4px; }
.sum-items li::before { content: '✓'; position: absolute; left: 0; color: var(--verde); font-weight: 900; }
.trust { display: grid; gap: 8px; font-size: .85rem; color: var(--gris); margin-top: 16px; }
.terms { font-size: .78rem; color: var(--gris); text-align: center; margin-top: 12px; }

.modal-bg {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .5); display: none;
  align-items: center; justify-content: center; padding: 16px; z-index: 50;
}
.modal-bg.open { display: flex; }
.modal { background: #fff; border-radius: 20px; padding: 30px; max-width: 440px; width: 100%; text-align: center; }
.modal h3 { font-size: 1.5rem; margin-bottom: 10px; }
.modal p { color: var(--gris); margin-bottom: 18px; }
.alias { background: var(--crema); border: 2px dashed var(--rosa); border-radius: 12px; padding: 14px; font-weight: 800; margin-bottom: 16px; word-break: break-all; }

/* Responsive */
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .plan.featured { transform: none; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero-grid, .co-grid { grid-template-columns: 1fr; }
  .pain-grid, .modules-grid, .bonus-grid, .testi-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .guarantee-box { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .plans-grid, .timeline { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .pay-methods { grid-template-columns: 1fr; }
  .btn { padding: 16px 22px; font-size: 1rem; }
}
