.features {
    position: relative;
    padding: 140px 60px 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #fff;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    inset: 0;

    background: rgba(0, 30, 40, 0.65);

    z-index: 1;
}

.features-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.features-title {
    text-align: center;
    font-size: 44px;
    font-weight: 800;

    margin-bottom: 90px;

    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 70px;
    align-items: start;
}

.feature-item {
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 220px;
    margin: 0 auto;

    opacity: 0;
    transform: translateY(30px);
}

.feature-item img {
    height: 90px;
    margin-bottom: 30px;

    display: block;
}

.feature-item h3 {
    color: #f04e30;
    font-size: 18px;
    font-weight: 700;

    margin-bottom: 12px;
    line-height: 1.3;

    min-height: 48px;
}

.feature-item p {
    font-size: 14px;
    max-width: 190px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;

    max-width: 200px;
}

.features-cta {
    margin-top: 90px;
    text-align: center;
}

.features-cta .btn-primary {
    display: inline-block;
    background: #ED5437;
    color: #fff;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
}

.features-cta .btn-primary:hover {
    background: #616161;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 100px 24px 80px;
        text-align: center;
    }

    .features-title {
        font-size: 34px;
        line-height: 1.3;
        margin-bottom: 60px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .feature-item {
        max-width: 100%;
    }

    .feature-item img {
        height: 70px;
        margin-bottom: 20px;
    }

    .feature-item h3 {
        font-size: 18px;
        min-height: auto;
    }

    .feature-item p {
        font-size: 14px;
        max-width: 280px;
        margin: 0 auto;
    }

    .features-cta {
        margin-top: 60px;
    }

    .features-cta .btn-primary {
        width: 100%;
        max-width: 320px;
        padding: 16px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .features-title {
        font-size: 28px;
    }
}


.feature-item {
    max-width: 200px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.features.loaded .feature-item {
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.features.loaded .btn-primary {
    animation: fadeUp 0.7s ease forwards;
    animation-delay: 0.6s;
}

.features.loaded .feature-item:nth-child(1) {
    animation-delay: 0.08s;
}

.features.loaded .feature-item:nth-child(2) {
    animation-delay: 0.16s;
}

.features.loaded .feature-item:nth-child(3) {
    animation-delay: 0.24s;
}

.features.loaded .feature-item:nth-child(4) {
    animation-delay: 0.32s;
}

.features.loaded .feature-item:nth-child(5) {
    animation-delay: 0.40s;
}