/* ============================================================
   Colectivo Pro 360 — Landing comercial
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900&display=swap');

:root {
    --color-primary: #7C5CFC;
    --color-secondary: #FF8FB1;
    --color-accent: #3EC9A7;
    --ink: #2A2340;
    --ink-soft: #5f5875;
    --muted: #928BA6;
    --bg: #FBFAFF;
    --surface: #fff;
    --line: #ECE9F5;
    --radius: 20px;
    --radius-lg: 30px;
    --shadow: 0 14px 40px rgba(60, 40, 120, .12);
    --shadow-lg: 0 30px 70px rgba(60, 40, 120, .18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', system-ui, sans-serif; color: var(--ink); background: var(--bg); font-weight: 600; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 900; line-height: 1.12; letter-spacing: -.5px; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Botones */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 15px 28px; border-radius: 16px; font-weight: 800; font-size: 16px;
    border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
    font-family: inherit;
}
.btn i { font-size: 22px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 12px 28px color-mix(in srgb, var(--color-primary) 40%, transparent); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--lg { padding: 18px 34px; font-size: 17px; }

/* Nav */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(251, 250, 255, .85); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; max-width: 1160px; margin: 0 auto; position: relative; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; font-size: 19px; min-width: 0; }
.brand__name {
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: min(220px, 42vw);
}
.brand__logo {
    width: 44px; height: 44px; border-radius: 13px; overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: grid; place-items: center; color: #fff; font-size: 22px; font-weight: 900;
    flex-shrink: 0;
}
.brand__logo--img { background: #fff; border: 1px solid var(--line); }
.brand__logo img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 4px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-weight: 800; font-size: 15px; color: var(--ink-soft); }
.nav__links a:hover { color: var(--color-primary); }
.nav__cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__links-cta { display: none; }
.nav__burger { display: none; font-size: 30px; background: none; border: none; cursor: pointer; color: var(--ink); }

