/* =========================================================
   Monsolei — tienda
   Estilo limpio: fondo claro, azul del logo, verde para promos/WhatsApp.
   Pensado primero para el celular. Sin rojo.
   ========================================================= */
:root {
  --blue: #1F65C9;
  --blue-600: #1852A6;
  --blue-50: #EBF2FC;
  --ink: #111722;
  --ink-2: #2A3242;
  --muted: #646D80;
  --bg: #F5F6F9;
  --card: #FFFFFF;
  --line: #E3E6ED;
  --soft: #F0F2F6;
  --green: #0E9F6E;
  --green-600: #0B8A5F;
  --green-50: #E7F6EF;
  --gold: #E8A80C;
  --gold-50: #FDF4DF;
  --r: 12px;
  --r-lg: 18px;
  --sh: 0 1px 2px rgba(17, 23, 34, .05), 0 4px 16px rgba(17, 23, 34, .06);
  --sh-lg: 0 10px 40px rgba(17, 23, 34, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header: 60px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .2s ease both vt-out; }
::view-transition-new(root) { animation: .3s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
.header { view-transition-name: header; }

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.ic { flex-shrink: 0; }
.ic.flip { transform: rotate(180deg); }
.h2 { font-size: clamp(1.45rem, 4.5vw, 2rem); font-weight: 800; }
.lead { font-size: 1.05rem; color: var(--muted); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r); font-weight: 700; font-size: .98rem; border: 1.5px solid transparent; transition: transform .15s, background .2s, box-shadow .2s, color .2s; user-select: none; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 54px; font-size: 1.02rem; padding: 0 24px; }
.btn-block { display: flex; width: 100%; }
.grow { flex: 1; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-600); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: var(--green-600); }
.btn-white { background: #fff; color: var(--ink); }
.btn-soft { background: var(--soft); color: var(--ink-2); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn:disabled { opacity: .6; pointer-events: none; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--ink); }
.icon-btn:active { background: var(--soft); }

/* ---------- Header ---------- */
.promo-bar { background: var(--green); color: #fff; font-size: .86rem; font-weight: 700; text-align: center; padding: 8px 16px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 8px; height: var(--header); }
.menu-btn { margin-left: -8px; }
.logo { display: flex; align-items: center; }
.logo-img { height: 24px; width: auto; }
.nav { display: none; }
.help-btn { margin-left: auto; color: var(--ink-2); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 12px; font-weight: 700; color: var(--ink); }
.cart-btn:active { background: var(--soft); }
.cart-btn-total { display: none; }
.cart-badge { position: absolute; top: 3px; left: 26px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.mobile-menu { position: fixed; inset: var(--header) 0 0; z-index: 49; background: #fff; overflow-y: auto; padding: 8px 16px calc(24px + var(--safe-b)); animation: .25s var(--ease) both slide-down; }
@keyframes slide-down { from { opacity: 0; transform: translateY(-8px); } }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a:not(.btn) { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 4px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.08rem; }
.mobile-menu .menu-cat { justify-content: flex-start; font-weight: 600; font-size: 1rem; color: var(--ink-2); }
.mobile-menu .menu-cat .ic { color: var(--blue); }
.menu-label { margin: 20px 4px 4px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mobile-menu .btn { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 85% 40%, #DCE8FB 0%, rgba(220, 232, 251, 0) 70%), linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; gap: 8px; padding-top: 28px; padding-bottom: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--blue-50); color: var(--blue); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.3rem, 10vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 16px; max-width: 13ch; }
.hero h1 span { color: var(--blue); }
.hero p { font-size: 1.02rem; color: var(--muted); max-width: 46ch; }
.hero-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.hero-stage { position: relative; height: 310px; display: grid; place-items: center; margin: 0 -16px; }
.stage-glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 101, 201, .28), rgba(31, 101, 201, 0) 65%); filter: blur(10px); }
.lock { position: relative; height: 100%; width: auto; filter: drop-shadow(0 30px 40px rgba(17, 23, 34, .18)); animation: lock-in 1s var(--ease) both; }
@keyframes lock-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.lk-keys text { animation: key 4.8s ease-in-out infinite; animation-delay: calc(var(--i) * .12s); }
@keyframes key { 0%, 70%, 100% { opacity: .85; } 80% { opacity: .35; } }
.lk-scan { animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(50px); } }
.lk-led { animation: led 2.4s ease-in-out infinite; }
@keyframes led { 50% { opacity: .35; } }
.float { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(17, 23, 34, .06); box-shadow: 0 10px 30px rgba(17, 23, 34, .10); font-size: .84rem; font-weight: 700; white-space: nowrap; animation: float-in .8s var(--ease) both; }
.float .ic { color: var(--blue); }
.float small { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); }
.float b { font-size: 1.15rem; letter-spacing: -.01em; }
.f2 { flex-direction: column; align-items: flex-start; gap: 0; }
.f1 { left: 8px; top: 4%; animation-delay: .25s; }
.f2 { right: 12px; top: 52%; animation-delay: .4s; }
.f3 { left: 24px; bottom: 12%; animation-delay: .55s; display: none; }
@keyframes float-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Secciones ---------- */
.section { padding: 40px 0; }
.section.pt0 { padding-top: 0; }
.section.soft { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-head .h2 { margin: 0; }
.page-head { padding: 24px 0 16px; }
.page-head h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 800; }

/* chips de categoría */
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 18px; padding: 2px 16px 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 99px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: .92rem; color: var(--ink-2); transition: all .2s; }
.chip .ic { color: var(--blue); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.on .ic { color: #fff; }
.search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; margin: 6px 0 14px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); color: var(--muted); }
.search:focus-within { border-color: var(--blue); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 1rem; color: var(--ink); }

