:root {
    --green: #16A34A;
    --green-hover: #15803D;
    --green-bright: #22C55E;
    --blue: #2563EB;
    --blue-hover: #1D4ED8;
    --teal: #0EA5A4;
    --violet: #7C3AED;
    --ink: #0B1221;
    --ink-soft: #111B2E;
    --bg: #F7F9FC;
    --card: #FFFFFF;
    --text: #0B1221;
    --muted: #5A6782;
    --border: #ECEFF5;
    --border-strong: #DCE2EC;
    /* tintes pastel para alternar fondos de seccion */
    --tint-mint: #EEFBF3;
    --tint-sky: #EFF5FF;
    --tint-lav: #F3F1FE;
    --tint-warm: #FFF6EE;
    --grad-brand: linear-gradient(120deg, #16A34A 0%, #0EA5A4 55%, #2563EB 100%);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-pill: 999px;
    --shadow-soft: 0 30px 70px -24px rgba(11, 18, 33, 0.22);
    --shadow-card: 0 14px 40px -18px rgba(11, 18, 33, 0.16);
    --shadow-cta: 0 16px 34px -10px rgba(22, 163, 74, 0.5);
    --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 2.4rem)); margin: 0 auto; }
.section { padding: clamp(3.5rem, 6vw, 5.75rem) 0; }
.section-soft { background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
/* Bandas pastel alternadas para un look SaaS moderno y con personalidad */
#como-funciona { background: var(--tint-sky); }
#producto { background: #fff; }
#ia { background: var(--tint-mint); }
#planes { background: #fff; }
#calculadora { background: var(--tint-lav); }
.section-head { max-width: 680px; margin-bottom: 2.4rem; }
.section-head-center { max-width: 620px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .section-tag { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-top: 0.85rem; font-size: clamp(1.65rem, 2.6vw, 2.3rem); line-height: 1.12; }
.section-head p { margin-top: 0.85rem; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-tag,
.kicker,
.oding-tag {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    width: fit-content;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border-strong);
    box-shadow: 0 6px 16px -10px rgba(11,18,33,.25);
    color: var(--ink);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
}
.section-tag::before,
.kicker::before,
.oding-tag::before {
    content: '';
    width: .5rem;
    height: .5rem;
    border-radius: 999px;
    background: var(--grad-brand);
}
h1, h2, h3 { margin: 0; font-family: 'Sora', sans-serif; line-height: 1.16; letter-spacing: -0.025em; font-weight: 700; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(248, 251, 255, 0.9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}
.nav-shell { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 86px; gap: 1.2rem; }
.brand { display: inline-flex; flex-direction: column; min-width: 220px; gap: 0.2rem; }
.brand-logo { width: 165px; height: auto; }
.brand-tag { font-size: 0.75rem; color: var(--muted); font-weight: 700; }
.site-nav { display: flex; justify-content: center; gap: 2.1rem; font-weight: 600; font-size: 0.95rem; }
.site-nav a { color: #334155; white-space: nowrap; transition: color .2s ease; }
.site-nav a:hover { color: var(--green-hover); }
.nav-actions { display: inline-flex; gap: .75rem; }
.menu-toggle, .nav-cta-mobile { display: none; }

.btn {
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    padding: 0.85rem 1.5rem;
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .25s ease, background-color .2s ease, border-color .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled {
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-primary { background: var(--grad-brand); background-size: 140% 140%; color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 20px 40px -8px rgba(22, 163, 74, 0.55); }
.btn-primary:disabled,
.btn-primary:disabled:hover {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-secondary { background: var(--ink); color: #fff; }
.btn-secondary:hover { background: var(--ink-soft); box-shadow: 0 12px 26px -10px rgba(11,18,33,.5); }
.btn-ghost { background: #fff; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-hover); box-shadow: 0 10px 22px -12px rgba(22,163,74,.3); }
.btn-full { width: 100%; }

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(2.6rem, 4vw, 4rem) 0 clamp(2.5rem, 4.5vw, 3.5rem);
    background:
        radial-gradient(40rem 30rem at 8% 6%, rgba(34,197,94,.22), transparent 60%),
        radial-gradient(36rem 28rem at 95% 0%, rgba(124,58,237,.16), transparent 58%),
        radial-gradient(40rem 32rem at 70% 100%, rgba(37,99,235,.16), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}
.hero-glow { position: absolute; border-radius: 999px; filter: blur(10px); opacity: .75; pointer-events: none; }
.hero-glow-one { width: 340px; height: 340px; left: -120px; top: 80px; background: rgba(34,197,94,.14); }
.hero-glow-two { width: 420px; height: 420px; right: -170px; top: 40px; background: rgba(37,99,235,.14); }
.hero-content-wrap {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(540px, 1.1fr);
    gap: clamp(1.8rem, 4vw, 4rem);
    align-items: center;
}
.hero-copy h1 { margin-top: .55rem; max-width: 600px; font-size: clamp(1.7rem, 2.7vw, 2.45rem); line-height: 1.14; }
.hero-lead { margin: 1.1rem 0 0; max-width: 600px; font-size: clamp(.98rem, 1.2vw, 1.08rem); color: #334155; line-height: 1.6; }
.hero-actions { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-trust-row { margin: 2rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.hero-trust-row li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #475569;
    font-size: .82rem;
    font-weight: 600;
}
.hero-trust-row li::before {
    content: '';
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 999px;
    background: rgba(22,163,74,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A34A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / .7rem no-repeat;
    flex: none;
}
.hero-callouts { margin: 1.9rem 0 0; display: grid; gap: .6rem; max-width: 480px; }
.hero-callout {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .7rem .85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: transform .2s ease, box-shadow .25s ease;
}
.hero-callout:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -20px rgba(11,18,33,.3); }
.hero-callout-ic {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 11px;
    font-size: 1.15rem;
    background: var(--tint-mint);
}
.hero-callout:nth-child(1) .hero-callout-ic { background: var(--tint-warm); }
.hero-callout:nth-child(3) .hero-callout-ic { background: var(--tint-sky); }
.hero-callout-ic.is-logo { background: #E7F9EF; }
.hero-callout-ic img,
.hero-callout-ic svg { width: 1.4rem; height: 1.4rem; }
.hero-callout p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.hero-callout strong { color: var(--text); font-weight: 700; }

.product-showcase {
    position: relative;
    border: 1px solid rgba(148,163,184,.35);
    border-radius: var(--radius-xl);
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.showcase-topbar {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: .65rem;
    padding: .82rem 1rem;
    border-bottom: 1px solid #dbeafe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.browser-dots { display: inline-flex; gap: .32rem; }
.browser-dots span { width: .55rem; height: .55rem; border-radius: 50%; background: #34d399; }
.browser-dots span:first-child { background: #f87171; }
.browser-dots span:nth-child(2) { background: #fbbf24; }
.showcase-topbar strong { font-size: .88rem; color: #0f172a; }
.showcase-topbar > span { justify-self: end; font-size: .77rem; font-weight: 800; color: var(--green-hover); background: rgba(34,197,94,.12); padding: .33rem .6rem; border-radius: 999px; }
.panel-image-frame { padding: 1rem 1rem .75rem; background: #fff; }
.panel-live-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1410 / 644;
    object-fit: contain;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    background: #f8fafc;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
    transition: transform .25s ease;
}
.product-showcase:hover .panel-live-image { transform: scale(1.01); }
.showcase-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .72rem;
    padding: .25rem 1rem 1rem;
}
.live-kpi {
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    padding: .78rem .82rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.live-kpi small { display: block; color: #64748b; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.live-kpi strong { display: block; margin-top: .16rem; font-size: 1.45rem; color: #0f172a; letter-spacing: -0.04em; }
.live-kpi span { display: block; margin-top: .1rem; color: var(--green-hover); font-size: .74rem; font-weight: 800; }
.oding-live-card {
    margin: 0 1rem 1rem;
    padding: 1rem;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(34,197,94,.10), rgba(37,99,235,.06), #fff 62%);
}
.oding-live-brand { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.oding-live-brand img { width: 116px; max-height: 54px; object-fit: contain; }
.oding-live-card p { margin: .45rem 0 0; color: #334155; font-size: .9rem; }
.oding-chat-mini { display: grid; gap: .45rem; margin-top: .75rem; }
.oding-chat-mini span { width: fit-content; max-width: 100%; padding: .48rem .65rem; border-radius: 12px; font-size: .82rem; }
.oding-chat-mini span:first-child { background: #eaf2ff; }
.oding-chat-mini span:last-child { justify-self: end; background: #dcfce7; }

.hero-feature-strip {
    position: relative;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-card);
}
.hero-feature-strip article { padding: .35rem .55rem; }
.hero-feature-strip article { display: grid; grid-template-columns: auto 1fr; column-gap: .65rem; align-items: center; }
.hero-feature-strip span { grid-row: span 2; font-size: 1.35rem; }
.hero-feature-strip strong { font-size: .86rem; font-weight: 700; }
.hero-feature-strip small { color: var(--muted); font-weight: 500; font-size: .8rem; }

.difference-section { background: #fff; }
.difference-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .85rem;
}
.difference-card,
.module-card,
.trust-item,
.chat-sim,
.shop-chat,
.calc-form,
.demo-form,
.ecommerce-list {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.45rem;
    box-shadow: var(--shadow-card);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.difference-card:hover,
.module-card:hover,
.trust-item:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -22px rgba(11,18,33,.28); border-color: transparent; }
.difference-card span { color: var(--blue); font-weight: 700; font-size: .8rem; }
.difference-card h3, .module-card h3, .trust-item h3 { margin-top: 1rem; font-size: 1.12rem; }
.difference-card p, .module-card p, .trust-item p { margin: .5rem 0 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }

.how-section { background: #f8fafc; }
.flow-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; position: relative; }
.flow-track::before { content: ''; position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: linear-gradient(90deg, rgba(34,197,94,.2), rgba(37,99,235,.55), rgba(34,197,94,.2)); z-index: 0; }
.flow-node { position: relative; z-index: 1; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 1.05rem; box-shadow: var(--shadow-card); opacity: .55; transform: translateY(8px); transition: all .3s ease; }
.flow-node.is-active { opacity: 1; transform: translateY(0); border-color: rgba(37,99,235,.35); }
.flow-node h3 { font-size: 1.08rem; }
.flow-node p { margin: .45rem 0 0; color: var(--muted); font-size: .9rem; }
.modules-grid, .trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.05rem; }
.module-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 16px;
    font-size: 1.5rem;
    line-height: 1;
    background: var(--tint-mint);
}
.module-card:nth-child(6n+1) .icon { background: var(--tint-mint); }
.module-card:nth-child(6n+2) .icon { background: var(--tint-sky); }
.module-card:nth-child(6n+3) .icon { background: var(--tint-lav); }
.module-card:nth-child(6n+4) .icon { background: var(--tint-warm); }
.module-card:nth-child(6n+5) .icon { background: var(--tint-sky); }
.module-card:nth-child(6n+6) .icon { background: var(--tint-mint); }
.ia-layout, .ecommerce-layout, .calc-layout, .demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.dual-feature { display: grid; gap: clamp(2rem, 4vw, 3.2rem); }
.feature-label { display: inline-flex; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green-hover); }
.feature-text h3 { margin: .55rem 0 0; font-size: 1.2rem; }
.feature-text .ia-list { margin-top: .85rem; }
.ia-list { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--muted); display: grid; gap: .45rem; font-size: .92rem; }
.trust-strip { list-style: none; margin: 1.8rem 0 0; padding: 1.6rem 0 0; display: grid; gap: .7rem; border-top: 1px solid rgba(255,255,255,.14); }
.trust-strip li { font-size: .85rem; color: rgba(203,213,225,.78); display: flex; gap: .45rem; }
.trust-strip strong { color: #fff; font-weight: 700; }
.chat-sim, .shop-chat { display: grid; gap: .65rem; min-height: 230px; align-content: center; }
.chat-bubble { max-width: 88%; border-radius: 15px; padding: .72rem .85rem; font-size: .94rem; animation: fadeInUp .4s ease; }
.from-user { justify-self: end; background: rgba(37,99,235,.12); }
.from-ai { justify-self: start; background: rgba(34,197,94,.14); }
.chat-bubble.is-typing {
    background: rgba(148, 163, 184, .2);
    color: #334155;
    animation: none;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes typingPulse { 0%, 100% { opacity: .62; } 50% { opacity: 1; } }
.typing-indicator {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.typing-dot {
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: #64748b;
    opacity: .45;
    animation: typingDot 1s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: .15s; }
.typing-dot:nth-child(3) { animation-delay: .3s; }
@keyframes typingDot {
    0%, 80%, 100% { transform: translateY(0); opacity: .4; }
    40% { transform: translateY(-2px); opacity: 1; }
}
.ecommerce-content { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; }
.ecommerce-list ul { margin: 0; padding-left: 1.1rem; color: var(--muted); display: grid; gap: .55rem; }
.calc-form label, .demo-form label { display: block; font-weight: 800; font-size: .87rem; margin: .7rem 0 .35rem; }
.calc-form input, .calc-form select, .demo-form input, .demo-form textarea { width: 100%; border: 1px solid var(--border-strong); border-radius: 12px; padding: .72rem .78rem; font: inherit; background: #fff; }
#messagesValue { display: inline-block; margin-top: .45rem; padding: .28rem .58rem; border-radius: 999px; background: rgba(37,99,235,.12); color: var(--blue); font-weight: 900; font-size: .85rem; }
.calc-result { margin-top: 1rem; border-radius: 14px; background: #f8fafc; border: 1px solid var(--border); padding: .85rem; font-weight: 900; }
.calc-cta { margin-top: .85rem; }
.calc-disclaimer { font-size: .9rem; color: var(--muted); }
.section-cta { background: linear-gradient(130deg, rgba(34,197,94,.11), rgba(37,99,235,.13)); }
.section-cta.is-dark {
    background:
        radial-gradient(circle at 12% 0%, rgba(34,197,94,.22), transparent 40%),
        radial-gradient(circle at 88% 100%, rgba(37,99,235,.22), transparent 42%),
        var(--ink);
    color: #cbd5e1;
}
.section-cta.is-dark .demo-grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
.demo-pitch h2 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.15rem); }
.demo-pitch p { margin-top: .9rem; color: rgba(203,213,225,.92); font-size: 1.02rem; max-width: 46ch; }
.section-cta.is-dark .section-tag { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; box-shadow: none; }
.demo-benefits { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .65rem; }
.demo-benefits li { position: relative; padding-left: 1.7rem; color: #e2e8f0; font-size: .96rem; }
.demo-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .05rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / .72rem no-repeat;
}
.demo-form { color: var(--text); box-shadow: 0 30px 70px -24px rgba(0,0,0,.6); }
.demo-form label { color: var(--text); }
.demo-form input, .demo-form textarea { color: var(--text); }
.demo-form-title { margin: 0 0 .35rem; font-family: 'Sora', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--text); }
.form-status { min-height: 1.2rem; margin: .75rem 0 0; color: var(--muted); font-size: .88rem; }
.form-status.is-success {
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 10px;
    padding: .58rem .68rem;
}
.form-status.is-error {
    color: #7f1d1d;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 10px;
    padding: .58rem .68rem;
}
.form-status.is-loading {
    color: #1e3a8a;
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 10px;
    padding: .58rem .68rem;
}

.site-footer { background: #0b1221; color: #cbd5e1; padding-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 1rem; }
.footer-brand p { color: #94a3b8; max-width: 40ch; }
.footer-column { display: grid; gap: .35rem; }
.footer-title { color: #fff; font-weight: 850; margin-bottom: .4rem; }
.footer-bottom {
    margin-top: 1.1rem;
    border-top: 1px solid rgba(148,163,184,.22);
    padding: .7rem 0 .9rem;
    display: grid;
    gap: .1rem;
    color: #94a3b8;
    font-size: .78rem;
    line-height: 1.25;
}
.footer-bottom p { margin: 0; }
.footer-slogan { font-size: .73rem; opacity: .88; }
.whatsapp-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; display: inline-flex; align-items: center; gap: .45rem; padding: .53rem .72rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: #0b1221; color: #fff; box-shadow: var(--shadow-card); }
.whatsapp-float-icon { width: 1.45rem; height: 1.45rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--green); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Planes / pricing */
.section-pricing { background: #fff; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
    gap: 1.1rem;
    align-items: stretch;
    justify-content: center;
}
/* 4 o mas planes: tarjetas mas compactas para que entren en fila */
.pricing-grid.is-compact { grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); gap: .85rem; }
.pricing-grid.is-compact .pricing-card { padding: 1.4rem 1.2rem; }
.pricing-grid.is-compact .pricing-card-head h3 { font-size: 1.05rem; }
.pricing-grid.is-compact .pricing-price-main { font-size: 1.55rem; }
.pricing-grid.is-compact .pricing-tagline { font-size: .82rem; }
.pricing-grid.is-compact .pricing-features li { font-size: .83rem; }
.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.7rem 1.5rem;
    box-shadow: var(--shadow-card);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(15,23,42,.1); border-color: rgba(37,99,235,.28); }
.pricing-card.is-featured {
    border-color: var(--green);
    box-shadow: 0 22px 55px rgba(34,197,94,.18);
}
.pricing-card.is-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(34,197,94,.55), rgba(37,99,235,.45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.pricing-badge {
    position: absolute;
    top: -.7rem;
    right: 1.2rem;
    background: var(--green);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .3rem .68rem;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(34,197,94,.28);
}
.pricing-card-head h3 { font-size: 1.15rem; margin: 0; }
.pricing-tagline { margin: .4rem 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.pricing-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem; margin: 1.1rem 0 .2rem; }
.pricing-price-prefix { color: var(--muted); font-size: .78rem; font-weight: 600; }
.pricing-price-main { font-family: 'Sora', 'Manrope', sans-serif; font-size: 1.75rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--text); }
.pricing-price-period { color: var(--muted); font-weight: 600; font-size: .88rem; }
.pricing-note { margin: 0 0 .2rem; color: #94a3b8; font-size: .78rem; }
.pricing-features { list-style: none; margin: 1.15rem 0 1.4rem; padding: 0; display: grid; gap: .55rem; flex: 1; }
.pricing-features li { position: relative; padding-left: 1.45rem; color: #334155; font-size: .87rem; line-height: 1.45; }
.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 900;
}
.pricing-cta { margin-top: auto; }
.pricing-foot { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.6rem; }
.pricing-disclaimer { margin: 1.4rem auto 0; max-width: 760px; text-align: center; color: var(--muted); font-size: .9rem; }
.pricing-disclaimer a { color: var(--blue); font-weight: 700; }
.pricing-page-hero .section-head { margin-bottom: 1.8rem; }

@media (max-width: 1160px) {
    .hero-content-wrap, .ia-layout, .ecommerce-layout, .calc-layout, .demo-grid { grid-template-columns: 1fr; }
    .hero-copy h1, .hero-lead { max-width: 860px; }
    .difference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
    .nav-shell { grid-template-columns: auto auto; justify-content: space-between; position: relative; }
    .menu-toggle { display: inline-flex; width: 44px; height: 44px; border: 1px solid var(--border); background: #fff; border-radius: 10px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
    .menu-toggle span { width: 18px; height: 2px; background: var(--text); }
    .site-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: .6rem; background: #fff; border-bottom: 1px solid var(--border); }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: .78rem; border-radius: 8px; }
    .site-nav a:hover { background: #f8fafc; }
    .nav-cta-mobile { display: inline-flex; margin-top: .3rem; background: var(--green); color: #fff; }
    .nav-actions { display: none; }
    .showcase-metrics, .flow-track, .modules-grid, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
    .flow-track::before { display: none; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .container { width: min(var(--container), calc(100% - 1.2rem)); }
    .hero { padding-top: 1.8rem; }
    .hero-copy h1 { font-size: clamp(1.9rem, 9.2vw, 2.25rem); }
    .hero-actions .btn { width: 100%; }
    .showcase-topbar { grid-template-columns: auto 1fr; }
    .showcase-topbar > span { grid-column: 1 / -1; justify-self: start; }
    .panel-image-frame { padding: .7rem; }
    .showcase-metrics, .difference-grid, .modules-grid, .trust-grid, .flow-track, .ecommerce-content, .footer-grid, .hero-feature-strip { grid-template-columns: 1fr; }
    .oding-live-brand { align-items: flex-start; }
    .oding-live-brand img { width: 88px; }
    .whatsapp-float-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Accesibilidad y controles de producción */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 9999;
    padding: .75rem 1rem;
    border-radius: 999px;
    background: #0F172A;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: top .18s ease;
}

.skip-link:focus {
    top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.45);
    outline-offset: 3px;
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Carrusel principal del hero: capturas reales de Panel by LESCOD */
.panel-carousel {
    position: relative;
    padding: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}
.panel-carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    border: 1px solid #dbe3ef;
    border-radius: 18px;
    background: #f8fafc;
    overflow: hidden;
}
.panel-carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: .75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(18px) scale(.985);
    transition: opacity .45s ease, transform .45s ease, visibility .45s ease;
}
.panel-carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    z-index: 2;
}
.panel-carousel-slide .panel-live-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    border: 0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: none;
    transform: none !important;
}
.panel-carousel-slide figcaption {
    position: absolute;
    left: 1.15rem;
    right: 1.15rem;
    bottom: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .58rem .75rem;
    border: 1px solid rgba(219, 227, 239, .9);
    border-radius: 14px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}
.panel-carousel-slide figcaption strong {
    color: #0f172a;
    font-size: .82rem;
    line-height: 1.15;
}
.panel-carousel-slide figcaption span {
    color: #475569;
    font-size: .74rem;
    line-height: 1.25;
    text-align: right;
}
.panel-carousel-control {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid rgba(203, 213, 225, .95);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #0f172a;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.panel-carousel-control:hover,
.panel-carousel-control:focus-visible {
    background: #ffffff;
    border-color: #93c5fd;
    transform: translateY(-50%) scale(1.04);
}
.panel-carousel-prev { left: 1.45rem; }
.panel-carousel-next { right: 1.45rem; }
.panel-carousel-dots {
    position: absolute;
    left: 50%;
    bottom: .35rem;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    padding: .35rem .48rem;
    border: 1px solid rgba(219, 227, 239, .8);
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    transform: translateX(-50%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}
.panel-carousel-dot {
    width: .55rem;
    height: .55rem;
    border: 0;
    border-radius: 999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}
.panel-carousel-dot.is-active {
    width: 1.35rem;
    background: linear-gradient(135deg, var(--green), var(--blue));
}
.product-showcase:hover .panel-carousel-slide .panel-live-image { transform: none !important; }

@media (max-width: 920px) {
    .panel-carousel-track { min-height: 260px; }
    .panel-carousel-slide figcaption {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }
    .panel-carousel-slide figcaption span { text-align: left; }
}
@media (max-width: 640px) {
    .panel-carousel { padding: .7rem; }
    .panel-carousel-track {
        aspect-ratio: 4 / 3;
        min-height: 230px;
    }
    .panel-carousel-control {
        width: 2rem;
        height: 2rem;
        font-size: 1.25rem;
    }
    .panel-carousel-prev { left: .9rem; }
    .panel-carousel-next { right: .9rem; }
    .panel-carousel-slide { padding: .5rem; }
    .panel-carousel-slide figcaption {
        left: .8rem;
        right: .8rem;
        bottom: .85rem;
        padding: .5rem .6rem;
    }
    .panel-carousel-slide figcaption span { display: none; }
}
