/* ======== GLOBAL ======== */
:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #eff6ff;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;

    --primary: #2563eb;
    --primary-2: #3b82f6;
    --primary-3: #60a5fa;
    --primary-ink: #1e40af;

    --ok: #16a34a;

    --radius-xl: 26px;
    --radius-lg: 18px;
    --radius-md: 14px;

    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 40px rgba(37, 99, 235, 0.18);
}

* { box-sizing: border-box; }

body.inicio-body {
    margin: 0;
    font-family: 'IBM Plex Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ======== HERO ======== */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 10px 0 130px;
    background:
        radial-gradient(800px 340px at 10% 0%, rgba(96, 165, 250, 0.42), transparent 70%),
        radial-gradient(840px 360px at 90% 0%, rgba(59, 130, 246, 0.35), transparent 70%),
        linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #3b82f6 100%);
}

.hero::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    height: 92px;
    opacity: 0.45;
    background-repeat: repeat-x;
    background-size: 960px 92px;
    background-position: left bottom;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 960 84' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 44 C80 20 160 20 240 44 C320 68 400 68 480 44 C560 20 640 20 720 44 C800 68 880 68 960 44 L960 84 L0 84 Z'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 130px;
    background-repeat: repeat-x;
    background-size: 960px 130px;
    background-position: left bottom;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 960 122' preserveAspectRatio='none'%3E%3Cpath fill='%23f8fafc' d='M0 62 C80 30 160 30 240 62 C320 94 400 94 480 62 C560 30 640 30 720 62 C800 94 880 94 960 62 L960 122 L0 122 Z'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 5px;
    align-items: center;
}

.hero-copy {
    order: 2;
}

.hero-kicker {
    display: inline-flex;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: #dbeafe;
    border: 1px solid rgba(219, 234, 254, 0.5);
    background: rgba(30, 64, 175, 0.26);
    padding: 6px 11px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 700;
    margin: 0 0 14px;
    letter-spacing: -0.03em;
    line-height: 1.02;
}

.hero p {
    font-size: 18px;
    max-width: 680px;
    margin: 0 0 26px;
    color: rgba(239, 246, 255, 0.94);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-actions--center {
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.22s ease;
}

.btn-primary {
    background: #fff;
    color: var(--primary-ink);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(30, 64, 175, 0.33);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(219, 234, 254, 0.58);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.22);
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
}

.trust-item {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(219, 234, 254, 0.3);
    border-radius: 12px;
    padding: 12px 14px;
    display: grid;
    gap: 4px;
    font-size: 13px;
}

.trust-item strong {
    color: #fff;
}

.trust-item span {
    color: #dbeafe;
}

.hero-mockup {
    order: 1;
    margin: 0;
}

.hero-mockup img {
    width: 100%;
    display: block;
}


/* ======== SECCIONES ======== */
.showcase,
.benefits,
.steps,
.target,
.modules,
.capabilities,
.payments,
.faq,
.cta-final {
    position: relative;
}

.showcase {
    padding: 32px 0 18px;
}

.benefits {
    padding: 30px 0 12px;
}

.steps,
.target,
.modules,
.faq,
.cta-final {
    padding: 72px 0;
}

.capabilities,
.payments {
    padding: 0 0 72px;
}

.target,
.capabilities,
.faq {
    background:
        radial-gradient(540px 260px at 100% 0%, rgba(37, 99, 235, 0.09), transparent 72%),
        radial-gradient(500px 240px at 0% 100%, rgba(96, 165, 250, 0.1), transparent 72%);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: var(--primary-ink);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.section-head h2,
.steps h2,
.target h2,
.modules h2,
.capabilities h2,
.faq h2,
.cta-final h2 {
    margin: 0 0 10px;
    font-size: 34px;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
    text-align: center;
}

.steps h2,
.target h2,
.modules h2,
.capabilities h2,
.faq h2,
.cta-final h2 {
    margin-bottom: 36px;
}

.section-head p,
.cta-final p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

/* ======== CARDS BASE ======== */
.showcase-card,
.benefit,
.step-card,
.target-card,
.card,
.capability-card,
.payment-card,
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    counter-reset: none;
}

.showcase-card {
    display: grid;
    grid-template-columns: minmax(320px, 1.2fr) minmax(260px, 0.8fr);
    align-items: stretch;
    gap: 24px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding-bottom: 30px;
    border-bottom: 1px solid #dbeafe;
}

.showcase-card:nth-child(even) {
    grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
}

.showcase-card:nth-child(even) .showcase-card__media {
    order: 2;
}

.showcase-card:nth-child(even) .showcase-card__body {
    order: 1;
}

.showcase-card__media {
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: hidden;
}