/* ---------- Tarjeta de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.pcard-media { position: relative; display: block; aspect-ratio: 1; background: var(--soft); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard-stock { position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; border-radius: 99px; background: rgba(255, 255, 255, .95); font-size: .72rem; font-weight: 800; color: var(--ink-2); }
.pcard-stock.out { color: var(--muted); }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 10px 12px 12px; }
.pcard-cat { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pcard h3 { font-size: .95rem; font-weight: 700; line-height: 1.3; margin: 2px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .price { margin-bottom: 10px; }
.pcard .add { margin-top: auto; }
.pcard .btn { min-height: 44px; font-size: .92rem; padding: 0 10px; }
.badges { position: absolute; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 4px; z-index: 1; }
.badge { padding: 4px 9px; border-radius: 99px; font-size: .72rem; font-weight: 800; }
.badge-promo { background: var(--green); color: #fff; }
.badge-gold { background: var(--gold); color: #1d1300; }
.badge-blue { background: var(--blue); color: #fff; }
.ph { position: relative; width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #F1F4F9 55%, #E6ECF4 100%); overflow: hidden; }
.ph::after { content: ''; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, rgba(230, 236, 244, 0), rgba(230, 236, 244, .6)); pointer-events: none; }
.device { width: 88%; height: 88%; transition: transform .6s var(--ease); filter: drop-shadow(0 14px 18px rgba(17, 23, 34, .14)); }
.gallery .device { width: 64%; height: 64%; }
.cmp-img .device { width: 62%; height: 90%; }
.citem-img .device, .up .device { width: 90%; height: 90%; filter: none; }

/* precio */
.price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 0; }
.price-now { font-size: 1.15rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.price s { font-size: .86rem; color: var(--muted); font-weight: 600; }
.price small { flex-basis: 100%; font-size: .8rem; color: var(--muted); font-weight: 600; }
.price-lg .price-now { font-size: 2rem; }
.price-lg s { font-size: 1.05rem; }
.price-lg small { font-size: .95rem; }
.price-ask { font-weight: 700; color: var(--blue); }

/* agregar / stepper */
.stepper { display: flex; align-items: center; justify-content: space-between; height: 44px; border-radius: var(--r); background: var(--green-50); border: 1.5px solid var(--green); color: var(--green-600); font-weight: 800; }
.stepper button { width: 44px; height: 100%; display: grid; place-items: center; color: var(--green-600); }
.stepper button:active { transform: scale(.85); }
.stepper span { font-size: 1rem; }

/* ---------- Pasos / por qué ---------- */
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: start; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.step-n { position: absolute; top: 12px; right: 14px; font-size: .8rem; font-weight: 800; color: var(--muted); }
.step-ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.step h3 { font-size: 1.02rem; margin: 2px 0 2px; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.why { padding: 16px; border-radius: var(--r-lg); background: var(--bg); }
.why-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 10px; }
.why h3 { font-size: .98rem; }
.why p { margin: 0; font-size: .88rem; color: var(--muted); }

/* FAQ */
.faqs { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; font-weight: 700; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--blue); transition: transform .25s; }
.faq[open] summary .ic { transform: rotate(45deg); }
.faq p { padding: 0 16px 16px; margin: 0; color: var(--muted); }

/* CTA */
.cta { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--blue); color: #fff; }
.cta h2 { font-size: 1.4rem; }
.cta p { margin: 0; color: rgba(255, 255, 255, .85); }

