/* =====================================================================
   Cobrao · Página principal (v0.21)
   Regla: en 5 segundos se entiende qué es, para quién y qué hacer.
   Una idea por sección, un solo botón principal, sin cosas que distraigan.
   ===================================================================== */
html:has(body.L) { overflow-x: clip; }
.L { --g1: #0E7A4F; --g2: #0A5E3D; --g3: #12A36A; --gold: #F2B53A; overflow-x: clip; }
.L section { padding: 56px 0; }
.L .eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.L h2.t { font-size: clamp(26px, 5vw, 36px); line-height: 1.12; margin: 8px 0 8px; }
.L p.s { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0; }
.L .center { text-align: center; }
.L .center p.s { margin: 0 auto; }
.L .ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Navegación: logo, entrar y un solo botón */
.L .nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 85%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; padding: 12px 0; margin: 0; }
.L .nav.scrolled { border-bottom-color: var(--line); }
.L .nav .links { display: flex; gap: 6px; align-items: center; }

/* ---------- 1. Portada ---------- */
.L .hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 36px 0 20px; }
@media (max-width: 860px) { .L .hero { grid-template-columns: 1fr; gap: 26px; padding-top: 18px; text-align: center; } .L .hero .lead { margin-left: auto; margin-right: auto; } .L .cta, .L .trustline { justify-content: center; } }
.L .hero h1 { font-size: clamp(36px, 7.4vw, 58px); line-height: 1.02; letter-spacing: -0.035em; }
.L .hero h1 em { font-style: normal; color: var(--g1); }
.L .hero .lead { font-size: 18px; color: #3d4756; margin: 16px 0 0; max-width: 500px; }
.L .for { margin-top: 12px; font-size: 14px; color: var(--muted); font-weight: 600; }
.L .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.L .btn.big { padding: 16px 24px; font-size: 16px; border-radius: 14px; }
.L .btn.primary.big { box-shadow: 0 14px 28px -12px rgba(14,122,79,.6); }
.L .link { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--brand-soft); padding-bottom: 2px; }
.L .trustline { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; color: var(--muted); font-size: 13px; font-weight: 600; }
.L .trustline span { display: inline-flex; gap: 6px; align-items: center; }
.L .trustline .ico { width: 16px; height: 16px; color: var(--brand); }

