/* ── Hero wrapper ── */
.sol-hero-wrap {
    background: var(--gradient-general);
    padding-top: 90px;
    padding-bottom: 56px;
    position: relative;
    overflow: hidden;
}

/* Dot grid overlay */
.sol-hero-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* Glow blobs */
.sol-hero-wrap::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(52, 168, 83, .18) 0%, transparent 65%);
    pointer-events: none;
}

.sol-hero-blob {
    position: absolute;
    bottom: -120px;
    left: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(26, 115, 232, .18) 0%, transparent 65%);
    pointer-events: none;
}

/* ── App icons carousel ── */
.apps-carousel-wrap {
    overflow: hidden;
    padding: 0 0 36px;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.apps-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 28px;
    width: max-content;
    will-change: transform;
}

.apps-track.running {
    animation: appsScroll var(--scroll-duration, 35s) linear infinite;
}

.apps-track:hover {
    animation-play-state: paused;
}

@keyframes appsScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(var(--scroll-dist, -50%));
    }
}

.app-icon-bubble {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .10);
    transition: transform .2s;
    cursor: default;
}

.app-icon-bubble:hover {
    transform: scale(1.12);
}

/* Color palette for bubbles */
.bbl-blue {
    background: #e8f0fe;
    color: #1a73e8;
}

.bbl-green {
    background: #e6f4ea;
    color: #188038;
}

.bbl-cyan {
    background: #e0f7fa;
    color: #00838f;
}

.bbl-purple {
    background: #f3e8fd;
    color: #7b1fa2;
}

.bbl-orange {
    background: #fff3e0;
    color: #e65100;
}

.bbl-teal {
    background: #e0f2f1;
    color: #00695c;
}

.bbl-red {
    background: #fce8e6;
    color: #c62828;
}

.bbl-yellow {
    background: #fffde7;
    color: #f57f17;
}

.bbl-indigo {
    background: #e8eaf6;
    color: #283593;
}

.bbl-pink {
    background: #fce4ec;
    color: #ad1457;
}

.bbl-lime {
    background: #f9fbe7;
    color: #558b2f;
}

.bbl-brown {
    background: #efebe9;
    color: #4e342e;
}

/* ── Page intro ── */
.sol-intro {
    padding: 36px 0 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.sol-intro h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: .5rem;
}

.sol-intro .sol-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 2rem;
}

/* ── Breadcrumb ── */
.sol-breadcrumb {
    font-size: .85rem;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 0;
}

.sol-breadcrumb a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
}

.sol-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.sol-breadcrumb .breadcrumb-item.active {
    color: var(--green-light, #34a853);
}

/* ── Filter pills ── */
.filter-pills {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50px;
    padding: 6px 10px;
    backdrop-filter: blur(8px);
}

.filter-pill {
    border: none;
    background: transparent;
    border-radius: 50px;
    padding: .42rem 1.3rem;
    font-size: .92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .75);
    cursor: pointer;
    transition: background .2s, color .2s;
}

.filter-pill:hover {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

.filter-pill.active {
    background: #fff;
    color: #0253ac;
    font-weight: 700;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .18);
}

/* ── Cards grid ── */
.cards-grid {
    padding: 48px 0 20px;
}

.sol-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
    transition: transform .25s, box-shadow .25s;
    height: 100%;
}

.sol-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .13);
}

.sol-card.hidden {
    display: none;
}

.sol-card .card-body {
    padding: 1.8rem;
}

.sol-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* reuse bubble colors */
.sol-icon-wrap.blue-dark {
    background: #e8f0fe;
    color: #1a73e8;
}

.sol-icon-wrap.green {
    background: #e6f4ea;
    color: #188038;
}

.sol-icon-wrap.blue-light {
    background: #e0f7fa;
    color: #00838f;
}

.sol-icon-wrap.orange {
    background: #fff3e0;
    color: #e65100;
}

.sol-icon-wrap.purple {
    background: #f3e8fd;
    color: #7b1fa2;
}

.sol-icon-wrap.teal {
    background: #e0f2f1;
    color: #00695c;
}

.sol-icon-wrap.red {
    background: #fce8e6;
    color: #c62828;
}

.sol-icon-wrap.yellow {
    background: #fffde7;
    color: #f57f17;
}

.sol-card .card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
    margin-bottom: .5rem;
}

.sol-card .card-text {
    font-size: .9rem;
    color: #555;
    line-height: 1.6;
}

.sol-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    padding: .22rem .65rem;
    border-radius: 50px;
    margin-bottom: .7rem;
}

