.products-page-section,
.product-bridge-section {
    position: relative;
    padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(2.5rem, 4vw, 3.25rem);
}

.products-cta-section {
    padding: clamp(2.75rem, 5vw, 4rem) 0 clamp(4rem, 6vw, 5rem);
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(40, 30, 70, 0.06);
}

.products-delimitation {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    color: #5c6470;
    font-size: 0.95rem;
}

.product-card {
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    border-color: rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.product-card--pipeline {
    background: #fafafa;
}

.product-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    color: inherit;
    text-decoration: none;
}

.product-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    margin-bottom: 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    background: #ffffff;
}

.product-card__logo--on-dark {
    background: #ffffff;
}

.product-card__logo img {
    display: block;
    max-width: 160px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* Lockup tipo landing Facturiva: icono + wordmark */
.product-logo-brand {
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.product-logo-brand img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    margin: 0;
    flex-shrink: 0;
}

.product-bridge-logo.product-logo-brand img {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
}

.product-logo-brand__text {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #0f172a;
    white-space: nowrap;
}

.product-bridge-logo.product-logo-brand .product-logo-brand__text {
    font-size: 1.55rem;
}

.services-product-logo-tile .product-logo-brand img {
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
}

.services-product-logo-tile .product-logo-brand__text {
    font-size: 1.05rem;
}

.product-bridge-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(15, 16, 32, 0.08);
}

.product-bridge-logo--on-dark {
    background: #ffffff;
}

.product-bridge-logo img {
    display: block;
    max-width: 220px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.product-card__category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.product-card__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(55, 48, 163, 0.08);
    color: #4c4689;
    letter-spacing: 0.01em;
}

.product-card__title {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
}

.product-card__summary {
    flex: 1 1 auto;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #5c6470;
    margin-bottom: 1.25rem;
}

.product-card__cta {
    font-weight: 600;
    color: var(--theme-color1, #0d6efd);
}

.product-bridge-category {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
    color: #6b7280;
}

.product-bridge-block h2 {
    margin-bottom: 0.5rem;
}

.product-bridge-note {
    padding: 1rem 1.15rem;
    border-left: 3px solid var(--theme-color1, #0d6efd);
    background: rgba(0, 0, 0, 0.03);
}

.btn-outline-theme {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.25rem;
    border: 1px solid currentColor;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.products-home-section {
    padding: 70px 0 50px;
    background: #f7f8fa;
}

.products-home-section .products-grid .product-card {
    box-shadow: none;
}

/* Home Elementor (fondo oscuro): inyectores alineados al ritmo de Home */
.marva-home-inject--on-dark {
    padding: clamp(4.5rem, 7vw, 6.5rem) 0;
    background: transparent;
    color: #f4f1fb;
}

.marva-narrative-bridge.marva-home-inject--on-dark {
    padding: clamp(4.75rem, 7.5vw, 6.75rem) 0;
}

/* Bloque B: peso institucional — dos caminos, no pricing */
.marva-narrative-bridge--weight {
    position: relative;
}

.marva-narrative-bridge--weight::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.035) 0%,
        rgba(255, 255, 255, 0.015) 50%,
        transparent 100%
    );
    pointer-events: none;
}

.marva-narrative-bridge__intro {
    position: relative;
    max-width: 42rem;
    margin: 0 auto 2.75rem;
    text-align: center;
}

.marva-narrative-bridge__title {
    font-size: clamp(1.85rem, 2.8vw, 2.45rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.015em;
    margin: 0 0 1.1rem !important;
}

.marva-narrative-bridge__lead {
    font-size: 1.0625rem !important;
    line-height: 1.65 !important;
    margin: 0 auto !important;
    max-width: 38rem;
}

.marva-narrative-bridge__paths {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0 1.25rem;
    align-items: start;
    max-width: 880px;
    margin: 0 auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.marva-narrative-bridge__path {
    text-align: left;
    padding: 1.75rem 1rem 0.25rem;
}

.marva-narrative-bridge__path .marva-home-inject__panel-title {
    font-size: 1.45rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.marva-narrative-bridge__path .marva-home-inject__panel-text {
    margin-bottom: 1.35rem !important;
    max-width: 26rem;
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
}

.marva-narrative-bridge__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 0.2rem 0;
}

.marva-narrative-bridge__divider span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(244, 241, 251, 0.8);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    background: rgba(20, 16, 40, 0.28);
}

@media (max-width: 767.98px) {
    .marva-narrative-bridge__paths {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .marva-narrative-bridge__path {
        text-align: center;
        padding: 1.25rem 0 0.5rem;
    }

    .marva-narrative-bridge__path .marva-home-inject__panel-text {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .marva-narrative-bridge__divider {
        padding: 0.35rem 0;
    }

    .marva-narrative-bridge__divider::before,
    .marva-narrative-bridge__divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: rgba(255, 255, 255, 0.14);
        margin: 0 0.75rem;
    }
}

.marva-home-inject--on-dark .subtitle {
    color: rgba(244, 241, 251, 0.55) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    margin-bottom: 0.85rem !important;
}

.marva-home-inject--on-dark .title,
.marva-home-inject--on-dark .marva-home-inject__panel-title {
    color: #ffffff !important;
}

.marva-home-inject--on-dark .title {
    font-size: clamp(1.85rem, 2.8vw, 2.45rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.015em;
    margin-bottom: 1rem !important;
}

.marva-home-inject--on-dark .marva-home-inject__lead,
.marva-home-inject--on-dark .marva-home-inject__panel-text {
    color: rgba(244, 241, 251, 0.78) !important;
    margin-bottom: 1.15rem;
    font-size: 1.0625rem;
    line-height: 1.65;
}

.marva-home-inject__panel {
    height: 100%;
    padding: 1.5rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
}

.marva-home-inject__panel-title {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
}

.products-home-section.marva-home-inject--on-dark {
    padding: clamp(4.5rem, 7vw, 6.5rem) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.products-home-section.marva-home-inject--on-dark .mb-40 {
    margin-bottom: 2.25rem !important;
}

.products-home-section.marva-home-inject--on-dark .marva-home-inject__actions {
    margin-top: 2rem !important;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: center;
    align-items: center;
}

.products-home-section.marva-home-inject--on-dark .marva-home-inject__actions .btn-outline-theme {
    opacity: 0.9;
    font-size: 0.92rem;
}

.marva-home-inject--on-dark .product-card__logo,
.marva-home-inject--on-dark .product-card__logo--on-dark {
    background: #ffffff;
    justify-content: center;
}

.marva-home-inject--on-dark .product-card {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.12);
    color: #f4f1fb;
    box-shadow: none;
    border-radius: 12px;
}

.marva-home-inject--on-dark .product-card:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.marva-home-inject--on-dark .product-card--pipeline {
    background: rgba(255, 255, 255, 0.04);
}

.marva-home-inject--on-dark .product-card__category,
.marva-home-inject--on-dark .product-card__summary {
    color: rgba(244, 241, 251, 0.72);
}

.marva-home-inject--on-dark .product-card__title {
    color: #ffffff;
}

.marva-home-inject--on-dark .product-card__badge {
    background: rgba(255, 255, 255, 0.12);
    color: #e8e4f8;
}

.marva-home-inject--on-dark .product-card__cta {
    color: #c4b5fd;
}

.marva-home-inject--on-dark .btn-outline-theme {
    color: #f4f1fb;
    border-color: rgba(255, 255, 255, 0.55);
}

.marva-home-inject--on-dark .btn-outline-theme:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.marva-home-inject__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.products-service-bridge {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: #fff;
}

.products-service-bridge p {
    margin-bottom: 0.75rem;
}