/* Hero */
.hero {
    position: relative; overflow: hidden; padding: 88px 0 96px;
    background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero__mesh {
    position: absolute; inset: 0; pointer-events: none; opacity: .85;
    background:
        radial-gradient(ellipse 70% 55% at 85% 15%, color-mix(in srgb, var(--color-secondary) 22%, transparent), transparent 55%),
        radial-gradient(ellipse 60% 50% at 10% 80%, color-mix(in srgb, var(--color-primary) 18%, transparent), transparent 50%),
        radial-gradient(ellipse 40% 35% at 50% 40%, color-mix(in srgb, var(--color-accent) 12%, transparent), transparent 60%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 30px;
    background: color-mix(in srgb, var(--color-accent) 15%, white); color: var(--color-accent);
    font-weight: 800; font-size: 13.5px;
}
.hero__badges-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero h1 { font-size: 54px; }
.hero h1 .grad { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: 19px; color: var(--ink-soft); margin: 22px 0 32px; max-width: 540px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust b { font-size: 26px; font-weight: 900; color: var(--ink); }
.hero__trust span { font-size: 13px; color: var(--muted); font-weight: 700; }

.hero__art { position: relative; min-height: 420px; }

/* Hero showcase — mockups UI (sin fotos stock) */
.hero-showcase { position: relative; width: 100%; max-width: 520px; margin: 0 auto; }
.mock--hero { position: relative; z-index: 2; transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); }
.hero-phone {
    position: absolute; right: -8px; bottom: 24px; z-index: 4;
    transform: rotate(6deg); filter: drop-shadow(0 20px 40px rgba(42,35,64,.2));
}
.hero-phone__shell {
    width: 118px; padding: 8px 6px 10px; border-radius: 22px;
    background: linear-gradient(160deg, #2A2340, #1a1528);
    border: 2px solid rgba(255,255,255,.12);
}
.hero-phone__screen {
    background: #fff; border-radius: 16px; overflow: hidden; padding: 10px 8px 12px;
}
.hero-phone__head {
    font-size: 10px; font-weight: 900; color: var(--color-primary);
    display: flex; align-items: center; gap: 4px; margin-bottom: 8px;
}
.hero-phone__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.hero-phone__tiles span {
    aspect-ratio: 1; border-radius: 8px;
    background: linear-gradient(160deg, color-mix(in srgb, var(--color-primary) 8%, #fff), var(--bg));
    border: 1px solid var(--line);
}
.hero-phone__cta {
    margin-top: 8px; font-size: 8px; font-weight: 900; text-align: center;
    padding: 6px; border-radius: 8px; color: #fff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}
.hero-float {
    position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 14px; border-radius: 999px; font-size: 12px; font-weight: 900;
    background: rgba(255,255,255,.94); border: 1px solid var(--line);
    box-shadow: 0 12px 32px rgba(42,35,64,.12); white-space: nowrap;
}
.hero-float i { font-size: 16px; color: var(--color-primary); }
.hero-float--1 { top: 12%; left: -4%; animation: hero-float 5s ease-in-out infinite; }
.hero-float--2 { top: 42%; right: -2%; animation: hero-float 5s ease-in-out infinite reverse; }
@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Mock dashboard */
.mock {
    position: relative; z-index: 1; background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 20px; border: 1px solid var(--line);
}
.mock__bar { display: flex; gap: 6px; margin-bottom: 16px; }
.mock__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mock__kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 14px; }
.mock__kpi { background: var(--bg); border-radius: 15px; padding: 14px; }
.mock__kpi span { font-size: 11px; color: var(--muted); font-weight: 800; }
.mock__kpi b { display: block; font-size: 20px; font-weight: 900; margin-top: 4px; }
.mock__kpi small { font-size: 11px; font-weight: 800; }
.mock__chart { background: var(--bg); border-radius: 15px; padding: 16px; height: 150px; display: flex; align-items: flex-end; gap: 8px; }
.mock__chart i { flex: 1; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--color-primary), var(--color-secondary)); opacity: .85; }

/* Secciones */
.section { padding: 80px 0; }
.section--alt { background: #fff; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.section__tag { color: var(--color-primary); font-weight: 900; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.section__head h2 { font-size: 40px; margin: 12px 0 14px; }
.section__head p { font-size: 18px; color: var(--ink-soft); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.section--alt .feature { background: var(--bg); }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature--link { color: inherit; display: block; cursor: pointer; }
.feature__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; margin-bottom: 18px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

.ic-1 { background: color-mix(in srgb, var(--color-primary) 13%, white); color: var(--color-primary); }
.ic-2 { background: color-mix(in srgb, var(--color-secondary) 16%, white); color: var(--color-secondary); }
.ic-3 { background: color-mix(in srgb, var(--color-accent) 15%, white); color: var(--color-accent); }
.ic-4 { background: #FFF3D6; color: #E6A100; }
.ic-5 { background: #E4EEFB; color: #3E80C9; }
.ic-6 { background: #FCE4EC; color: #E5487D; }

/* Beneficios (dos columnas) */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.benefits__title { font-size: 38px; margin: 12px 0 20px; line-height: 1.12; }
.benefit-list { display: grid; gap: 16px; }
.benefit-item { display: flex; gap: 14px; align-items: flex-start; }
.benefit-item i { font-size: 26px; color: var(--color-accent); flex-shrink: 0; }
.benefit-item b { font-size: 16px; }
.benefit-item p { color: var(--ink-soft); font-size: 14.5px; }
.benefit-visual {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); min-height: 380px; position: relative;
    padding: 40px; color: #fff;
}
.benefit-visual--glass {
    background: linear-gradient(145deg, var(--color-primary) 0%, #5a42c9 45%, var(--color-secondary) 100%);
}
.benefit-visual__glow {
    position: absolute; inset: -20% -10% auto auto; width: 280px; height: 280px;
    border-radius: 50%; background: rgba(255,255,255,.18); filter: blur(40px);
    pointer-events: none;
}
.benefit-visual--glass h3 { color: #fff; font-size: 26px; position: relative; }
.benefit-visual--glass > p { opacity: .92; margin-top: 8px; max-width: 420px; position: relative; }
.benefit-visual h3 { color: #fff; font-size: 26px; }
.stat-row { position: relative; }
.stat-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 26px; }
.stat-box { background: rgba(255,255,255,.15); border-radius: 18px; padding: 20px; }
.stat-box b { font-size: 32px; font-weight: 900; display: block; }
.stat-box span { font-size: 13px; opacity: .9; font-weight: 700; }

/* Bento — preview módulos */
.section--bento { padding-top: 48px; background: var(--bg); }
.bento {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.bento__card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 18px; box-shadow: var(--shadow); min-height: 180px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.bento__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bento__card--wide { grid-column: span 2; }
.bento__label {
    font-size: 13px; font-weight: 900; color: var(--ink-soft);
    display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.bento__label i { color: var(--color-primary); font-size: 18px; }
.bento__mock { border-radius: 14px; background: var(--bg); padding: 12px; min-height: 120px; }
.bento__mock--dash { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 10px; align-items: end; }
.bento-kpi { background: #fff; border-radius: 10px; padding: 10px; border: 1px solid var(--line); }
.bento-kpi span { font-size: 10px; color: var(--muted); font-weight: 800; display: block; }
.bento-kpi b { font-size: 16px; font-weight: 900; }
.bento-bars {
    grid-column: span 1; display: flex; align-items: flex-end; gap: 4px; height: 72px;
    background: #fff; border-radius: 10px; padding: 8px; border: 1px solid var(--line);
}
.bento-bars i {
    flex: 1; border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
}
.bento__mock--map { position: relative; min-height: 110px; background: linear-gradient(160deg, #eef1f8, #f8f6ff); border: 1.5px dashed color-mix(in srgb, var(--color-primary) 30%, var(--line)); }
.bento__mock--map .bento-slot { position: absolute; padding: 6px 10px; border-radius: 8px; font-size: 11px; font-weight: 900; color: #fff; }
.bento__mock--map .bento-slot:nth-child(1) { top: 16%; left: 10%; background: var(--color-accent); }
.bento__mock--map .bento-slot:nth-child(2) { top: 40%; left: 36%; background: var(--color-primary); }
.bento__mock--map .bento-slot:nth-child(3) { bottom: 14%; right: 12%; background: #E6A100; }
.bento__mock--map .bento-slot:nth-child(4) { bottom: 22%; left: 58%; background: var(--color-accent); }
.bento__mock--store { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bento-product {
    background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
}
.bento-product img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.bento-product__ph {
    aspect-ratio: 1; display: grid; place-items: center; font-size: 28px;
    background: linear-gradient(160deg, color-mix(in srgb, var(--color-primary) 10%, #fff), #fff);
    color: var(--color-primary);
}
.bento-product em {
    display: block; padding: 6px 8px; font-style: normal; font-weight: 900; font-size: 12px;
}
.bento__mock--pos { display: grid; gap: 8px; }
.bento-pos-search {
    background: #fff; border-radius: 8px; padding: 8px 10px; font-size: 11px; font-weight: 800;
    color: var(--muted); display: flex; align-items: center; gap: 6px; border: 1px solid var(--line);
}
.bento-pos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bento-pos-grid span {
    aspect-ratio: 1; border-radius: 8px; background: #fff; border: 1px solid var(--line);
}
.bento-pos-total {
    display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800;
    padding-top: 4px; border-top: 1px dashed var(--line);
}
.bento-pos-total b { flex: 1; font-size: 16px; }
.bento-pos-total i {
    font-style: normal; padding: 6px 10px; border-radius: 8px; font-size: 10px; font-weight: 900;
    background: var(--color-accent); color: #fff;
}

/* Cómo funciona */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step { text-align: center; padding: 20px; }
.step__num {
    width: 62px; height: 62px; border-radius: 20px; margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff; display: grid; place-items: center; font-size: 26px; font-weight: 900;
    box-shadow: var(--shadow);
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* Dos audiencias */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud-card { border-radius: var(--radius-lg); padding: 36px; border: 1px solid var(--line); background: #fff; }
.aud-card__ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 30px; margin-bottom: 18px; }
.aud-card h3 { font-size: 24px; margin-bottom: 14px; }
.aud-card ul { list-style: none; display: grid; gap: 11px; }
.aud-card li { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--ink-soft); }
.aud-card li i { color: var(--color-accent); font-size: 22px; }

/* CTA final */
.cta-final {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-lg); padding: 64px 40px; text-align: center; color: #fff;
    box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-final h2 { font-size: 40px; color: #fff; margin-bottom: 14px; }
.cta-final p { font-size: 19px; opacity: .92; margin-bottom: 30px; }

/* Formulario interesado */
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 640px; margin: 0 auto; text-align: left; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form input, .lead-form textarea {
    width: 100%; padding: 14px 16px; border-radius: 14px; border: none; font-family: inherit;
    font-weight: 700; font-size: 15px;
}
.lead-form textarea { resize: vertical; min-height: 80px; }

/* Footer */
.footer { background: var(--ink); color: #cfc9de; padding: 54px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer a { display: block; color: #cfc9de; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; text-align: center; font-size: 13px; color: #948da8; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Tienda en línea (landing) ── */
.section--store {
    background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
    padding-top: 72px;
}
.store-promo {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
    margin-bottom: 48px;
}
.store-promo__visual { display: grid; gap: 14px; }
.store-device { display: flex; justify-content: center; }
.store-device__frame {
    width: min(100%, 320px); background: #fff; border-radius: 24px;
    border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden;
}
.store-device__bar {
    padding: 14px 16px; font-weight: 900; font-size: 14px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff;
    display: flex; align-items: center; gap: 8px;
}
.store-device__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.store-device__tile {
    border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg);
}
.store-device__tile img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.store-device__tile span {
    aspect-ratio: 1; display: grid; place-items: center; font-size: 32px;
    background: linear-gradient(160deg, color-mix(in srgb, var(--color-primary) 10%, #fff), #fff);
    color: var(--color-primary);
}
.store-device__tile em {
    display: block; padding: 8px 10px; font-style: normal; font-weight: 900; font-size: 13px;
    background: #fff;
}
.store-device__cta {
    margin: 0 14px 14px; text-align: center; font-size: 11px; font-weight: 900;
    padding: 10px; border-radius: 10px; color: var(--ink-soft);
    background: color-mix(in srgb, var(--color-accent) 12%, #fff);
    border: 1px solid color-mix(in srgb, var(--color-accent) 30%, var(--line));
}
.store-promo h2 { font-size: 40px; margin: 12px 0 16px; line-height: 1.08; }
.store-promo h2 .grad { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.store-promo__copy > p { color: var(--ink-soft); font-size: 17px; max-width: 520px; margin-bottom: 18px; }
.store-promo__perks { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.store-promo__perks li { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink-soft); }
.store-promo__perks i { color: var(--color-accent); font-size: 22px; }
.store-promo__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.store-promo__count { font-size: 14px; color: var(--muted); font-weight: 800; }
.store-promo__count b { color: var(--color-primary); font-size: 18px; }

.store-promo__steps {
    display: grid; gap: 14px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow);
}
.store-promo__step {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 14px; border-radius: 16px; background: var(--bg);
}
.store-promo__step span {
    width: 36px; height: 36px; border-radius: 12px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff; font-weight: 900; display: grid; place-items: center;
}
.store-promo__step b { display: block; font-size: 15px; margin-bottom: 2px; }
.store-promo__step p { font-size: 13px; color: var(--muted); font-weight: 700; }

.store-promo__head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 18px; gap: 12px;
}
.store-promo__head h3 { font-size: 22px; }
.store-promo__head a { font-weight: 900; color: var(--color-primary); display: inline-flex; align-items: center; gap: 4px; }
.store-product-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.store-product-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: transform .15s, box-shadow .15s;
}
.store-product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.store-product-card__media { aspect-ratio: 1; background: var(--bg); overflow: hidden; }
.store-product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.store-product-card__ph {
    width: 100%; height: 100%; display: grid; place-items: center; font-size: 40px;
    background: linear-gradient(160deg, color-mix(in srgb, var(--cat) 12%, #fff), #fff);
    color: var(--cat);
}
.store-product-card__body { padding: 14px; }
.store-product-card__cat { font-size: 11px; font-weight: 900; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }
.store-product-card strong { display: block; font-size: 14px; margin: 6px 0; line-height: 1.3; }
.store-product-card em { font-style: normal; font-weight: 900; font-size: 17px; color: var(--ink); }

.store-promo__empty {
    text-align: center; padding: 48px 24px; background: #fff;
    border: 2px dashed var(--line); border-radius: var(--radius-lg); margin-bottom: 24px;
}
.store-promo__empty i { font-size: 48px; color: var(--color-primary); opacity: .5; }
.store-promo__empty p { color: var(--muted); margin: 12px 0 18px; }

.store-promo__cats {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px;
}
.store-cat-pill {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 16px; border-radius: 999px; font-weight: 800; font-size: 13px;
    background: color-mix(in srgb, var(--cat) 10%, #fff);
    border: 2px solid color-mix(in srgb, var(--cat) 25%, var(--line));
    color: var(--ink-soft);
}
.store-cat-pill:hover { border-color: var(--cat); color: var(--cat); }

.hero__badge--store {
    background: color-mix(in srgb, var(--color-primary) 12%, white);
    color: var(--color-primary); margin-right: 8px;
}
.hero__cta .btn--primary { box-shadow: 0 12px 28px color-mix(in srgb, var(--color-primary) 35%, transparent); }

/* ── Banner flotante tienda ── */
.store-float {
    position: fixed; bottom: 20px; left: 50%; z-index: 80;
    transform: translateX(-50%) translateY(120%);
    transition: transform .35s cubic-bezier(.34, 1.4, .64, 1), opacity .3s;
    opacity: 0; pointer-events: none;
    width: min(560px, calc(100% - 32px));
}
.store-float.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1; pointer-events: auto;
}
.store-float__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 14px 16px 14px 18px;
    background: var(--ink); color: #fff;
    border-radius: 18px; box-shadow: 0 16px 48px rgba(26, 21, 40, .28);
    border: 1px solid rgba(255,255,255,.08);
}
.store-float__copy { display: flex; align-items: center; gap: 12px; min-width: 0; }
.store-float__copy > i {
    font-size: 28px; flex-shrink: 0;
    color: var(--color-accent);
}
.store-float__copy strong { display: block; font-size: 15px; font-weight: 900; line-height: 1.2; }
.store-float__copy span { display: block; font-size: 12px; opacity: .85; font-weight: 700; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-float__copy b { color: var(--color-accent); }
.store-float__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.btn--sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.btn--sm i { font-size: 18px; }
.store-float__close {
    width: 36px; height: 36px; border-radius: 10px; border: none;
    background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
    display: grid; place-items: center; font-size: 20px;
    transition: background .15s;
}
.store-float__close:hover { background: rgba(255,255,255,.2); }

/* ── Stats en vivo ── */
.live-stats { background: var(--ink); color: #fff; padding: 28px 0; }
.live-stats__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; text-align: center; }
.live-stat b { display: block; font-size: 28px; font-weight: 900; color: #fff; }
.live-stat span { font-size: 12px; opacity: .75; font-weight: 700; }
.live-stat--accent b { color: var(--color-accent); }

/* ── Módulos agrupados ── */
.module-block { margin-bottom: 40px; }
.module-block__title {
    font-size: 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
    color: var(--ink-soft);
}
.module-block__title i { color: var(--color-primary); }
.features--4 { grid-template-columns: repeat(4, 1fr); }

/* ── POS showcase ── */
.pos-showcase { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }
.pos-showcase__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pos-showcase h2 { font-size: 36px; margin: 12px 0 16px; line-height: 1.1; }
.pos-showcase__copy > p { color: var(--ink-soft); font-size: 17px; margin-bottom: 20px; }
.pos-showcase__list { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; }
.pos-showcase__list li { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink-soft); }
.pos-showcase__list i { color: var(--color-primary); font-size: 20px; }

.portal-highlight {
    display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
    margin-bottom: 28px; padding: 28px 32px; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 8%, #fff), #fff);
    border: 1px solid var(--line); box-shadow: var(--shadow);
}
.portal-highlight__copy b { display: block; font-size: 22px; margin-bottom: 8px; }
.portal-highlight__copy p { color: var(--ink-soft); font-size: 15px; max-width: 480px; font-weight: 700; }
.portal-highlight__phone {
    width: 200px; padding: 10px; border-radius: 22px;
    background: linear-gradient(160deg, #2A2340, #1a1528);
    box-shadow: var(--shadow-lg);
}
.portal-highlight__screen {
    background: #fff; border-radius: 16px; padding: 14px; display: grid; gap: 10px;
}
.portal-highlight__row {
    display: flex; align-items: center; gap: 10px; padding: 10px;
    background: var(--bg); border-radius: 12px;
}
.portal-highlight__row i { font-size: 20px; color: var(--color-primary); }
.portal-highlight__row small { display: block; font-size: 10px; color: var(--muted); font-weight: 800; }
.portal-highlight__row b { font-size: 14px; font-weight: 900; }

.pos-mock {
    background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
    padding: 20px; box-shadow: var(--shadow-lg);
}
.pos-mock__search {
    background: var(--bg); border-radius: 12px; padding: 14px 16px; font-weight: 800;
    color: var(--muted); font-size: 14px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.pos-mock__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.pos-mock--lg { transform: perspective(900px) rotateY(4deg); }
.pos-mock__top { margin-bottom: 12px; }
.pos-mock__card {
    aspect-ratio: 1.1; border-radius: 14px; position: relative;
    background: linear-gradient(160deg, color-mix(in srgb, var(--color-primary) 8%, #fff), var(--bg));
    border: 1px solid var(--line);
}
.pos-mock__card:first-child i {
    position: absolute; top: 8px; right: 8px; color: #E6A100; font-size: 14px;
}
.pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 900;
}
.pill--ok { background: color-mix(in srgb, var(--color-accent) 15%, #fff); color: var(--color-accent); }
.pos-mock__cart {
    display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 2px dashed var(--line);
}
.pos-mock__cart span { color: var(--muted); font-weight: 800; font-size: 13px; }
.pos-mock__cart b { font-size: 22px; font-weight: 900; flex: 1; }
.pos-mock__cart button {
    border: none; background: var(--color-accent); color: #fff; font-weight: 900;
    padding: 12px 16px; border-radius: 12px; font-family: inherit; font-size: 13px; cursor: pointer;
}

.mock__tabs {
    display: flex; gap: 8px; margin-bottom: 12px;
}
.mock__tabs span {
    font-size: 11px; font-weight: 900; padding: 6px 10px; border-radius: 8px;
    background: var(--bg); color: var(--muted);
}
.mock__tabs span.is-on { background: var(--color-primary); color: #fff; }

/* ── Portal grid ── */
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.portal-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
    transition: transform .15s, box-shadow .15s;
}
.portal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.portal-card > i { font-size: 32px; color: var(--color-primary); margin-bottom: 12px; display: block; }
.portal-card b { display: block; font-size: 17px; margin-bottom: 6px; }
.portal-card p { color: var(--ink-soft); font-size: 14px; font-weight: 700; }

.steps--4 { grid-template-columns: repeat(4, 1fr); }

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.faq-item {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px;
}
.faq-item summary {
    padding: 18px 0; font-weight: 900; cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--color-primary); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding-bottom: 18px; color: var(--ink-soft); font-size: 15px; font-weight: 700; line-height: 1.55; }

.cta-final__contact {
    display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 28px;
}
.cta-final__contact a {
    color: #fff; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; opacity: .95;
}
.cta-final__contact a:hover { opacity: 1; text-decoration: underline; }

.footer__grid--4 { grid-template-columns: 2fr 1fr 1fr 1fr; }

/* ============================================================
   Responsive — tablet, móvil y pantallas pequeñas
   ============================================================ */

/* Tablet landscape */
@media (max-width: 1100px) {
    .features--4 { grid-template-columns: repeat(2, 1fr); }
    .portal-grid { grid-template-columns: repeat(2, 1fr); }
    .store-product-grid { grid-template-columns: repeat(3, 1fr); }
    .live-stats__row { grid-template-columns: repeat(3, 1fr); }
    .bento { grid-template-columns: 1fr 1fr; }
    .bento__card--wide { grid-column: span 2; }
    .portal-highlight { grid-template-columns: 1fr; }
    .portal-highlight__phone { justify-self: center; }
}

/* Tablet portrait */
@media (max-width: 900px) {
    .container { padding: 0 20px; }

    .nav__cta--desktop { display: none; }
    .nav__burger { display: block; flex-shrink: 0; }
    .nav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(251, 250, 255, .98);
        backdrop-filter: blur(12px);
        padding: 16px 20px 20px;
        border-bottom: 1px solid var(--line);
        gap: 4px;
        box-shadow: 0 12px 32px rgba(60, 40, 120, .08);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    .nav__links.is-open { display: flex; }
    .nav__links a {
        padding: 12px 14px;
        border-radius: 12px;
        font-size: 16px;
    }
    .nav__links a:hover { background: color-mix(in srgb, var(--color-primary) 8%, white); }
    .nav__links-cta {
        display: grid;
        gap: 10px;
        margin-top: 12px;
        padding-top: 14px;
        border-top: 1px solid var(--line);
    }
    .nav__links-cta .btn { width: 100%; justify-content: center; padding: 13px 18px; font-size: 15px; }

    .hero { padding: 48px 0 56px; }
    .hero__grid,
    .benefits,
    .audience,
    .lead-form,
    .store-promo,
    .pos-showcase__grid { grid-template-columns: 1fr; gap: 32px; }
    .hero__art { order: -1; max-width: 520px; margin: 0 auto; width: 100%; min-height: 340px; }
    .mock--hero { transform: none; }
    .hero-phone { right: 4px; bottom: 8px; transform: scale(.92) rotate(4deg); }
    .hero-float--1 { left: 0; }
    .hero-float--2 { display: none; }
    .bento { grid-template-columns: 1fr; }
    .bento__card--wide { grid-column: auto; }
    .hero h1 { font-size: clamp(32px, 8vw, 40px); }
    .hero__sub { font-size: 17px; margin: 18px 0 24px; max-width: none; }
    .hero__cta { flex-direction: column; align-items: stretch; }
    .hero__cta .btn { width: 100%; justify-content: center; }
    .hero__trust { gap: 16px 24px; margin-top: 28px; }
    .hero__trust b { font-size: 22px; }

    .section { padding: 56px 0; }
    .section__head { margin-bottom: 36px; }
    .section__head h2 { font-size: clamp(28px, 6vw, 30px); }
    .section__head p { font-size: 16px; }

    .benefits__title { font-size: clamp(28px, 6vw, 32px); }
    .benefit-visual { min-height: 320px; padding: 28px 24px; }
    .portal-highlight { padding: 22px 20px; }
    .portal-highlight__copy b { font-size: 18px; }
    .stat-box b { font-size: 26px; }

    .features { grid-template-columns: 1fr; }
    .features--4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .steps--4 { grid-template-columns: repeat(2, 1fr); }
    .portal-grid,
    .faq-grid { grid-template-columns: 1fr; }

    .pos-showcase h2 { font-size: clamp(28px, 6vw, 32px); }
    .pos-mock__cart { flex-wrap: wrap; }
    .pos-mock__cart button { width: 100%; margin-top: 4px; }

    .store-promo h2 { font-size: clamp(28px, 6vw, 30px); }
    .store-product-grid { grid-template-columns: repeat(2, 1fr); }
    .store-promo__cta { flex-direction: column; align-items: stretch; }
    .store-promo__cta .btn { width: 100%; justify-content: center; }

    .aud-card { padding: 28px 24px; }
    .aud-card h3 { font-size: 22px; }

    .cta-final { padding: 40px 24px; }
    .cta-final h2 { font-size: clamp(26px, 6vw, 30px); }
    .cta-final p { font-size: 16px; margin-bottom: 22px; }
    .lead-form { grid-template-columns: 1fr; }

    .footer { padding: 40px 0 24px; }
    .footer__grid,
    .footer__grid--4 { grid-template-columns: 1fr 1fr; gap: 28px; }

    .live-stats { padding: 22px 0; }
    .live-stats__row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .live-stat b { font-size: 24px; }

    .mock__kpis { grid-template-columns: 1fr; }
    .mock__chart { height: 120px; }
}

/* Móvil */
@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .nav__inner { padding: 12px 16px; }
    .brand { font-size: 16px; gap: 9px; }
    .brand__logo { width: 40px; height: 40px; border-radius: 12px; font-size: 18px; }
    .brand__name { max-width: 38vw; }

    .hero { padding: 36px 0 44px; }
    .hero-phone, .hero-float { display: none; }
    .bento__mock--dash { grid-template-columns: 1fr 1fr; }
    .bento-bars { grid-column: span 2; }
    .hero__badges-row { gap: 8px; margin-bottom: 16px; }
    .hero__badge { font-size: 12px; padding: 7px 12px; }
    .hero__trust { flex-direction: column; gap: 12px; }
    .hero__trust div { flex-direction: row; align-items: baseline; gap: 8px; }
    .hero__trust b { font-size: 18px; min-width: 52px; }

    .section { padding: 44px 0; }
    .feature { padding: 22px; }
    .feature h3 { font-size: 17px; }
    .module-block__title { font-size: 17px; }

    .stat-row { grid-template-columns: 1fr; gap: 12px; }
    .steps--4 { grid-template-columns: 1fr; }

    .store-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .store-product-card strong { font-size: 13px; }
    .store-product-card em { font-size: 15px; }
    .store-promo__head { flex-direction: column; align-items: flex-start; }

    .footer__grid,
    .footer__grid--4 { grid-template-columns: 1fr; }

    .btn--lg { padding: 15px 22px; font-size: 15px; }
    .btn i { font-size: 20px; }

    .live-stats__row { grid-template-columns: 1fr 1fr; }
    .live-stat span { font-size: 11px; }
}

@media (max-width: 380px) {
    .store-product-grid { grid-template-columns: 1fr; }
    .hero__cta .btn--light:nth-child(3) { font-size: 14px; padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 520px) {
    .store-float { bottom: 14px; width: calc(100% - 24px); }
    .store-float__inner { flex-wrap: wrap; padding: 14px; }
    .store-float__copy span { white-space: normal; }
    .store-float__actions { width: 100%; justify-content: space-between; }
    .store-float__actions .btn { flex: 1; justify-content: center; }
}

/* Evita salto de layout cuando se abre el menú móvil */
@media (max-width: 900px) {
    body.nav-open { overflow: hidden; }
}
