:root {
	--greenMain: #08cb27;
    --greenHover: #03a41c;
	--blueMain: #1252f8;
    --purpleMain: #9747FF;
	--white: #fff;
	--e7ebf1: #e7ebf1;
	--textMain: #303439;
	--textGray: #4d5f68;
	--cbcdce: #cbcdce;
	--959b9d: #959b9d;
}

@font-face{
    font-family: 'Montserrat';
    font-weight: bold;
    font-style: normal;
    src: local("Montserrat"),
         url(../../fonts/Montserrat-Bold.woff2) format("woff2"),
         url(../../fonts/Montserrat-Bold.woff) format("woff");
}

@font-face{
    font-family: 'Montserrat';
    font-weight: 500;
    font-style: normal;
    src: local("Montserrat"),
         url(../../fonts/Montserrat-Medium.woff2) format("woff2"),
         url(../../fonts/Montserrat-Medium.woff) format("woff");
}

@font-face{
    font-family: 'Montserrat';
    font-weight: 600;
    font-style: normal;
    src: local("Montserrat"),
         url(../../fonts/Montserrat-SemiBold.woff2) format("woff2"),
         url(../../fonts/Montserrat-SemiBold.woff) format("woff");
}

@keyframes aniBottom {
    0% {
        opacity: 0;
        transform: translateY(20%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    @keyframes aniMobileMenu {
        0% {
            opacity: 0;
            transform: translateY(-20%);
        }
        100% {
            opacity: 1;
            transform: translateY(134px);
        }
    }
}

@media (max-width: 768px) {
    @keyframes aniMobileMenu {
        0% {
            opacity: 0;
            transform: translateY(-20%);
        }
        100% {
            opacity: 1;
            transform: translateY(192px);
        }
    }
}

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

a, p, span, h1, h2, h3, h4, ul, li {
    padding: 0;
    margin: 0;
    list-style: none;
}

a:active,
a:focus,
label:active,
label:focus {
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
    overflow-x: hidden;
}

body {
    font-family: "Montserrat", sans-serif;;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: var(--textMain);
    margin: 0 auto;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
}

img {
    max-width: 100%;
    max-height: 100%;
}

.visually-hidden {
    position: absolute!important;
    width: 1px!important;
    height: 1px!important;
    padding: 0!important;
    margin: -1px!important;
    overflow: hidden!important;
    clip: rect(0,0,0,0)!important;
    white-space: nowrap!important;
    border: 0!important;
}

.section {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-weight: 700;
    font-size: 42px;
    line-height: 115%;
}

.input {
    border: 1px solid var(--cbcdce);
    outline: 1px solid var(--cbcdce);
    border-radius: 10000px;
    padding: 20px 30px;
    width: 400px;
    height: 53px;
    font-size: 16px;
    color: var(--textGray);
}

.input:focus {
    border: 1px solid var(--greenMain);
    outline: 1px solid var(--greenMain);
}

@media (max-width: 768px) {
    .section-title {
        align-self: flex-start;
        font-size: 30px;
    }

    .input {
        width: 100%;
    }
}

.input__error-label {
    font-size: 12px;
    margin-top: -20px;
    color: red;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border: none;
    padding: 12px 40px;
    border-radius: 1000px;
    font-size: 18px;
    line-height: 140%;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    background-color: var(--greenMain);
    color: var(--white);
    cursor: pointer;
    transition: all .3s ease;
}

.button:hover {
    background-color: var(--greenHover);
}

.button:active {
    background-color: #212529;
}

.button:disabled {
    background-color: var(--cbcdce);
    color: var(--textGray);
}

.header-2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 110%;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.header-3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 110%;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

.header-4 {
    font-size: 22px;
    font-weight: 600;
    line-height: 110%;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

@media (max-width: 540px) {
    .header-3 {
        font-size: 22px;
    }
}

.text-color--main {
    color: var(--greenMain);
}

.text-color--blue {
    color: var(--blueMain);
}

.text-color--grey {
    color: var(--textGray);
}

/* header */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    width: 100%;
    min-height: 80px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

@media (max-width: 1200px) {
    .header {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header {
        min-height: 70px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.header__block {
    display: flex;
    align-items: center;
}

.header__logo {
    height: 72px;
}

@media (max-width: 1200px) {
    .header__logo {
        margin-right: auto;
    }
}

.burger-menu {
    display: flex;
    align-items: center;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .burger-menu {
        order: 1;
        margin-right: 0;
    }
}

.mobile-menu__btn {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background-color: var(--blueMain);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.4s;
}
@media (max-width: 1200px) {
    .mobile-menu__btn {
        display: flex;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu__btn {
        width: 40px;
        height: 40px;
    }
}

.mobile-menu__icon {
    display: block;
    position: relative;
    background: var(--white);
    width: 24px;
    height: 2px;
    border-radius: 8px;
    transition: 0.4s;
}

.mobile-menu__icon::after, .mobile-menu__icon::before {
    content: "";
    display: block;
    position: absolute;
    background: var(--white);
    width: 100%;
    border-radius: 8px;
    height: 2px;
    transition: 0.4s;
}
.mobile-menu__icon::after {
    top: 6px;
}
.mobile-menu__icon::before {
    top: -6px;
}
.mobile-menu__checkbox {
    display: none;
}
.mobile-menu__checkbox:checked ~ .mobile-menu__btn {
    background-color: var(--e7ebf1);
}
.mobile-menu__checkbox:checked ~ .mobile-menu__btn .mobile-menu__icon {
    background: transparent;
}
.mobile-menu__checkbox:checked ~ .mobile-menu__btn .mobile-menu__icon::before, .mobile-menu__checkbox:checked ~ .mobile-menu__btn .mobile-menu__icon::after {
    top: 0;
}
.mobile-menu__checkbox:checked ~ .header__menu {
    display: flex;
}
.mobile-menu__checkbox:checked ~ .mobile-menu__btn .mobile-menu__icon::after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    background: var(--textGray);
}
.mobile-menu__checkbox:checked ~ .mobile-menu__btn .mobile-menu__icon::before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    background: var(--textGray);
}

.header__menu {
    margin-left: 40px;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .header__menu {
        margin: 0;
        position: absolute;
        display: none;
        left: 0;
        width: 100%;
        background-color: white;
        z-index: 10;
        padding: 20px;
        border-radius: 0 0 30px 30px;
        animation: aniMobileMenu 0.5s forwards;
        overflow: hidden;
    }
}

.header__menu-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

@media (max-width: 1200px) {
    .header__menu-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 10px;
    }
}

.header__menu-link {
    text-decoration: none;
    color: var(--textMain);
    padding: 5px 10px;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .header__menu-link {
        padding-left: 0;
    }
}

.header__language {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.header__language:hover .header__language-list {
    display: block;
    opacity: 1;
}

.header__language-list {
    position: absolute;
    left: 0;
    top: 22px;
    z-index: 10;
    display: none;
    width: -moz-max-content;
    width: max-content;
    background-color: white;
    border-radius: 8px;
    box-shadow: 2px 0px 12px rgba(21, 21, 21, 0.3529411765);
    animation: aniBottom 0.3s forwards;
    overflow: hidden;
}

.header__language-item button {
    display: block;
    width: 100%;
    padding: 4px 12px;
    border: none;
    text-decoration: none;
    font-size: 16px;
    color: var(--textMain);
    background-color: transparent;
    transition: all .3s ease;
    cursor: pointer;
}

.header__language-item button:hover {
    background-color: var(--blueMain);
    color: var(--white);
}

.header__btn {
    text-decoration: none;
    border-radius: 37px;
    padding: 12px 30px;
    min-height: 46px;
    font-weight: 600;
    font-size: 16px;
    line-height: 137%;
    transition: all .3s ease;
}

.header__distributors-btn {
    margin-left: 40px;
    color: var(--textMain);
    border: 1px solid var(--cbcdce);
}

@media (max-width: 1200px) {
    .header__distributors-btn {
        margin-left: 0;
    }
}

.header__distributors-btn:hover {
    background-color: var(--blueMain);
    color: var(--white);
}

.header__login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: 20px;
    background-color: var(--blueMain);
    color: var(--white);
}

@media (max-width: 1200px) {
    .header__login-btn {
        margin-left: 0;
    }
}

.header__login-btn:hover {
    background-color: #093bb9;
}

.header__menu-item--button   {
    display: none;
}

@media (max-width: 768px) {
    .header__btn {
        display: none;
    }

    .header__menu-item--button {
        display: block;
    }

    .header__menu-item--button .header__btn  {
        display: flex;
    }

    .header__menu-item--button .header__distributors-btn  {
        margin-top: 30px;
    }
}

/* feedback */

.feedback {
    position: relative;
    border-radius: 40px;
    padding: 140px 20px;
    max-width: 1440px;
    background: linear-gradient(139deg, #b0c5fa 0%, #235ef8 100%);
    overflow: hidden;
}

.feedback__block {
    display: flex;
    border-radius: 36px;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

@media (max-width: 768px) {
    .feedback__block {
        flex-direction: column;
    }
}

.feedback__content {
    background-color: var(--white);
    max-width: 560px;
    padding: 60px;
}

@media (max-width: 768px) {
    .feedback__content {
        padding: 40px 20px 20px;
        max-width: none;
    }
}

.feedback__description {
    margin-top: 30px;
}

.feedback__form {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .feedback__form {
        margin-top: 40px;
    }
}

.feedback__image {
    max-width: 600px;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .feedback__image {
        max-width: none;
        order: -1;
        margin-bottom: -5px;
    }
}

.feedback__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.d-feedback__background {
    position: absolute;
    bottom: -50px;
    height: 50px;
    background-color: var(--e7ebf1);
}

/* faq */

.faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 560px));
    justify-content: center;
    gap: 40px;
    max-width: 1440px;
    padding: 140px 20px;
    background-color: var(--e7ebf1);
    border-radius: 40px;
}

.faq__link-button {
    display: inline-block;
    background-color: transparent;
    border: none;
    padding: 0;
    font-size: 16px;
    color: var(--blueMain);
    text-decoration: underline;
    cursor: pointer;
}

.d-faq {
    position: relative;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.d-faq__top-background {
    position: absolute;
    width: 100%;
    top: -50px;
    height: 50px;
    background-color: var(--e7ebf1);
    z-index: -1;
}

@media (max-width: 980px) {
    .faq {
        grid-template-columns: 1fr;
        gap: 60px;
        padding-top: 110px;
        padding-bottom: 110px;
    }
}

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

@media (max-width: 768px) {
    .faq__list {
        gap: 10px;
    }
}

.faq__item {
    border-radius: 30px;
    padding: 20px 20px 20px 30px;
    background-color: var(--white);
    overflow: hidden;
}

@media (max-width: 768px) {
    .faq__item {
        padding-right: 20px;
    }
}

.faq__item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.faq__item-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    color: var(--textMain);
}

@media (max-width: 768px) {
    .faq__item {
        font-size: 16px;
    }
}

.faq__button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: var(--greenMain);
    transition: all .5s ease;
    cursor: pointer;
}

.faq__item-body {
    max-height: 0;
    overflow: hidden;
    transition: all .5s ease;
}

.faq__item-body p {
    color: var(--textGray);
}

.faq__item-body a {
    color: var(--blueMain);
}

.faq__item-body p:first-child {
    height: 20px;
}

.faq__input:checked ~ .faq__item-body {
    max-height: 100vh;
}

.faq__input:checked ~ .faq__item-header .faq__button {
    transform: rotate(315deg);
    background-color: var(--e7ebf1);
}

.faq__input:checked ~ .faq__item-header .faq__button path {
    stroke: var(--textGray);
}

/* footer */

.footer {
    margin: 120px auto 80px;
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .footer {
        margin-top: 110px;
        margin-bottom: 40px;
    }
}

.footer__contact {
    display: grid;
    grid-template-columns: repeat(2, minmax(340px, 560px));
    gap: 40px;
}

@media (max-width: 768px) {
    .footer__contact {
        grid-template-columns: 1fr;
    }
}

.footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .footer__contact-list {
        margin-top: 30px;
    }
}

.footer__link {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer__contact-title {
    color: var(--textGray);
}

.footer__contact-value {
    font-weight: 600;
    font-size: 18px;
    color: var(--textMain);
}

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

@media (max-width: 768px) {
    .footer__map {
        height: 340px;
    }
}

.footer__requisites {
    margin-top: 60px;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 60px;
    gap: 40px;
}

@media (max-width: 768px) {
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

.footer__links-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

@media (max-width: 768px) {
    .footer__links-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        order: -1;
    }
}

.footer__copyright,
.footer__link {
    background-color: transparent;
    border: none;
    text-decoration: none;
    font-size: 16px;
    color: var(--959b9d);
}

.footer__link {
    cursor: pointer;
}

.popup__shadow {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100;
}

.popup__container {
    position: relative;
    border-radius: 30px;
    padding: 40px;
    width: 480px;
    background-color: var(--white);
    overflow: hidden;
}

@media (max-width: 540px) {
    .popup__container {
        padding: 30px 20px 20px;
        width: 100%;
        margin-left: 10px;
        margin-right: 10px;
    }
}

.popup__container--modal {
    height: 470px;
    max-height: 80vh;
}

.popup__header {
    margin-bottom: 40px;
}

.popup__description {
    margin-top: 24px;
    color: var(--textGray);
}

.popup__select {
    border: 1px solid var(--cbcdce);
    outline: 1px solid var(--cbcdce);
    border-radius: 24px;
    padding: 12px 30px;
    max-width: 400px;
    width: 100%;
    height: 53px;
    font-size: 16px;
    background-color: transparent;
}

.popup__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
}

@media (max-width: 768px) {
    .popup__form {
        max-width: none;
    }
}

.popup__form .button {
    width: 100%;
}

.popup__agreement {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
}

.popup__agreement-text {
    font-weight: 400;
    font-size: 14px;
    color: var(--959b9d);
}

.popup__close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: var(--e7ebf1);
    transform: rotate(45deg);
    border: none;
    cursor: pointer;
}

.popup__close-btn path {
    stroke: var(--textGray);
}

.modal__body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.modal__image {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 80px;
    width: 80px;
    height: 80px;
    background-color: var(--greenMain);
}

.modal__image img {
    width: 40px;
}

.modal__message {
    text-align: center;
    color: var(--textMain);
}

.modal__description {
    width: 80%;
    font-size: 14px;
    text-align: center;
    color: var(--textGray);
}
