﻿/* FEATURES - compact, isolated styles */
.home-features-section {
    padding: 3.1rem 0;
    background: #fff;
}

    .home-features-section .home-features-header {
        max-width: 850px;
        margin: 0 auto 1.9rem;
    }

        .home-features-section .home-features-header > span {
            padding: .35rem .75rem;
            margin-bottom: .7rem;
            font-size: .72rem;
            letter-spacing: .045em;
        }

        .home-features-section .home-features-header h2 {
            max-width: 850px;
            margin-bottom: .7rem;
            font-size: clamp(1.65rem, 2.6vw, 2.45rem);
            line-height: 1.2;
            letter-spacing: -.025em;
        }

        .home-features-section .home-features-header p {
            max-width: 820px;
            font-size: .95rem;
            line-height: 1.6;
        }

    .home-features-section .home-features-grid {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    .home-features-section .home-feature-card {
        height: 100%;
        padding: 1.1rem 1.15rem;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .05);
        transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    }

        .home-features-section .home-feature-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(15, 23, 42, .09);
            border-color: rgba(13, 110, 253, .25);
        }

    .home-features-section .home-feature-card-header {
        display: flex;
        align-items: center;
        gap: .75rem;
        margin-bottom: .7rem;
    }

    .home-features-section .home-feature-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
        border-radius: 12px;
        background: #eff6ff;
        color: #0d6efd;
        transition: background .2s ease, color .2s ease;
    }

        .home-features-section .home-feature-icon i {
            font-size: 1.05rem;
            color: inherit;
        }

    .home-features-section .home-feature-card:hover .home-feature-icon {
        background: #0d6efd;
        color: #fff;
    }

    .home-features-section .home-feature-title {
        margin: 0;
        color: #111827;
        font-size: 1.02rem;
        font-weight: 800;
        line-height: 1.35;
        letter-spacing: -.015em;
    }

    .home-features-section .home-feature-description {
        margin: 0;
        color: #64748b;
        font-size: .9rem;
        line-height: 1.6;
    }

@media (max-width: 767.98px) {
    .home-features-section {
        padding: 2.5rem 0;
    }

        .home-features-section .home-features-header {
            margin-bottom: 1.5rem;
        }

            .home-features-section .home-features-header h2 {
                font-size: 1.75rem;
            }

            .home-features-section .home-features-header p {
                font-size: .92rem;
            }
}

@media (max-width: 575.98px) {
    .home-features-section {
        padding: 2.15rem 0;
    }

        .home-features-section .home-features-grid {
            --bs-gutter-x: .85rem;
            --bs-gutter-y: .85rem;
        }

        .home-features-section .home-feature-card {
            padding: 1rem;
            border-radius: 14px;
        }

        .home-features-section .home-feature-icon {
            width: 40px;
            height: 40px;
            flex-basis: 40px;
        }

        .home-features-section .home-feature-title {
            font-size: 1rem;
        }

        .home-features-section .home-feature-description {
            font-size: .9rem;
        }
}
