@font-face {
    font-family: "Bebas Neue";
    src: url("/local/templates/main_asfalt/font/bebasneuecyrillic.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

body.about-page-body {
    background: #191b1c !important;
}

body.about-page-body .shadow {
    position: relative;
    min-height: 100%;
    background: none;
}

.about-page {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    padding-top: 40px;
    margin-bottom: 120px;
    color: #bbb;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

.about-page *,
.about-page *::before,
.about-page *::after {
    box-sizing: border-box;
}

.about-page h1,
.about-page h2,
.about-page p {
    margin-top: 0;
}

.about-page h1,
.about-page h2,
.about-page__motto {
    color: #fff;
    font-family: "Bebas Neue", sans-serif;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

.about-page h1 {
    max-width: 550px;
    margin-bottom: 0;
    font-size: 50px;
    line-height: 1.2;
}

.about-page h2 {
    margin-bottom: 46px;
    font-size: 80px;
    line-height: 1;
}

.about-page p {
    margin-bottom: 14px;
}

.about-page__intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
    margin-bottom: 48px;
}

.about-page__intro-copy {
    max-width: 510px;
    padding-top: 3px;
}

.about-page__button {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    margin-top: 10px;
    padding: 15px 24px;
    color: #fff !important;
    background: #de3b32;
    border: 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: background-color .2s ease, transform .2s ease;
}

.about-page__button:hover {
    background: #ef4a40;
    transform: translateY(-1px);
}

.about-page__video {
    position: relative;
    aspect-ratio: 2.36 / 1;
    overflow: hidden;
    background: #111;
    border-radius: 9px;
}

.about-page__video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .25);
    pointer-events: none;
    transition: opacity .2s ease;
}

.about-page__video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-page__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: grid;
    width: 92px;
    height: 92px;
    padding: 0 0 0 7px;
    border: 0;
    border-radius: 50%;
    background: rgba(27, 28, 29, .88);
    cursor: pointer;
    place-items: center;
    transform: translate(-50%, -50%);
    transition: background-color .2s ease, opacity .2s ease;
}

.about-page__play:hover {
    background: rgba(222, 59, 50, .92);
}

.about-page__video.is-playing::after,
.about-page__video.is-playing .about-page__play {
    opacity: 0;
}

.about-page__video.is-playing:hover .about-page__play {
    opacity: 1;
}

.about-page__video.is-playing .about-page__play svg {
    display: none;
}

.about-page__video.is-playing .about-page__play::before,
.about-page__video.is-playing .about-page__play::after {
    content: "";
    width: 7px;
    height: 30px;
    background: #fff;
}

.about-page__video.is-playing .about-page__play {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding-left: 0;
}

.about-page__section {
    margin-top: 104px;
}

.about-page__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.about-page__split--projects {
    align-items: stretch;
}

.about-page__copy {
    padding-right: 28px;
}

.about-page__copy--wide {
    max-width: 915px;
    padding-right: 0;
}

.about-page__label {
    margin-top: 22px;
    color: #fff;
    font-weight: 500;
}

.about-page__projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 14px 0 14px;
}

.about-page__project {
    display: grid;
    min-height: 92px;
    padding: 16px;
    background: #27292a;
    border-radius: 8px;
    place-items: center;
}

.about-page__project img {
    display: block;
    max-width: 72px;
    max-height: 52px;
}

.about-page__media,
.about-page__gallery img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 9px;
    object-fit: cover;
}

.about-page__split > .about-page__media {
    min-height: 306px;
    max-height: 390px;
}

.about-page__split--projects > .about-page__media {
    max-height: none;
}

.about-page__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 34px;
}

.about-page__gallery img {
    aspect-ratio: 1.28 / 1;
}

.about-page__action {
    position: relative;
    min-height: 360px;
    margin-top: 104px;
    padding: 55px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(222, 48, 42, .97) 0%, rgba(222, 48, 42, .90) 43%, rgba(222, 48, 42, .08) 76%),
        url("/local/templates/detox/dist/assets/images/action-time.jpg") center 46% / cover no-repeat;
    border-radius: 10px;
}

.about-page__action::before {
    content: "";
    position: absolute;
    inset: 0 45% 0 0;
    background: linear-gradient(140deg, transparent 48%, rgba(255, 255, 255, .06) 48% 58%, transparent 58%);
    pointer-events: none;
}

.about-page__action-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.about-page__action h2 {
    margin-bottom: 20px;
}

.about-page__action p {
    max-width: 390px;
    color: #fff;
}

.about-page__button--light {
    margin-top: 20px;
    color: #222 !important;
    background: #fff;
}

