/* Ritual Pies — landing v2 CRO. Paleta: noche #1C1930 · dorado #C98F3B · crema #F7F4EE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.rp-landing {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #2B2438;
  background: #FFFFFF;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* espacio para sticky */
}
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 18px; }
.wrap-angosto { max-width: 680px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: clamp(22px, 4.5vw, 32px); text-align: center; margin-bottom: 30px; }
section { padding: 52px 0; }

/* Barra de anuncio */
.anuncio { background: linear-gradient(90deg, #C98F3B, #E4B96E); color: #241E10; text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; padding: 8px 12px; }

/* Topbar + logo */
.topbar { background: #1C1930; position: sticky; top: 0; z-index: 50; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.logo { display: flex; align-items: center; gap: 10px; color: #EDEAF5; }
.logo-icono { width: 34px; height: 34px; flex-shrink: 0; }
.logo-texto { display: flex; flex-direction: column; line-height: 1.05; letter-spacing: .24em; font-size: 14.5px; font-weight: 600; }
.logo-texto b { color: #D9A85C; font-weight: 600; }
.logo-texto em { font-style: normal; letter-spacing: .1em; font-size: 8.5px; color: #8B84A8; text-transform: uppercase; margin-top: 3px; }
.chip { background: #33295C; color: #EDEAF5; font-size: 12px; padding: 5px 12px; border-radius: 99px; }
.btn-header {
  background: linear-gradient(180deg, #E4B96E, #C98F3B); color: #241E10;
  font-size: 13.5px; font-weight: 700; padding: 9px 18px; border-radius: 99px;
  text-decoration: none; white-space: nowrap; animation: latir 2.4s ease-in-out infinite;
  box-shadow: 0 4px 14px rgba(201,143,59,.45);
}
@keyframes latir { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* Timers honestos */
.timer-inline {
  display: inline-block; background: linear-gradient(90deg, #9E1F14, #C43A2B); color: #FFF;
  font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 99px; margin: 0 0 14px;
}
.timer-inline b { color: #FFE08A; font-variant-numeric: tabular-nums; }
.centrado-t { display: block; text-align: center; border-radius: 12px; margin-bottom: 12px; }
.reels h2, .reels .eyebrow-sec ~ h2 { color: #2B2438; }
.corte-despacho { background: #FDF6E8; border: 1px solid #EAD9B4; border-radius: 10px; padding: 10px 14px; font-size: 13.5px; color: #7A5B1F; margin: 0 0 14px; }
.corte-despacho b { font-variant-numeric: tabular-nums; }

/* Bloque compra */
.compra { padding: 22px 0 46px; background: #FFFFFF; }
.compra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 820px) { .compra-grid { grid-template-columns: 1fr; gap: 18px; } }
.g-principal { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid #EAE5DC; }
.g-principal img { width: 100%; height: auto; display: block; aspect-ratio: 1; object-fit: cover; }
.badge-dcto { position: absolute; top: 12px; left: 12px; background: #B0473F; color: #fff; font-size: 11.5px; font-weight: 700; padding: 6px 12px; border-radius: 99px; z-index: 2; letter-spacing: .03em; }
.g-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.g-thumbs button { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid #EAE5DC; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.g-thumbs button.activa { border-color: #C98F3B; }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.compra-info h1 { font-size: clamp(24px, 5vw, 32px); font-weight: 700; }
.estrellas { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; flex-wrap: wrap; }
.stars { color: #E8A33D; letter-spacing: 2px; }
.stars-txt { font-size: 13.5px; color: #6E6880; }
.precio-bloque { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.precio-ancla { text-decoration: line-through; color: #9B94A8; font-size: 19px; }
.precio { font-size: 38px; font-weight: 700; color: #1C1930; }
.ahorro { background: #E8F3EC; color: #2E7D5B; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 8px; }
.pitch { font-size: 15.5px; color: #4A4458; margin: 0 0 14px; }
.confianza { list-style: none; padding: 0; margin: 0 0 18px; font-size: 14.5px; display: flex; flex-direction: column; gap: 7px; }
.micro-social { text-align: center; font-size: 13px; color: #6E6880; margin-top: 10px; }

/* Botones */
.btn { display: inline-block; text-align: center; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; font-size: 17px; font-weight: 700; border-radius: 12px; padding: 16px 28px; transition: transform .12s ease, box-shadow .12s ease; }
.btn:active { transform: scale(.98); }
.btn-oro { background: linear-gradient(180deg, #E4B96E, #C98F3B); color: #241E10; box-shadow: 0 6px 20px rgba(201,143,59,.35); }
.btn-full { width: 100%; }

/* Secciones */
.claro { background: #F7F4EE; }
.oscuro { background: #1C1930; color: #EDEAF5; }
.oscuro h2 { color: #EDEAF5; }

/* Beneficios — sección nocturna premium */
.beneficios { background: radial-gradient(ellipse at 50% -40%, #33295C 0%, #1C1930 58%); padding: 64px 0; }
.eyebrow-sec { text-align: center; color: #D9A85C; letter-spacing: .22em; font-size: 11.5px; font-weight: 700; margin: 0 0 8px; }
.beneficios h2 { color: #EDEAF5; }
.bene-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.bene {
  position: relative; background: linear-gradient(165deg, #2C2650 0%, #232041 70%);
  border: 1px solid #3A3458; border-radius: 16px; padding: 26px 22px 22px;
  transition: transform .18s ease, border-color .18s ease;
  overflow: hidden;
}
.bene::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, transparent, #D9A85C, transparent); opacity: .65; }
.bene:hover { transform: translateY(-4px); border-color: #D9A85C; }
.bene-ico {
  display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center;
  border-radius: 50%; color: #D9A85C; background: rgba(217,168,92,.09);
  box-shadow: inset 0 0 0 1.5px rgba(217,168,92,.45);
  margin-bottom: 14px;
}
.bene-ico svg { width: 32px; height: 32px; }
.bene h3 { font-size: 16.5px; margin: 0 0 7px; color: #EDEAF5; }
.bene p { margin: 0; font-size: 14px; color: #A49DBE; }
@media (prefers-reduced-motion: reduce) { .bene, .bene:hover { transform: none; } }

/* Reels */
.reels-fila { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.reel-slot { flex: 0 0 min(62vw, 250px); aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; position: relative; }
.reel { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(160deg, #2C2650, #1F1B38 65%); border: 1px solid #3A3458; border-radius: 16px;
  box-shadow: 0 10px 24px rgba(28,25,48,.18);
}
.reel-ph p { margin: 0; color: #A49DBE; font-size: 13.5px; padding: 0 18px; text-align: center; }
.reel-play {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(217,168,92,.14); color: #D9A85C; font-size: 20px; padding-left: 4px;
  box-shadow: inset 0 0 0 1.5px rgba(217,168,92,.5); animation: latir 2.4s ease-in-out infinite;
}

/* Qué incluye */
.incluye-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
@media (max-width: 720px) { .incluye-grid { grid-template-columns: 1fr; } }
.incluye-foto { width: 100%; border-radius: 14px; }
.incluye-lista { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: #EDEAF5; }
.incluye-lista li { padding-left: 28px; position: relative; }
.incluye-lista li::before { content: "✓"; position: absolute; left: 0; color: #D9A85C; font-weight: 700; }
.incluye-lista b { color: #FFFFFF; }
.incluye-lista li small, .incluye-lista li { color: #C9C3DC; }

/* Pasos con foto */
.pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.paso { background: #FFFFFF; border: 1px solid #E7E1D6; border-radius: 14px; overflow: hidden; position: relative; }
.paso img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.paso .num { position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: #1C1930; color: #D9A85C; border-radius: 50%; font-weight: 700; }
.paso h3 { font-size: 16px; margin: 14px 16px 4px; }
.paso p { margin: 0 16px 16px; font-size: 14px; color: #5A5468; }

/* Reseñas */
.resenas-head { text-align: center; font-size: 15px; margin: -16px 0 24px; color: #4A4458; }
.rese-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; }
.rese { background: #FFFFFF; border: 1px solid #E7E1D6; border-radius: 14px; padding: 18px; }
.rese-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: #33295C; color: #D9A85C; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.rese-top b { font-size: 14px; display: block; }
.rese-meta { font-size: 11.5px; color: #2E7D5B; display: block; }
.rese-stars { margin-left: auto; color: #E8A33D; font-size: 13px; letter-spacing: 1px; }
.rese p { margin: 0; font-size: 14px; color: #4A4458; }
.rese-fotos { display: flex; gap: 8px; margin-top: 12px; }
.rese-fotos img { width: 74px; height: 74px; object-fit: cover; border-radius: 10px; border: 1px solid #E7E1D6; }
.rese-nota { text-align: center; font-size: 12px; color: #8B8499; margin-top: 18px; }
.met-solo { background: #33295C; color: #C9C3DC; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; margin-left: 8px; letter-spacing: .04em; }
.met-aviso { font-size: 13px; color: #D9B36A; background: #3A3220; border-radius: 10px; padding: 10px 14px; }

/* Proceso contraentrega */
.proceso { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.pro-paso { background: #262242; border: 1px solid #33295C; border-radius: 14px; padding: 20px; }
.pro-num { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; background: #D9A85C; color: #241E10; border-radius: 50%; font-weight: 700; margin-bottom: 10px; }
.pro-paso p { margin: 0; font-size: 14px; color: #A49DBE; }
.pro-paso b { color: #EDEAF5; }

/* FAQ */
details { background: #FFFFFF; border: 1px solid #E7E1D6; border-radius: 12px; padding: 15px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; font-size: 15px; }
details p { margin: 12px 0 0; font-size: 14.5px; color: #5A5468; }

/* Formulario */
.sub-form { text-align: center; color: #A49DBE; margin: -18px 0 26px; }
.ofertas { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 18px; }
.oferta input { position: absolute; opacity: 0; }
.of-box { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 4px 12px; position: relative; background: #262242; border: 2px solid #33295C; border-radius: 14px; padding: 18px 16px 14px; cursor: pointer; transition: border-color .15s ease; }
.oferta input:checked + .of-box { border-color: #D9A85C; background: #2C2650; }
.oferta input:focus-visible + .of-box { outline: 2px solid #D9A85C; outline-offset: 2px; }
.of-badge { position: absolute; top: -11px; right: 14px; background: #D9A85C; color: #241E10; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.of-badge2 { background: #7FC9A5; }
.of-nombre { font-size: 16px; font-weight: 700; }
.of-ancla { text-decoration: line-through; color: #8B84A8; font-size: 13.5px; }
.of-precio { font-size: 24px; font-weight: 700; color: #D9A85C; justify-self: end; }
.of-nota { grid-column: 1 / -1; font-size: 12.5px; color: #A49DBE; }

/* Combinación de pares */
.combinacion { margin-bottom: 18px; }
.combi-fila { display: flex; gap: 8px; flex-wrap: wrap; }
.combi-op input { position: absolute; opacity: 0; }
.combi-op span {
  display: inline-block; padding: 10px 16px; border-radius: 99px; cursor: pointer;
  background: #262242; border: 2px solid #33295C; color: #EDEAF5; font-size: 13.5px; font-weight: 600;
}
.combi-op input:checked + span { border-color: #D9A85C; background: #2C2650; color: #D9A85C; }
.combi-op input:focus-visible + span { outline: 2px solid #D9A85C; outline-offset: 2px; }

/* Order bump */
.bump { display: flex; gap: 12px; align-items: flex-start; background: #2C2650; border: 2px dashed #D9A85C; border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; cursor: pointer; font-size: 14px; color: #EDEAF5; }
.bump input { margin-top: 3px; accent-color: #D9A85C; width: 18px; height: 18px; }
.bump small { color: #A49DBE; }

/* Método de pago */
.metodo { margin-bottom: 18px; }
.metodo-titulo { font-weight: 700; font-size: 15px; margin: 0 0 10px; color: #EDEAF5; }
.met-op { display: block; margin-bottom: 10px; }
.met-op input { position: absolute; opacity: 0; }
.met-box { display: block; position: relative; background: #262242; border: 2px solid #33295C; border-radius: 12px; padding: 14px 16px; cursor: pointer; font-size: 15px; color: #EDEAF5; }
.met-op input:checked + .met-box { border-color: #7FC9A5; background: #253A32; }
.met-box small { display: block; color: #A49DBE; font-size: 12.5px; margin-top: 3px; }
.met-dcto { background: #2E7D5B; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; margin-left: 8px; }

.campo { margin-bottom: 15px; }
.campo-doble { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .campo-doble { grid-template-columns: 1fr; } }
.campo label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: #EDEAF5; }
.campo input, .campo select {
  width: 100%; padding: 14px; font-size: 16px; font-family: inherit;
  background: #F7F4EE; color: #2B2438; border: 2px solid transparent; border-radius: 10px;
}
.campo input:focus, .campo select:focus { outline: none; border-color: #D9A85C; }
.campo.invalido input, .campo.invalido select { border-color: #E5736A; }
.err { display: none; color: #E5736A; font-size: 12.5px; margin-top: 4px; }
.campo.invalido .err { display: block; }
.err-global { color: #E5736A; text-align: center; margin-top: 14px; }
.nota-form { text-align: center; color: #A49DBE; font-size: 13px; margin-top: 14px; }
#btn-enviar[disabled] { opacity: .6; cursor: wait; }

/* Sticky CTA */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: #1C1930; border-top: 1px solid #33295C;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.sticky-cta .btn { padding: 12px 26px; font-size: 15px; }
.sticky-precio { color: #EDEAF5; display: flex; flex-direction: column; line-height: 1.2; }
.sticky-precio b { font-size: 20px; color: #D9A85C; }
.sp-ancla { text-decoration: line-through; color: #8B84A8; font-size: 12.5px; }

/* Gracias */
.gracias section { padding: 64px 0; }
.centrado { text-align: center; }
.texto-claro { color: #A49DBE; font-size: 16.5px; }
.check { width: 64px; height: 64px; border-radius: 50%; background: #2E7D5B; color: #fff; font-size: 34px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.valor-linea { font-size: 18px; color: #EDEAF5; }
.valor-linea b { color: #D9A85C; }
.upsell-card { background: #262242; border: 1px solid #D9A85C; border-radius: 16px; padding: 26px; margin: 30px 0; position: relative; }
.upsell-card h2 { font-size: 20px; margin: 8px 0 8px; }
.upsell-card p { color: #A49DBE; font-size: 14.5px; }
.up-precio { font-size: 24px; font-weight: 700; color: #D9A85C !important; }
.up-botones { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.btn-fantasma { background: transparent; color: #EDEAF5; border: 1px solid #5D4E8C; }
.up-ok { color: #7FC9A5 !important; font-weight: 600; }
.g-pasos { text-align: left; background: #262242; border-radius: 14px; padding: 22px 26px; margin-top: 26px; }
.g-pasos h3 { font-size: 16px; }
.g-pasos ol { margin: 0; padding-left: 20px; color: #A49DBE; font-size: 14.5px; }
.g-pasos li { margin-bottom: 6px; }
.gracias { padding-bottom: 0; }

/* Footer */
.pie { background: #14121F; color: #7A748E; text-align: center; padding: 32px 0; font-size: 13px; }
.pie .legal { font-size: 11.5px; max-width: 560px; margin: 8px auto 0; }


/* Animaciones de conversión */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.badge-dcto { overflow: hidden; }
.badge-dcto::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  animation: brillo 3.2s ease-in-out infinite;
}
@keyframes brillo { 0% { left: -60%; } 55%, 100% { left: 120%; } }
.sticky-cta .btn { animation: latir 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn-header, .reel-play, .sticky-cta .btn { animation: none; }
  .badge-dcto::after { animation: none; display: none; }
}