/* ---------- Producto ---------- */
.pd { padding: 8px 0 32px; }
.back { display: inline-flex; align-items: center; gap: 6px; height: 44px; font-weight: 700; color: var(--muted); }
.pd-grid { display: grid; gap: 18px; }
.gallery { position: relative; margin: 0 -16px; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; background: #fff; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: center; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery .badges { top: 12px; left: 16px; }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.dots button { width: 7px; height: 7px; border-radius: 99px; background: rgba(17, 23, 34, .25); transition: all .25s; }
.dots button.on { width: 20px; background: var(--ink); }
.thumbs { display: none; }
.pd-info h1 { font-size: clamp(1.6rem, 6vw, 2.3rem); font-weight: 800; }
.pd-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 6px; }
.save { padding: 5px 10px; border-radius: 99px; background: var(--green-50); color: var(--green-600); font-weight: 800; font-size: .85rem; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--green-600); margin-bottom: 16px; }
.stock.out { color: var(--muted); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qty { display: inline-flex; align-items: center; height: 54px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; }
.qty input { width: 34px; border: 0; text-align: center; font-weight: 800; font-size: 1.05rem; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.perks { list-style: none; margin: 20px 0 16px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; gap: 14px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.perks .ic { color: var(--blue); margin-top: 1px; }
.perks b { display: block; color: var(--ink); }
.pd-details { display: grid; gap: 28px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.pd-details h2 { font-size: 1.25rem; }
.pd-details p { color: var(--ink-2); }
.specs { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.specs div { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.specs div:last-child { border: 0; }
.specs dt { color: var(--muted); font-weight: 600; font-size: .92rem; }
.specs dd { margin: 0; font-weight: 700; }
.related { margin-top: 40px; }
.pd-how, .pd-faq { margin-top: 40px; }
.pd-how .steps { margin-top: 14px; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + var(--safe-b)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); animation: .25s var(--ease) both slide-up; }
.buybar .price small { display: none; }
@keyframes slide-up { from { transform: translateY(100%); } }

/* ---------- Carrito ---------- */
.cart-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: 40; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px 0 10px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 700; box-shadow: var(--sh-lg); animation: .3s var(--ease) both slide-up; }
.cart-bar b { margin-left: auto; font-size: 1.05rem; }
.cart-bar-count { min-width: 36px; height: 36px; padding: 0 8px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font-weight: 800; }
.product .cart-bar { display: none; }
.cart-route .cart-bar, .drawer-open .cart-bar { display: none !important; }

.drawer-bg { position: fixed; inset: 0; z-index: 70; background: rgba(10, 14, 22, .45); display: flex; align-items: flex-end; animation: .2s ease both fade; }
@keyframes fade { from { opacity: 0; } }
.drawer { width: 100%; max-height: 92dvh; display: flex; flex-direction: column; background: var(--bg); border-radius: 22px 22px 0 0; animation: .35s var(--ease) both slide-up; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 8px 18px; }
.drawer-head h2 { margin: 0; font-size: 1.25rem; }
.drawer-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 16px calc(16px + var(--safe-b)); }
.citem { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; }
.citem-img { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--soft); display: grid; place-items: center; color: #B7C3D6; }
.citem-img img { width: 100%; height: 100%; object-fit: cover; }
.citem h3 { font-size: .95rem; margin: 0 0 6px; line-height: 1.3; }
.citem .stepper { height: 36px; width: 112px; }
.citem .stepper button { width: 36px; }
.citem-total { text-align: right; font-weight: 800; }
.citem-remove { display: block; margin-top: 6px; font-size: .8rem; color: var(--muted); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.csum { position: sticky; bottom: 0; margin: 8px -16px 0; padding: 16px; background: var(--bg); border-top: 1px solid var(--line); }
.csum-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; }
.csum-total small { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); text-align: right; }
.csum .field { margin-bottom: 10px; }
.csum-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
.cart-empty { text-align: center; padding: 40px 12px; color: var(--muted); }
.cart-empty .ic { margin: 0 auto 12px; color: #B7C3D6; }
.cart-page .csum { position: static; margin: 12px 0 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }

/* ---------- Formularios ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.form { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.form h2 { font-size: 1.15rem; margin: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-weight: 700; font-size: .88rem; }
.field input, .field textarea { width: 100%; min-height: 50px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 14px; font-size: 1rem; background: #fff; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 101, 201, .12); }
.field [aria-invalid="true"] { border-color: var(--gold); }
.form-error { margin: 0; padding: 12px 14px; border-radius: var(--r); background: var(--gold-50); color: #6B4E00; font-weight: 600; font-size: .92rem; }
.contact { display: grid; gap: 14px; }
.contact-wa { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: var(--green); color: #fff; font-weight: 600; }
.contact-wa span { flex: 1; }
.contact-wa b { display: block; font-size: 1.1rem; }
.contact-info p { display: flex; align-items: center; gap: 10px; color: var(--muted); margin: 0 0 8px; }
.contact-info .ic { color: var(--blue); }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty .ic { margin: 0 auto 10px; color: #B7C3D6; }

/* equipo */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.team-grid + .team-grid { margin-top: 12px; }
.team-grid > .team { flex: 0 1 calc((100% - 24px) / 3); max-width: 340px; }
@media (max-width: 640px) {
  .team-grid { gap: 8px; } .team-grid + .team-grid { margin-top: 8px; }
  .team-grid > .team { flex-basis: calc((100% - 16px) / 3); padding: 16px 6px; }
  .team-grid .team-photo { width: 60px; height: 60px; margin-bottom: 8px; }
  .team-grid .team h3 { font-size: .88rem; line-height: 1.2; }
  .team-grid .team-role { font-size: .74rem; }
}
.team { text-align: center; padding: 24px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.team-photo { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 12px; overflow: hidden; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-role { color: var(--blue); font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.team p:last-child { color: var(--muted); font-size: .9rem; margin: 0; }
.nf-logo { height: 34px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 36px 0 calc(90px + var(--safe-b)); margin-top: 16px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-brand { grid-column: 1 / -1; }
.logo-footer { height: 26px; margin-bottom: 10px; }
.footer-brand p { color: var(--muted); }
.footer h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.footer a:not(.btn), .footer p { display: flex; align-items: center; gap: 8px; font-size: .92rem; margin: 0 0 8px; color: var(--ink-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; font-size: .82rem; color: var(--muted); }

/* ---------- Ayuda / chat ---------- */
.help-fab { display: none !important; }
.chat { position: fixed; z-index: 75; inset: auto 0 0; height: min(88dvh, 640px); display: flex; flex-direction: column; background: var(--bg); border-radius: 22px 22px 0 0; box-shadow: var(--sh-lg); animation: .35s var(--ease) both slide-up; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 10px 18px; }
.chat-head strong { display: block; font-size: 1.1rem; }
.chat-head small { color: var(--muted); font-size: .8rem; }
.chat-wa { display: flex; align-items: center; gap: 12px; margin: 0 16px 8px; padding: 12px 14px; border-radius: var(--r); background: var(--green); color: #fff; }
.chat-wa span { flex: 1; }
.chat-wa b { display: block; }
.chat-wa small { opacity: .85; font-size: .8rem; }
.chat-body { flex: 1; overflow-y: auto; padding: 8px 16px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .95rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; animation: .25s var(--ease) both vt-in; }
.msg-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg-wa { align-self: flex-start; }
.typing { display: inline-flex; gap: 4px; padding: 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { opacity: 1; transform: translateY(-4px); } 0%, 60%, 100% { opacity: .3; } }
.chat-suggest { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; }
.chat-suggest::-webkit-scrollbar { display: none; }
.chat-suggest button { flex-shrink: 0; padding: 9px 14px; border-radius: 99px; background: #fff; border: 1.5px solid var(--line); font-size: .86rem; font-weight: 600; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px calc(10px + var(--safe-b)); background: #fff; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; height: 48px; border: 1.5px solid var(--line); border-radius: 99px; padding: 0 18px; font-size: 1rem; background: var(--bg); }
.chat-form input:focus { outline: 0; border-color: var(--blue); }
.chat-send { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; }

/* toast */
.toast { position: fixed; left: 50%; top: calc(var(--header) + 10px); z-index: 90; transform: translate(-50%, -12px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: var(--sh-lg); transition: all .3s var(--ease); width: max-content; max-width: calc(100vw - 24px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .ic { color: #6EE7B7; }
.toast button { padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .14); font-weight: 700; color: #fff; }

/* animación de aparición, sutil */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }


/* ---------- Conversión ---------- */
.reassure { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: .85rem; color: var(--muted); font-weight: 600; }
.reassure .ic { color: var(--green); margin-top: 2px; }
.swipe-hint { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.door-check { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--blue-50); border: 1px solid #D3E2F8; color: var(--ink); font-size: .9rem; }
.door-check > span:nth-child(2) { flex: 1; color: var(--muted); }
.door-check b { display: block; color: var(--ink); font-size: .98rem; }
.door-check > .ic { color: var(--blue); }
.door-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--blue); flex-shrink: 0; }
.help-card { justify-content: center; align-items: flex-start; gap: 8px; padding: 18px; background: linear-gradient(160deg, #fff, var(--blue-50)); border-color: #D3E2F8; }
.help-card .help-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue); color: #fff; margin-bottom: 4px; }
.help-card h3 { font-size: 1.05rem; margin: 0; }
.help-card p { font-size: .88rem; color: var(--muted); margin: 0 0 6px; }
.help-card .btn { min-height: 44px; margin-top: auto; }
.compare { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 8px; scrollbar-width: none; }
.compare::-webkit-scrollbar { display: none; }
.cmp { flex: 0 0 72%; max-width: 280px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.cmp-img { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--soft); margin-bottom: 6px; }
.cmp-img img { width: 100%; height: 100%; object-fit: cover; }
.cmp h3 { font-size: 1.02rem; margin: 0; }
.cmp-desc { font-size: .86rem; color: var(--muted); margin: 0; }
.cmp ul { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 6px; font-size: .84rem; }
.cmp li { display: flex; gap: 6px; align-items: flex-start; }
.cmp li .ic { color: var(--green); margin-top: 2px; }
.cmp .btn { margin-top: auto; min-height: 42px; }
.tests { display: grid; gap: 12px; margin-top: 18px; }
.test { margin: 0; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 10px; }
.stars .ic { fill: currentColor; }
.test blockquote { margin: 0 0 12px; font-size: 1rem; line-height: 1.5; }
.test figcaption { font-size: .88rem; color: var(--muted); }
.test figcaption b { color: var(--ink); }
.b2b { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.b2b h2 { font-size: clamp(1.35rem, 4.5vw, 1.9rem); }
.b2b p { color: rgba(255, 255, 255, .78); }
.b2b ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-weight: 600; }
.b2b li { display: flex; gap: 8px; align-items: center; }
.b2b li .ic { color: #6EE7B7; }
.b2b .pill { background: rgba(255, 255, 255, .12); color: #fff; }
.upsell { margin: 6px 0 4px; padding: 14px; background: #fff; border: 1px dashed var(--line); border-radius: var(--r); }
.upsell h3 { font-size: .9rem; margin: 0 0 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.up { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; }
.up .citem-img { width: 48px; height: 48px; }
.up span { font-size: .9rem; color: var(--muted); }
.up b { display: block; color: var(--ink); font-size: .92rem; }
.up .btn { min-height: 38px; padding: 0 12px; font-size: .86rem; gap: 4px; }
@media (min-width: 640px) {
  .compare { margin: 0; padding: 4px 0 8px; }
  .swipe-hint { display: none; }
  .cmp { flex-basis: 260px; }
  .tests { grid-template-columns: repeat(3, 1fr); }
  .b2b { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px; }
  .b2b > div { max-width: 640px; }
}

/* ---------- Pantallas grandes ---------- */
@media (hover: hover) {
  .pcard:hover { box-shadow: var(--sh); transform: translateY(-3px); }
  .pcard:hover .pcard-media img, .pcard:hover .device { transform: scale(1.05); }
  .chip:hover { border-color: var(--blue); }
  .nav a:hover { color: var(--blue); }
}
@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .hero-ctas { flex-direction: row; }
  .hero-stage { height: 440px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 1fr; padding: 22px; }
  .step-ic { grid-row: auto; margin-bottom: 12px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 36px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
  .footer-brand { grid-column: auto; }
  .chips { margin: 0 0 20px; padding: 2px 0 4px; flex-wrap: wrap; }
  .chat { inset: auto 24px 24px auto; width: 400px; height: min(640px, calc(100dvh - 48px)); border-radius: 22px; }
  .drawer-bg { justify-content: flex-end; align-items: stretch; }
  .drawer { width: 420px; max-height: none; height: 100%; border-radius: 0; animation-name: slide-left; }
  @keyframes slide-left { from { transform: translateX(100%); } }
  .contact { grid-template-columns: 1fr; }
}
@media (min-width: 960px) {
  :root { --header: 72px; }
  .menu-btn, .cart-bar, .buybar { display: none !important; }
  .logo-img { height: 28px; }
  .nav { display: flex; gap: 4px; margin-left: 32px; }
  .nav a { padding: 8px 14px; border-radius: 10px; font-weight: 600; color: var(--ink-2); }
  .nav a.on { color: var(--blue); background: var(--blue-50); }
  .cart-btn { padding: 0 16px 0 12px; border: 1.5px solid var(--line); }
  .cart-btn-total { display: inline; }
  .cart-badge { left: 28px; top: 0; }
  .help-btn { display: none; }
  .cart-btn { margin-left: auto; }
  .help-fab { display: inline-flex !important; position: fixed; right: 24px; bottom: 24px; z-index: 39; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 14px; border-radius: 99px; background: #fff; color: var(--ink); font-weight: 700; box-shadow: var(--sh-lg); border: 1px solid var(--line); }
  .help-fab .ic { color: var(--blue); }
  .chat-open .help-fab { display: none !important; }
  .hero-in { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 40px; min-height: 600px; }
  .hero-stage { height: 540px; margin: 0; }
  .stage-glow { width: 460px; height: 460px; }
  .f1 { left: 0; top: 20%; } .f2 { right: 0; top: 42%; } .f3 { left: 6%; bottom: 14%; display: inline-flex; }
  .section { padding: 64px 0; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .pcard-body { padding: 14px 16px 16px; }
  .pcard h3 { font-size: 1.02rem; }
  .pd { padding-top: 16px; }
  .pd-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
  .gallery { margin: 0; }
  .gallery-track { border-radius: var(--r-lg); border: 1px solid var(--line); }
  .thumbs { display: flex; gap: 8px; margin-top: 10px; }
  .thumbs button { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .7; }
  .thumbs button.on { border-color: var(--blue); opacity: 1; }
  .thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .dots { display: none; }
  .pd-info { position: sticky; top: calc(var(--header) + 20px); }
  .pd-details { grid-template-columns: 1.2fr 1fr; gap: 48px; }
  .footer { padding-bottom: 36px; }
  .page-head { padding: 40px 0 20px; }
  .contact { grid-template-columns: 1fr 1fr; }
  .contact .form { grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.fly { position: fixed; z-index: 95; pointer-events: none; border-radius: 14px; overflow: hidden; box-shadow: var(--sh-lg); background: #fff; }
.fly img, .fly svg { width: 100%; height: 100%; object-fit: cover; }

/* checkout: instalación + confianza */
.co-install { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.co-install button { display: flex; align-items: center; gap: 8px; text-align: left; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.co-install button .ic { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; border: 1.5px solid var(--line); color: transparent; }
.co-install button span { display: flex; flex-direction: column; line-height: 1.2; }
.co-install button b { font-size: .9rem; }
.co-install button small { font-size: .75rem; color: var(--muted); }
.co-install button[aria-checked="true"] { border-color: var(--blue); background: var(--blue-50); }
.co-install button[aria-checked="true"] .ic { background: var(--blue); border-color: var(--blue); color: #fff; }
.co-name small { font-weight: 500; color: var(--muted); }
/* contacto: WhatsApp (obligatorio) + nombre */
.co-contact { display: grid; grid-template-columns: 1fr; gap: 10px; }
.csum .co-contact .field { margin-bottom: 0; }
@media (min-width: 420px) { .co-contact { grid-template-columns: 1.15fr 1fr; } }
.phone-in { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.phone-in:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 101, 201, .12); }
.phone-in:has([aria-invalid="true"]) { border-color: var(--gold); }
.phone-cc { display: flex; align-items: center; padding: 0 4px 0 14px; font-weight: 700; color: var(--muted); font-size: 1rem; }
.field .phone-in input { border: 0; box-shadow: none; min-height: 48px; padding-left: 6px; border-radius: 0; background: transparent; }
.field .phone-in input:focus { box-shadow: none; }
.co-why { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 8px 0 12px; font-size: .78rem; color: var(--muted); }
.co-why .ic { width: 14px; height: 14px; }
/* test y chat: pedimos el WhatsApp ahí mismo */
.phone-gate { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--r); background: var(--blue-50); animation: gateIn .25s var(--ease); }
.phone-gate > small { text-align: center; font-size: .78rem; color: var(--muted); }
.phone-gate .form-error { font-size: .85rem; padding: 10px 12px; }
@keyframes gateIn { from { opacity: 0; transform: translateY(-4px); } }
.co-trust { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: .8rem; color: var(--muted); }
.co-trust li { display: flex; align-items: center; gap: 4px; }
.co-trust .ic { width: 14px; height: 14px; color: var(--green); }

/* pedido enviado */
.sent { text-align: center; padding: 28px 8px 12px; display: flex; flex-direction: column; align-items: center; }
.sent-ok { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green); margin-bottom: 14px; animation: sentpop .5s var(--ease); }
@keyframes sentpop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.sent h3 { font-size: 1.35rem; margin: 0 0 4px; }
.sent-code { margin: 0 0 6px; color: var(--muted); }
.sent-code b { color: var(--ink); letter-spacing: .04em; }
.sent-sub { margin: 0 0 18px; color: var(--muted); max-width: 300px; }
.sent-qr { width: 200px; height: 200px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 18px; }
.sent-qr svg { width: 100%; height: 100%; display: block; }
.sent .btn { width: 100%; }
.sent-copy, .sent-more { border: 0; background: none; font: inherit; font-weight: 700; color: var(--blue); padding: 12px; cursor: pointer; }
.sent-more { color: var(--muted); font-weight: 600; padding-top: 0; }

/* ---------- Pago con Mercado Pago ---------- */
.btn-mp { background: #009EE3; color: #fff; }
.btn-mp:hover { background: #0086C3; }
.co-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .82rem; font-weight: 600; margin: 10px 0; }
.co-or::before, .co-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.co-mp-sub { display: block; text-align: center; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.pay-route .section { padding-top: 24px; }
.pay-wrap { max-width: 560px; }
.pay-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px 18px; box-shadow: var(--sh); display: flex; flex-direction: column; gap: 14px; }
.pay-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--green-600); font-weight: 700; font-size: .85rem; background: var(--green-50); padding: 5px 12px; border-radius: 99px; }
.pay-head h1, .pay-ok h1, .pay-wait h1, .pay-off h1 { font-size: 1.5rem; margin: 10px 0 0; letter-spacing: -.02em; }
.pay-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pay-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.pay-img { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.pay-img img { width: 100%; height: 100%; object-fit: cover; }
.pay-n { display: flex; flex-direction: column; min-width: 0; } .pay-n small { color: var(--muted); }
.pay-t { font-weight: 700; white-space: nowrap; }
.pay-inst { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: .9rem; color: var(--ink-2); }
.pay-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-radius: 16px; background: var(--blue-50); }
.pay-total span { font-weight: 700; color: var(--ink-2); } .pay-total b { font-size: 1.7rem; letter-spacing: -.02em; color: var(--ink); }
.pay-cuotas { display: flex; gap: 6px; align-items: center; margin: -4px 4px 0; color: var(--green-600); font-weight: 700; font-size: .92rem; }
.pay-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: .88rem; color: var(--ink-2); }
.pay-trust li { display: flex; gap: 8px; align-items: flex-start; } .pay-trust .ic { color: var(--green); flex: none; margin-top: 1px; }
.pay-foot { text-align: center; font-size: .8rem; color: var(--muted); margin: 0; } .pay-foot a { color: var(--blue); font-weight: 600; }
.pay-warn { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--gold-50); color: #7A5A06; font-size: .9rem; } .pay-warn .ic { flex: none; }
.pay-ok, .pay-wait, .pay-off { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pay-ok p, .pay-wait p, .pay-off p { margin: 4px 0; color: var(--ink-2); } .pay-ok .muted, .pay-wait .muted { color: var(--muted); font-size: .85rem; }
.pay-ok-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 10px 30px rgba(14,159,110,.35); animation: payPop .6s var(--ease); }
@keyframes payPop { from { transform: scale(.4); opacity: 0; } }
.pay-off > .ic { color: var(--muted); }
.pay-next { padding: 14px; border-radius: 16px; background: var(--green-50); display: flex; flex-direction: column; gap: 8px; } .pay-next p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.spinner-lg { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--line); border-top-color: #009EE3; animation: paySpin .8s linear infinite; }
@keyframes paySpin { to { transform: rotate(360deg); } }
.pay-sub { display: flex; flex-direction: column; gap: 6px; padding: 10px 2px 0; border-top: 1px dashed var(--line); font-size: .95rem; }
.pay-sub > div { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); }
.pay-fee span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.pay-fee span:last-child { font-weight: 700; }
/* cuotas con Mercado Pago */
.price-cuotas { flex-basis: 100%; display: block; font-size: .78rem; font-weight: 600; color: var(--green-600); margin-top: 2px; }
.price-cuotas b { font-weight: 800; }
.price-lg .price-cuotas { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; margin-top: 6px; padding: 6px 10px; border-radius: 10px; background: var(--green-50); flex-basis: auto; }

/* ---------- botones más livianos en la grilla, "Comprar" bien marcado ---------- */
.btn-add { background: var(--blue-50); color: var(--blue); }
.btn-add:hover { background: #DCE8FA; }
.btn-buy { background: var(--ink); color: #fff; }
.btn-buy:hover { background: #000; }
.btn-outline:hover { border-color: var(--ink-2); }

/* ---------- confianza / prueba social ---------- */
.proof { padding: 18px 0 6px; }
.proof.compact { padding: 8px 0 26px; }
.proof-top { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-bottom: 16px; }
.proof-rating { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.proof-rating .stars { display: inline-flex; color: var(--gold); }
.proof-rating .stars .ic { fill: currentColor; }
.proof-rating b { font-size: 1.15rem; }
.proof-rating span:last-child { color: var(--muted); font-size: .9rem; }
.proof-stat { display: flex; align-items: baseline; gap: 6px; }
.proof-stat b { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.proof-stat span { color: var(--muted); font-size: .92rem; }
.proof-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.proof-trust li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); font-weight: 700; font-size: .92rem; color: var(--ink-2); }
.proof-trust .ic { color: var(--blue); flex: none; }
.proof-clients { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 22px; margin-top: 18px; color: var(--muted); }
.proof-clients span { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; width: 100%; text-align: center; }
.proof-clients b { font-size: 1.05rem; color: var(--ink-2); opacity: .75; letter-spacing: -.01em; }
.faq-more { margin-top: 14px; }
.faq-more a { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--blue); }
@media (max-width: 760px) {
  .proof-trust { grid-template-columns: 1fr 1fr; gap: 8px; }
  .proof-trust li { padding: 12px; font-size: .84rem; gap: 8px; }
}

/* ---------- Portada oscura premium (opción B) ---------- */
.hero { background: radial-gradient(ellipse 75% 60% at 72% 55%, #1C3F7A 0%, rgba(10, 20, 40, 0) 70%), linear-gradient(180deg, #05080F 0%, #0B1424 100%); border-bottom: 0; color: #fff; }
.hero h1 { color: #fff; }
.hero h1 span { color: #8CB8FF; }
.hero p { color: #AEB7C8; }
.hero .pill { background: rgba(255, 255, 255, .08); color: #CFE0FF; border: 1px solid rgba(255, 255, 255, .12); }
.hero .btn-primary { background: #fff; color: #0B1424; }
.hero .btn-primary:hover { background: #E8EEF8; }
.hero .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.hero .btn-outline:hover { border-color: #fff; }
.hero .stage-glow { background: radial-gradient(circle, rgba(80, 140, 255, .45), rgba(31, 101, 201, 0) 65%); }
.hero .lock { filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
.hero .float { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .14); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.hero .float .ic { color: #8CB8FF; }
.hero .float small { color: #AEB7C8; }
.hero .float b { color: #fff; }

/* ---------- confianza en una línea, sin cajas ---------- */
.proof { padding: 14px 0 0; }
.proof-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.proof-trust li { padding: 0; background: none; border: 0; border-radius: 0; font-size: .9rem; font-weight: 600; color: var(--ink-2); gap: 7px; }
.proof-trust .ic { width: 17px; height: 17px; }
.section.after-proof { padding-top: 26px; }
@media (max-width: 760px) {
  .proof-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; justify-content: start; }
  .proof-trust li { font-size: .82rem; padding: 0; }
  .section.after-proof { padding-top: 22px; }
}

/* ---------- pie de página compacto ---------- */
.footer { padding: 26px 0 calc(84px + var(--safe-b)); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-brand .logo-footer { height: 26px; width: auto; }
.footer .footer-wa { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 700; color: var(--green-600); font-size: .92rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer .footer-links a { margin: 0; font-size: .9rem; color: var(--ink-2); }
.footer .footer-links a:hover { color: var(--blue); }
.footer-bottom { margin-top: 18px; padding-top: 14px; }
@media (min-width: 900px) { .footer { padding-bottom: 28px; } }

/* ---------- Portada: "desde" y link al test ---------- */
.hero-from { display: none; }
.hero-ask { margin-top: 22px; max-width: 460px; padding: 14px 14px 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.hero-ask-q { margin: 0 0 10px; font-size: .9rem; color: #AEB7C8; line-height: 1.35; }
.hero-ask-q b { color: #fff; font-weight: 700; margin-right: 4px; }
.hero-ask-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hero-ask-opts button { min-height: 40px; padding: 0 6px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); color: #fff; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.hero-ask-opts button:hover { background: #fff; color: #0B1424; border-color: #fff; }
.hero-ask-opts button:active { transform: scale(.96); }

/* ---------- Portada compacta en el celu: texto a la izquierda, cerradura al costado ---------- */
@media (max-width: 639px) {
  .hero-in { grid-template-columns: 1fr 104px; grid-template-areas: 'h1 stage' 'p stage' 'from stage' 'ctas ctas' 'ask ask'; gap: 0 10px; padding-top: 20px; padding-bottom: 22px; align-items: start; }
  .hero-copy { display: contents; }
  .hero .pill { display: none; }
  .hero h1 { grid-area: h1; font-size: 1.95rem; margin-bottom: 8px; }
  .hero p { grid-area: p; font-size: .9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .hero-from { grid-area: from; display: inline-flex; flex-direction: column; align-self: start; justify-self: start; margin-top: 12px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
  .hero-from small { font-size: .7rem; color: #AEB7C8; font-weight: 600; }
  .hero-from b { font-size: 1.2rem; letter-spacing: -.01em; }
  .hero-stage { grid-area: stage; height: 250px; margin: 0; align-self: center; }
  .hero-stage .float, .hero-stage .stage-glow { display: none; }
  .hero-ctas { grid-area: ctas; flex-direction: row; gap: 8px; margin-top: 18px; }
  .hero-ctas .btn { flex: 1; min-height: 48px; font-size: .92rem; padding: 0 12px; }
  .hero-ask { grid-area: ask; margin-top: 16px; max-width: none; padding: 12px; }
  .hero-ask-q span { display: block; font-size: .82rem; }
}

/* ---------- Test "¿Cuál es la mía?" ---------- */
.quiz-bg { position: fixed; inset: 0; z-index: 80; background: rgba(5, 8, 15, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; animation: qfade .2s ease; }
.quiz-bg[hidden] { display: none; }
@keyframes qfade { from { opacity: 0; } }
.quiz { width: 100%; max-width: 520px; max-height: 92dvh; overflow-y: auto; background: #fff; border-radius: 24px 24px 0 0; padding: 14px 20px calc(24px + var(--safe-b, 0px)); animation: qup .32s var(--ease); }
@keyframes qup { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 640px) { .quiz-bg { align-items: center; } .quiz { border-radius: 24px; padding: 18px 26px 26px; } }
.quiz-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.quiz-dots { display: flex; gap: 6px; }
.quiz-dots i { width: 28px; height: 5px; border-radius: 99px; background: var(--line); transition: background .3s; }
.quiz-dots i.on { background: var(--blue); }
.quiz-kicker { margin: 4px 0 4px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.quiz h2 { font-size: 1.45rem; letter-spacing: -.02em; margin: 0 0 16px; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-opts button { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 104px; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.quiz-opts button:active { transform: scale(.97); }
.quiz-opts button.on { border-color: var(--blue); background: var(--blue-50); }
@media (hover: hover) { .quiz-opts button:hover { border-color: var(--blue); background: var(--blue-50); } }
.qe { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); transition: background .2s, color .2s, transform .2s var(--ease); }
.qe .ic { width: 26px; height: 26px; stroke-width: 1.7; }
.quiz-opts button.on .qe { background: var(--blue); color: #fff; transform: scale(1.06); }
@media (hover: hover) { .quiz-opts button:hover .qe { background: var(--blue); color: #fff; } }
.quiz-back { display: block; margin: 14px auto 0; background: none; border: 0; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; padding: 6px; }
.quiz-load { min-height: 220px; display: grid; place-items: center; }
.quiz-res { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; margin-bottom: 12px; }
.quiz-res h2 { margin: 0 0 4px; font-size: 1.3rem; }
.quiz-img { aspect-ratio: 1; border-radius: 16px; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.quiz-img img { width: 100%; height: 100%; object-fit: cover; }
.quiz-price { font-size: 1.4rem; font-weight: 800; margin: 0 0 4px; }
.quiz-why { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.quiz-why li { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: .92rem; }
.quiz-why .ic { color: var(--green); flex: none; width: 18px; height: 18px; }
.quiz-note { padding: 10px 12px; border-radius: 12px; background: var(--gold-50); color: #7A5A00; font-size: .86rem; margin: 0 0 12px; }
.quiz-ctas { display: flex; flex-direction: column; gap: 8px; }
.quiz-link { text-align: center; font-weight: 700; color: var(--blue); padding: 6px; font-size: .92rem; }
.quiz-alt { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--soft); color: var(--ink); }
.quiz-alt span { font-size: .78rem; color: var(--muted); font-weight: 700; }
.quiz-load .spin { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--blue); animation: qspin .8s linear infinite; }
@keyframes qspin { to { transform: rotate(360deg); } }

.cta-short { display: none; }
@media (max-width: 639px) { .hero-ctas .cta-long { display: none; } .hero-ctas .cta-short { display: inline; } }

/* ---------- chat: compra armada por el asistente ---------- */
.chat-buy { align-self: flex-start; width: 88%; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); animation: .25s var(--ease) both vt-in; }
.chat-buy-item { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.cbi-img { width: 44px; height: 44px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; overflow: hidden; flex: none; }
.cbi-img img { width: 100%; height: 100%; object-fit: cover; }
.chat-buy-item .grow { display: flex; flex-direction: column; min-width: 0; }
.chat-buy-item b { font-size: .92rem; }
.chat-buy-item small { color: var(--muted); }
.chat-buy-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; border-top: 1px solid var(--line); font-weight: 700; }
.chat-buy-total b { font-size: 1.15rem; }
.chat-buy .btn { min-height: 44px; font-size: .92rem; }
.chat-buy .form-error { margin: 0; font-size: .82rem; }
.quiz-links { display: flex; justify-content: center; gap: 18px; }
.quiz-links .quiz-link { background: none; border: 0; font: inherit; font-weight: 700; color: var(--blue); cursor: pointer; padding: 6px; font-size: .92rem; }

/* contacto: íconos alineados con el texto y la tarjeta de WhatsApp a su altura */
.contact-info a { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.contact-info a:hover { color: var(--blue); }
.contact-wa { align-self: start; }
.contact-info { align-self: start; }
.contact { grid-template-rows: auto 1fr; }

/* Términos y privacidad */
.footer-legal { display: inline-flex; gap: 14px; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: var(--blue); }
.footer-bottom { flex-wrap: wrap; }
.co-why a, .phone-gate small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.legal { font-size: 1rem; line-height: 1.65; color: var(--ink); }
.legal h2 { font-size: 1.2rem; margin: 34px 0 10px; scroll-margin-top: 90px; letter-spacing: -.01em; }
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 6px; }
.legal a { color: var(--blue); }
.legal code { font-size: .88em; background: var(--blue-50); padding: 1px 6px; border-radius: 6px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.legal-toc a { font-size: .84rem; font-weight: 600; padding: 6px 11px; border-radius: 99px; background: var(--blue-50); color: var(--blue); text-decoration: none; }
.legal-box { padding: 16px 18px; border-radius: var(--r); background: var(--blue-50); border: 1px solid rgba(31, 101, 201, .15); }
.legal-box ol { margin-bottom: 10px; }
.legal-box p { margin: 0; font-size: .92rem; }

/* ---------- guías ---------- */
.gcrumbs { font-size: .85rem; color: var(--muted, #667085); margin-bottom: 8px; }
.gcrumbs a { color: inherit; }
.guide h2 { font-size: 1.35rem; }
.guide .grid { margin: 18px 0 8px; }
.gtable-wrap { overflow-x: auto; margin: 6px 0 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.gtable { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.gtable th, .gtable td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.gtable th { background: var(--blue-50); font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
.gtable tr:last-child td { border-bottom: 0; }
.gtable s { color: var(--muted, #98A2B3); font-size: .85em; }
.gtable small { color: var(--muted, #667085); }
.guide-cta { margin: 26px 0; display: grid; gap: 12px; justify-items: start; }
.guide-links { list-style: none; padding-left: 0 !important; }
.guide-links li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 20px; }
.guide-card { display: grid; gap: 6px; padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.guide-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16, 24, 40, .08); }
.guide-card span { font-size: .88rem; color: var(--muted, #667085); }

/* presupuestos: armador y página del cliente */
.qb-list { margin-bottom: 14px; }
.qb-row { grid-template-columns: 56px 1fr auto !important; padding: 6px; border-radius: 16px; transition: background .15s; }
.qb-row.on { background: var(--green-50); }
.qb-step { display: inline-flex; align-items: center; gap: 2px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); }
.qb-step button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.3rem; font-weight: 700; color: var(--blue); cursor: pointer; border-radius: 50%; }
.qb-step button:active { background: var(--line); }
.qb-step output { min-width: 22px; text-align: center; font-weight: 800; }
.qb-check { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; }
.qb-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.qb-check small { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.qb-fields { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.qb-fields label span { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; }
.qb-fields input { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); font: inherit; background: var(--card); }
.qb-fields input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
@media (max-width: 480px) { .qb-fields { grid-template-columns: 1fr; } }
.qb-err { margin: 0; padding: 10px 12px; border-radius: 12px; background: #FEF3C7; color: #92400E; font-size: .9rem; font-weight: 600; }
.pr-card form, .pay-card form[data-qb] { display: flex; flex-direction: column; gap: 14px; }
.pr-note { padding: 12px 14px; border-radius: 14px; background: var(--line-2, #F1F4F9); font-size: .92rem; white-space: pre-wrap; }
.pr-disc { color: #047857; font-weight: 700; }
.pr-bank { padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); }
.pr-bank pre { margin: 8px 0 0; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.pr-bank p { margin: 6px 0 0; color: var(--muted); }
.pr-link { border: 0; background: none; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }
.pay-items s { color: var(--muted); font-weight: 400; }
@media print {
  header, footer, nav, .wa-float, .chat-fab, [data-accept], .pr-tools, .cookie, .topbar-promo { display: none !important; }
  body { background: #fff !important; } .pay-card { box-shadow: none !important; border: 0 !important; } .section { padding: 0 !important; }
}
