:root {
  --teal: #296571;
  --teal-dark: #1d4a53;
  --teal-soft: #e3eff0;
  --yellow: #fbd671;
  --yellow-soft: #fff4d3;
  --pink: #d83772;
  --pink-dark: #b92a5e;
  --pink-soft: #fbe3ec;
  --bg: #fffaf0;
  --card: #ffffff;
  --ink: #1c3a40;
  --muted: #5d7a80;
  --line: #eadfc7;
  --red: #b3261e;
  --red-soft: #fde8e6;
  --radius: 18px;
  --shadow: 0 2px 0 rgba(41, 101, 113, 0.08), 0 12px 30px rgba(41, 101, 113, 0.09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif; font-size: 17px; line-height: 1.55;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; margin: 0 0 .5em; color: var(--teal-dark); font-weight: 700; }
h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--pink-dark); font-weight: 700; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.logo { display: block; width: 206px; height: 66px; overflow: hidden; }
.top img { width: 230px; height: auto; display: block; margin: -87px 0 0 -11px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; }
.tab { border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--muted); padding: 10px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--teal); }
.tab[aria-selected="true"] { background: var(--teal); color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 800; padding: 14px 26px; border-radius: 999px; text-decoration: none; transition: transform .12s, box-shadow .12s, background .12s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 4px 0 var(--pink-dark); }
.btn-primary:hover { background: var(--pink-dark); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 4px 0 var(--teal-dark); }
.btn-ghost { background: transparent; color: var(--teal); border: 2px solid var(--teal); padding: 12px 22px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.card.soft { background: var(--yellow-soft); border-color: #f1d98f; box-shadow: none; }
.card.teal { background: var(--teal); color: #fff; border: 0; }
.card.teal h2, .card.teal h3 { color: #fff; }
.chip { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 800; background: var(--yellow); color: var(--teal-dark); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Landing */
.hero { padding: 48px 0 24px; text-align: center; }
.hero p.lead { font-size: 1.2rem; max-width: 620px; margin: 0 auto 1.4em; color: var(--ink); }
.hero .eyebrow { color: var(--pink); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; margin-bottom: 12px; }
.grid2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature .n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; margin-bottom: 10px; }
.price { text-align: center; }
.price .amount { font-family: "Fraunces", serif; font-size: 3.4rem; font-weight: 800; color: var(--teal-dark); line-height: 1; }
.price ul { text-align: left; max-width: 420px; margin: 18px auto; padding-left: 0; list-style: none; }
.price li { padding: 6px 0 6px 28px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 900; }
.pay { display: flex; flex-direction: column; gap: 10px; max-width: 360px; margin: 0 auto; }
.code { display: flex; gap: 8px; max-width: 420px; margin: 8px auto 0; }
input[type="text"], input[type="date"], select, textarea {
  font: inherit; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 800; color: var(--teal-dark); }
.disclaimer { font-size: .88rem; color: var(--muted); padding: 16px; border-radius: 12px; background: var(--teal-soft); }

/* Quiz */
.progress { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 22px 0 6px; }
.progress > i { display: block; height: 100%; background: var(--pink); border-radius: 99px; transition: width .3s; }
.q { margin-bottom: 26px; }
.q > label, .q > .lab { display: block; font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; color: var(--teal-dark); }
.q .help { color: var(--muted); font-size: .92rem; margin-bottom: 10px; }
.opts { display: grid; gap: 10px; }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--line); background: #fff; border-radius: 14px; cursor: pointer; text-align: left; font: inherit; color: var(--ink); width: 100%; }
.opt:hover { border-color: var(--teal); }
.opt .mark { flex: none; width: 22px; height: 22px; border: 2px solid var(--teal); border-radius: 50%; margin-top: 2px; display: grid; place-items: center; }
.opt.multi .mark { border-radius: 6px; }
.opt[aria-checked="true"] { border-color: var(--teal); background: var(--teal-soft); }
.opt[aria-checked="true"] .mark { background: var(--teal); }
.opt[aria-checked="true"] .mark::after { content: "✓"; color: #fff; font-size: .8rem; font-weight: 900; }
.opt .hint { display: block; color: var(--muted); font-size: .88rem; }
.nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }

/* Alerts */
.alert { border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.alert.emergency { background: var(--red-soft); border: 3px solid var(--red); }
.alert.emergency h2 { color: var(--red); }
.alert.soon { background: var(--yellow-soft); border: 2px solid var(--yellow); }
.alert ul { margin: 0 0 1em; padding-left: 20px; }

/* Report */
.type-badge { display: inline-block; font-weight: 800; padding: 6px 14px; border-radius: 999px; background: var(--pink); color: #fff; margin-bottom: 10px; }
.msg { border-left: 5px solid var(--yellow); padding: 4px 0 4px 16px; margin: 0 0 16px; }
.msg b { display: block; font-family: "Fraunces", serif; font-size: 1.15rem; color: var(--teal-dark); }
.cause { padding: 16px 0; border-bottom: 1px solid var(--line); }
.cause:last-child { border-bottom: 0; }
.cause-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.bar { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 8px 0; }
.bar > i { display: block; height: 100%; background: var(--teal); }
.cause.alta .bar > i { background: var(--pink); }
.cause ul { margin: 6px 0 0; padding-left: 20px; color: var(--muted); font-size: .94rem; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: left; }
.compare th { background: var(--teal-soft); color: var(--teal-dark); }

/* Plan */
.phase h2 { margin-bottom: 2px; }
.phase .sub { color: var(--pink); font-weight: 800; margin-bottom: 14px; }
.task { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.task input { flex: none; width: 24px; height: 24px; margin-top: 4px; accent-color: var(--teal); }
.task .tt { font-weight: 800; }
.task.done .tt { text-decoration: line-through; color: var(--muted); }
.task .dd { color: var(--muted); font-size: .94rem; }
.meter { font-weight: 800; color: var(--teal); }

/* Tracker */
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding-top: 10px; }
.bars div { flex: 1; text-align: center; font-size: .8rem; color: var(--muted); display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.bars i { display: block; background: var(--pink); border-radius: 8px 8px 0 0; min-height: 3px; margin-bottom: 4px; }
.bars b { color: var(--ink); }
.row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 14px; }
.log-item { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .95rem; }

/* Video */
.video { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--teal); position: relative; margin: 14px 0; }
.video iframe, .video video { width: 100%; height: 100%; border: 0; display: block; }
.video.empty { display: grid; place-items: center; text-align: center; color: #fff; padding: 20px; background: repeating-linear-gradient(135deg, var(--teal), var(--teal) 14px, #2d6f7c 14px, #2d6f7c 28px); }
.video.empty b { display: block; font-family: "Fraunces", serif; font-size: 1.2rem; }
.video.empty span { opacity: .85; font-size: .9rem; }

footer { padding: 36px 0 60px; text-align: center; color: var(--muted); font-size: .9rem; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .logo { width: 160px; height: 51px; }
  .top img { width: 178px; margin: -67px 0 0 -8px; }
  .card { padding: 18px; }
  .code { flex-direction: column; }
}
@media print {
  .top, .nav, .no-print, footer, .video { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; break-inside: avoid; }
  .tab-panel { display: block !important; }
}

/* Plan por pasos */
.step .step-n { color: var(--pink); font-weight: 800; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 4px; }
.step ul { padding-left: 22px; margin: 0 0 1em; }
.step li { margin-bottom: 8px; }
.step.done { border-color: var(--teal); background: var(--teal-soft); }
.step-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.stepcheck { display: inline-flex; gap: 10px; align-items: center; font-weight: 800; cursor: pointer; margin-left: auto; }
.stepcheck input { width: 24px; height: 24px; accent-color: var(--teal); }
.msg p { margin: 6px 0 0; }

/* Landing: marca grande y bloque de dolor */
.brand-big { font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: clamp(3.4rem, 15vw, 7rem); line-height: .95; letter-spacing: -.02em; color: var(--teal-dark); margin-bottom: 18px; }
.brand-big span { color: var(--pink); }
.hero-h1 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); max-width: 720px; margin-left: auto; margin-right: auto; }
.pain { max-width: 700px; margin: 12px auto 36px; text-align: center; }
.pain-intro { font-size: 1.15rem; }
.quotes { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.quotes li { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--pink); border-radius: 14px; padding: 14px 18px; text-align: left; font-family: "Fraunces", Georgia, serif; font-size: 1.12rem; color: var(--teal-dark); box-shadow: var(--shadow); }
.pain-bridge { font-weight: 800; color: var(--teal); font-size: 1.1rem; }

/* Marca del hero: más compacta, con firma al lado */
.brand-row { display: flex; align-items: baseline; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.brand-big { font-size: clamp(2.2rem, 8vw, 3.6rem); margin: 0; }
.brand-by { font-weight: 800; color: var(--muted); font-size: 1.05rem; }
.hero .pain { margin-top: 24px; }
.price .amount .cur, .price .amount .cop { font-family: "Nunito", sans-serif; font-size: 1.1rem; font-weight: 800; color: var(--muted); }
.price .amount .cop { font-size: 1.5rem; color: var(--teal); }
.price .amount .sep { font-size: 1.5rem; color: var(--muted); }

/* Imágenes de la página de venta */
.pain-img { display: block; width: 100%; max-width: 480px; height: auto; margin: 18px auto 6px; border-radius: var(--radius); box-shadow: var(--shadow); }
.about { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.about img { width: 100%; height: auto; border-radius: var(--radius); display: block; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 30%; }
@media (max-width: 640px) { .about { grid-template-columns: 1fr; } .about img { max-width: 260px; margin: 0 auto; } }

/* Precio: USD y COP del mismo tamaño */
.price .amount, .price .amount .cur, .price .amount .cop, .price .amount .sep { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.9rem, 6.5vw, 3rem); font-weight: 800; color: var(--teal-dark); line-height: 1.1; }
.price .amount .sep { color: var(--muted); font-weight: 600; padding: 0 .1em; }

/* Ajustes de tamaño de la página de venta */
.hero-h1 { font-size: clamp(1.35rem, 3.4vw, 1.9rem); max-width: 680px; line-height: 1.25; }
.hero-h1 span { display: block; }
.hero-h1 span + span { margin-top: .5em; color: var(--teal); }
.about-h { font-size: clamp(1.1rem, 2.6vw, 1.4rem); line-height: 1.3; }
.price .amount, .price .amount .cur, .price .amount .cop, .price .amount .sep { font-size: clamp(1.5rem, 5vw, 2.2rem); }
.hero-h1 span + span { color: var(--pink); }
.pain-img { max-width: 520px; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 52%; }
.brand-row { margin-bottom: 36px; }

/* ===== Página de ventas v2 (pensada primero para celular de 375 px) ===== */
body { overflow-x: clip; }
img { max-width: 100%; }
.btn { min-height: 48px; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.hero { padding: 28px 0 8px; }
.hero .lead { font-size: 1.08rem; margin: 18px auto 22px; max-width: 560px; }
.hero-price { margin: 14px 0 0; }
.trust { margin: 6px 0 0; color: var(--teal); font-weight: 700; }
.paid-banner { background: var(--teal); color: #fff; padding: 14px 18px; border-radius: 14px; margin: 16px 0 0; text-align: center; }
.tried, .how, .receive, .testis, .closing { margin-bottom: 40px; }
.how h2, .receive h2, .testis h2 { text-align: center; }
.tried .btn { margin-top: 6px; }
.steps3 { list-style: none; padding: 0; display: grid; gap: 14px; margin: 18px 0 0; }
.steps3 li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.steps3 .n { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; }
.steps3 h3 { margin: 0 0 4px; font-size: 1.08rem; }
.steps3 p { margin: 0; color: var(--muted); }
.previews { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 16px; margin: 0 -4px; -webkit-overflow-scrolling: touch; }
.phone { flex: 0 0 74%; max-width: 280px; margin: 0; scroll-snap-align: center; text-align: center; }
.phone-screen { border: 7px solid #1c3a40; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.phone-screen img { display: block; width: 100%; height: auto; }
.phone figcaption { margin-top: 10px; font-weight: 800; font-size: .92rem; color: var(--teal-dark); }
.center { text-align: center; }
.checks { list-style: none; padding: 0; max-width: 560px; margin: 18px auto 0; }
.checks li { padding: 8px 0 8px 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 2px; color: var(--pink); font-weight: 900; }
.testi-list { display: grid; gap: 16px; margin-top: 18px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; text-align: center; box-shadow: var(--shadow); }
.testi img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid var(--yellow); margin: 0 auto 8px; display: block; }
.testi h3 { margin: 0; }
.testi .who { margin: 0; font-weight: 800; color: var(--teal); }
.testi .why { margin: 2px 0 12px; font-size: .85rem; color: var(--muted); }
.testi blockquote { margin: 0; text-align: left; font-size: .98rem; }
.price .anchor { max-width: 520px; margin: 0 auto 14px; }
.price .pay-note { margin: 2px 0 0; text-align: center; }
.after { text-align: left; max-width: 460px; margin: 22px auto 0; background: var(--teal-soft); border-radius: 14px; padding: 16px 18px; }
.after h3 { margin: 0 0 8px; font-size: 1.05rem; }
.after ol { margin: 0; padding-left: 20px; }
.after li { margin-bottom: 6px; }
.support { margin-top: 16px; }
.closing { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(41, 101, 113, .12); transform: translateY(110%); transition: transform .25s; }
.sticky-cta span { font-weight: 800; color: var(--teal-dark); }
.sticky-cta .btn { padding: 12px 24px; }
@media (max-width: 700px) {
  .sticky-cta { display: flex; }
  .sticky-cta.show { transform: translateY(0); }
  main#app { padding-bottom: 76px; }
}
@media (min-width: 700px) {
  .previews { justify-content: center; overflow: visible; }
  .phone { flex: 1 1 0; }
  .testi-list { grid-template-columns: 1fr 1fr; }
}

/* Testimonios: carrusel deslizable en celular para no alargar la página */
.swipe-hint { display: none; margin: 6px 0 0; }
@media (max-width: 699px) {
  .swipe-hint { display: block; }
  .testi-list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 16px; margin: 10px -4px 0; -webkit-overflow-scrolling: touch; }
  .testi { flex: 0 0 88%; scroll-snap-align: center; }
}

/* Más aire en el encabezado */
.hero-h1 { margin-bottom: 30px; }
.hero .lead { margin-top: 0; }
.hero { padding-bottom: 36px; }
.trust { margin-bottom: 0; }
.pain { margin-top: 40px; }

/* "Qué pasa después de pagar": solo los números, sin los checks de la lista de arriba */
.price .after ol { list-style: decimal; padding-left: 22px; }
.price .after li { padding: 0; margin-bottom: 8px; }
.price .after li::before { content: none; }
.price .after li::marker { font-weight: 800; color: var(--teal-dark); }

/* Logo completo (antes se cortaba la parte de arriba) */
.logo { height: 84px; }
.top img { margin: -76px 0 0 -11px; }
@media (max-width: 560px) {
  .logo { height: 68px; }
  .top img { margin: -58px 0 0 -8px; }
}

/* Logo de ORINA SOS en el encabezado (reemplaza el título en texto) */
.brand-row { flex-direction: column; align-items: center; gap: 2px; margin-bottom: 28px; }
.brand-logo { display: block; width: min(320px, 82%); height: auto; }
.brand-row .brand-by { margin-top: 2px; }

/* Logo en la caja de precio */
.price-logo { display: block; width: min(240px, 72%); height: auto; margin: 10px auto 6px; }

/* Botón de WhatsApp de apoyo: área táctil cómoda (mín. 48 px de alto) */
.support { margin-top: 18px; text-align: center; }
.support p { margin: 0 0 10px; }
.btn-wa { width: 100%; max-width: 340px; min-height: 48px; }

/* Botón de PayPal en el amarillo de la marca (mismo de la etiqueta "Pago único") */
.btn-yellow { background: var(--yellow); color: var(--teal-dark); box-shadow: 0 4px 0 #d9b24f; }
.btn-yellow:hover { background: #f5c957; }

/* Aviso visual para deslizar los carruseles en celular */
.swipe-hint { color: var(--pink); font-weight: 800; font-size: .95rem; margin: 8px 0 0; }
.swipe-hint .arrow { display: inline-block; animation: nudge 1.2s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) { .swipe-hint .arrow { animation: none; } }
.dots { display: flex; justify-content: center; gap: 8px; margin: 0 0 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #d9ccb0; transition: background .2s, transform .2s; }
.dots i.on { background: var(--pink); transform: scale(1.3); }
@media (min-width: 700px) { .swipe-hint, .dots { display: none; } }
