/**
 * Home — Por qué ConlineWeb (franja editorial, distinta a cards de servicios).
 */

body.page-home .home-why {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

body.page-home .home-why__head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 1.65rem;
}

body.page-home .home-why__eyebrow {
    display: block;
    width: fit-content;
    margin: 0 auto 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(0, 255, 157, 0.88);
}

body.page-home .home-why__title {
    font-family: 'Poiret One', sans-serif;
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 400;
    line-height: 1.28;
    letter-spacing: 1.5px;
    margin: 0 auto 0.75rem;
    padding-block: 0.05em 0.12em;
    background: linear-gradient(135deg, var(--matrix-green, #00ff9d), var(--neon-blue, #00f3ff));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.page-home .home-why__lead {
    margin: 0 auto;
    font-size: clamp(0.9375rem, 1.15vw, 1.05rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.74);
}

body.page-home .home-why__track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(0, 255, 157, 0.18);
    border-radius: 18px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(0, 255, 157, 0.06) 0%, rgba(0, 243, 255, 0.04) 50%, rgba(10, 10, 15, 0.5) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.page-home .home-why__item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.15rem 1.2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
}

body.page-home .home-why__item:last-child {
    border-right: none;
}

body.page-home .home-why__item-top {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

body.page-home .home-why__num {
    font-family: 'Poiret One', sans-serif;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    line-height: 1;
    color: rgba(0, 255, 157, 0.75);
    flex-shrink: 0;
}

body.page-home .home-why__item:nth-child(2) .home-why__num {
    color: rgba(0, 243, 255, 0.8);
}

body.page-home .home-why__item:nth-child(3) .home-why__num {
    color: rgba(176, 38, 255, 0.82);
}

body.page-home .home-why__item:nth-child(4) .home-why__num {
    color: rgba(0, 255, 157, 0.7);
}

body.page-home .home-why__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    opacity: 0.85;
}

body.page-home .home-why__item-title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.96);
    letter-spacing: -0.01em;
}

body.page-home .home-why__item-text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.62);
}

@media (prefers-contrast: more) {
    body.page-home .home-why__title {
        color: #fff;
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
    }

    body.page-home .home-why__track {
        border-color: rgba(255, 255, 255, 0.35);
    }
}

@media (max-width: 1024px) {
    body.page-home .home-why__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-home .home-why__item:nth-child(2) {
        border-right: none;
    }

    body.page-home .home-why__item:nth-child(1),
    body.page-home .home-why__item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 768px) {
    body.page-home .home-why__head {
        max-width: none;
        margin-bottom: 1.15rem;
    }

    body.page-home .home-why__eyebrow {
        font-size: 0.72rem;
    }

    body.page-home .home-why__title {
        font-size: var(--cw-title-section);
        letter-spacing: 1px;
        margin-bottom: 0.55rem;
    }

    body.page-home .home-why__lead {
        font-size: 0.9375rem;
        line-height: 1.55;
    }

    body.page-home .home-why__track {
        grid-template-columns: 1fr;
        border-radius: 14px;
    }

    body.page-home .home-why__item {
        padding: 1rem 0.95rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.page-home .home-why__item:last-child {
        border-bottom: none;
    }

    body.page-home .home-why__item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.page-home .home-why__num {
        font-size: 1.15rem;
    }

    body.page-home .home-why__item-title {
        font-size: clamp(1.07rem, 4.03vw, 1.22rem);
    }

    body.page-home .home-why__item-text {
        font-size: 0.875rem;
        line-height: 1.52;
        color: rgba(255, 255, 255, 0.68);
    }
}
