/* Общие стили */
html {
    scroll-behavior: smooth;
}
:root {
    --font--color: #202020;
    --logo-color:#F9AB03;
    --font--hover: #F9AB03;
}

body {
    font-family: "Mulish", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--font--color);
    line-height: 28px;
    overflow-x: hidden;
}

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

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

a:hover {
    cursor: pointer;
}

h1,h2,h3,h4,h5,h6 {
    margin: 0;
}

/* ====header==== */

.container {
    max-width: 1280px;
    margin: auto;
}

.header {
    margin: 40px 0 40px 0;
    width: 100%;
    height: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_logo {
    text-transform: uppercase;
    font-size: 18px;
}

.header_logo_color {
    color: var(--logo-color);
}

.header_inner {
    display: flex;
    gap: 35px;
}

.header_inner_link {
    transition: all 0.2s;
}

.header_inner_link:hover {
    color: var(--font--hover);
    text-decoration: underline;
}

.header_language {
    transition: all 0.3s linear;
}

.header_language:hover {
    cursor: pointer;
    color: var(--font--hover);
    text-decoration: underline;
}


/* Burger Menu */
.burger-menu {
    display: none;
    position: relative;
}

.burger-icon {

    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.burger-icon span {
    width: 100%;
    height: 3px;
    background-color: var(--logo-color);
    transition: all 0.3s ease-in-out;
}

.burger-icon.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-icon.open span:nth-child(2) {
    opacity: 0;
}

.burger-icon.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu-items {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    z-index: 999;
}

.menu-items.open {
    right: 0;
}

.menu-items a {
    font-size: 18px;
    color: var(--font--color);
}

/* ====Hero==== */
.hero {
    position: relative;
    display: block;
    width: 100%;
}

.hero_inner {
    position: absolute;
    top: 50%;
    left: 20px;
    z-index: 100;
    transform: translateY(-50%);
}

.hero_img {
    width: 100%;
    border-radius: 20px;
}

.hero_text {
    margin-bottom: 10px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    line-height: normal;
}

.hero_button {
    display: block;
    max-width: 270px;
    width: 100%;
    height: 60px;
    background-color: var(--font--hover);
    border-radius: 20px;
    font-family: "Mulish", sans-serif;
    font-size: 24px;
    font-weight: 600;
    border: none;
    transition: all 0.3s linear;
}

.hero_button:hover {
    background-color: #f98e03;
    cursor: pointer;
}

/* Main */
.main {
    margin-top: 100px;
    margin-bottom: 100px;
    width: 100%;
    display: flex;
    gap: 20px;
}

.main_inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.main_h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--font--color);
    line-height: 32px;
}

.main_text {
    font-size: 16px;
    font-weight: 600;
}

.main_img {
    border-radius: 20px;
}

/* Benefits */
.benefits {
    margin-bottom: 100px;
    display: block;
    padding: 40px;
    max-width: 1280px;
    max-height: 160px;
    background-color: rgba(250, 254, 211, 0.5);
    border-radius: 20px;
    font-size: 32px;
    font-weight: 900;
}

/* Brands */
.brands {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.brands_inner {
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 160px);
    gap: 20px;
}

.brand {
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F8F8F8;
}

.brand_img {
    max-width: 100%;
    max-height: 100%;
}

/* Contact */
.contact_inner {
    padding: 80px 80px 80px 40px;
    background-color: #F8F8F8;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 20px;
    margin-bottom: 100px;
}

.contact {
    margin-top: 60px;
    font-size: 32px;
    font-weight: bold;
}

.form {
    padding: 40px 95px;
    background-color: #ffff;
    border-radius: 20px;
}

.form p {
    font-size: 27px;
}

.form_inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 25px;
}

.form_inner input {
    padding: 20px;
    border-radius: 20px;
    border: 1px black solid;
}

.form_inner input:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.form_inner input:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.form_inner input:nth-child(3) {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}

.form textarea {
    width: 100%;
    resize: vertical;
    padding: 20px;
    border-radius: 20px;
    border: 1px black solid;
}

.form_but {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 50px;
}


