/** Место для фундаментальных стилей, которые реюзаются в каждой секции. В идеале никогда не меняется с шаблона к шаблону. **/

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--text-font-family), sans-serif;
    color: var(--texts-black);
    background-color: var(--body-background-color);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin-inline: auto;
    position: relative;
}

.main__wrapper {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-top: var(--header-height);
}

.sections-wrapper {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: var(--section-padding-block);
    padding-block: var(--section-padding-block);

    position: relative;
    z-index: 1;
    overflow: hidden;

    background-color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section__container {
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
}

.section__inner-container {
    display: flex;
    gap: var(--section-inner-container-gap);
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.section__inner-container.nowrap {
    flex-wrap: nowrap;
}

.section__inner-container.align-center {
    flex-direction: column;
}

.section__inner-container.column {
    flex-direction: column;
}

.section__inner-container.reverse {
    flex-direction: row-reverse;
}

.sections-wrapper.column.reverse {
    flex-direction: column-reverse;
}

.section__inner-container.rounded {
    overflow: hidden;
}

.section__inner-container.top,
.section__inner-container.bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.section__inner-container.top p,
.section__inner-container.bottom p {
    max-width: 794px;
}

.section__item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--section-item-gap);
    width: 100%;
}

.section__card {
    align-items: flex-start;
    justify-content: space-between;
    padding: var(--section-card-padding);
    height: unset;
    transition: 0.3s ease;
    border-radius: var(--border-radius);
    background: var(--body-background-color);
    box-shadow: 0 9px 21px 0 rgba(105, 119, 125, 0.15);
}

.section__card.no-padding {
    padding: 0;
}

.section__card.green {
    background: var(--primary-green);
    color: #FFF;
}

.section__card.yellow {
    background: var(--primary-yellow);
}

.section__card.red {
    background: var(--standarts-red);
}

.section__card.light_green {
    background: var(--primary-light_green);
}

.section__card.bg-image {
    overflow: hidden;
    color: #fff;
}

.section__card.bg-image h4,
.section__card.bg-image p {
    position: relative;
}

.section__card.bg-image .section__item-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section__card.black {
    background: var(--texts-black);
    color: #FFF;
}

.section__image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.section__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.section__nest-icon {
    flex-shrink: 0;
    display: flex;
    position: relative;
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 100%;
}

.section__nest-icon::before,
.section__nest-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    background-color: #fff;
    transform: translate(-50%, -50%);
    transition: 0.3s ease;
    transform-origin: center;
}

.section__nest-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

.section__card.active .section__nest-icon::before {
    transform: translate(-50%, -50%);
}

.content-fit-width {
    max-width: fit-content;
}

.small-width {
    max-width: var(--size-small);
}

.medium-width {
    max-width: var(--size-medium);
}

.big-width {
    max-width: var(--size-big);
}

.large-width {
    max-width: var(--size-large);
}

.large-x-width {
    max-width: var(--size-large-x);
}

.full-width {
    max-width: var(--size-full);
}

.rounded {
    border-radius: var(--border-radius);
}

.shadowed {
    box-shadow: 0 9px 21px 0 rgba(105, 119, 125, 0.15);
}

/** GLOBAL **/

h1, h2, h3, h4, h5, h6, p {
    line-height: 130%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font-family), serif;
    letter-spacing: -0.44px;
}

h1 {
    font-size: var(--header-1-size);
}

h2 {
    font-size: var(--header-2-size);
}

h3 {
    font-size: var(--header-3-size);
}

h4 {
    font-size: var(--header-4-size);
}

p {
    font-size: var(--text-2-size);
}

p.large {
    font-size: var(--text-1-size);
}

