/* ABOUT PAGE */
.about-us-background {
    position: relative;
    /* контейнер имеет относительное позиционирование */
    padding-left: 0;
    padding-right: 0;
}

.about-us-background picture {
    display: block;
    /* важно для Safari/iPad */
}

.about-us-background picture,
.about-us-background img {
    display: block;
    width: 100%;
    height: calc(100vh - var(--content-top-mobile));
    /* fallback */
    object-fit: cover;
}

/* На мобильных вместо dvh -> svh, чтобы убрать скачки */
@supports (height: 100svh) {

    .about-us-background picture,
    .about-us-background img {
        height: calc(100svh - var(--content-top-mobile));
    }
}

/* Десктоп */
@media (min-width: 992px) {

    .about-us-background picture,
    .about-us-background img {
        height: calc(100vh - var(--content-top-desktop));
    }

    /* Десктопные тач-устройства / крупные планшеты */
    @supports (height: 100svh) {

        .about-us-background picture,
        .about-us-background img {
            height: calc(100svh - var(--content-top-desktop));
        }
    }
}

.overlay-content {
    position: absolute;
    z-index: 10;
    color: floralwhite;
    text-shadow: 2px 1px 6px rgb(0, 0, 0);
    text-align: left;

    top: clamp(35%, 45%, 52%);
    left: clamp(1rem, 6vw, 10%);
    right: 1rem;

    transform: translate(0, -30%);

    padding: 0 .5rem;
}

.about-title {
    padding-left: .5rem;
    padding-right: .5rem;
    font-size: 3rem;
    font-weight: 600;
    margin: 0;
    word-wrap: break-word;
    color: floralwhite;
}

.about-text {
    padding-left: .5rem;
    padding-right: .5rem;
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 1rem;
    word-wrap: break-word;
    text-wrap: balance;
}

.tracking-in-expand-fwd {
    -webkit-animation: tracking-in-expand-fwd 0.9s cubic-bezier(0.645, 0.045, 0.355, 1.000) both;
    animation: tracking-in-expand-fwd 0.9s cubic-bezier(0.645, 0.045, 0.355, 1.000) both;

    will-change: transform, opacity, letter-spacing;
    backface-visibility: hidden;
}

.about-title.tracking-in-expand-fwd {
    animation-delay: .3s;
}

.about-text.tracking-in-expand-fwd {
    animation-delay: .77s;
}

@-webkit-keyframes tracking-in-expand-fwd {
    0% {
        letter-spacing: -0.5em;
        -webkit-transform: translateZ(-700px);
        transform: translateZ(-700px);
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        opacity: 1;
    }
}

@keyframes tracking-in-expand-fwd {
    0% {
        letter-spacing: -0.5em;
        -webkit-transform: translateZ(-700px);
        transform: translateZ(-700px);
        opacity: 0;
    }

    40% {
        opacity: 0.6;
    }

    100% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        opacity: 1;
    }
}


@media (max-width: 900px) {
    .tracking-in-expand-fwd {
        animation: none !important;
    }

    .overlay-content {
        top: 50%;
        /* Позиционирование по вертикали */

        transform: translate(0, -50%);
        /* Центрирование блока */
    }

    .about-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 576px) {
    .overlay-content {
        top: 42%;
        /* Позиционирование по вертикали */

        transform: translate(0, -50%);
        /* Центрирование блока */
    }

    .about-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 570px) and (max-height: 414px) {
    .overlay-content {
        top: 60%;
        /* Позиционирование по вертикали */
    }

    .about-title {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1.1rem;
        margin-top: 0.8rem;
    }
}

@media (max-width: 414px) and (max-height: 568px) {
    .overlay-content {
        top: 50%;
        /* Позиционирование по вертикали */
    }

    .about-title {
        font-size: 2.2rem;
    }

    .about-text {
        font-size: 1.3rem;
        margin-top: 0.8rem;
    }
}

.about-us-middle {
    position: relative;
    margin-top: 4.375rem;
}

