body {
    position: relative;
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    font-weight: 200;
    font-size: calc(100vw * 16 / 1720);
    background: #000;
}
body:before {
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 46.96%, #000000 99.45%);
    position: absolute;
    inset: 0;
    z-index: 50;
}
body::after {
    content: "";
    inset: 0;
    position: absolute;
    background: url("../img/line-grid.svg") no-repeat center/cover;
    z-index: 100;
    opacity: 0.5;
}
@media (max-width: 991px) {
    body {
        font-size: 14px;
    }
}

.wrapper {
    padding: calc(100vw * 50 / 1720);
    padding-top: calc(100vw * 100 / 1720);
    color: white;
    position: relative;
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}
@media (max-width: 991px) {
    .wrapper {
        padding: 150px 20px 20px;
    }
}

@media (max-width: 991px) {
    .title-box {
        margin-bottom: 50px;
    }
}
.title-box img:first-child {
    width: calc(100vw * 650 / 1720);
}
@media (max-width: 991px) {
    .title-box img:first-child {
        width: 70vw;
    }
}
.title-box img:last-child {
    width: calc(100vw * 640 / 1720);
    height: auto;
    margin-top: calc(100vw * 50 / 1720);
}
@media (max-width: 991px) {
    .title-box img:last-child {
        width: 70vw;
        margin-top: 15px;
    }
}

.video-background {
    position: absolute;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
@media (max-width: 991px) {
    .video-background {
        transform: scale(0.5);
    }
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover; /* This is key */
}

.text {
    font-weight: 200;
    font-size: calc(100vw * 28 / 1720);
    line-height: 1.4;
    max-width: calc(100vw * 800 / 1720);
}
@media (max-width: 991px) {
    .text {
        max-width: 100%;
        font-size: 16px;
        margin-bottom: 20px;
    }
}

.badges {
    gap: calc(100vw * 12 / 1720);
    height: calc(100vw * 40 / 1720);
}
@media (max-width: 991px) {
    .badges {
        height: 40px;
        gap: 12px;
    }
    .badges img {
        height: 100%;
    }
}

.button {
    border: none;
    background: transparent;
    width: calc(100vw * 280 / 1720);
    height: auto;
    transition: transform 0.3s ease-in-out;
    outline: none;
}
@media (max-width: 991px) {
    .button {
        width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}
.button:hover {
    transform: scale(1.1);
}
.button img {
    width: 100%;
}

.logo {
    position: absolute;
    z-index: 400;
    top: calc(100vw * 40 / 1720);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw * 160 / 1720);
}
@media (max-width: 991px) {
    .logo {
        width: 130px;
        top: 75px;
    }
}

.center {
    margin-bottom: calc(100vw * 80 / 1720);
    margin-top: calc(100vw * 30 / 1720);
}
@media (max-width: 991px) {
    .center {
        margin-bottom: 40px;
        margin-top: 30px;
    }
}

.contacts {
    gap: calc(100vw * 30 / 1720);
}

.social {
    color: white;
    text-decoration: none;
    opacity: 0.4;
    display: flex;
    gap: calc(100vw * 10 / 1720);
    transition: opacity 0.1s ease-in-out;
}
.social:hover {
    color: white;
    opacity: 1;
}

@media (max-width: 991px) {
    .social {
        gap: 12px;
    }
}
.social img {
    width: calc(100vw * 24 / 1720);
    flex: 0 0 calc(100vw * 24 / 1720);
    max-width: calc(100vw * 24 / 1720);
}
@media (max-width: 991px) {
    .social img {
        width: 24px;
        height: 24px;
        max-width: 24px;
        flex: 0 0 24px;
    }
}
@media (max-width: 991px) {
    .social span {
        display: none;
    }
}
.brand {
    opacity: 0.4;
}
.text-line {
    margin-bottom: calc(100vw * 30 / 1720);
    opacity: 0.4;
    font-weight: 400;
}
@media (max-width: 991px) {
    .text-line {
        margin-bottom: 20px;
    }
}