.preloader {
    display: none;
    background: white;
    position: absolute;
    top: 0%;
    bottom: 0;
    left: 0%;
    right: 0;
    z-index: 400;
    background-image: url("data:image/gif;base64,R0lGODlhEgIEAfEDACc6mUep1lin0wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCgADACwAAAAAEgIEAQAC/5yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGITCqXzKbzCY1Kp9Sq9YrNarfcrvcLDovH5LL5jE6r1+y2+w2Py+f0uv2Oz+v3/L7/DxgoOEhYaHiImKi4yNjo+AgZKTlJWWl5iZmpucnZ6fkJGio6SlpqeoqaqrrK2ur6ChsrO0tba3uLm6u7y9vr+wscLDxMXGx8jJysvMzc7PwMHS09TV1tfY2drb3N3e39DR4uPk5ebn6Onq6+zt7u/g4fLz9PX29/j5+vv8/f7/8PMKDAgQQLGjyIMKHChQwbOnwIMaLEiRQrWryIMaPGjf8cO3r8CDKkyJEkS5o8iTKlypUsW7p8CTOmzJk0a9q8iTOnzp08e/r8CTSo0KFEixo9ijSp0qVMmzp9CjWq1KlUq1q9ijWr1q1cu3r9Cjas2LFky5o9izat2jIA2rp9C9ftAwEB6tq9i1eAgLl4+97Vu1ZM3MGDG+j1i1jvXgaHEfdVHBgM4clyGTtOvHgB3ct+M0fmQplyA86JR5P2+9lL6MmmT/9t7dpu6i6rCcN2DZhBbLyzQdeOext3cNe9t/wGrnt3Xc8JlMsunuU43OGkmSNwXhd6dOmVFzjP7R27dizcuyvAbv0A9gDjr5RvS51zegPr21t5DyD+5fkD6tv7p4KffpgJ6Nh/AL5HYGcJomagFAEmpxx//jUIxYPhRbhgXxRGYaECm+EGnocR8rfhEQg68GF1JA6QonwrlmhEeXO16NiLjVUHY4467shjjz7+CGSQQg5JZJFGHolkkkouyWSTTj4JZZRSTklllVZeiWWWWm7JZZdefglmmGKOSWaZZp6JZppqrslmm26+CWeccs5JZ5123olnnnruyWeffv4JaKCCDkpooYYeimiiii7KaKOOPgpppJJOSmmlll6Kaaaabsppp55+Cmqooo5Kaqmmnopqqqquymqrrr4Ka6yyzkprrbbeimuuuu7Ka6++/gpssMIOS2whBQAAIfkECQoAAwAs4wB5AE4AFAAAApOcgqkrMg/jALTaW6U+q6dmcF7XONqDpen5NKNXvi/IqnbGijKzj+Z5u7EGvaLxpwnahsbmDClRqpjOKmMoXbGsXAQ0ksVQu9UvJHwZk49mFBp3Wpexb4pa3mtP6oA7XqbH17f1lxfI51cIQ1eXqHhVg0j4OMP45pjnVGKJNqRTBPIJqLfX6NlE4wI6dHbJqpr3UAAAIfkEBQoAAwAs4wB5AE4AFAAAApqcgqkrMg+jWVQ1iYHevG9zVFXjYE8jjpc5eK6bpqsZxkxpvvpmizjWG7FaO12Q8pMcGcOicYmYAaEBqcT5okaH2moT6+kmI+IvmFNmpXNnNNVKfo8hbfebq50/6rw8/s7Cp7E2BcjGl6c3kGhWR6jkFyj4GGeYMRlpQkknWBNEMuTZAyrJN3EEJyEakxohCII6BIHyKbtXN1AAADs=");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    opacity: 0.5;
    border-radius: 8px;
}

.form__input.valid {
    color: #10b534;
    border: 1px solid #10b534;
}

.form__input.error {
    color: #c8102e;
    border: 1px solid #c8102e;
}

label.error {
    display: flex;
    transform-style: preserve-3d;
    position: absolute;
    z-index: 200;
    top: calc(100% + 4px);
    left: 0;
    min-width: 95%;
    border-radius: 8px;
    background: #c8102e;
    color: #ffffff;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 1.05rem */
    padding: 5px 10px;
}

label.error::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 15px;
    height: 15px;
    background: #c8102e;
    border-radius: 2px;
    transform: translateZ(-1px) rotate(45deg);
    top: -8px;
    left: 11px;
    transform-style: preserve-3d;
}

.big-button {
    position: relative;
    display: flex;
    padding: 16px 28px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: fit-content;
    z-index: 100;

    color: var(--texts-black);
    font-size: var(--text-2-size);
    font-style: normal;
    font-weight: 700;
    line-height: 22px; /* 122.222% */
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    word-break: break-word;

    transition: 0.3s ease;
    outline: none;
    border: none;
    cursor: pointer;
    border-radius: 68px;
    background: var(--primary-orange_lin);
}

.big-button:hover {
    transform: scale(1.07);
}

.big-button.black {
    color: #FFF;
    background: var(--texts-black);
}

.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header > .container {
    max-width: 100%;
    padding-inline: 24px;
}