.left-side-text {
    position: absolute;
    top: 70%;
    /* Позиционирование по вертикали */
    left: 40%;
    /* Позиционирование по горизонтали */
    transform: translate(-67%, -5%);
    /* Центрирование блока */
    z-index: 10;
    /* блок находится поверх изображения */
    padding-top: 2.8125rem;
    padding-right: 6.25rem;
    padding-bottom: 3.75rem;
    padding-left: 4.375rem;
    color: black;
    background: white;
    /* text-wrap: balance; */
}

.left-side-text p {
    text-align: justify;
}

.about-us-middle .left-side-text-head {
    margin: 0 0 0.625rem;
    color: black;
    text-transform: uppercase;
    font-weight: 700;
}

.about-us-middle-logo {
    height: 50px;
    vertical-align: middle;
    margin-right: 0.3125rem;
}

.about-us-middle h2 {
    margin: 0;
    color: black;
    font-weight: 800;
}

.about-us-middle p {
    padding-top: 0.625rem;
    margin-bottom: 1.5em;
    color: #939396;
    font-size: 1.5rem;
}

@media (max-width: 1199px) {
    .about-us-middle {
        margin-bottom: 3.125rem;
    }

    .left-side-text {
        top: 3.125rem;
        left: 0;
        position: relative;
        transform: none;
        /* Центрирование блока */
        width: auto;
        display: flex;
        flex-wrap: wrap;
        padding-top: 0;
    }

    .left-side-text p {
        font-size: 1.3rem;
    }
}

@media (max-width: 470px) {
    .left-side-text {
        padding-left: 0.625rem;
        padding-right: 0.625rem;
    }

    .left-side-text-head {
        font-size: 0.9375rem;
    }
}

@media (max-width: 320px) {
    .left-side-text h2 {
        font-size: 1.4rem;
    }

    .left-side-text p {
        font-size: 1.2rem;
    }
}


.about-us-middle+.container {
    margin-top: 6.25rem;
    height: 14.375rem;
}

@media (max-width: 1199px) {
    .about-us-middle+.container {
        margin-top: 0;
        height: 3.125rem;
    }
}


.about-us-why-svs {
    margin-top: 3.75rem;
    position: relative;
}

.about-us-why-svs .row {
    display: flex;
    align-items: center;
    /* Центрируем содержимое колонок по вертикали */
}

.about-us-why-img {
    position: relative;
    z-index: 1;
}

@media (max-width: 1023px) {
    .about-us-why-svs {
        margin-top: 0;
    }

    .about-us-why-img {
        height: 100px;
        overflow: hidden;
    }

    .about-us-why-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.about-us-why-text {
    position: relative;
    justify-content: left;
    padding: 1.09375rem;
    display: flex;
    flex-direction: column;
    z-index: 2;
    text-wrap: balance;
}

.about-us-why-heading {
    position: absolute;
    top: -4.375rem;
    /* Смещение заголовка вверх */
    left: 9.375rem;
    font-size: 2rem;
    font-weight: 800;
    color: black;
    z-index: 3;
    max-width: 30rem;
    text-wrap: balance;
}

@media (max-width: 991px) {
    .about-us-why-heading {
        position: static;
        /* Отменяем абсолютное позиционирование */
        margin-top: 1.25rem;
        margin-bottom: 1.25rem;
        text-align: center;
    }
}

.about-us-why-list {
    margin-top: 0.625rem;
    position: relative;
    display: flex;
    /* Используем flexbox для горизонтального расположения внутри блока */
    align-items: flex-start;
    /* Выравниваем элементы по верхнему краю */
}

.why-list-bullet {
    margin-right: 1.25rem;
    font-weight: 800;
    color: var(--color-accent);
    text-align: center;
    font-size: 2.75rem;
    line-height: 1.375rem;
}

.why-list-item {
    flex-grow: 1;
    /* Заставляет этот элемент занимать оставшееся пространство */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Центрируем заголовок вертикально */
    text-align: justify;
}

.why-list-title {
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0;
    color: var(--color-brand);
}

.why-list-text {
    font-weight: 400;
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
    color: #939396;
    font-size: 1.2rem;
}

.why-list-text ul {
    list-style-type: square;
}

/* @media (prefers-reduced-motion: reduce) {

    .tracking-in-expand-fwd,
    .fade-up {
        -webkit-animation: none !important;
        animation: none !important;
        transition: none !important;
    }
} */