.approach-grid {
    width: 100%;
    max-width: 1180px;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    margin: 0 auto;
    margin-top: clamp(24px, 3vw, 40px);
}

.approach-item {
    width: 100%;
    max-width: 580px;
    flex: 1 1 500px;
    min-height: 240px;
    padding: 20px;
    background: white;
    border-radius: 20px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    display: inline-flex;
    position: relative;
    overflow: hidden;
}

.approach-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
    border-radius: 20px;
}

.approach-item[style*="background-image"]::before {
    background: rgba(255, 255, 255, 0.75);
}

.approach-item > * {
    position: relative;
    z-index: 1;
}

.approach-title {
    align-self: stretch;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    display: inline-flex;
}

.approach-desc {
    align-self: stretch;
    color: black;
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 400;
    line-height: 1.5;
}

.approach-image {
    width: 100%;
    max-width: 580px;
    min-height: 240px;
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
    flex: 1 1 500px;
    align-self: stretch;
}

/* Медиа-запросы для approach */
@media (min-width: 801px) {
    .approach-grid {
        align-items: stretch;
    }
    
    .approach-image {
        min-height: 240px;
        height: 100%;
    }
}

@media (min-width: 801px) and (max-width: 1180px) {
    .approach-grid {
        gap: clamp(12px, 1.5vw, 20px);
        max-width: 100%;
    }
    
    .approach-item {
        max-width: calc(50% - clamp(6px, 0.75vw, 10px));
        flex: 1 1 calc(50% - clamp(6px, 0.75vw, 10px));
        min-height: 200px;
        padding: clamp(16px, 2vw, 20px);
    }
    
    .approach-image {
        max-width: calc(50% - clamp(6px, 0.75vw, 10px));
        flex: 1 1 calc(50% - clamp(6px, 0.75vw, 10px));
        min-height: 200px;
    }
    
    .approach-title {
        gap: clamp(12px, 1.5vw, 20px);
    }
}

@media (min-width: 1181px) {
    .approach-grid {
        gap: 20px;
        max-width: 1180px;
    }
    
    .approach-item {
        max-width: calc(50% - 10px);
        flex: 1 1 calc(50% - 10px);
        min-height: 240px;
        padding: 20px;
        justify-content: flex-start;
    }
    
    .approach-image {
        max-width: calc(50% - 10px);
        flex: 1 1 calc(50% - 10px);
        min-height: 240px;
    }
    
    .approach-desc {
        font-size: 20px;
        margin-top: 20px;
    }
}

@media (max-width: 800px) {
    .approach-item {
        max-width: 100%;
        flex: 1 1 100%;
    }
    
    .approach-image {
        display: none;
    }
}

/* Отступ между основной частью и кнопкой */
.section:has(.approach-grid) .btn.btn-large {
    margin-top: clamp(24px, 3vw, 40px);
}