.about-page__button--light:hover {
    background: #f2f2f2;
}

.about-page__today-copy {
    align-self: start;
}

.about-page__motto {
    margin-top: 24px;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, .12) !important;
    font-size: 50px;
}

.about-page__socials {
    position: relative;
    display: flex;
    min-height: 360px;
    margin-top: 104px;
    padding: 54px;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 88%, rgba(255, 255, 255, .08), transparent 35%),
        linear-gradient(125deg, #2c2e2f, #232526);
    border-radius: 10px;
}

.about-page__socials::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -170px;
    width: 520px;
    height: 520px;
    border: 70px solid rgba(255, 255, 255, .025);
    border-radius: 50%;
}

.about-page__social-content {
    position: relative;
    z-index: 2;
    max-width: 570px;
}

.about-page__socials h2 {
    margin-bottom: 22px;
}

.about-page__socials p {
    max-width: 510px;
    color: #fff;
}

.about-page__social-links {
    display: flex;
    gap: 14px;
    margin-top: 34px;
}

.about-page__social-links a {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    min-height: 54px;
    padding: 9px 12px 9px 20px;
    color: #ddd;
    background: #303233;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color .2s ease;
}

.about-page__social-links a:hover {
    color: #fff;
    background: #383a3b;
}

.about-page__phone {
    position: absolute;
    right: 110px;
    bottom: 0;
    z-index: 1;
    display: block;
    width: 313px;
    height: auto;
}

@media (max-width: 63.999rem) {
    .about-page {
        width: calc(100% - 40px);
        margin-bottom: 80px;
    }

    .about-page h1 {
        font-size: 44px;
    }

    .about-page h2,
    .about-page__action h2 {
        font-size: 48px;
    }

    .about-page__intro {
        gap: 36px;
    }

    .about-page__phone {
        right: 40px;
        opacity: .65;
    }

    .about-page__social-content {
        max-width: 55%;
    }
}

@media (max-width: 47.999rem) {
    .about-page {
        font-size: 14px;
    }

    .about-page h1 {
        font-size: 38px;
    }

    .about-page h2,
    .about-page__action h2 {
        margin-bottom: 28px;
        font-size: 42px;
    }

    .about-page__intro,
    .about-page__split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-page__intro {
        margin-bottom: 36px;
    }

    .about-page__intro-copy,
    .about-page__copy {
        max-width: none;
        padding-right: 0;
    }

    .about-page__video {
        aspect-ratio: 1.85 / 1;
    }

    .about-page__play {
        width: 70px;
        height: 70px;
    }

    .about-page__play svg {
        width: 22px;
        height: 26px;
    }

    .about-page__section,
    .about-page__action,
    .about-page__socials {
        margin-top: 64px;
    }

    .about-page__split--projects .about-page__media,
    .about-page__split--reverse-mobile .about-page__media {
        order: -1;
    }

    .about-page__projects {
        gap: 8px;
    }

    .about-page__project {
        min-height: 70px;
        padding: 10px;
    }

    .about-page__project img {
        max-width: 54px;
        max-height: 42px;
    }

    .about-page__split > .about-page__media {
        min-height: 0;
        height: auto;
        aspect-ratio: 1.48 / 1;
    }

    .about-page__gallery {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 24px;
    }

    .about-page__gallery img {
        aspect-ratio: 1.66 / 1;
    }

    .about-page__action {
        min-height: 330px;
        padding: 34px 24px;
        background:
            linear-gradient(90deg, rgba(222, 48, 42, .96) 0%, rgba(222, 48, 42, .76) 58%, rgba(222, 48, 42, .08) 100%),
            url("/local/templates/detox/dist/assets/images/action-time.jpg") 62% center / cover no-repeat;
    }

    .about-page__motto {
        font-size: 42px;
    }

    .about-page__socials {
        min-height: 440px;
        padding: 32px 24px;
    }

    .about-page__social-content {
        max-width: none;
    }

    .about-page__social-content p {
        max-width: 70%;
    }

    .about-page__social-links {
        position: relative;
        z-index: 3;
        flex-wrap: wrap;
        max-width: 210px;
        margin-top: 24px;
    }

    .about-page__social-links a {
        width: 100%;
        justify-content: space-between;
    }

    .about-page__phone {
        right: -36px;
        width: 235px;
        opacity: .72;
    }
}

@media (max-width: 24rem) {
    .about-page h1 {
        font-size: 34px;
    }

    .about-page h2,
    .about-page__action h2 {
        font-size: 37px;
    }

    .about-page__social-content p {
        max-width: 100%;
    }

    .about-page__phone {
        right: -76px;
        opacity: .45;
    }
}