/* Teléfono que muestra un cobro de principio a fin */
.L .phone-wrap { position: relative; display: grid; place-items: center; }
.L .phone-wrap::before { content: ''; position: absolute; width: min(420px, 100vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(18,163,106,.18), transparent 62%); z-index: 0; }
.L .phone { position: relative; z-index: 1; width: 290px; height: 560px; border-radius: 42px; background: #0f1720; padding: 10px; box-shadow: 0 40px 80px -30px rgba(16,24,40,.5), inset 0 0 0 2px #2a3442; }
.L .phone .scr { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #ECE5DD; display: flex; flex-direction: column; position: relative; }
.L .wa-h { background: #0B6E4F; color: #fff; display: flex; align-items: center; gap: 10px; padding: 32px 14px 12px; text-align: left; }
.L .wa-h .av { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.L .wa-h b { font-size: 15px; display: block; }
.L .wa-h small { font-size: 11px; opacity: .8; }
.L .chat { flex: 1; padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; text-align: left; }
.L .msg { max-width: 84%; padding: 8px 10px 16px; border-radius: 12px; font-size: 13px; line-height: 1.4; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.08); opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s cubic-bezier(.2,.9,.3,1.2); }
.L .msg.in { opacity: 1; transform: none; }
.L .msg.them { background: #fff; align-self: flex-start; border-top-left-radius: 3px; }
.L .msg.me { background: #D9FDD3; align-self: flex-end; border-top-right-radius: 3px; }
.L .msg i { position: absolute; right: 8px; bottom: 3px; font-style: normal; font-size: 10px; color: #8a96a3; }
.L .msg u { color: #0B6E4F; }
.L .msg .cap { width: 140px; height: 84px; border-radius: 8px; background: linear-gradient(135deg, #eef2f7, #dfe6ee); display: grid; place-items: center; color: #5b6b7e; font-size: 11px; font-weight: 700; margin-bottom: 4px; }
.L .msg .rc { display: flex; gap: 8px; align-items: center; background: #F0FAF4; border-radius: 8px; padding: 8px; margin-top: 6px; font-weight: 700; color: var(--g1); }
.L .toast-n { position: absolute; left: 10px; right: 10px; top: 10px; background: rgba(255,255,255,.97); border-radius: 16px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; text-align: left; box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); transform: translateY(-130%); transition: transform .45s cubic-bezier(.2,.9,.3,1.2); z-index: 3; }
.L .toast-n.in { transform: none; }
.L .toast-n .ap { width: 34px; height: 34px; border-radius: 9px; background: var(--g1); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.L .toast-n b { font-size: 13px; display: block; }
.L .toast-n span { font-size: 12px; color: #4b5563; }
.L .cap-under { position: relative; z-index: 1; margin-top: 14px; font-size: 13px; color: var(--muted); font-weight: 600; text-align: center; }

/* ---------- 2. Cómo funciona: 3 pasos ---------- */
.L .steps3x { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; counter-reset: s; }
@media (max-width: 760px) { .L .steps3x { grid-template-columns: 1fr; } }
.L .st { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; position: relative; }
.L .st .num { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.L .st b { display: block; font-size: 18px; margin-top: 14px; }
.L .st p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
@media (min-width: 761px) { .L .st:not(:last-child)::after { content: ''; position: absolute; right: -12px; top: 40px; width: 10px; height: 10px; border-top: 2px solid var(--line); border-right: 2px solid var(--line); transform: rotate(45deg); z-index: 1; background: transparent; } }

/* ---------- 3. Lo que ganas ---------- */
.L .gains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
@media (max-width: 760px) { .L .gains { grid-template-columns: 1fr; } }
.L .gain { display: flex; gap: 14px; align-items: flex-start; padding: 6px 0; }
.L .gain .ico { width: 26px; height: 26px; padding: 9px; border-radius: 14px; box-sizing: content-box; background: var(--brand-soft); color: var(--brand); }
.L .gain b { display: block; font-size: 17px; }
.L .gain p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- 4. Así se ve (capturas reales) ---------- */
.L .shots { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px 16px 20px; margin: 0 -16px; scrollbar-width: none; }
.L .shots::-webkit-scrollbar { display: none; }
.L .shot { flex: none; width: 230px; scroll-snap-align: center; text-align: center; }
.L .shot .fr { border-radius: 32px; padding: 8px; background: #0f1720; box-shadow: 0 30px 50px -28px rgba(16,24,40,.55); }
.L .shot img { width: 100%; display: block; border-radius: 25px; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; background: #eee; }
.L .shot b { display: block; margin-top: 12px; font-size: 15px; }
.L .shot span { color: var(--muted); font-size: 13px; }
@media (min-width: 900px) { .L .shots { justify-content: center; overflow: visible; } }

/* ---------- 5. Para quién ---------- */
.L .who { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.L .who span { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; font-weight: 700; font-size: 14px; }

/* ---------- 6. Confianza ---------- */
.L .trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
@media (max-width: 760px) { .L .trust { grid-template-columns: 1fr; } }
.L .tr { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.L .tr .ico { color: var(--brand); width: 24px; height: 24px; margin-top: 2px; }
.L .tr b { display: block; font-size: 16px; } .L .tr p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- 7. Precio ---------- */
.L .price { max-width: 560px; margin: 26px auto 0; background: #fff; border: 2px solid var(--brand); border-radius: 26px; padding: 26px; text-align: center; position: relative; }
.L .price .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.L .price .amt { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin-top: 8px; }
.L .price .amt small { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.L .price .was { color: var(--muted); font-size: 14px; }
.L .price .was s { opacity: .8; }
.L .price ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; text-align: left; }
.L .price li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.L .price li .ico { color: var(--brand); width: 18px; height: 18px; }
.L .meter { height: 8px; background: var(--brand-soft); border-radius: 99px; overflow: hidden; margin: 6px 0 6px; }
.L .meter i { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 99px; transition: width 1.2s cubic-bezier(.2,.9,.3,1); }

/* ---------- 8. Preguntas ---------- */
.L .faq2 { max-width: 680px; margin: 22px auto 0; display: grid; gap: 10px; }
.L .faq2 details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 18px; }
.L .faq2 summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 10px; }
.L .faq2 summary::-webkit-details-marker { display: none; }
.L .faq2 summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--brand); transition: transform .25s; }
.L .faq2 details[open] summary::after { transform: rotate(45deg); }
.L .faq2 details p { margin: 0 0 16px; color: var(--muted); }
.L .ask { text-align: center; margin-top: 16px; font-size: 15px; color: var(--muted); }
.L .ask button { appearance: none; border: 0; background: none; font: inherit; font-weight: 700; color: var(--brand); cursor: pointer; text-decoration: underline; }

/* ---------- 9. Crear cuenta ---------- */
.L .join2 { max-width: 460px; margin: 0 auto; }
.L .authbox { border-radius: 26px; padding: 24px; box-shadow: 0 30px 60px -36px rgba(16,24,40,.45); }
.L .authbox .alt { text-align: center; margin-top: 14px; font-size: 14px; }

/* Teléfono: un solo botón fijo abajo, y Coby no compite con él */
.L .sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 35; display: none; transform: translateY(150%); transition: transform .35s cubic-bezier(.2,.9,.3,1.2); }
.L .sticky-cta.on { transform: none; }
.L .sticky-cta .btn { width: 100%; box-shadow: 0 14px 30px -12px rgba(16,24,40,.45); }
@media (max-width: 760px) { .L .sticky-cta { display: block; } .L .footer { padding-bottom: 100px; } body.site.L .cb-fab { bottom: calc(84px + env(safe-area-inset-bottom)) !important; right: 14px !important; width: 58px !important; height: 58px !important; transition: transform .35s cubic-bezier(.3,1.2,.5,1), opacity .3s; } body.site.L .cb-hint { bottom: calc(150px + env(safe-area-inset-bottom)) !important; } }

/* Aparecer al bajar */
.L .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.9,.3,1); }
.L .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .L .rv { opacity: 1; transform: none; transition: none; } .L .msg, .L .toast-n { transition: none; } }
.L .tr, .L .gain, .L .st { text-align: left; }

/* ---------- Coby en la portada ---------- */
.L .coby-hero { position: absolute; z-index: 2; left: -70px; bottom: 30px; display: flex; flex-direction: column; align-items: flex-start; pointer-events: none; }
.L .coby-hero [data-koby] { animation: cobyfl 4s ease-in-out infinite; filter: drop-shadow(0 14px 18px rgba(16,24,40,.22)); }
@keyframes cobyfl { 50% { transform: translateY(-8px); } }
.L .coby-hero .say { background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 9px 12px; font-size: 13px; font-weight: 700; line-height: 1.3; box-shadow: 0 12px 24px -14px rgba(16,24,40,.35); margin: 0 0 6px 40px; opacity: 0; transform: translateY(6px); animation: say .5s cubic-bezier(.2,.9,.3,1.2) 1.2s forwards; text-align: left; }
@keyframes say { to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .L .coby-hero { position: relative; left: auto; bottom: auto; flex-direction: row; align-items: center; justify-content: center; gap: 4px; margin-top: 14px; }
  .L .coby-hero [data-koby] { width: 96px; flex: none; }
  .L .coby-hero [data-koby] svg { width: 100% !important; height: auto !important; }
  .L .coby-hero .say { margin: 0; border-radius: 16px 16px 16px 4px; font-size: 13px; }
  .L .cap-under { margin-top: 6px; }
}
/* La burbuja de Coby: se aparta mientras bajas y vuelve al parar, como en la app */
body.site.L .cb-fab { transition: transform .35s cubic-bezier(.3,1.2,.5,1), opacity .3s; will-change: transform, opacity; }
body.site.L.cb-quiet .cb-fab { transform: translateX(8px) scale(.72); opacity: .45; }
@media (max-width: 760px) { body.site.L .cb-hint { display: none !important; } }

/* ---------- Así se ve: formas de cobrar ---------- */
.L .uses { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.L .uses button { appearance: none; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); padding: 9px 15px; border-radius: 99px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.L .uses button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.L .uses button:active { transform: scale(.96); }
.L .usedesc { text-align: center; color: var(--muted); font-size: 15px; max-width: 520px; margin: 14px auto 0; min-height: 2.6em; }
.L .shots { transition: opacity .18s ease, transform .18s ease; }
.L .shots.swap { opacity: 0; transform: translateY(8px); }
@media (prefers-reduced-motion: reduce) { .L .coby-hero [data-koby] { animation: none; } .L .coby-hero .say { animation: none; opacity: 1; transform: none; } }
