a, h1, h2, p, button {
    color: white;
    margin: 0;
    font-family: "PT Sans Caption", sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    display: flex;
    justify-content: center;
    overflow-x: clip;
    background-color: #151515;
    min-height: 100%;
}

.background,
.overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
}

.background {
    background: url("/src/images/background.webp") no-repeat center;
    background-size: cover;
}

.overlay {
    z-index: -5;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
}

.wrapper {
    position: relative;
    background-size: cover;
    display: flex;
    justify-content: center;
    width: 100vw;
    height: 100dvh;
    overflow-x: clip;
}

.content {
    width: 1200px;
    height: 100%;
    position: relative;
    z-index: 10;
    padding-inline: clamp(20px, 18vw, 360px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contacts {
    display: flex;
    justify-content: space-between;
    padding-top: 34px;
}

.contacts a {
    font-size: 14px;
}

.contacts-block {
    display: flex;
    gap: 44px;
}

.phone a {
    text-decoration: none;
}

.phone a:hover {
    text-decoration: underline;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 142px;
    max-width: 690px;
}

.title {
    text-transform: uppercase;
    font-style: normal;
    font-weight: 700;
    font-size: clamp(36px, 5vw, 74px);
    line-height: 110%;
}

.title span {
    color: #FF0000;
}

.subtitle {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.subtitle h2 {
    font-family: 'PT Sans Caption', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 150%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 282px;
    height: 64px;
    padding: 22px 16px;
    gap: 10px;

    background: #FFFFFF;
    border-radius: 120px;
    color: #151515;

    font-family: 'PT Sans Caption', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: clamp(14px, 1vw, 16px);
    line-height: 20px;

    text-decoration: none;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: 0.2s ease;
}

.button:hover {
    opacity: 0.9;
}


.about {
    max-width: 384px;
    place-self: flex-end;
    font-family: 'PT Sans Caption', serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(12px, 1vw, 14px);
    line-height: 150%;
    padding-block: 101px 40px;
}

.about span {
    font-weight: 700;
    font-size: clamp(16px, 1.5vw, 24px);
}

.logo {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.socials--mobile {
    display: none;
}

@media (max-width: 891px) {
    .logo {
        top: 20px;
        left: 20px;
        transform: initial;
    }

    .socials--mobile {
        display: flex;
        flex-direction: column-reverse;
        text-align: end;
        gap: 8px;
        padding-bottom: 20px;
    }

    .socials--desktop {
        display: none;
    }

    .contacts {
        padding-top: 20px;
        align-self: flex-end;
    }

    .phone {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .main-content {
        padding-top: 248px;
        gap: 0;
    }

    .title {
        font-size: 36px;
    }

    .title span {
        letter-spacing: -0.1rem;
        margin-left: -0.1rem;
    }

    .subtitle {
        padding-block: 16px 28px;
    }

    .subtitle h2 {
        gap: 12px;
        font-size: 14px;
    }

    .about {
        padding-block: 102px 0;
        place-self: flex-start;
        font-size: 12px;
    }

    .about span {
        font-size: 16px;
    }

    .button {
        width: 100%;
        max-width: 336px;
        max-height: 56px;
        font-size: 14px;
    }
}