/* Footer */
.footer {
    border-radius: 20px;
    margin-bottom: 50px;
    padding: 100px;
    background-color: #F8F8F8;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer_about {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 24px;
    font-weight: 900;
}

.footer a {
    font-size: 14px;
    font-weight: 900;
}

.footer_about .logo a {
    display: block;
    margin-top: 130px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 24px;
}

.footer_contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer_contacr_p {
    font-size: 24px;
    font-weight: 900;
}

.footer_contact_year {
    align-self: flex-end;
    margin-top: auto;
    margin-block-end: 0;
}

.telegram {
    width: 55px;
    height: 55px;
}


/* Общие стили */
:root {
    --font--color: #202020;
    --logo-color:#F9AB03;
    --font--hover: #F9AB03;
}

body {
    font-family: "Mulish", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--font--color);
    line-height: 28px;
    overflow-x: hidden;
}

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

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

a:hover {
    cursor: pointer;
}

h1,h2,h3,h4,h5,h6 {
    margin: 0;
}

/* ====header==== */

.container {
    max-width: 1280px;
    margin: auto;
}

.header {
    margin: 40px 0 40px 0;
    width: 100%;
    height: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_logo {
    text-transform: uppercase;
    font-size: 18px;
}

.header_logo_color {
    color: var(--logo-color);
}

.header_inner {
    display: flex;
    gap: 35px;
}

.header_inner_link {
    transition: all 0.2s;
}

.header_inner_link:hover {
    color: var(--font--hover);
    text-decoration: underline;
}

.header_language:hover {
    cursor: pointer;
}

/* Burger Menu */
.burger-menu {
    display: none;
    position: relative;
}

.burger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1000;
}

.burger-icon span {
    width: 100%;
    height: 3px;
    background-color: var(--logo-color);
    transition: all 0.3s ease-in-out;
}

.burger-icon.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-icon.open span:nth-child(2) {
    opacity: 0;
}

.burger-icon.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu-items {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    z-index: 999;
}

.menu-items.open {
    right: 0;
}

.menu-items a {
    font-size: 18px;
    color: var(--font--color);
}

/* ====Hero==== */
.hero {
    position: relative;
    display: block;
    width: 100%;
}

.hero_inner {
    position: absolute;
    top: 50%;
    left: 20px;
    z-index: 100;
    transform: translateY(-50%);
}

.hero_img {
    width: 100%;
    border-radius: 20px;
}

.hero_text {
    margin-bottom: 10px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    line-height: normal;
}

.hero_button {
    max-width: 270px;
    width: 100%;
    height: 60px;
    background-color: var(--font--hover);
    border-radius: 20px;
    font-family: "Mulish", sans-serif;
    font-size: 24px;
    font-weight: 600;
    border: none;
    transition: all 0.3s linear;
}

.hero_button:hover {
    background-color: #f98e03;
    cursor: pointer;
}

/* Main */
.main {
    margin-top: 100px;
    margin-bottom: 100px;
    width: 100%;
    display: flex;
    gap: 20px;
}

.main_inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.main_h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--font--color);
    line-height: 32px;
}

.main_text {
    font-size: 16px;
    font-weight: 600;
}

.main_img {
    border-radius: 20px;
}

/* Benefits */
.benefits {
    margin-bottom: 100px;
    display: block;
    padding: 40px;
    max-width: 1280px;
    max-height: 160px;
    background-color: rgba(250, 254, 211, 0.5);
    border-radius: 20px;
    font-size: 32px;
    font-weight: 900;
}

/* Brands */
.brands {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.brands_inner {
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 160px);
    gap: 20px;
}

.brand {
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F8F8F8;
}

.brand_img {
    max-width: 100%;
    max-height: 100%;
}

/* Contact */
.contact_inner {
    padding: 80px 80px 80px 40px;
    background-color: #F8F8F8;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-radius: 20px;
    margin-bottom: 100px;
}

.contact {
    margin-top: 60px;
    font-size: 32px;
    font-weight: bold;
}

.form {
    padding: 40px 95px;
    background-color: #ffff;
    border-radius: 20px;
}

