/* Páginas de venta (compartido). Colores por app en :root de cada index.html */
:root {
  --pri: #1d4ed8; --pri-osc: #1e3a8a; --pri-claro: #e8efff; --acento: #f97316; --acento-osc: #ea580c;
  --texto: #0f172a; --texto-2: #475569; --fondo: #ffffff; --fondo-2: #f5f7fb; --borde: #e2e8f0;
  --wa: #25d366; --radio: 18px; --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fondo); color: var(--texto);
  font: 17px/1.6 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--pri); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
mark { background: none; color: var(--pri); position: relative; white-space: nowrap; }
mark::after { content: ''; position: absolute; left: 0; right: 0; bottom: .05em; height: .28em; background: var(--acento); opacity: .35; border-radius: 4px; z-index: -1; }
.envoltura { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
section { padding: 64px 0; }
.alt { background: var(--fondo-2); }
.centro { text-align: center; }
.sub { color: var(--texto-2); font-size: 1.1rem; max-width: 680px; }
.centro .sub { margin-left: auto; margin-right: auto; }
.etiqueta { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pri); margin-bottom: 10px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px;
  border-radius: 14px; font-weight: 800; font-size: 1.05rem; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s, box-shadow .15s; text-align: center; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-acento { background: var(--acento); color: #fff; box-shadow: 0 10px 24px -8px var(--acento); }
.btn-pri { background: var(--pri); color: #fff; box-shadow: 0 10px 24px -8px var(--pri); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -8px #16a34a; }
.btn-borde { background: #fff; color: var(--texto); border: 2px solid var(--borde); }
.btn-chico { min-height: 42px; padding: 0 16px; font-size: .95rem; border-radius: 12px; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* Cabecera */
.cab { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--borde); }
.cab .envoltura { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.marca { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--texto); text-decoration: none; }
.marca img { width: 36px; height: 36px; }

/* Hero */
.hero { padding: 40px 0 56px; background: radial-gradient(1200px 500px at 85% -10%, var(--pri-claro), transparent 60%); }
.hero .envoltura { display: grid; gap: 36px; align-items: center; }
.pildora { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--borde); border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 700; color: var(--texto-2); margin-bottom: 18px; }
.hero p.sub { font-size: 1.15rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--texto-2); font-weight: 600; font-size: .95rem; }
.checks li::before { content: '✓'; color: #16a34a; font-weight: 900; margin-right: 6px; }
.visual { position: relative; padding-bottom: 40px; }
.visual .foto { border-radius: 24px; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .5); }
.telefono {
  width: 46%; max-width: 250px; border: 9px solid #0f172a; border-radius: 34px; overflow: hidden; background: #0f172a;
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .6);
}
.telefono img { width: 100%; }
.visual .telefono { position: absolute; right: 4%; bottom: 0; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 80px; }
  .hero .envoltura { grid-template-columns: 1.05fr 1fr; gap: 48px; }
}

/* Dolor */
.grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.tarjeta { background: #fff; border: 1px solid var(--borde); border-radius: var(--radio); padding: 22px; }
.alt .tarjeta { box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.dolor .tarjeta { border-left: 4px solid #ef4444; }
.dolor .tarjeta p { margin: 0; color: var(--texto-2); }
.icono { width: 48px; height: 48px; border-radius: 14px; background: var(--pri-claro); color: var(--pri); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 1.5rem; }
.puente { margin-top: 28px; font-size: 1.2rem; font-weight: 700; }

/* Pasos */
.pasos { display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 800px) { .pasos { grid-template-columns: repeat(3, 1fr); } }
.paso { text-align: center; }
.paso .telefono { margin: 0 auto 18px; width: 70%; max-width: 240px; }
.num { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--acento); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 8px; }
.paso p { color: var(--texto-2); }

/* Muestra */
.muestra .envoltura { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .muestra .envoltura { grid-template-columns: 1fr 1fr; } }
.hoja { border-radius: 10px; box-shadow: 0 30px 60px -25px rgba(15, 23, 42, .45); border: 1px solid var(--borde); transform: rotate(-1.5deg); background: #fff; }
.lista-check { list-style: none; padding: 0; margin: 0 0 24px; }
.lista-check li { padding: 8px 0 8px 34px; position: relative; font-weight: 600; }
.lista-check li::before { content: '✓'; position: absolute; left: 0; top: 7px; width: 24px; height: 24px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: .85rem; }

/* Funciones */
.funcion h3 { margin-bottom: 6px; }
.funcion p { color: var(--texto-2); margin: 0; font-size: .97rem; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.chip { background: #fff; border: 1.5px solid var(--borde); border-radius: 999px; padding: 8px 16px; font-weight: 700; }

/* Precio */
.precio-caja {
  max-width: 520px; margin: 30px auto 0; background: #fff; border: 2px solid var(--pri); border-radius: 26px; padding: 30px 24px;
  box-shadow: 0 30px 60px -30px var(--pri); text-align: center; position: relative;
}
.precio-caja .cinta { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--acento); color: #fff; font-weight: 800; font-size: .85rem; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.monto { font-size: 3.4rem; font-weight: 800; line-height: 1; margin: 10px 0 4px; letter-spacing: -.03em; }
.monto small { font-size: 1.4rem; }
.tachado { color: var(--texto-2); text-decoration: line-through; font-weight: 700; font-size: 1.2rem; }
.precio-caja .lista-check { text-align: left; max-width: 340px; margin: 22px auto; }
.precio-caja .btn { width: 100%; }
.nota-precio { font-size: .9rem; color: var(--texto-2); margin-top: 14px; }
.planes { display: grid; gap: 20px; max-width: 820px; margin: 34px auto 0; }
@media (min-width: 760px) { .planes { grid-template-columns: 1fr 1fr; } }
.planes .precio-caja { margin: 0; max-width: none; }
.planes .precio-caja.secundario { border-color: var(--borde); box-shadow: none; }

/* FAQ */
.faq { max-width: 780px; margin: 30px auto 0; }
.faq details { background: #fff; border: 1px solid var(--borde); border-radius: 14px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--pri); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--texto-2); }

/* Final */
.final { background: linear-gradient(135deg, var(--pri-osc), var(--pri)); color: #fff; text-align: center; }
.final .sub { color: rgba(255, 255, 255, .85); }
.final .ctas { justify-content: center; }
.pie { padding: 30px 0 100px; font-size: .9rem; color: var(--texto-2); text-align: center; }
.pie a { color: var(--texto-2); }

/* WhatsApp flotante */
.wa-flotante {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); color: #fff;
}
.wa-flotante svg { width: 32px; height: 32px; }
@media (max-width: 520px) { .ctas .btn { width: 100%; } .cab .btn { padding: 0 14px; } }