.badge-product {
    background: #e8f0fe;
    color: #1a73e8;
}

.badge-service {
    background: #e6f4ea;
    color: #188038;
}

.badge-support {
    background: #f3e8fd;
    color: #7b1fa2;
}

.sol-audience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: .8rem 0;
}

.audience-tag {
    font-size: .72rem;
    font-weight: 500;
    padding: .18rem .55rem;
    border-radius: 50px;
    background: #f1f3f4;
    color: #555;
}

.btn-link-arrow {
    font-size: .88rem;
    font-weight: 600;
    color: #0253ac;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: .8rem;
    transition: gap .2s;
}

.btn-link-arrow:hover {
    gap: 9px;
}

/* section divider */
.section-label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 1.2rem;
}

/* ── CTA ── */
.solutions-cta {
    background: var(--gradient-general);
    border-radius: 20px;
    padding: 56px 40px;
    text-align: center;
    color: #fff;
}

.solutions-cta h2 {
    font-weight: 800;
}

.solutions-cta .btn-cta {
    background: var(--green-light, #34a853);
    color: #fff;
    border: none;
    padding: .8rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: opacity .2s, transform .2s;
}

.solutions-cta .btn-cta:hover {
    opacity: .88;
    transform: translateY(-2px);
}

/* ── Suite divider ── */
.suite-divider-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: .5rem;
}

.suite-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #d0d7de, transparent);
}

.suite-divider-label {
    display: inline-flex;
    align-items: center;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0253ac;
    background: #e8f0fe;
    border: 1px solid #c5d8f8;
    border-radius: 50px;
    padding: .35rem 1.1rem;
    white-space: nowrap;
}

.suite-divider-sub {
    text-align: center;
    font-size: .85rem;
    color: #888;
    margin: 0;
}

/* No results */
#no-results {
    display: none;
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #888;
}

/* ========================================
   RESPONSIVE — SOLUCIONES
   ======================================== */

/* ---- Tablet (768px – 991px) ---- */
@media (max-width: 991px) {
    .sol-hero-wrap {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .sol-intro h1 {
        font-size: 2rem;
    }

    .sol-intro .sol-subtitle {
        font-size: 0.95rem;
    }

    .filter-pills {
        flex-wrap: wrap;
        border-radius: 20px;
    }

    .filter-pill {
        font-size: 0.82rem;
        padding: 0.35rem 1rem;
    }

    .cards-grid {
        padding: 36px 0 16px;
    }

    .sol-card .card-body {
        padding: 1.4rem;
    }

    .solutions-cta {
        padding: 40px 28px;
    }

    .app-icon-bubble {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
        border-radius: 14px;
    }
}

/* ---- Phone (≤767px) ---- */
@media (max-width: 767px) {
    .sol-hero-wrap {
        padding-top: 70px;
        padding-bottom: 30px;
    }

    .sol-intro h1 {
        font-size: 1.6rem;
    }

    .sol-intro .sol-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .sol-breadcrumb {
        font-size: 0.78rem;
        justify-content: center;
    }

    /* Filter pills — horizontally scrollable */
    .filter-pills {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 16px;
        padding: 5px 8px;
        gap: 6px;
        justify-content: flex-start;
        width: 100%;
    }

    .filter-pill {
        font-size: 0.78rem;
        padding: 0.32rem 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .cards-grid {
        padding: 24px 0 12px;
    }

    .sol-card .card-body {
        padding: 1.25rem;
    }

    .sol-card .card-title {
        font-size: 0.95rem;
    }

    .sol-card .card-text {
        font-size: 0.82rem;
    }

    .sol-icon-wrap {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        border-radius: 12px;
    }

    .sol-badge {
        font-size: 0.68rem;
    }

    .audience-tag {
        font-size: 0.68rem;
    }

    .btn-link-arrow {
        font-size: 0.82rem;
    }

    /* Suite divider */
    .suite-divider-label {
        font-size: 0.72rem;
        padding: 0.3rem 0.85rem;
    }

    .suite-divider-sub {
        font-size: 0.78rem;
    }

    .section-label {
        font-size: 0.72rem;
    }

    /* App icon bubbles */
    .app-icon-bubble {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        border-radius: 12px;
    }

    .apps-track {
        gap: 16px;
    }

    /* CTA */
    .solutions-cta {
        padding: 30px 18px;
        border-radius: 16px;
    }

    .solutions-cta h2 {
        font-size: 1.4rem;
    }

    .solutions-cta .btn-cta {
        font-size: 0.9rem;
        padding: 0.7rem 1.6rem;
    }
}
