.about-page {
    padding-bottom: 120px;
}

.about-hero {
    margin-bottom: 100px;
}

.about-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;    
    padding: 60px 32px;
    border-radius: 10px;
    background: #F7F7F7;
    text-align: center;
}

.about-hero__title {
    margin-bottom: 10px;
    color: #070707;
    font-size: 64px;
    font-weight: 700; 
    line-height: 1;   
}

.about-hero__subtitle {
    margin-bottom: 32px;
    color: #070707;
    font-size: 40px;
    font-weight: 700; 
    line-height: 1;
}

.about-hero__text p {    
    color: #7b7b7b;
    font-size: 16px;
    line-height: 1.3;
}

.about-hero__text p + p {
    margin-top: 12px;
    margin-bottom: 32px;
}

.about-section {
    margin-bottom: 120px;
}

.about-section__label {
    display: inline-block;
    width: 50%;
    color: #7b7b7b;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}

.about-section__head {
    margin-bottom: 60px;
}

.about-section__head--split {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.about-section__head-main {
    width: 50%;
}

.about-section__title {
    margin: 0 0 32px;
    color: #070707;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.about-section__text {
    margin: 0;
    color: #7b7b7b;
    font-size: 16px;
    line-height: 1.3;
}

.about-card-grid,
.about-media-grid {
    display: grid;
    gap: 20px;
}

.about-card-grid--clients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-card-grid--steps {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.about-card-grid--steps .about-card,
.about-card-grid__media {
    grid-column: span 2;
}

.about-card {
    padding: 32px;
    border-radius: 10px;
    background-color: #f7f7f7;
}

.about-card--icon {
    min-height: 200px;
}

.about-card--number {
    min-height: 240px;
}

.about-card__head {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 20px;
}

.about-card__icon,
.about-card__number {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: var(--color-main);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}

.about-card__icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.about-card h3 {
    margin: 0;
    color: #111;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.08;
}

.about-card p {
    margin: 0;
    color: var(--gray-main);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.35;
}

.about-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-media-card {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

.about-steps-grid {
    margin-bottom: 0;
}

.about-steps-media {
    min-height: 240px;
    overflow: hidden;
    border-radius: 10px;
    background-color: #f7f7f7;
}

.about-steps-media.about-card-grid__media {
    min-height: 240px;
}

.about-media-card__image,
.about-steps-media__image {
    display: block;
    width: 100%;
    height: 100%;
}

.about-media-card__image {
    object-fit: cover;
}

.about-steps-media__image {
    object-fit: cover;
}

.about-media-card__overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 24px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
    color: #fff;
}

.about-media-card__overlay strong,
.about-media-card__overlay span {
    display: block;
}

.about-media-card__overlay strong {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.08;
}

.about-media-card__overlay span {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.35;
}

@media (max-width: 1024px) {
    .about-page {
        padding-bottom: 80px;
    }

    .about-hero,
    .about-section {
        margin-bottom: 80px;
    }

    .about-hero__inner {
        padding: 40px 60px;
    }

    .about-hero__title {
        font-size: 48px;
    }

    .about-hero__subtitle,
    .about-section__title {
        font-size: 32px;
    }

    .about-section__head {
        margin-bottom: 40px;
    }

    .about-section__head--split {
        gap: 20px;
    }

    .about-section__label {
        font-size: 20px;
    }

    .about-card-grid--steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-card-grid--steps .about-card,
    .about-card-grid__media {
        grid-column: auto;
    }

    .about-card {
        padding: 20px;
    }

    .about-card--icon {
        min-height: 200px;
    }

    .about-card--number {
        min-height: 160px;
    }

    .about-media-card {
        min-height: 400px;
    }

    .about-steps-media.about-card-grid__media {
        min-height: 160px;
    }

    .about-card h3,
    .about-media-card__overlay strong {
        font-size: 16px;
    }

    .about__banner_p1,
    .about__banner_p2 {
        display: none;
    }
}

@media (max-width: 576px) {
    .about-media-card__image {
        object-fit: cover;
    }

    .about-hero__inner {
        gap: 20px;
        padding: 32px 20px;
        border-radius: 24px;
    }

    .about-hero__title {
        font-size: 40px;
    }

    .about-hero__subtitle,
    .about-section__title {
        font-size: 28px;
    }

    .about-hero__text p,
    .about-section__text {
        font-size: 16px;
    }

    .about-section__head--split {
        flex-direction: column;
    }

    .about-section__label,
    .about-section__head-main {
        width: 100%;
    }

    .about-card-grid--clients,
    .about-card-grid--steps,
    .about-media-grid {
        grid-template-columns: 1fr;
    }

    .about-card,
    .about-media-card {
        border-radius: 20px;
    }

    .about-card {
        min-height: 0;
        padding: 28px 24px;
    }

    .about-card h3,
    .about-media-card__overlay strong {
        font-size: 18px;
        line-height: 1.12;
    }

    .about-card p,
    .about-media-card__overlay span {
        font-size: 15px;
    }

    .about-media-card {
        min-height: 220px;
    }

    .about-steps-media.about-card-grid__media {
        min-height: 160px;
    }

    .about-card-grid__media.about-steps-media {
        display: none;
    }

}
