:root {
    --font-main: "Inter", sans-serif;

    --color-error: #F30000;
    --color-primary: #2F8219;

    --color-font-main-dark: #222222;
    --color-font-main-light: #FDFDFD;
    --color-font-second-light: #767676;
    --color-font-second-dark: #F4F4F4;
    --color-font-action-link: #2F8219;
    --color-font-primary-alt: #FFFFFF;
    --color-font-shadow: #4A4640;
    --color-border-input: #767676;
    --color-border-card: #C2C2C2;
    --color-border: #767676;
    --color-border-part: #76767640;
    --color-border-table: #76767640;
    --gradient-border-input: linear-gradient(90deg, #2F8219 0%, #4AA631 100%);

    --bg-main: #FDFDFD;
    --bg-modal: #FDFDFD;
    --bg-modals: #0000004D;
    --bg-color-faq: #F6F6F6;
    --bg-color-card: #F4F4F4;
    --bg-color-footer: #F4F4F4;
    --bg-color-btn-light: #FDFDFD;
    --bg-color-btn-primary: linear-gradient(90deg, #2F8219 0%, #4AA631 100%);

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
    color: var(--color-font-main-dark);
}

.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

body {
    background-color: var(--bg-main);
    background-repeat: no-repeat;
    background-size: 100% auto;
    overflow-x: hidden;
}

.container {
    max-width: 1296px;
    margin: 0 auto;
    position: relative;
    padding: 0;
}

@media(max-width: 1440px) {
    .container {
        padding: 0 36px;
    }
}

@media(max-width: 900px) {
    .container {
        padding: 0 24px;
    }
}

@media(max-width: 500px) {
    .container {
        padding: 0 12px;
    }
}

.section {
    
}

.section-header {
    padding: 80px 0 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.section-header__link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 500;
    line-height: 114.99999999999999%;
    letter-spacing: 0%;
    font-style: Medium;
    color: var(--color-font-action-link);
}

.arrow-icon {
    width: 27.5px;
    height: 27.5px;
    background: linear-gradient(90deg, #4AA631 0%, #2F8219 100%);
    color: var(--bg-color-btn-light);
}

.link {
    text-decoration: none;
    cursor: pointer;
}

.faq-card__text a {
    color: var(--color-font-action-link);
}

.btn {
    width: fit-content;
    padding: 14px 24px;
    border-radius: 6px;
    display: block;
    text-wrap: nowrap;
    text-align: center;
    cursor: pointer;
}

.btn_theme_white {
    background: var(--bg-color-btn-light);
}

.btn_theme_primary {
    padding: 14px 32px;
    background: var(--bg-color-btn-primary);
}

.btn__text {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0%;
    font-style: Medium;
    color: var(--color-font-action-link);
}

input.btn {
    /*background: none;*/
    border: none;
}

.btn_theme_primary .btn__text {
    color: var(--bg-color-btn-light);
}

.title {
    width: fit-content;
    color: var(--color-font-main-dark);
}

.title_size_h2 {
    font-family: var(--font-main);
    font-size: 32px;
    font-weight: 500;
    line-height: 114.99999999999999%;
    letter-spacing: 0%;
    font-style: Medium;
}

.title_size_h3 {

}

.text_color_primary {
    color: var(--color-primary);
}







.header {
    width: 100vw;
    position: relative;
}

.header__container {
    width: 100%;
    max-width: 1296px;
    position: absolute;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.header__wrapper {
    min-height: fit-content;
    padding: 8px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-radius: 10px;
    background: #F6F6F6;
}

.nav-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.header__logo {
    max-width: 138px;
    max-height: 100%;
}

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

.header__nav {

}

.nav__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.nav__item {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
    font-style: Regular;
    color: (--color-font-main-dark);
}

.link {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    font-style: inherit;
    color: inherit;
}

.nav__item .link.selected {
    border-bottom: 1px solid var(--color-primary);
}

.header__contact-block {

}

.contact-block__phone {
    display: flex;
    gap: 6px;
}

.contact-block__link {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0%;
    font-style: Medium;
}

.contact-block__separator {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0%;
    font-style: Medium;

}

.contact-block__action {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0%;
    font-style: Medium;
    text-transform: uppercase;
}

.header__burger-btn {
    width: 30px;
    height: 16px;
    display: none;
    position: relative;
    cursor: pointer;
}

.burger-btn__line {
    width: 100%;
    height: 2px;
    display: inline-block;
    position: absolute;
    background-color: var(--color-font-main-dark);
}

.burger-btn__line:nth-of-type(1) {
    top: 0;
    left: 0;
}

.burger-btn__line:nth-of-type(2) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.burger-btn__line:nth-of-type(3) {
    bottom: 0;
    left: 0;
}

.header__wrapper_mobile {
    width: 100%;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 101;
    background: var(--bg-main);
}

.header.header_mobile_active {
    position: fixed;
    z-index: 100;
}

.header.header_mobile_active .header__wrapper_mobile {
    padding: 66px 62px 52px;
    display: flex;
    flex-direction: column;
    gap: 41px;
    border-bottom-right-radius: 29px;
    border-bottom-left-radius: 20px;
}

.header__close-btn {
    position: absolute;
    top: 27px;
    right: 15px;
    cursor: pointer;
}

.icon__close {
    width: 18px;
    height: 18px;
}

.header__phone-link {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Medium;
    color: var(--color-font-main-dark);
}

@media(max-width: 1440px) {

}

@media(max-width: 1280px) {
    .header__container {
        top: 30px;
    }
    .header__wrapper {
        padding: 8px 24px;
        gap: 16px;
    }
    .nav-block {
        gap: 40px;
    }
    .header__logo {
        max-width: 124px;
    }
    .contact-block__phone {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .contact-block__separator {
        display: none;
    }
    .nav__list {
        gap: 16px;
    }
}

@media(max-width: 900px) {
    .header__wrapper {
        padding: 6px 16px;
    }
    .header__logo {
        max-width: 110px;
    }
    .header__burger-btn {
        display: block;
    }
    .header__contact-block {
        display: none;
    }
    .header .nav__list {
        display: none;
    }
    .header__wrapper_mobile .nav__list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .contact-block__phone {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media(max-width: 500px) {
    .header__container {
        top: 28px;
    }
    .header__logo {
        max-width: 97px;
    }
}




footer {
    margin-top: 50px;
    padding: 24px 72px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    background: var(--bg-color-footer);
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 24px;
    row-gap: 46px;
}

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

.footer__col_logo {

}

.footer__logo {
    max-width: 138px;
}

.footer__col_menu {
    gap: 12px;
}

.footer__menu {
    display: flex;
    flex-direction: column;
    align-items: right;
    gap: 12px;
}

.footer__menu-item {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Regular;
}

.footer__col_contacts {
    margin-bottom: 14px;
    align-items: end;
    gap: 12px;
}

.footer__phone {
    width: 196px;
    margin-bottom: 12px;
    text-align: center;
}

.footer__phone-link {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Medium;
    color: var(--color-font-main-dark);
}

.footer__btn {

}

.footer__legal-item p {
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Regular;
    color: var(--color-font-second-light);
}

.footer__link-action,
.footer__link-download {
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Regular;
    color: var(--color-font-second-light);
}

.footer__link-download {
    text-decoration: underline;
}

@media(max-width: 900px) {
    .footer {
        padding: 48px 24px;
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
    }
    .footer__container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 24px;
        row-gap: 46px;
    }
    .footer__col_menu:nth-of-type(2) {
        grid-row: 1 / 3;
        grid-column: 2;
    }
    .footer__col_menu:nth-of-type(3) {
        grid-row: 1 / 3;
        grid-column: 3;
    }
    .footer__col_contacts {
        align-items: start;
        grid-row: 2;
        grid-column: 1;
    }
    .footer__phone {
        text-align: start;
    }
}

@media(max-width: 700px) {
    .footer {
        border-top-left-radius: 40px;
        border-top-right-radius: 40px;
    }
    .footer__container {
        max-width: 296px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .footer__container div {
        width: 100%;
    }
    .footer__legal-item {
        margin-bottom: -12px;
    }
}

@media(max-width: 500px) {
    .footer {
        padding: 40px 12px;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }
    .footer__legal-item {
        margin-bottom: -16px;
    }
}








.main-block {
    width: 100%;
    height: 600px;
    background: url(/upload/images/background_main-banner_desktop.webp) no-repeat center center;
    background-size: cover;
}

.main-block__container {
    width: 100%;
    height: 100%;
}

.main-block__content {
    padding-top: 172px;
    /*padding-left: 72px;*/
}

.main-block__title-wrapper {
    max-width: 526px;
    max-height: fit-content;
}

.main-block__title {
    font-family: var(--font-main);
    font-size: 40px;
    font-weight: 500;
    line-height: 114.99999999999999%;
    letter-spacing: 0%;
    font-style: Medium;
    color: var(--color-font-main-light);
}

.main-block__subtitle {
    max-width: 385px;
    max-height: fit-content;
    margin-top: 16px;
}

.main-block__text {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 500;
    line-height: 114.99999999999999%;
    letter-spacing: 0%;
    font-style: Medium;
    color: var(--color-font-main-light);
}

.main-block__actions {
    max-width: 196px;
    max-height: 48px;
    margin-top: 48px;
}

@media(max-width: 700px) {
    .main-block__container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .main-block__content {
        padding: 0;
    }
    .main-block__title {
        width: 100%;
        text-align: center;
    }
    .main-block__subtitle {
        max-width: 100%;
        margin-top: 16px;
    }
    .main-block__text {
        width: 100%;
        text-align: center;
    }
    .main-block__actions {
        max-width: 100%;
        width: 100%;  
        margin-top: 36px;
    }
    .main-block__actions .btn {
        width: 100%;  
    }
}

@media(max-width: 500px) {
    .main-block {
        height: 500px;
    }
    .main-block__title {
        font-size: 24px;
    }
    .main-block__text {
        font-size: 16px;
    }
}





.advantages {
    margin-top: -90px;
    border-radius: 60px;
    background-color: var(--bg-main);
}

.advantages__container {

}

.advantages__title {
    
}

.advantages__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantages__item {

}

.advantage-card {
    padding: 32px 35px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-color-card);
    position: relative;
}

.advantage-card__icon-wrapper {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.advantage-card__icon {
    width: 33px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.advantage-card__title {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 500;
    line-height: 114.99999999999999%;
    letter-spacing: 0%;
    font-style: Medium;
    text-align: center;
}

.advantage-card__desc {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Regular;
    text-align: center;
}

@media(max-width: 1280px) {
    .advantages {
        border-radius: 50px;
    }
}

@media(max-width: 900px) {
    .advantages {
        border-radius: 40px;
    }
    .section-header {
        padding: 72px 0 28px 0;
    }
    .advantages__title {
        justify-content: center;
    }
    .advantages__list {
        width: fit-content;
        margin: auto;
        grid-template-columns: repeat(2, 306px);
    }
}

@media(max-width: 700px) {
    .advantages__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .advantages__list {
        max-width: 100%;
        grid-template-columns: repeat(1, 1fr);
    }
}

@media(max-width: 500px) {
    .advantages {
        border-radius: 30px;
    }
    .section-header {
        padding: 64px 0 24px 0;
    }
}





.catalog {

}

.catalog__container {

}

.catalog__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.catalog__item {
	height: fit-content;
}

.advantage-card {

}

.category-card__image-wrapper {
	max-width: 416px;
  max-height: 194px;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.category-card__img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.category-card__body {
    margin-top: 16px;
}

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

.category-card__title {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 500;
    line-height: 114.99999999999999%;
    letter-spacing: 0%;
    font-style: Medium;
}

.category-card__link-all {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Medium;
    color: var(--color-font-action-link);
}

.category-card__list {
    margin-top: 8px;
    list-style: square;
}

.category-card__list-item {
    margin-left: 24px;
    position: relative;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Regular;
}

.category-card__list-item::marker {
    font-size: 24px;
    transform: translateY(-50%);
    color: var(--color-font-action-link);
}

@media(max-width: 1280px) {
    
}

@media(max-width: 600px) {
    .catalog__list {
        max-width: 416px;
        margin: auto;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

@media(max-width: 500px) {
    .section-header__link .text_color_primary {
        display: none;
    }
    .category-card__title {
        font-size: 20px;
    }
    .category-card__link-all {
        font-size: 14px;
    }
}




.news {

}

.news__container {

}

.news__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news__item {

}

.news-card {

}

.news-card__image-wrapper {
  margin-bottom: 16px;
  max-width: 100%;
  max-height: 280px;
  overflow: hidden;
  border-radius: 8px;
  height: 100%;
}

.news-card__img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__body {
    margin-top: 16px;
}

.news-card__title {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 500;
    line-height: 114.99999999999999%;
    letter-spacing: 0%;
    font-style: Medium;
}

.main-page .news-card__title {
    min-height: 41px;
}

.news-card__desc {
    margin-top: 8px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Regular;
}

.news-card__footer {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.news-card__link {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Medium;
    color: var(--color-font-action-link);
}

.news-card__date {
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Regular;
    color: var(--color-font-main-dark);
}

@media(max-width: 600px) {
    .news__list {
        max-width: 416px;
        margin: auto;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
	.news__item {
		height: fit-content;
	}
}

@media(max-width: 500px) {
    .section-header__link .text_color_primary {
        display: none;
    }
    .news-card__desc {
        font-size: 11px;
    }
    .news-card__link {
        font-size: 12px;
    }
}



.faq {

}

.faq__container {

}

.faq__title {

}

.faq__content {
    display: flex;
    gap: 18px;
}

.faq__list {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq__item {

}

.faq-card {
    padding: 16px 32px;
    border-radius: 8px;
    background-color: var(--bg-color-faq);
}

.faq-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.faq-card__question {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 500;
    line-height: 114.99999999999999%;
    letter-spacing: 0%;
    font-style: Medium;
}

.faq-card__switcher {
    width: 27px;
    min-width: 27px;
    height: 27px;
    min-height: 27px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: var(--bg-color-btn-primary);
}

.faq-card__switcher img {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}

.faq-card__body {
    max-width: 82.7%;
    margin-top: 12px;
    padding-bottom: 16px;
    display: none;
}

.faq__item_open .faq-card__body {
    display: block;
}

.faq-card__text,
.faq-card__text * {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Regular;
}

.faq__image-block {
    width: 50%;
}

.faq__image {
    width: 100%;
    height: auto;
    max-height: 374px;
    border-radius: 8px;
    object-fit: cover;
}

.faq__item_open img {
    transform: rotate(180deg);
}

@media(max-width: 1000px) {
    .faq__list {
        width: 100%;
    }
    .faq__image-block {
        display: none;
    }
}

@media(max-width: 500px) {
    .faq-card__question {
        font-size: 16px;
    }
    .faq-card__text, 
    .faq-card__text * {
        font-size: 12px;
    }
}




.contacts {
    padding-top: 80px;
}

.contacts__container {

}

.contacts__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.contacts__info {
    width: 50%;
    height: 100%;
}

.contacts__title {
    font-size: 32px;
}

.contacts__subtitle {
    margin-top: 16px;
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 500;
    line-height: 114.99999999999999%;
    letter-spacing: 0%;
    font-style: Medium;
}

.contacts__data {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-list__item {
    margin-left: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-list__icon {
    position: absolute;
    top: 50%;
    left: -32px;
    transform: translateY(-50%);
}

.contact-list__label {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Medium;
    color: var(--color-font-second-light);
}

.contact-list__value {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 500;
    line-height: 114.99999999999999%;
    letter-spacing: 0%;
    font-style: Regular;
    color: var(--color-font-main-dark);
}

.contacts__action {
    padding-top: 36px;
}

.contacts__map {
    width: 50%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.map-block iframe {
    width: 100%;
    height: 100%;
}

.contacts__action_bottom {
    width: 100%;
    display: none;
}

.contacts__action_bottom .btn {
    width: 100%;
}

@media(max-width: 900px) {
    .contacts__wrapper {
        flex-direction: column;
    }
    .contacts__info,
    .contacts__map {
        width: 100%;
    }
    .contacts__title {
        font-size: 28px;
    }
    .contacts__subtitle {
        font-size: 18px;
    }
    .contact-list__label {
        font-size: 12px;
    }
    .contact-list__value {
        font-size: 16px;
    }
}

@media(max-width: 500px) {
    .contacts__title {
        font-size: 24px;
    }
    .contacts__subtitle {
        font-size: 16px;
    }
    .contacts__map {
        height: 224px;
    }
    .contacts__action .btn {
		width: 100%;
    }
}



.modals {
    display: none;
}

.modals_active {
    display: block;
}

.modals__background {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 110;
    background-color: var(--bg-modals);
}

.modal-call {
    display: none;
    border-radius: 12px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 111;
    transform: translate(-50%,-50%);
    overflow: hidden;
}

.modal-call_active {
    display: block;
}

.modal-call__wrapper {
    width: 856px;
    max-width: 856px;
    min-width: 296px;
    padding: 80px 112px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    background: var(--bg-modal);
}   

.close-modal__btn {
    width: 18px;
    height: 18px;
    position: absolute;
    top: 32px;
    right: 47px;
    cursor: pointer;
}

.text-input {
    
}

.text-input_type_name {
    grid-column: 1;
    grid-row: 1;
}

.text-input_type_phone {
    grid-column: 2;
    grid-row: 1;
}

.text-input_type_mail {
    grid-column: 1;
    grid-row: 2;
}

.text-input_type_company {
    grid-column: 2;
    grid-row: 2;
}

.text-input_type_message {
    grid-column: 1/3;
    grid-row: 3;
}

.text-input__message {
    display: none;
}

.text-input__wrapper {
    padding: 1px;
    border-radius: 8px;
    background: var(--color-border-input);
}

.text-input__wrapper.error {
    background: var(--color-error);
}

.text-input__wrapper.hide-before::before,
.form__checkbox-label.hide-before::before {
    display: none;
}

.text-input_type_name .text-input__wrapper::before,
.text-input_type_phone .text-input__wrapper::before,
.text-input_type_mail .text-input__wrapper::before,
.form__checkbox-label::before {
    content: "*";
    color: var(--color-error);
    position: absolute;
    z-index: 1;
    font-size: 10px;
}

.text-input_type_name .text-input__wrapper::before {
    margin-top: 18px;
    margin-left: 60px;
}

.text-input_type_phone .text-input__wrapper::before {
    margin-top: 18px;
    margin-left: 90px;
}

.text-input_type_mail .text-input__wrapper::before {
    margin-top: 18px;
    margin-left: 73px;
}

.form__checkbox-label::before {
    margin-top: -20px;
    margin-left: 20px;
}

.text-input__wrapper_focus {
    background: var(--gradient-border-input);
}

.text-input__field {
    width: 100%;
    height: 100%;
    padding: 18px 29px;
    border-radius: 7px;
    outline: none;
    border: none;

    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Regular;
}

.text-input__field::placeholder,
.text-input__field::-webkit-input-placeholder,
.text-input__field::-moz-placeholder,
.text-input__field:-moz-placeholder,
.text-input__field:-ms-input-placeholder {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Regular;
    color: var(--color-font-main-dark);
    opacity: 0.5;
}



.text-input__field_type_name {

}

.text-input__field_type_phone {
    
}

.text-input__field_type_mail {
    
}

.text-input__field_type_company {
    
}

.text-input__field_type_message {
    min-height: 107px;
    resize: none;
}

.form__submit-block {
    margin-top: 32px;
    grid-column: 1/3;
    grid-row: 4;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.form__button-submit {

}

.btn__submit {
    display: none;
}

.form__button-submit .btn__text {
    color: var(--bg-color-btn-light);
}

.form__terms {

}

.form__checkbox-custom {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.form__checkbox-label {
    max-width: 341px;
    display: flex;
    align-items: center;

    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0%;
    font-style: Regular;
    color: var(--color-font-second-light);
    cursor: pointer;
}

.label__text {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    font-style: inherit;
    color: inherit;
}

.form__checkbox-label.error {
    border-bottom: 1px solid var(--color-error);
}

.form__custom-checkbox {
    border: 2px solid var(--color-font-second-light);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 18px;
    margin-top: 2px;
}

.form__checkbox-custom + .form__checkbox-label .form__custom-checkbox::before {
    content: "";
    opacity: 0;
    width: 4px;
    height: 7px;
    margin-top: -2px;
    margin-left: -1px;
    border: 2px solid var(--color-font-second-light);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    transition: opacity ease 0.1s;
    flex-shrink: 0;
}

.form__checkbox-custom:checked + .form__checkbox-label .form__custom-checkbox::before {
    opacity: 1;
}

.modal-call__status-message {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    color: var(--color-primary);
}

@media(max-width: 1280px) {
    .modal-call__wrapper {
        width: 800px;
        padding: 64px 80px;
    }
    .close-modal__btn {
        top: 24px;
        right: 23px;
    }
}

@media(max-width: 900px) {
    .modal-call__wrapper {
        width: 400px;
        padding: 64px 40px 40px;
        grid-template-columns: 1fr;
    }
    .text-input_type_name {
        grid-column: 1;
        grid-row: 1;
    }

    .text-input_type_phone {
        grid-column: 1;
        grid-row: 2;
    }

    .text-input_type_mail {
        grid-column: 1;
        grid-row: 3;
    }

    .text-input_type_company {
        grid-column: 1;
        grid-row: 4;
    }

    .text-input_type_message {
        grid-column: 1;
        grid-row: 5;
    }
    .form__submit-block {
        margin-top: 24px;
        grid-column: 1;
        grid-row: 6;
        flex-direction: column;
        gap: 8px;
    }
    .text-input_type_name .text-input__wrapper::before {
        margin-top: 16px;
        margin-left: 42px;
    }
    .text-input_type_phone .text-input__wrapper::before {
        margin-top: 16px;
        margin-left: 67px;
    }
    .text-input_type_mail .text-input__wrapper::before {
        margin-top: 16px;
        margin-left: 53px;
    }
    .text-input__field {
        padding: 16px 15px;
        font-size: 12px;
    }
    .form__button-submit {
        width: 100%;
    }
    .form__button-submit .btn {
        width: 100%;
    }
    .modal-call__status-message {
        font-size: 14px;
    }
}

@media(max-width: 500px) {
    .modal-call__wrapper {
        width: 296px;
        padding: 64px 13px 37px;
    }
}


/* error page start */
.error-page {
    min-height: calc(100vh - 300px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 162px;
}

.error-page__wrapper {
    max-width: min(554px, 80%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-page__title {
    margin-bottom: 30px;
    font-size: 42px;
    font-weight: 500;
    line-height: 114.99999999999999%;
    letter-spacing: 0%;
    font-style: Medium;
    text-align: center;
    color: var(--color-font-main-dark);
}

.error-page__error-image {
    margin-bottom: 40px;
}

.error-page__image-error {
    width: 100%;
    border-radius: 12px;
}

.error-page__btn-back {
    padding: 14.5px 52.5px;
    background: var(--bg-color-btn-primary);
}

.error-page__btn-link {
    font-size: 16px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0%;
    font-style: Medium;
    text-decoration: none;
    color: var(--color-font-primary-alt);
}

@media (max-width: 1270px) {
    .error-page {
        margin-top: 120px;
    }
}

@media (max-width: 900px) {
    .error-page__wrapper {
        max-width: min(404px, 90%);
    }
    .error-page__error-image {
        margin-bottom: 10px;
    }
    .error-page__title {
        margin-bottom: 10px;
        font-size: 32px;
    }
}

@media (max-width: 425px) {
    .error-page {
        margin-top: 70px;
    }
    .error-page__title {
        font-size: 24px;
    }
    .error-page__btn-back {
        padding: 10px 50px;
        background: var(--bg-color-btn-primary);
    }
}
/* error page end */


/* pagination start */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination__item {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-font-second-light);
    border-radius: 4px;

    font-size: 16px;
    font-weight: 500;
    line-height: 114.99999999999999%;
    letter-spacing: 0%;
    font-style: Medium;
    text-align: center;
}

.pagination__prev-page {
    
}

.pagination__next-page {
    transform: rotate(180deg);
}

.pagination__item.deactive {
    opacity: 0.5;
    background: var(--color-border);
}

.pagination__item.active {
    color: var(--color-font-main-light);
    background: var(--color-primary);
}

.pagination__item path {
    fill: var(--color-font-second-light);
}

.pagination__item.deactive path {
    fill: var(--color-font-second-dark);
}
/* pagination end */