.form p {
    font-size: 27px;
}

.form_inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 25px;
}

.form_inner input {
    padding: 20px;
    border-radius: 20px;
    border: 1px black solid;
}

.form_inner input:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.form_inner input:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.form_inner input:nth-child(3) {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}

.form textarea {
    width: 100%;
    resize: vertical;
    padding: 20px;
    border-radius: 20px;
    border: 1px black solid;
}

.form_but {
    width: 100%;
    margin-top: 70px;
    text-align: center;
}

.fit-content {
    width: 100px;
}


/* Footer */
.footer {
    border-radius: 20px;
    margin-bottom: 50px;
    padding: 100px;
    background-color: #F8F8F8;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer_about {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 24px;
    font-weight: 900;
}

.footer a {
    font-size: 14px;
    font-weight: 900;
}

.footer_about .logo a {
    display: block;
    margin-top: 130px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 24px;
}

.footer_contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer_contacr_p {
    font-size: 24px;
    font-weight: 900;
}

.footer_contact_year {
    align-self: flex-end;
    margin-top: auto;
    margin-block-end: 0;
}

.telegram {
    width: 55px;
    height: 55px;
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 767px) {
    /* Общие стили для мобильных устройств */
    body {
        font-size: 14px;
        line-height: 24px;
    }

    /* Header */
    .header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin: 20px 0;
    }

    .header_inner {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    /* Hero */
    .hero_inner {
        left: 10px;
        right: 10px;
    }

    .hero_text {
        font-size: 24px;
    }

    .hero_button {
        max-width: 30%;
        height: 50px;
        font-size: 18px;
    }

    .hide {
        display: none;
    }

    /* Main */
    .main {
        flex-direction: column;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .main_inner {
        gap: 20px;
    }

    .main_h2 {
        font-size: 20px;
    }

    .main_text {
        font-size: 14px;
    }

    /* Benefits */
    .benefits {
        padding: 20px;
        font-size: 24px;
    }

    /* Brands */
    .brands {
        font-size: 28px;
    }

    .brands_inner {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 160px);
    }

    /* Contact */
    .contact_inner {
        flex-direction: column;
        padding: 40px;
    }

    .form {
        padding: 20px;
    }

    .form_inner {
        display: flex;
        flex-direction: column;
    }



    .form_but {
        margin-top: 30px;
    }

    /* Footer */
    .footer {
        flex-wrap: wrap;
        padding: 40px;
        gap: 20px;
    }

    .footer_about .logo a {
        margin-top: 20px;
    }

    .footer_contact_year {
        margin-right: auto;
    }



    .footer_about {
        width: 49%;
    }




}

/* Медиа-запросы для планшетов */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Общие стили для планшетов */
    body {
        font-size: 16px;
        line-height: 28px;
    }

    /* Header */
    .header {
        margin: 30px 0;
    }

    /* Hero */
    .hero_text {
        font-size: 32px;
    }

    .hero_button {
        max-width: 200px;
        height: 50px;
        font-size: 20px;
    }

    .hide {
        display: none;
    }

    /* Main */
    .main {
        display: flex;
        flex-direction: column;
        margin-top: 70px;
        margin-bottom: 70px;
    }


    .main_h2 {
        font-size: 22px;
    }

    .main_text {
        font-size: 16px;
    }

    /* Benefits */
    .benefits {
        padding: 30px;
        font-size: 28px;
    }

    /* Brands */
    .brands {
        font-size: 32px;
    }

    .brands_inner {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 160px);
    }

    /* Contact */
    .contact_inner {
        padding: 60px;
    }

    .form {
        padding: 30px;
    }

    .form_inner {
        display: flex;
        flex-direction: column;
    }

    .form_but {
        margin-top: 50px;
    }

    /* Footer */
    .footer {
        display: flex;
        padding: 60px;
        flex-direction: row;
        flex-wrap: wrap;


    }

    .footer_about {
        width: 50%;
    }

    .footer_contact {
        width: 50%;
    }

    .footer_contact_year {
        margin-right: auto;
    }

    .footer_about .logo a {
        margin-top: 50px;
    }
}