:root {
    --colors--white: #fff;
    --colors--black-w: #070909;
    --colors--grey: #f8f9fa;
    --colors--red: #f54949;
    --colors--grey-2: #d1d1d1;
    --colors--black-2: #22252e;

    --transition-main: cubic-bezier(0.75, 0.25, 0.13, 0.92);
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
}

html {
    font-size: 62.5%;
    box-sizing: border-box;
}

body {
    color: var(--colors--black-w);
    font-family: Gellix, sans-serif;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.4;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
}

h1 {
    font-size: clamp(4.5rem, 5vw, 7rem);
    color: var(--colors--black-w);
    line-height: 1;
    font-weight: 700;
    margin: 0 0 3.5rem 0;
}

.cta {
    display: block;
    max-width: 200px;
    width: 100%;
    height: 60px;
    box-sizing: border-box;
    color: var(--colors--white);
    font-size: 22px;
    justify-content: center;
    align-items: center;
    background-color: var(--colors--red);
    border-radius: 30px;
    padding: 0 40px;
    transition: all 0.5s var(--transition-main);
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    line-height: 60px;
    text-decoration: none;
    margin: 0 auto;
}

.cta:hover {
    background: var(--colors--black-w);
}

.content {
    max-width: 1440px;
    width: 80%;
    margin: 0 auto;
}

.header-c {
    padding: 2rem 0;
}

.logo img {
    display: block;
    width: 293px;
}

.header-wr {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

main {
    display: flex;
    align-items: flex-start;
    text-align: center;
}

.main-c {
    padding: 12rem 0 5rem;
}

.main-c-expert {
    padding: 5rem 0;
}

.main-wr {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* ----- Start Form ----- */

.hs-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 0 0 2.5rem 0;
}

.input {
    width: 65%;
    margin-right: 0 !important;
}

fieldset {
    max-width: 100% !important;
    display: flex;
    grid-gap: 0 20px;
    margin: 0;
}

.form-columns-1 {
    display: block !important;
}

.field label {
    display: none;
}

input,
select,
textarea {
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: 1px solid var(--colors--grey-2);
    background: none;
    border-radius: 40px;
    height: 60px;
    box-sizing: border-box;
    width: 100% !important;
    padding-left: 20px;
    font-size: 16px;
    font-family: var(--font-primary);
    color: var(--colors--black-w);
    font-weight: 400;
}

select {
    appearance: none !important;
    background: url(../images/arrow-down.svg) no-repeat center right 10px !important;
    background-size: 12px !important;
}

.input {
    margin-right: 0 !important;
    width: 100% !important;
}

textarea {
    height: 110px;
    width: 100% !important;
    padding: 16px 19px;
    line-height: 26px;
    resize: none !important;
}

.hs_error_rollup {
    display: none !important;
}

ul.hs-error-msgs {
    display: none !important;
}

input.invalid,
select.invalid,
textarea.invalid,
input.error {
    border-color: var(--colors--red);
}

.hs-form-required {
    color: var(--colors--red);
}

.field.hs_recaptcha {
    order: 100;
    margin-bottom: 0;
    margin-top: 25px;
}

.hs_recaptcha {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    align-content: stretch;
}

.hs-fieldtype-text {
    max-width: 300px;
    width: 100%;
}

.hs-button {
    display: block;
    width: 200px !important;
    height: 60px;
    box-sizing: border-box;
    color: var(--colors--white);
    text-transform: none !important;
    font-size: 22px;
    justify-content: center;
    align-items: center;
    background-color: var(--colors--red);
    background-image: url(../images/arrow-down.svg);
    background-repeat: no-repeat;
    background-position: top 25px right 43px;
    background-size: 10px;
    border-radius: 30px;
    padding: 0 40px !important;
    cursor: pointer;
    transition: all 0.5s var(--transition-main);
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.hs-button:hover {
    background-color: var(--colors--black-w);
}

/* ----- End Form ----- */

.expert-wr {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 4rem;
    margin: 6rem 0 0;
}

.expert-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 370px;
}

.expert-box img {
    width: 100%;
    max-width: 150px;
}

.expert-box p {
    margin: 2rem 0;
}

.footer-c {
    padding: 2rem 0;
}

.footer-wr {
    grid-gap: 1.25rem;
    justify-content: space-between;
    align-items: center;
    display: flex;
}

.footer-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    grid-gap: 1.25rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ----- RESPONSIVE ----- */

@media screen and (max-width: 1440px) {
    br {
        display: none;
    }

    .logo img {
        width: 230px;
    }
}

@media screen and (max-width: 1366px) {
    .logo {
        width: 220px;
    }

    .expert-wr {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 932px) {
    .expert-wr {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-wr {
        flex-flow: column-reverse;
        text-align: center;
    }
}

@media screen and (max-width: 479px) {
    .logo img {
        width: 180px;
    }

    .main-c {
        padding: 5rem 0;
    }

    .hs-form {
        flex-direction: column;
        align-items: stretch;
    }

    .hs-fieldtype-text {
        max-width: 100%;
    }

    .hs-button {
        width: 100% !important;
    }

    .expert-wr {
        grid-template-columns: repeat(1, 1fr);
    }

    .footer-links {
        flex-direction: column;
    }
}

/* ----- FONTS ----- */
@font-face {
    font-family: "Gellix";
    src: url("../fonts/Gellix-SemiBold.woff2") format("woff2"), url("../fonts/Gellix-SemiBold.eot") format("embedded-opentype"),
        url("../fonts/Gellix-SemiBold.woff") format("woff"), url("../fonts/Gellix-SemiBold.ttf") format("truetype"),
        url("../fonts/Gellix-SemiBold.svg") format("svg");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gellix";
    src: url("../fonts/Gellix-Regular.woff2") format("woff2"), url("../fonts/Gellix-Regular.eot") format("embedded-opentype"),
        url("../fonts/Gellix-Regular.woff") format("woff"), url("../fonts/Gellix-Regular.ttf") format("truetype"),
        url("../fonts/Gellix-Regular.svg") format("svg");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gellix";
    src: url("../fonts/Gellix-Medium.woff2") format("woff2"), url("../fonts/Gellix-Medium.eot") format("embedded-opentype"),
        url("../fonts/Gellix-Medium.woff") format("woff"), url("../fonts/Gellix-Medium.ttf") format("truetype"),
        url("../fonts/Gellix-Medium.svg") format("svg");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gellix";
    src: url("../fonts/Gellix-Bold.woff2") format("woff2"), url("../fonts/Gellix-Bold.eot") format("embedded-opentype"),
        url("../fonts/Gellix-Bold.woff") format("woff"), url("../fonts/Gellix-Bold.ttf") format("truetype"),
        url("../fonts/Gellix-Bold.svg") format("svg");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Gellix";
    src: url("../fonts/Gellix-Light.woff2") format("woff2"), url("../fonts/Gellix-Light.eot") format("embedded-opentype"),
        url("../fonts/Gellix-Light.woff") format("woff"), url("../fonts/Gellix-Light.ttf") format("truetype"),
        url("../fonts/Gellix-Light.svg") format("svg");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
