* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}


body {
    --input-border-color: #8F95A5;

    --btn-color: #263238;
    --btn-text-color: #fff;

    --mob-header-background: #263238;

    --black: #000;

    --header-text-color: #263238;

    --main-text-color: #8F95A5;
    --main-text-size: 24px;

    --error-color: #C0272B;

    max-width: calc(1357px + 2 * 16px);
    margin: 0 auto;
}

main {
    padding: 0 16px;
}

@media screen and (max-width: 1389px) {
    body {
        --main-text-size: 18px;
    }
}


a {
    color: var(--black);
}

li {
    list-style-position: inside;
}


h1 {
    font-weight: 600;
    font-size: 58px;
    line-height: 80px;
    letter-spacing: 0%;
    color: var(--black);
    margin: 0 0 56px;
}


h2 {
    font-weight: 600;
    font-size: 48px;
    line-height: 80px;
    letter-spacing: 0%;
    color: var(--black);
    margin: 0 0 39px;
}


h3 {
    font-weight: 600;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--black);
}


p:not(.error) {
    margin: 1.5em 0;
    font-weight: 400;
    letter-spacing: 0%;
    color: var(--main-text-color);
    font-size: var(--main-text-size);
}


li {
    color: var(--main-text-color);
    font-size: var(--main-text-size);
}


img {
    display: block;
    margin: 0 auto;
}


header {
    margin: 82px 0 110px;
    padding: 0 16px;
    position: relative;
}

header>.mob {
    display: none;
}

header>.socials {
    display: flex;
    height: 40px;
    width: fit-content;
    gap: 10px;
    position: absolute;
    top: -65px;
    right: 16px;
}

header ul {
    padding: 0;

    display: flex;
    gap: 32px;
    flex-wrap: wrap;

    justify-content: space-between;

    list-style-type: none;
}

header ul li {
    font-weight: 300;
    font-size: 22px;
    line-height: 100%;
    letter-spacing: 0%;
}

header a {
    text-decoration: none;
    color: var(--header-text-color);

    display: block;
    width: 100%;
}

header>ul .mob-close {
    display: none;
}


@media screen and (max-width: 1389px) {
    header {
        margin: 82px 0 80px;
    }

    header ul {
        gap: 24px;
    }

    header ul li {
        font-size: 20px;
    }
}


@media screen and (max-width: 800px) {
    header {
        margin: 0;
        padding: 0;
    }

    header>.mob {
        display: flex;
        justify-content: space-between;

        position: fixed;
        z-index: 1;

        color: white;
        background: var(--mob-header-background);

        padding: 0 16px;
        height: 60px;
        width: 100vw;

        align-items: center;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    }

    header>.mob .burger {
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    header>.mob .socials {
        display: flex;
        gap: 10px;

        height: 100%;

        align-items: center;
    }

    header>.mob .socials a {
        display: block;
        color: white;
        height: 50px;
    }

    header>ul {
        position: relative;

        flex-direction: column;
        justify-content: start !important;
        gap: 0;
        z-index: 2;

        background-color: white;

        position: fixed;

        width: 100vw;
        height: 100%;

        padding: 20px;

        right: -100%;

        transition: right 0.25s ease-in-out;
    }


    header>ul.show {
        right: 0;
    }

    header>ul a {
        padding: 10px 0;
    }


    header>ul .mob-close {
        position: absolute;
        display: block;

        top: 5px;
        right: 16px;

        width: 50px;

        cursor: pointer;
        z-index: 1;

        color: var(--mob-header-background);
    }

    main {
        padding-top: 60px;
    }

    * {
        scroll-padding-top: 60px;
    }
}


.block {
    width: 100%;
    margin: 53px auto;
}

.block.centered {
    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 1141px;
}

.block.centered>div>:last-child {
    margin-bottom: 0;
}

.block .columns {
    display: flex;
    gap: calc(93 / 1357 * 100%);
}

.block .columns>div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.block .columns>div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.block .columns>* {
    flex: 1;
}


@media screen and (min-width: 1389px) {
    .block .columns>div>div>*:first-child {
        margin-top: 0;
    }

    .block .columns>div>div>*:last-child {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 1389px) {
    .block .columns {
        display: block;
    }

    .block .columns>div {
        display: block !important;
    }

    .block .columns img {
        max-width: 50%;
    }
}

@media screen and (max-width: 800px) {
    .block .columns img {
        max-width: none;
    }
}


div:has(>.form) {
    justify-content: start !important;
}

.form-columns {
    display: flex;
    gap: 42px;
}

.form-columns>div {
    flex: 1;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 23px;

    max-width: 344px;
}

@media screen and (max-width: 1389px) {
    .form-columns {
        gap: 32px;
    }

    .form {
        gap: 16px;
        max-width: none;
    }
}

@media screen and (max-width: 800px) {
    .form-columns {
        display: block;
    }

    .form-columns img {
        display: none;
    }
}


input {
    height: 45px;
}

textarea {
    height: 132px;
    resize: none;
}

input,
textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--input-border-color);
    padding: 12px 28px;
    font-size: 14px;
    font-family: 'Poppins';
}

input::placeholder,
textarea::placeholder {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    font-family: 'Poppins';
}

label:has(>input) {
    width: 100%;
}

button[type="submit"] {
    background-color: var(--btn-color);
    color: var(--btn-text-color);

    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;

    border-radius: 10px;
    border: none;

    width: 160px;
    height: 36px;

    align-self: flex-end;

    cursor: pointer;
}

span.error {
    display: block;

    font-size: 14px;
    color: var(--error-color);
}


footer {
    margin-top: 172px;
    padding: 0 16px;

    height: 111px;
    border-top: 1px solid #C4C4C4;

    color: var(--main-text-color);

    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
}


body {
    font-size: var(--main-text-size);
    font-family: 'Poppins';
}

ul>li,
ol>li {
    list-style-position: outside;
}

ul,
ol {
    padding-left: 1em;
}


@media screen and (max-width: 800px) {
    .desktop {
        display: none;
    }
}