.header__container {
    padding-block: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header__logo {
    height: 40px;
}

.header__links-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.header__nav-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.header__nav-container .header__button {
    display: none;
}

.header__nav-link-container {
    position: relative;
}

.header__nav-link {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
    text-decoration: none;
    color: #1d2727;
    white-space: nowrap;
    position: relative;
}

.header__nav-link::before {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    background-color: #1d2727;
    bottom: 0;
    right: 0;
    transition: 0.3s ease;
}

.header__nav-link.active::before,
.header__nav-link:hover::before {
    transform: scaleX(1);
    left: 0;
    width: 100%;
}

.header__nav-sub-links-container {
    position: relative;
    padding-right: 20px;
}

.header__nav-sub-links-container::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background-image: url("../images/icons/chevron-down.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    cursor: pointer;
    transition: 0.3s ease;
}

.header__nav-sub-links-container:hover::after {
    transform: translateY(-50%) rotate(180deg);
}

.header__sub-list {
    position: absolute;
    top: 25px;
    left: 0;
    display: flex;
    transform: scaleY(0);
    transform-origin: top;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border-radius: 0 0 16px 16px;
    background: #fff;
    box-shadow: 0 24px 24px 0 rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: 0.3s ease;
    overflow: hidden;
}

.header__nav-sub-links-container:hover .header__sub-list {
    transform: scaleY(1);
}

.header__button {
    max-width: 400px;
    z-index: 200;
}

.header__hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.header__hamburger-container {
    position: relative;
    width: 36px;
    height: 24px;
}

.header__hamburger-item {
    position: absolute;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: #1d2727;
    transition: 0.3s ease;
}

.header__hamburger-item:nth-child(1) {
    top: 0;
}

.header__hamburger-item:nth-child(2) {
    top: 50%;
    width: 100%;
    right: 0;
    transform: translateY(-50%);
}

.header__hamburger-item:nth-child(3) {
    bottom: 0;
}

.header.active .header__hamburger-item:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.header.active .header__hamburger-item:nth-child(2) {
    opacity: 0;
    right: 50%;
}

.header.active .header__hamburger-item:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.header__buttons-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
}

.header__lang {
    font-weight: 500;
    position: relative;
    z-index: 100000;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #7e7c74;

    user-select: none;
    text-transform: uppercase;
}

.header__lang span {
    text-underline-offset: 3px;
    text-decoration: underline;

}

.header__current-lang {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    gap: 4px;
}


.header__list-lang {
    position: absolute;
    top: 56px;
    left: -1px;
    /*width: calc(100% + 2px);*/
    display: inline-flex;
    padding-block: 12px !important;
    flex-direction: column;
    align-items: center;
    /*gap: 16px;*/
    z-index: -1;
    background: #fff;
    box-shadow: 0 24px 24px 0 rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 250ms ease;
    border: 1px solid #e5e5e1;
    border-radius: 4px;
}

.header__list-lang.active {
    opacity: 1;
    visibility: visible;
    transition: all 250ms ease;
    padding: 0;
    z-index: 99;
}

.header__item-lang {
    display: flex;
    justify-content: center;
    width: 100%;
}

.header__item-lang:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.header__item-lang a {
    text-decoration: none;
    padding: 6px 24px;
    color: var(--texts-black);
}

.footer {
    text-align: center;
    padding-block: 18px;
}

.footer__logo.invert {
    filter: brightness(0) invert(1);
}

.footer__container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.footer__nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.footer__links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    list-style: none;
    padding: 0 !important;
}

.footer__link {
    text-decoration: none;
    color: var(--texts-black);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.footer.copyright {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
}

.swiper {
    width: 100%;
    position: relative;
    overflow: visible;
}

.nowrap-text {
    white-space: nowrap;
}


@media (max-width: 1440px) {

}

@media (max-width: 1280px) {

    .container {
        padding-inline: 10px;
    }

    .header__hamburger {
        display: flex;
    }

    .header__container {
        justify-content: space-between;
    }

    .header__button {
        padding: 14px 24px;
    }


    .header__links-container {
        position: absolute;
        top: 80px;
        width: 0px;
        left: -200%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 32px;
        background: #fff;
        border-bottom: 1px solid #a8c8c9;
        box-shadow: 0 24px 34px 0 rgba(0, 0, 0, 0.25);
        padding: 32px 10px;
        transition: 0.3s ease;
        z-index: 120;
    }

    .header__nav-container {
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
        text-align: left;
        gap: 32px;
    }

    .header__nav-sub-links-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 32px;
        padding-right: 0;
    }

    .header__nav-sub-links-container::after {
        display: none;
    }

    .header__sub-list {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        background: none;
        gap: 32px;
        top: auto;
    }

    .header__sub-list > * {
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 4px;
    }

    .active .header__links-container {
        left: 0px;
        width: 100dvw;
    }

    .header__logo {
        height: auto;
        max-height: 40px;
    }

    .footer__container {
        flex-direction: column;
        gap: 12px;
    }

}

@media (max-width: 768px) {

    .big-button {
        width: 100%;
        max-width: var(--size-medium);
    }

    .content-fit-width {
        max-width: var(--size-medium);
        justify-content: center;
        align-items: center;
    }

    .header__nav-container {
        width: 100%;
    }

    .header__nav-container .header__button {
        display: flex;
    }

    .active .header__links-container {
        align-items: flex-start;
    }

    .header__buttons-container .header__button {
        display: none;
    }

    .header__button {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 360px) {

}