.showcase-card__media img {
    width: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.showcase-card__media video {
    width: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.showcase-card__body {
    position: relative;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-card__tag,
.payment-card__tag,
.card .icon-pill {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #dbeafe;
    color: var(--primary-ink);
    font-size: 12px;
    font-weight: 700;
}

.showcase-card__tag {
    width: fit-content;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
}

.showcase-card__body h3,
.payment-card h3,
.card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
}

.payment-card__icon {
    width: 78px;
    height: 78px;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
}

.payment-card {
    text-align: center;
    border: 1px solid #bfdbfe;
    background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.1);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.payment-card:hover {
    transform: translateY(-3px);
    border-color: #93c5fd;
    box-shadow: 0 20px 38px rgba(37, 99, 235, 0.16);
}

.showcase-card__body h3 {
    font-size: 34px;
    line-height: 1.03;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.showcase-card__body p,
.payment-card p,
.card p,
.target-card p,
.step-card p,
.faq-item p,
.capability-card li {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.showcase-card__body p {
    font-size: 17px;
    max-width: 40ch;
}

.benefits-grid,
.steps-grid,
.target-grid,
.modules-grid,
.capabilities-grid,
.payments-grid {
    display: grid;
    gap: 20px;
}

.benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.payments-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    align-items: stretch;
}

.benefit {
    min-height: 128px;
    padding: 18px;
    text-align: left;
    color: #0f172a;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.09);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.benefit__icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex: 0 0 42px;
    margin-top: 0;
    align-self: center;
}

.benefit span {
    display: block;
}

.benefit:hover {
    transform: translateY(-3px);
    border-color: #93c5fd;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.16);
}

.steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.step-card,
.target-card,
.capability-card,
.payment-card,
.card,
.faq-item {
    padding: 26px 22px;
}

.step-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #dbeafe;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 800;
    margin-bottom: 12px;
}

.step-card h3,
.target-card h3,
.capability-card h3,
.faq-item h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
}

.target-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.modules-grid,
.capabilities-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    text-align: center;
    transition: 0.22s ease;
}

.card:hover,
.showcase-card:hover,
.payment-card:hover,
.step-card:hover,
.capability-card:hover,
.target-card:hover,
.faq-item:hover,
.benefit:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 32px rgba(37, 99, 235, 0.15);
}

.showcase-card:hover {
    transform: none;
    box-shadow: none;
}

.capability-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.capability-card li {
    position: relative;
    padding-left: 18px;
}

.capability-card li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--primary);
    position: absolute;
    left: 0;
    top: 8px;
}

.faq-list {
    display: grid;
    gap: 14px;
    max-width: 900px;
    margin: 0 auto;
}

.seo-context {
    padding: 28px 0 70px;
}

.seo-context h2 {
    margin: 0 0 10px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: 'Space Grotesk', sans-serif;
}

.seo-context > .container > p {
    max-width: 860px;
    margin: 0 auto 24px;
    text-align: center;
    color: var(--muted);
    line-height: 1.65;
}

.seo-context-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-context-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.08);
}

.seo-context-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
}

.seo-context-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.cta-final {
    color: #fff;
    text-align: center;
    background:
        radial-gradient(620px 280px at 20% 10%, rgba(96, 165, 250, 0.24), transparent 70%),
        linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
}

.cta-final p {
    margin: -14px auto 26px;
    max-width: 720px;
    color: #dbeafe;
}

.cta-final .btn-primary {
    background: #fff;
    color: var(--primary-ink);
}

.cta-final .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(219, 234, 254, 0.58);
    color: #fff;
}

footer {
    background: #0f172a;
    padding: 24px;
    text-align: center;
    color: #cbd5e1;
    font-size: 14px;
    border-top: 1px solid #1e293b;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 900px) {
    .hero {
        padding: 5px 0 118px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-mockup {
        max-width: 620px;
    }

    .hero-trust {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .payments-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .seo-context-grid {
        grid-template-columns: 1fr;
    }

    .showcase-card,
    .showcase-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .showcase-card:nth-child(even) .showcase-card__media,
    .showcase-card:nth-child(even) .showcase-card__body {
        order: initial;
    }

    .showcase-card__media {
        border: 0;
    }

    .showcase-card__body {
        padding: 8px 2px;
    }

    .showcase-card__body h3 {
        font-size: 27px;
    }

    .showcase-card__body p {
        max-width: 100%;
        font-size: 16px;
    }

    .showcase-card__media video {
        min-height: 0;
        aspect-ratio: 16 / 9;
        object-fit: contain;
        background: #dbeafe;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 5px 0 108px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-actions {
        justify-content: stretch;
    }

    .hero-actions a {
        width: 100%;
        text-align: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .payments-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .benefit {
        min-height: 0;
        padding: 16px;
        font-size: 14px;
        gap: 8px;
    }

    .benefit__icon {
        width: 100px;
        height: 100px;
        flex-basis: 36px;
    }

    .section-head h2,
    .steps h2,
    .target h2,
    .modules h2,
    .capabilities h2,
    .faq h2,
    .cta-final h2 {
        font-size: 30px;
    }
}
