.features-section {
    padding: 60px 0;
    background: #f8fafc;
}

.features-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Заголовок */
.features-header {
    text-align: center;
    margin-bottom: 50px;
}

.features-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #003366;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* Сетка */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}

/* Карточка */
.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(44, 125, 160, 0.1);
    backdrop-filter: blur(0);
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: 100%;
    min-width: 0;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-color: #2c7da0;
    transform: translateY(-3px);
}

/* Изображение */
.feature-image {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-card:hover .feature-image img {
    transform: rotate(10deg) scale(1.1);
}

/* Текст */
.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #003366;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.feature-description {
    font-size: 0.95rem;
    color: #0056b3;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   1400px–1599px
   ============================================ */
@media (max-width: 1599px) {
    .features-section {
        padding: 55px 0;
    }

    .features-container {
        max-width: 1400px;
    }

    .features-grid {
        gap: 26px;
    }
}

/* ============================================
   Ноутбуки / средние экраны
   Две колонки, но карточки не растягиваются слишком широко
   ============================================ */
@media (max-width: 1399px) and (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(320px, 460px));
        justify-content: center;
        gap: 24px;
    }

    .features-section {
        padding: 50px 0;
    }

    .features-title {
        font-size: 2rem;
    }

    .feature-card {
        padding: 28px 20px;
    }
}

/* ============================================
   Планшеты
   ============================================ */
@media (max-width: 1024px) and (min-width: 769px) {
    .features-container {
        padding: 0 16px;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
        gap: 20px;
    }

    .features-header {
        margin-bottom: 40px;
    }

    .features-title {
        font-size: 1.9rem;
    }

    .feature-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .feature-image img {
        width: 70px;
        height: 70px;
    }

    .feature-title {
        font-size: 1.15rem;
    }

    .feature-description {
        font-size: 0.92rem;
    }
}

/* ============================================
   Мобильные телефоны
   ============================================ */
@media (max-width: 768px) {
    .features-section {
        padding: 40px 0;
    }

    .features-container {
        padding: 0 14px;
    }

    .features-header {
        margin-bottom: 35px;
    }

    .features-title {
        font-size: 1.8rem;
    }

    .features-divider {
        width: 60px;
        height: 3px;
    }

    .features-grid {
        grid-template-columns: minmax(0, 520px);
        justify-content: center;
        gap: 18px;
    }

    .feature-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .feature-image {
        margin-bottom: 16px;
    }

    .feature-image img {
        width: 64px;
        height: 64px;
    }

    .feature-title {
        font-size: 1.08rem;
        margin-bottom: 10px;
    }

    .feature-description {
        font-size: 0.9rem;
    }
}

/* ============================================
   Очень маленькие экраны
   ============================================ */
@media (max-width: 480px) {
    .features-container {
        padding: 0 10px;
    }

    .features-title {
        font-size: 1.55rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .feature-image img {
        width: 58px;
        height: 58px;
    }

    .feature-title {
        font-size: 1rem;
    }

    .feature-description {
        font-size: 0.88rem;
        line-height: 1.45;
    }
}