/* ============ Landing ============ */
body { background: var(--page); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--page) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .2s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(15, 23, 42, .04); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav-links { display: flex; gap: 26px; margin-left: 8px; }
.nav-links a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); color: var(--ink); place-items: center; cursor: pointer; }
.nav-m-only { display: none; }
@media (max-width: 1060px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-grid; }
  /* Menú desplegable en celulares y tablets */
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); background: var(--page); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(15, 23, 42, .08); }
  .nav.open .nav-links a { padding: 14px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--line-2); }
  .nav.open .nav-links a:last-child { border-bottom: 0; }
  .nav.open .nav-m-only { display: block; }
}
@media (max-width: 420px) { .nav-login { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; background:
  radial-gradient(900px 400px at 50% -10%, #e0f2fe 0%, transparent 70%),
  radial-gradient(600px 300px at 90% 40%, #d1fae5 0%, transparent 70%), #fff; }
.hero-inner { text-align: center; position: relative; z-index: 2; }
.pill { display: inline-flex; gap: 6px; padding: 7px 14px; border-radius: 99px; background: #ecfdf5; color: #047857; font-weight: 700; font-size: .85rem; border: 1px solid #a7f3d0; }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800; letter-spacing: -.045em; margin: 22px 0 18px; }
.hero h1 mark { background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); color: inherit; padding: 0 .08em; }
.lead { max-width: 620px; margin: 0 auto; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-2); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks .ico { color: var(--brand); }

/* Tarjetas flotantes */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.floater { position: absolute; width: 150px; background: var(--card); border-radius: 18px; padding: 8px 8px 12px; box-shadow: var(--shadow); font-weight: 700; font-size: .85rem; animation: bob 6s ease-in-out infinite; }
.floater span { display: block; padding: 8px 4px 0; }
.f-img { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font-size: 3.4rem; background: linear-gradient(135deg, var(--a), var(--b)); }
.f1 { left: 2%; top: 60px; transform: rotate(-8deg); }
.f2 { left: 9%; top: 300px; transform: rotate(7deg); animation-delay: -2s; }
.f3 { left: 1%; top: 520px; transform: rotate(-5deg); animation-delay: -4s; }
.f4 { right: 3%; top: 70px; transform: rotate(9deg); animation-delay: -1s; }
.f5 { right: 9%; top: 310px; transform: rotate(-7deg); animation-delay: -3s; }
.f6 { right: 2%; top: 540px; transform: rotate(6deg); animation-delay: -5s; }
@keyframes bob { 50% { translate: 0 -12px; } }
@media (max-width: 1180px) { .f2, .f5 { display: none; } .floater { width: 120px; } .f-img { font-size: 2.6rem; } }
@media (max-width: 860px) { .floaters { display: none; } }

/* Mockup */
.showcase { position: relative; max-width: 720px; margin: 56px auto 0; display: flex; justify-content: center; padding-bottom: 20px; z-index: 2; }
.url-chip { position: absolute; left: 0; top: 70px; background: var(--card); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .88rem; display: flex; gap: 8px; align-items: center; color: var(--ink-2); }
.url-chip .ico { color: var(--brand); }
.phone { width: 300px; border-radius: 44px; background: #0b1220; padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #334155; position: relative; }
.phone-notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 90px; height: 24px; background: #0b1220; border-radius: 20px; z-index: 3; }
.phone-screen { background: #fafafa; border-radius: 34px; overflow: hidden; height: 590px; position: relative; font-size: 12px; }
.m-announce { background: #db2777; color: #fff; text-align: center; padding: 42px 8px 7px; font-weight: 700; font-size: 10.5px; }
.m-cover { height: 92px; background: linear-gradient(135deg, #ec4899, #f59e0b); position: relative; }
.m-logo { position: absolute; left: 16px; bottom: -26px; width: 56px; height: 56px; border-radius: 16px; background: #0f172a; display: grid; place-items: center; font-size: 28px; border: 3px solid #fff; }
.m-name { font-weight: 800; font-size: 16px; padding: 32px 16px 0; }
.m-desc { color: var(--muted); padding: 0 16px; font-size: 11px; }
.m-chips { display: flex; gap: 6px; padding: 12px 16px; overflow: hidden; }
.m-chips span { padding: 5px 11px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 11px; white-space: nowrap; }
.m-chips .on { background: #0b1220; color: #fff; border-color: #0b1220; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
.m-card { background: #fff; border-radius: 14px; padding: 6px 6px 9px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; font-size: 11px; }
.m-img { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-size: 38px; background: linear-gradient(135deg, var(--a), var(--b)); position: relative; margin-bottom: 6px; }
.m-img i { position: absolute; top: 6px; left: 6px; background: #ef4444; color: #fff; font-style: normal; font-weight: 800; font-size: 9px; padding: 2px 6px; border-radius: 6px; }
.m-card s { color: var(--muted); font-size: 10px; }
.m-card em { font-style: normal; font-weight: 800; color: #db2777; }
.m-wa { position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--wa); color: #fff; border-radius: 99px; padding: 11px; text-align: center; font-weight: 800; display: flex; gap: 6px; justify-content: center; align-items: center; box-shadow: 0 8px 20px rgba(34, 197, 94, .4); }
.wa-bubble { position: absolute; right: -10px; top: 260px; width: 240px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 14px; animation: bob 7s ease-in-out infinite; }
.wa-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.wa-head small { display: block; color: var(--muted); font-size: .75rem; }
.wa-dot { width: 34px; height: 34px; border-radius: 50%; background: #dcfce7; color: #16a34a; display: grid; place-items: center; }
.wa-body { background: #f0fdf4; border-radius: 12px; padding: 10px 12px; font-size: .82rem; color: var(--ink-2); }
.wa-line { display: block; margin-top: 4px; }
.wa-body b { display: block; margin-top: 6px; color: var(--ink); }
.stat-bubble { position: absolute; left: 40px; bottom: 90px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 16px; display: flex; gap: 10px; align-items: center; animation: bob 8s ease-in-out infinite; animation-delay: -3s; }
.stat-bubble .ico { color: var(--brand); }
.stat-bubble small { display: block; color: var(--muted); font-size: .75rem; }
@media (max-width: 720px) {
  .url-chip { position: static; display: none; }
  .wa-bubble { right: 0; top: auto; bottom: -10px; width: 210px; }
  .stat-bubble { display: none; }
  .phone { width: 270px; }
  .phone-screen { height: 540px; }
}

/* Rubros */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--soft); padding: 16px 0; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: scroll 40s linear infinite; }
.marquee-track span { font-weight: 700; color: var(--ink-2); white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track, .floater, .wa-bubble, .stat-bubble { animation: none; } }

/* Secciones */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; margin: 10px 0 12px; letter-spacing: -.035em; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-600); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; }
.step-num { position: absolute; top: 18px; right: 22px; font-size: 3rem; font-weight: 800; color: var(--line); line-height: 1; }
.step-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--night); color: var(--sun); display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Flujo */
.flow { background: var(--night); color: #fff; border-radius: 36px; margin: 0 16px; }
.flow .muted { color: #94a3b8; }
.flow .eyebrow { color: var(--sun); }
.flow-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.flow h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin: 10px 0 14px; letter-spacing: -.03em; }
.flow-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.flow-list li { display: flex; gap: 14px; align-items: flex-start; }
.flow-list li > span { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--sun); display: grid; place-items: center; flex: none; }
.flow-list small { display: block; color: #94a3b8; }
.checkout-mock { background: var(--card); color: var(--ink); border-radius: 26px; padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); max-width: 400px; width: 100%; justify-self: center; }
.cm-title { font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; }
.cm-item { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; }
.cm-item small { display: block; color: var(--muted); }
.cm-thumb { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(135deg, var(--a), var(--b)); }
.cm-qty { margin-left: auto; display: flex; align-items: center; gap: 10px; font-weight: 800; }
.cm-qty span { width: 28px; height: 28px; border-radius: 8px; background: var(--line-2); display: grid; place-items: center; }
.cm-field label, .cm-label { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 5px; }
.cm-field div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .9rem; margin-bottom: 14px; }
.cm-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.cm-pay div { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .76rem; font-weight: 700; }
.cm-pay .on { border-color: var(--brand); background: var(--brand-50); color: var(--brand-600); }
.cm-total { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px dashed var(--line); margin-bottom: 12px; }
.cm-total b { font-size: 1.15rem; }
.cm-btn { background: var(--wa); color: #fff; border-radius: 14px; padding: 13px; text-align: center; font-weight: 800; display: flex; gap: 8px; justify-content: center; align-items: center; }
@media (max-width: 860px) { .flow-inner { grid-template-columns: 1fr; } .flow { border-radius: 28px; margin: 0 8px; } }

/* Funciones */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; background: var(--card); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.f-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--card)); margin-bottom: 16px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { color: var(--ink-2); font-size: .95rem; }
.soon { font-style: normal; font-size: .72rem; font-weight: 800; background: #ede9fe; color: #6d28d9; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Planes */
.plans-section { background: linear-gradient(180deg, #fff, #f0f9ff 40%, #fff); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm); }
.plan.popular { border: 2px solid var(--ink); box-shadow: 0 30px 60px rgba(15, 23, 42, .14); transform: translateY(-10px); }
.plan-badge { position: absolute; top: -15px; left: 50%; translate: -50% 0; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .82rem; padding: 6px 14px; border-radius: 99px; border: 2px solid var(--ink); white-space: nowrap; }
.plan-label { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.plan h3 { font-size: 1.7rem; font-weight: 800; }
.plan-tag { color: var(--ink-2); margin-top: 2px; }
.price { margin-top: 14px; display: flex; align-items: baseline; gap: 4px; }
.price b { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; }
.price .cur { font-weight: 700; color: var(--ink-2); }
.price .per { color: var(--muted); }
.plan-includes { font-weight: 700; font-size: .9rem; }
.plan ul { list-style: none; padding: 0; margin: -8px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: .94rem; color: var(--ink-2); }
.plan li .ico { color: var(--brand); margin-top: 3px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; } .plan.popular { transform: none; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin-top: 10px; }
@media (max-width: 820px) { .faq-wrap { grid-template-columns: 1fr; gap: 20px; } }

/* CTA */
/* Banda final: azul noche con brillos sutiles (se ve igual en modo claro y oscuro) */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: 30px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 72px;
  background: radial-gradient(520px 260px at 92% 0%, rgba(56, 189, 248, .30), transparent 70%), radial-gradient(420px 240px at 0% 100%, rgba(16, 185, 129, .22), transparent 70%), linear-gradient(135deg, #0b1220 0%, #111c33 55%, #0c2a3d 100%);
  border: 1px solid rgba(148, 197, 255, .16); box-shadow: 0 30px 70px -30px rgba(2, 8, 23, .55), inset 0 1px 0 rgba(255, 255, 255, .06); }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 70%); }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
.cta-band p { color: #cbd5e1; margin-top: 8px; }
.cta-band .btn { box-shadow: 0 14px 34px -10px rgba(56, 189, 248, .6); }
@media (max-width: 600px) { .cta-band { padding: 32px 24px; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; }

/* Aparición */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.plan.popular.reveal.in { transform: translateY(-10px); }
@media (max-width: 900px) { .plan.popular.reveal.in { transform: none; } }

/* ---- Modo oscuro ---- */
:root[data-theme="dark"] .hero { background:
  radial-gradient(900px 400px at 50% -10%, rgba(56, 189, 248, .12) 0%, transparent 70%),
  radial-gradient(600px 300px at 90% 40%, rgba(16, 185, 129, .14) 0%, transparent 70%), var(--page); }
:root[data-theme="dark"] .hero h1 mark { background: linear-gradient(transparent 58%, rgba(56, 189, 248, .45) 58%, rgba(56, 189, 248, .45) 92%, transparent 92%); }
:root[data-theme="dark"] .pill { background: rgba(16, 185, 129, .12); color: #6ee7b7; border-color: rgba(16, 185, 129, .35); }
:root[data-theme="dark"] .phone { box-shadow: var(--shadow-lg), inset 0 0 0 2px #334155, 0 0 0 1px rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .wa-dot { background: rgba(34, 197, 94, .16); color: #4ade80; }
:root[data-theme="dark"] .wa-body { background: rgba(34, 197, 94, .1); }
:root[data-theme="dark"] .flow { border: 1px solid var(--line); background: linear-gradient(160deg, #131c2e, #0d1424); }
:root[data-theme="dark"] .checkout-mock { box-shadow: 0 30px 80px rgba(0, 0, 0, .6); border: 1px solid var(--line); }
:root[data-theme="dark"] .soon { background: rgba(139, 92, 246, .18); color: #c4b5fd; }
:root[data-theme="dark"] .plans-section { background: linear-gradient(180deg, var(--page), #0b1622 40%, var(--page)); }
:root[data-theme="dark"] .plan.popular { box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
:root[data-theme="dark"] .plan-badge { color: #0b1220; }
:root[data-theme="dark"] .phone-screen { --ink: #0b1220; --ink-2: #334155; --muted: #64748b; --line: #e5e7eb; --line-2: #f1f5f9; --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06); color: #0b1220; }

/* Precio anual */
.year-offer { font-size: .9rem; color: var(--ink-2); margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.save { display: inline-block; font-size: .72rem; font-weight: 800; background: #dcfce7; color: #15803d; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
:root[data-theme="dark"] .save { background: rgba(34, 197, 94, .16); color: #86efac; }

/* Plan a medida: tarjeta oscura a todo el ancho, debajo de los tres planes */
.plan-custom { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; align-items: center; gap: 28px 40px; background: #0b1220; border-color: #0b1220; color: #f1f5f9; box-shadow: 0 30px 60px rgba(15, 23, 42, .18); margin-top: 6px; }
.plan-custom .plan-label { color: #94a3b8; }
.plan-custom .plan-tag { color: #cbd5e1; margin-top: 8px; }
.plan-custom .price { margin-top: 8px; }
.plan-custom .price b { color: var(--sun); }
.plan-custom .plan-includes { color: #f1f5f9; margin-bottom: 14px; }
.plan-custom ul { margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.plan-custom li { color: #cbd5e1; }
.plan-custom li .ico { color: var(--sun); }
.plan-custom .pc-cta { white-space: nowrap; padding-inline: 26px; }
:root[data-theme="dark"] .plan-custom { background: linear-gradient(135deg, #0f1a30, #0c2a3d); border-color: rgba(56, 189, 248, .28); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
@media (max-width: 1000px) { .plan-custom { grid-template-columns: minmax(0, 1fr); } .plan-custom .pc-cta { justify-self: start; } }
@media (max-width: 520px) { .plan-custom ul { grid-template-columns: minmax(0, 1fr); } .plan-custom .pc-cta { justify-self: stretch; } }

/* ============ Rediseño 2026-11: menos plantilla ============
   Portada alineada a la izquierda, sin tarjetas flotantes ni resaltados; secciones con títulos a la izquierda
   y listas simples en lugar de tarjetas con íconos. */
.hero, :root[data-theme="dark"] .hero { background: var(--page); padding: 56px 0 72px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero-copy { text-align: left; }
.origin { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.flag-py { width: 20px; height: 13px; border-radius: 2px; flex: none; background: linear-gradient(#d52b1e 0 33.3%, #fff 33.3% 66.6%, #0038a8 66.6%); box-shadow: 0 0 0 1px rgba(15, 23, 42, .15); }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.02; margin: 18px 0 20px; max-width: 12ch; }
.hero .lead { margin: 0; max-width: 34rem; }
.hero .hero-cta { justify-content: flex-start; align-items: center; gap: 22px; }
.hero-link { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--sun); }
.hero-note { margin-top: 22px; font-size: .9rem; color: var(--muted); }
.hero-note a { color: inherit; }
.hero .showcase { margin: 0; max-width: none; justify-content: center; }
.hero .wa-bubble { right: -6px; top: 300px; }
@media (max-width: 900px) {
  .hero { padding: 36px 0 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero h1 { max-width: 14ch; }
}

/* Rubros */
.uses { border-bottom: 1px solid var(--line); padding: 22px 0; }
.uses-inner { display: flex; gap: 10px 24px; align-items: baseline; flex-wrap: wrap; }
.uses-label { font-size: .85rem; font-weight: 700; color: var(--muted); }
.uses p { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 700; color: var(--ink-2); }

/* Títulos de sección a la izquierda, sin etiquetas en mayúsculas */
.eyebrow { display: none; }
.section-head { text-align: left; margin: 0 0 40px; max-width: 640px; }
.section-head h2 { margin-top: 0; }

/* Pasos: lista numerada simple */
.steps { gap: 0 36px; }
.step { background: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 22px 0 0; }
.step-ico { display: none; }
.step-num { position: static; font-size: 1rem; color: var(--muted); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.step-num::before { content: 'Paso '; }
@media (max-width: 820px) { .steps { gap: 28px; } }

/* Funciones: grilla de texto con líneas, sin tarjetas */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.feature { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 22px 0 26px; }
.feature:hover { transform: none; box-shadow: none; }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.feature p { color: var(--ink-2); font-size: .95rem; }
.feature .soon { font-style: normal; font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: var(--line-2); color: var(--muted); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* Menú: en celulares el idioma y el tema van dentro del desplegable */
.nav-m-tools { display: none; }
@media (max-width: 600px) {
  .nav-d-tools { display: none; }
  .nav.open .nav-m-tools { display: flex; gap: 8px; padding: 14px 4px 4px; }
  .nav-inner { gap: 12px; }
}

/* Tiendas de ejemplo por rubro */
.examples-section { padding-top: 0; }
.examples-card { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 28px; padding: 56px 28px;
  background: radial-gradient(600px 300px at 100% 0%, rgba(16, 185, 129, .35), transparent 70%), linear-gradient(135deg, #0b1220, #0f2a24); }
.examples-card::after { content: ''; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); pointer-events: none; }
.examples-card .eyebrow { color: #6ee7b7; }
.examples-card h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.035em; margin: 10px 0 10px; }
.examples-card p { color: #cbd5e1; max-width: 560px; margin: 0 auto 30px; }
.examples { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 860px; margin: 0 auto; }
.ex-pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--c); color: #fff;
  font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .28); transition: transform .15s ease, box-shadow .15s ease; }
.ex-pill:hover, .ex-pill:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .38); }
.ex-pill .ex-e { font-size: 1.1rem; line-height: 1; }
.ex-pill .ex-a { opacity: .8; font-size: .9rem; }
@media (max-width: 600px) { .examples-card { padding: 40px 18px; border-radius: 22px; } .ex-pill { padding: 10px 16px; font-size: .92rem; } }
.ex-pill { border: 1px solid rgba(255, 255, 255, .14); }
.ex-pill.on-light { color: #0b1220; border-color: transparent; }

/* Planes en carrusel (solo celulares): se desliza de a un plan, como un carrusel de Instagram */
.plans-dots { display: none; }
@media (max-width: 640px) {
  .plans { position: relative; display: flex; max-width: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    margin: 0 -20px; padding: 22px 20px 10px; scroll-padding-inline: 20px; overscroll-behavior-x: contain; scrollbar-width: none; align-items: stretch; }
  .plans::-webkit-scrollbar { display: none; }
  .plans > .plan { flex: 0 0 86%; scroll-snap-align: center; scroll-snap-stop: always; }
  .plans > .plan-custom { grid-column: auto; margin-top: 0; }
  .plan-custom ul { grid-template-columns: minmax(0, 1fr); }
  .plans-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .plans-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; transition: width .2s ease, background .2s ease; }
  .plans-dots button.on { width: 24px; background: var(--ink); }
}

/* Brillo al pasar el mouse (lo agrega landing.js solo en computadoras con mouse) */
.shine { position: relative; }
.shine-fx { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 2;
  --band: rgba(56, 189, 248, .30); --glow: rgba(56, 189, 248, .16); }
/* Luz que sigue al cursor */
.shine-fx::before { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 70%); }
/* Destello diagonal que cruza el cuadro */
.shine-fx::after { content: ''; position: absolute; top: -50%; bottom: -50%; left: 0; width: 45%;
  background: linear-gradient(100deg, transparent, var(--band), transparent); opacity: 0; transform: translateX(-260%) skewX(-18deg); }
.shine:hover > .shine-fx::before { opacity: 1; }
.shine:hover > .shine-fx::after { opacity: 1; transform: translateX(420%) skewX(-18deg); transition: transform .9s cubic-bezier(.3, .6, .3, 1); }
/* En cuadros oscuros (y en modo oscuro) el destello es blanco */
.plan-custom > .shine-fx, .examples-card > .shine-fx, .ex-pill > .shine-fx, :root[data-theme="dark"] .shine-fx { --band: rgba(255, 255, 255, .26); --glow: rgba(255, 255, 255, .08); }
/* Un leve realce además del brillo */
.step.shine, .plan.shine, .checkout-mock.shine { transition: opacity .6s ease, transform .6s ease, translate .3s cubic-bezier(.3, .7, .4, 1), box-shadow .25s ease, border-color .25s ease; }
.step.shine:hover, .plan.shine:hover:not(.popular) { box-shadow: 0 18px 40px rgba(15, 23, 42, .10); border-color: rgba(56, 189, 248, .45); }
.feature.shine { border-radius: 16px; padding-inline: 16px; margin-inline: -16px; }

/* Rubros en movimiento ("Sirve para"): la lista corre sola de derecha a izquierda y se pausa con el mouse */
.uses-inner { flex-wrap: nowrap; align-items: center; }
.uses-label { flex: none; }
.uses-marquee { flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.uses .uses-track { display: flex; flex-wrap: nowrap; gap: 0; width: max-content; margin: 0; animation: uses-scroll 38s linear infinite; }
.uses .uses-track span { white-space: nowrap; padding-right: 30px; }
.uses-marquee:hover .uses-track { animation-play-state: paused; }
@keyframes uses-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .uses .uses-track { animation: none; flex-wrap: wrap; width: auto; gap: 6px 0; } .uses-marquee { -webkit-mask-image: none; mask-image: none; } }
@media (max-width: 600px) { .uses .uses-track { animation-duration: 28s; } }
/* Franja de rubros con el fondo de la versión original */
.uses { background: var(--soft); border-block: 1px solid var(--line); padding: 16px 0; }

/* Squash and stretch: los botones de los planes y de las tiendas de ejemplo se aplastan y estiran como una goma
   al pasar el mouse, y se aplastan al tocarlos. Usa la propiedad "scale" para no pisar otros movimientos. */
@keyframes squash-stretch {
  0% { scale: 1 1; }
  25% { scale: 1.12 .84; }
  45% { scale: .9 1.1; }
  62% { scale: 1.05 .95; }
  80% { scale: .98 1.02; }
  100% { scale: 1 1; }
}
.plan .btn, .ex-pill { transform-origin: center bottom; }
.plan .btn.squish, .ex-pill.squish { animation: squash-stretch .6s cubic-bezier(.3, .7, .4, 1); }
.plan .btn:active, .ex-pill:active { animation: none; scale: 1.08 .9; transition: scale .08s ease; }

/* Al pasar por los cuadros: los planes y las funciones se elevan un poco */
.plan, .feature { transition: opacity .6s ease, transform .6s ease, translate .3s cubic-bezier(.3, .7, .4, 1), box-shadow .3s ease, border-color .3s ease, background-color .3s ease; }
@media (hover: hover) {
  .plan:hover { translate: 0 -8px; box-shadow: 0 26px 50px rgba(15, 23, 42, .14); }
  .plan.popular:hover { box-shadow: 0 36px 70px rgba(15, 23, 42, .2); }
  .feature:hover { translate: 0 -4px; background-color: rgba(56, 189, 248, .05); }
  :root[data-theme="dark"] .plan:hover { box-shadow: 0 26px 50px rgba(0, 0, 0, .5); }
  :root[data-theme="dark"] .feature:hover { background-color: rgba(56, 189, 248, .07); }
  .examples-card { transition: translate .3s cubic-bezier(.3, .7, .4, 1), box-shadow .3s ease; }
  .examples-card:hover { translate: 0 -4px; box-shadow: 0 30px 60px rgba(2, 6, 23, .35); }
}
@media (prefers-reduced-motion: reduce) {
  .plan .btn.squish, .ex-pill.squish { animation: none; }
  .plan:hover, .feature:hover, .examples-card:hover { translate: none; }
}

/* Cierre "Tu próxima venta empieza con un link": mismo brillo, elevación y squash and stretch del botón */
.cta-band > .shine-fx { --band: rgba(255, 255, 255, .22); --glow: rgba(56, 189, 248, .14); }
.cta-band .btn { transform-origin: center bottom; }
.cta-band .btn.squish { animation: squash-stretch .6s cubic-bezier(.3, .7, .4, 1); }
.cta-band .btn:active { animation: none; scale: 1.08 .9; transition: scale .08s ease; }
.cta-band { transition: translate .3s cubic-bezier(.3, .7, .4, 1), box-shadow .3s ease; }
@media (hover: hover) { .cta-band:hover { translate: 0 -6px; box-shadow: 0 30px 60px rgba(2, 6, 23, .4); } }
@media (prefers-reduced-motion: reduce) { .cta-band .btn.squish { animation: none; } .cta-band:hover { translate: none; } }

/* ================= Glassmorphism: pasos, funciones y planes =================
   Cada sección tiene manchas de color difuminadas detrás y los cuadros son vidrio esmerilado semitransparente. */
#como-funciona, #funciones, #planes { position: relative; overflow: hidden; isolation: isolate; }
#como-funciona::before, #funciones::before, #planes::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; filter: blur(10px); }
#como-funciona::before { background:
  radial-gradient(340px 260px at 18% 72%, rgba(56, 189, 248, .55), transparent 70%),
  radial-gradient(320px 240px at 52% 40%, rgba(168, 85, 247, .42), transparent 70%),
  radial-gradient(360px 260px at 86% 78%, rgba(16, 185, 129, .45), transparent 70%); }
#funciones::before { background:
  radial-gradient(420px 320px at 8% 30%, rgba(16, 185, 129, .40), transparent 70%),
  radial-gradient(380px 300px at 92% 45%, rgba(56, 189, 248, .45), transparent 70%),
  radial-gradient(360px 280px at 45% 92%, rgba(236, 72, 153, .30), transparent 70%); }
#planes::before { background:
  radial-gradient(420px 320px at 12% 55%, rgba(56, 189, 248, .45), transparent 70%),
  radial-gradient(400px 320px at 50% 30%, rgba(168, 85, 247, .35), transparent 70%),
  radial-gradient(420px 320px at 88% 60%, rgba(16, 185, 129, .40), transparent 70%); }
:root[data-theme="dark"] #como-funciona::before, :root[data-theme="dark"] #funciones::before, :root[data-theme="dark"] #planes::before { opacity: .75; }

/* El vidrio */
#como-funciona .step, #funciones .feature, #planes .plan:not(.plan-custom) {
  border: 1px solid rgba(255, 255, 255, .55); border-top-color: rgba(255, 255, 255, .85); border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .30));
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 20px 50px rgba(15, 23, 42, .10), inset 0 1px 0 rgba(255, 255, 255, .7); }
:root[data-theme="dark"] #como-funciona .step, :root[data-theme="dark"] #funciones .feature, :root[data-theme="dark"] #planes .plan:not(.plan-custom) {
  border-color: rgba(255, 255, 255, .14); border-top-color: rgba(255, 255, 255, .28);
  background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .12); }
/* El plan más elegido conserva su borde marcado */
#planes .plan.popular { border: 2px solid var(--ink); }
:root[data-theme="dark"] #planes .plan.popular { border: 2px solid rgba(56, 189, 248, .7); }
/* Plan a medida: vidrio oscuro */
#planes .plan-custom { border: 1px solid rgba(148, 197, 255, .22);
  background: linear-gradient(135deg, rgba(11, 18, 32, .86), rgba(12, 42, 61, .78));
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 30px 60px rgba(15, 23, 42, .25), inset 0 1px 0 rgba(255, 255, 255, .08); }

/* Pasos: cuadro con etiqueta "Paso N" en una pastilla de vidrio */
#como-funciona .steps { gap: 22px; }
#como-funciona .step { padding: 28px 26px 30px; }
#como-funciona .step-num { display: inline-block; font-weight: 800; color: #0b1220; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); padding: 4px 12px; border-radius: 99px; font-size: .85rem; margin-bottom: 14px; }
:root[data-theme="dark"] #como-funciona .step-num { color: #e2e8f0; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); }

/* Funciones: de lista de texto a cuadros */
#funciones .features { gap: 18px; }
#funciones .feature, #funciones .feature.shine { padding: 24px 24px 26px; margin: 0; }

/* Al pasar el mouse el vidrio se aclara un poco */
@media (hover: hover) {
  #como-funciona .step:hover, #funciones .feature:hover, #planes .plan:not(.plan-custom):hover { background: linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42)); }
  :root[data-theme="dark"] #como-funciona .step:hover, :root[data-theme="dark"] #funciones .feature:hover, :root[data-theme="dark"] #planes .plan:not(.plan-custom):hover { background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); }
}
/* Navegadores sin desenfoque: fondo más opaco para que el texto se lea bien */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #como-funciona .step, #funciones .feature, #planes .plan:not(.plan-custom) { background: rgba(255, 255, 255, .9); }
  :root[data-theme="dark"] #como-funciona .step, :root[data-theme="dark"] #funciones .feature, :root[data-theme="dark"] #planes .plan:not(.plan-custom) { background: rgba(15, 22, 38, .92); }
}
