.service-card-section {
    padding: 68px 0;
    background: var(--service-warm);
}

.service-card-section--proof {
    background: #fff;
}

.overview_section_header {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 72px;
    align-items: end;
    width: 100%;
    margin-bottom: 64px;
}

.overview_section_title {
    max-width: 500px;
    margin: 0;
    color: #27272c;
    font-family: var(--font-aeonik);
    font-size: 38px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    text-wrap: pretty;
}

.overview_section_body {
    align-self: end;
    justify-self: end;
    color: #686873;
    font-family: var(--font-aeonik);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    text-wrap: pretty;
}

.overview_section_body p {
    margin: 0;
}

.overview_cards_container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.service-card-section--proof .overview_cards_container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.overview_card_item {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 360px;
    border-radius: 18px;
    background: #3a3a41;
    outline: 1px solid rgba(255, 255, 255, 0.1);
    outline-offset: -1px;
}

.overview_card_image,
.overview_card_placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.overview_card_image {
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.overview_card_placeholder {
    background: #3a3a41;
}

.overview_card_overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(38, 40, 42, 0) 0%, rgba(14, 17, 20, 0.9) 100%);
}

.overview_card_content {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px;
}

.overview_card_item:hover .overview_card_image {
    transform: scale(1.06);
}

.overview_card_title {
    margin: 0;
    color: #fff;
    font-family: var(--font-aeonik);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    text-wrap: pretty;
}

.overview_card_description {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--font-inter);
    font-size: 15px;
    line-height: 1.4;
    text-wrap: pretty;
}

@media (max-width: 1120px) {
    .overview_cards_container,
    .service-card-section--proof .overview_cards_container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .overview_section_header,
    .overview_cards_container,
    .service-card-section--proof .overview_cards_container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-card-section {
        padding: 54px 0;
    }

    .overview_section_header {
        gap: 24px;
        margin-bottom: 40px;
    }

    .overview_section_body {
        justify-self: start;
    }

    .overview_section_title {
        font-size: 28px;
    }

    .overview_card_item {
        min-height: 320px;
    }

    .overview_card_content {
        padding: 20px;
    }

    .overview_card_description {
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    .overview_cards_container,
    .service-card-section--proof .overview_cards_container {
        gap: 12px;
    }

    .overview_card_item {
        min-height: 300px;
        border-radius: 12px;
    }

    .overview_card_title {
        font-size: 1.25rem;
    }
}
