:root {
  --container_padding: 0 5%;
  --text-color: #293137;
  --text-color-light: #f9efe7;
  --text-color-ultra-light: #f8e7d4;
  --orange-color: #e9cb9b;
  --icon_size: 50px;

  --font_size_big: 64px;
  --font-size_s_big: 128px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* На десктопе всё меняется */
@media (min-width: 1001px) {
  .show-above-1000 {
    display: none !important;
  }
}

@media (max-width: 1001px) {
  .hide-under-1000 {
    display: none !important;
  }
}

.align-items-end {
  align-items: end;
}

.margin_top_200 {
  margin-top: 200px;
}

.margin_top_150 {
  margin-top: 150px;
}

.margin_top_100 {
  margin-top: 100px;
}

.margin_top_84 {
  margin-top: 80px;
}

.margin_top_30 {
  margin-top: 30px;
}

.button,
header .current_page_item,
header .current_page_parent,
header .current-page-ancestor {
  gap: 10px;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--text-color);
  color: #ffffff;
  padding: 8px 26px;
  border-radius: 5px;
  height: max-content;
  text-decoration: none;
  max-width: 190px;

  font-family: "Open Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  leading-trim: both;
  text-edge: cap;

  flex: none;
  order: 0;
  flex-grow: 0;

  * {
    color: #ffffff;
    text-decoration: none;
  }
}

.button-wide {
  padding: 14px 43px;
  font-size: 16px;
  font-weight: 600;
}

body {
  background-color: var(--text-color-light);
  margin: 0;
  overflow-x: hidden;
}

header {
  padding: var(--container_padding);

  div {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
  }

  h2 {
    font-family: "Montserrat";
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    color: var(--text-color);
  }

  ul {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;

    li {
      list-style: none;
      display: flex;
      justify-content: center;
      align-items: center;
      color: var(--text-color);
      padding: 8px 26px;
      height: max-content;

      font-family: "Open Sans";
      font-size: 20px;
      font-style: normal;
      font-weight: 700;
      line-height: 24px;
      leading-trim: both;
      text-edge: cap;

      flex: none;
      order: 0;
      flex-grow: 0;

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

  div > svg {
    display: none;
  }

  padding-top: 40px;
}

@media (max-width: 768px) {
  header {
    padding: 22px 18px;

    .header_ul {
      display: none;
    }

    a svg {
      width: 160px;
    }

    div > svg {
      display: block;
    }
  }
}

#left_menu {
  width: 50vw;
  height: 100vh;
  background-color: #f9efe7;
  overflow-y: auto;

  .left_menu_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    .left_menu_container--top {
      margin-bottom: 100px;
      position: relative;
      padding-top: 76px;

      .left_menu_container--top--top {
        text-align: end;
        padding: 28px 12px;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        background-color: #f9efe7;
      }
    }

    .left_menu_container--bottom {
      margin-bottom: 160px;
      position: relative;
    }

    ul {
      display: flex;
      flex-direction: column;
      padding: 0;
      margin: 0;

      li {
        list-style: none;
        padding: 12px;

        a {
          font-family: "Open Sans";
          font-style: normal;
          font-weight: 700;
          font-size: 16px;
          line-height: 24px;
          text-decoration: none;

          color: #293137;
        }
      }

      li.current-menu-item {
        background-color: #ba966433;
      }
    }

    .header_menu__contacts--container {
      padding: 0 10px;

      h5 {
        margin: 0;
        margin-bottom: 15px;

        font-family: "Open Sans";
        font-style: normal;
        font-weight: 600;
        font-size: 14px;
        line-height: 31px;

        color: #293137;
      }
    }

    hr {
      border: 0;
      height: 1px;
      margin: 0;
      background: #000;
    }

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

    .header_menu__contacts--item {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 3px;

      > div:first-of-type {
        grid-column: auto / span 2;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .icon.dark {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        line-height: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;

        svg {
          width: 8px;
          height: auto;
        }
      }

      > div:last-of-type {
        grid-column: auto / span 10;
      }

      h5 {
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        margin: 0;
        line-height: 130%;

        color: #293137;
      }

      p,
      a {
        text-decoration: none;
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 600;
        font-size: 14px;
        line-height: 130%;
        margin: 0;

        color: #293137;
      }
    }
  }
}

[state="hidden"] #left_menu {
  transform: translateX(100%);
}

[state="shown"] #left_menu {
  max-width: 80vw;
}

[state="showing"] #left_menu {
  max-width: 80vw;
}

[state="hiding"] #left_menu {
  transform: translateX(100%);
}

footer {
  /* margin-top: 100px; */
  background-color: var(--text-color);
  color: var(--text-color-light);

  * {
    color: var(--text-color-light);
  }

  .main_container {
    display: flex;
    align-items: center;
    padding: 40px 5% 5% 5%;
    gap: 5%;

    h2 {
      font-family: "Open Sans";
      font-size: var(--font_size_big);
      font-style: normal;
      font-weight: 600;
      line-height: 53px;
    }

    h4 {
      margin-bottom: 35px;
      font-family: "Open Sans";
      font-size: 20px;
      font-style: normal;
      font-weight: 600;
      line-height: 31px;
    }

    p {
      font-size: 24px;
      font-family: "Open Sans";
      font-size: 24px;
      font-style: normal;
      font-weight: 400;
      line-height: 31px;
    }

    .icon_container {
      h5 {
        font-weight: 400 !important;
      }
    }

    .grid_container {
      display: grid;
      grid-template-columns: 1fr 1fr 2fr;
      gap: 65px;
    }

    .form_container {
      display: flex;
      flex: 1;
      min-width: 30%;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      span {
        font-family: "Open Sans";
        font-size: 32px;
        font-style: normal;
        font-weight: 600;
        line-height: 31px;
        text-align: center;
      }

      p {
        font-family: "Open Sans";
        font-style: normal;
        font-size: 24px;
        font-weight: 400;
        line-height: 31px;
      }
    }

    form {
      flex-direction: column;
      display: flex;
      width: 100%;
      gap: 10px;

      input,
      textarea {
        box-sizing: border-box;
        line-height: 40px;
        padding-left: 15px;
        font-size: 16px;

        border: 1.5px solid var(--text-color-light);
        border-radius: 6px;
        background: unset;
      }

      input::placeholder,
      textarea::placeholder {
        padding: 10px 0px;
        font-family: "Montserrat";
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;

        color: rgba(249, 239, 231, 0.6);
      }

      button {
        border: 1.5px solid var(--text-color-light);
      }

      textarea {
        min-height: 150px;
      }
    }

    ul {
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 25px;

      li {
        list-style: none;
        font-family: "Open Sans";
        font-size: 24px;
        font-style: normal;
        font-weight: 600;
        line-height: 30px;

        leading-trim: both;
        text-edge: cap;

        * {
          text-decoration: none;
        }
      }
    }

    ul.social {
      gap: 50px;

      h5 {
        margin-bottom: 5px !important;
      }
    }
  }

  .contractors {
    position: relative;
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0px 5% 100px;

    .item {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 20px;
      text-decoration: none;

      p.linned {
        text-decoration-line: underline;
        text-decoration-style: solid;
        text-underline-offset: 0px;
        text-decoration-thickness: 0px;
      }

      p {
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 400;
        font-size: 18px;
        line-height: 24px;

        leading-trim: both;
        text-edge: cap;

        color: #f9efe7;
      }
    }

    .float {
      position: absolute;
      bottom: 105%;
      right: 5%;
      left: 5%;
    }
  }
}

#scroll_to_top {
  position: fixed;
  bottom: 30px;
  right: 5%;
  z-index: 1000;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  background: unset;
  border: unset;
}

#scroll_to_top.show {
  opacity: 1;
  visibility: visible;
}

sidebar {
  background-color: var(--text-color-ultra-light);
  padding: 0px 30px;
  height: max-content;

  position: sticky;
  top: 30px;
  height: fit-content;

  h2 {
    font-family: "Open Sans";
    font-style: normal;
    font-size: 24px;
    font-weight: 600;
    line-height: 34px;

    color: var(--text-color);
  }

  ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;

    height: 500px;
    overflow-y: auto;

    li {
      list-style: none;
      display: flex;
      flex-direction: column;

      * {
        font-size: 20px;
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 400;
        line-height: 28px;
        color: var(--text-color);
        text-decoration: none;
      }

      span {
        font-size: 16px;
        line-height: 22px;
        color: rgba(41, 49, 55, 0.7);
      }
    }
  }
}

section {
  margin: 45px 0px;
  padding: var(--container_padding);

  .nav-container {
    display: flex;
    justify-content: center;

    margin-bottom: 30px;

    nav {
      * {
        font-size: 24px;
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 400;
        line-height: 25px;
        color: var(--text-color);

        * {
          text-decoration: none;
        }
      }

      a {
        color: rgba(41, 49, 55, 0.6);
      }
    }
  }
  ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    li {
      font-family: "Open Sans";
      font-size: 20px;
      font-style: normal;
      font-weight: 400;
      line-height: 24px;
      leading-trim: both;
      text-edge: cap;
    }
  }

  .title_container {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    h1 {
      font-family: "Montserrat";
      font-style: normal;
      font-size: var(--font_size_big);
      font-weight: 600;
      line-height: 65px;
      text-align: center;

      color: var(--text-color);
    }

    p {
      font-size: 24px;
      font-family: "Open Sans";
      font-style: normal;
      font-weight: 400;
      line-height: 25px;

      color: var(--text-color);
    }
  }

  --gap: 30px;

  .grid_container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: var(--gap);
  }

  .label_container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--gap);
  }

  form {
    label {
      display: grid;
      position: relative;
    }

    label:not(:has(select)),
    select {
      font-size: 20px;
      display: flex;
      background: var(--text-color);
      border-radius: 4px;
      color: var(--text-color-light);
      align-items: center;
      padding: 10px 15px;
      gap: 10px;
      color: var(--text-color-light);
      font-family: "Open Sans";
      font-style: normal;
      font-weight: 700;
      appearance: none;

      input {
        font-size: 20px;
        width: 100%;
        line-height: 30px;
        border: none;
        background: var(--text-color);
        color: var(--text-color-light);
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 700;
      }

      input:focus-visible {
        outline: unset;
      }

      input::placeholder {
        color: var(--text-color-ultra-light);
      }
    }
  }

  .news_container {
    display: flex;
    flex-direction: column;
    gap: var(--gap);

    article {
      background-color: var(--text-color-ultra-light);
      display: flex;
      flex-wrap: wrap;

      .thumbnail {
        background-size: cover !important;
        min-height: 330px;
        width: 400px;

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

      .content_container {
        padding: 30px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        span {
          font-size: 20px;
          font-family: "Open Sans";
          font-style: normal;
          font-weight: 400;
          line-height: 26px;

          color: rgba(41, 49, 55, 0.7);
        }

        h2 {
          font-family: "Open Sans";
          font-size: 26px;
          font-style: normal;
          font-weight: 400;
          line-height: 115%;

          color: var(--text-color);
        }

        p {
          font-size: 18px;
          font-family: "Open Sans";
          font-style: normal;
          font-weight: 400;
          line-height: 150%;

          color: var(--text-color);
        }

        .content {
          width: 100%;
        }

        div {
          width: max-content;
        }
      }
    }
  }

  nav.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    align-items: center;

    a,
    span {
      display: flex;
      text-decoration: none;

      font-family: "Open Sans";
      font-size: 22px;
      font-style: normal;
      font-weight: 400;
      line-height: 27px;
      text-align: center;
      padding: 10px 15px;
      border-radius: 6px;

      color: var(--text-color);
    }

    .current {
      background-color: var(--text-color);
      color: var(--text-color-ultra-light);
    }
  }
}

.categories {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;

  li {
    list-style: none;
    background-color: var(--orange-color);
    padding: 5px 20px;
    border-radius: 50%;

    background: var(--orange-color);
    border-radius: 14722.3px;

    font-family: "Open Sans";
    font-style: normal;
    font-size: 20px;
    font-weight: 400;
    line-height: 27px;

    color: var(--text-color);
  }
}

main.detail_card {
  display: flex;
  flex-direction: column;
  gap: 29px;

  .title {
    margin: 0;
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 46px;
    line-height: 53px;

    color: var(--text-color);
  }

  .preview_text {
    margin: 0;
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 20px;

    line-height: 33px;

    color: var(--text-color);
  }

  .author {
    display: flex;
    justify-content: space-between;

    .data_container {
      display: flex;
      flex-direction: column;

      .first_line {
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 400;
        font-size: 18px;

        line-height: 24px;

        color: var(--text-color);
      }

      .second_line {
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 400;
        font-size: 18px;

        line-height: 20px;

        color: rgba(41, 49, 55, 0.7);
      }
    }

    .author_container {
      display: flex;
      align-items: center;
      gap: 15px;

      .author_avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        flex: none;

        img {
          height: 100%;
          width: 100%;
          border-radius: 50%;
          object-fit: cover;
        }
      }
    }
  }

  .thumbnail {
    width: 100%;
    height: auto;
    margin-bottom: -20px;

    img {
      max-height: 512px;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

.icon_container {
  display: flex;
  gap: 15px;
  align-items: center;

  a {
    display: block;
    text-decoration: none;
  }
}

ul.social {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;

  li {
    list-style: none;
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 600;
    line-height: 30px;

    leading-trim: both;
    text-edge: cap;

    * {
      text-decoration: none;
    }
  }

  li.icon_container {
    .icon {
      width: var(--icon_size);
      height: var(--icon_size);
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .icon.light {
      background-color: var(--text-color-light);

      svg {
        fill: var(--text-color);

        * {
          fill: var(--text-color);
        }
      }
    }

    .contacts_container {
      display: flex;
      align-items: center;
      gap: 0px;
      flex-wrap: wrap;
    }

    a,
    p {
      text-decoration: none;
      margin: 0;
      font-family: "Open Sans";
      font-style: normal;
      font-weight: 600;
      font-size: 20px;
      /* line-height: 32px; */

      leading-trim: both;
      text-edge: cap;
    }

    h5 {
      margin: 0;
      font-family: "Open Sans";
      font-size: 24px;
      font-style: normal;
      font-weight: 400;
      /* line-height: 36px; */

      leading-trim: both;
      text-edge: cap;
    }
  }
}

.icon.dark {
  background-color: var(--text-color);

  svg {
    fill: var(--text-color-light);

    * {
      fill: var(--text-color-light);
    }
  }
}

.line_vertical_container {
  position: absolute;
  top: -35px;
  right: calc(100% + (var(--offset) / 2));
}

.contacts_container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  --offset: 50px;
  gap: var(--offset);

  .left_block {
    --gap: 25px;

    display: flex;
    flex-direction: column;
    gap: var(--gap);

    .title {
      background: var(--text-color);
      position: relative;

      h2 {
        font-family: "Open Sans";
        font-size: 40px;
        font-style: normal;
        font-weight: 600;
        line-height: 115%;

        color: #ffffff;
      }
    }

    .title::after {
      content: "";
      background: var(--text-color);
      height: 100%;
      width: 100vw;
      position: absolute;
      top: 0;
      right: 100%;
    }

    .icon_container {
      display: flex;
      gap: var(--gap);
    }
  }

  .right_block {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    position: relative;

    .title {
      font-family: "Open Sans";
      font-size: 32px;
      font-style: normal;
      font-weight: 400;

      line-height: 65px;

      leading-trim: both;
      text-edge: cap;

      color: #000000;
    }

    .social {
      padding: revert;
      gap: var(--gap);

      a,
      p {
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 400;
        line-height: 24px;

        color: #525252;
      }
    }
  }
}

.map_container {
  .title {
    display: flex;
    align-items: end;
    gap: 15%;

    h2 {
      font-family: "Montserrat";
      font-size: 40px;
      font-style: normal;
      font-weight: 500;
      line-height: 65px;

      color: var(--text-color);
    }
  }
}

.arrows_container {
  position: absolute;
  display: flex;
  gap: 10px;
  z-index: 1;
}

.main_swiper {
  width: 100%;
  /* height: 500px; */
  margin-top: 45px;
  position: relative;
  overflow: hidden;
  background-color: var(--text-color-light);

  .arrows_container {
    left: 5%;
    bottom: 10px;
  }

  .swiper-pagination-vertical {
    right: 5%;

    .swiper-pagination-bullet {
      background-color: #d29431;
      opacity: unset;
    }

    .swiper-pagination-bullet-active {
      background-color: #70472c;
      opacity: unset;
    }
  }

  .sswiper-slide {
    background: var(--text-color-ultra-light);
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 493px;

    .img_wrapper {
      overflow: hidden;
      position: relative;

      .img_container {
        position: absolute;
        top: -13px;
        right: 130px;
        height: 506px;
        /* top: 62%;
                left: 50%;
                height: 355px;
                transform: translate(-50%, -50%) rotate(-30deg) scale(2.5); */
      }
    }

    .info_container {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 3% 0% 6% 0;

      .info {
        display: flex;
        flex-direction: column;
        padding-right: 20%;
        gap: 15px;

        h4 {
          margin: 0;
          font-family: "Open Sans";
          font-style: normal;
          font-size: 24px;
          font-weight: 600;
          line-height: 25px;
          color: var(--text-color);
        }

        h2 {
          margin: 0;
          font-family: "Montserrat";
          font-style: normal;
          font-size: var(--font_size_big);
          font-weight: 500;
          line-height: 65px;

          color: var(--text-color);
        }

        p {
          margin: 0;
          font-family: "Open Sans";
          font-size: 20px;
          font-style: normal;
          font-weight: 400;
          line-height: 25px;
          color: var(--text-color);
        }
      }

      @media (max-width: 1510px) {
        .info {
          padding-right: 10%;
        }
      }

      .button_container {
        display: flex;
        width: 100%;
        justify-content: start;

        button {
          width: max-content;
        }
      }
    }
  }
}

section.front_page {
  .about_us_block {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    grid-auto-rows: max-content;

    .info_wrapper {
      position: relative;
      height: max-content;
      justify-content: center;
      padding: 0 20%;
      display: flex;
      gap: 10px;
      flex-direction: column;

      h3 {
        font-family: "Montserrat";
        font-size: var(--font_size_big);
        font-style: normal;
        font-weight: 500;
        line-height: 1.2;
        margin: 0;

        leading-trim: both;
        text-edge: cap;

        color: var(--text-color);
      }

      p {
        font-size: 20px;
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 400;
        font-size: 20px;
        line-height: 130%;

        color: var(--text-color);
      }
    }

    .img_wrapper {
      display: flex;
      align-items: center;
      margin-top: 70px;

      .img_container {
        height: 356px;
        border-radius: 8px;
        width: 100%;
        overflow: hidden;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: 0 90%;
        }
      }
    }

    .svg_container {
      position: absolute;
      bottom: -32px;
      width: 501px;
      left: 0;
    }
  }

  .our_companies_mobile {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 30px;

    h2 {
      font-family: "Montserrat";
      font-size: var(--font_size_big);
      font-style: normal;
      font-weight: 500;
      line-height: 96px;
      leading-trim: both;
      text-edge: cap;
      color: var(--text-color);
    }

    .thumbnail {
      position: relative;
      border-radius: 15px;
      overflow: hidden;
      background-size: cover !important;
      width: 300px;
      height: 200px;

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

      .svg_title {
        width: 50%;
        position: absolute;
        top: 10px;
        left: 10px;

        svg {
          width: 100%;
        }
      }
    }

    .item {
      display: flex;
      flex-wrap: wrap;

      .content {
        padding: 20px;
        flex: 1;

        svg {
          path {
            fill: var(--text-color);
          }
        }

        a {
          text-wrap: wrap;
          font-size: 35px;
          text-decoration: none;
          font-family: "Open Sans";
          font-style: normal;
          font-weight: 600;
          line-height: 53px;
          color: var(--text-color);
        }

        p {
          font-family: "Open Sans";
          font-style: normal;
          font-weight: 400;
          font-size: 20px;
          line-height: 130%;
          color: var(--text-color);
        }
      }
    }
  }

  .our_companies {
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    gap: 0;

    h2 {
      font-size: var(--font_size_big);
      font-family: "Montserrat";
      font-style: normal;
      font-weight: 500;

      line-height: 96px;

      leading-trim: both;
      text-edge: cap;

      color: var(--text-color);
    }

    .row {
      margin-top: -10px;
      position: relative;
    }

    .svg_title {
      position: absolute;
      top: 20px;
      left: 40px;

      z-index: 1;
    }

    .item {
      position: relative;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
      }

      h3 {
        font-size: 35px;
        position: absolute;
        z-index: 2;
        top: 0;
        left: 40px;

        font-family: "Open Sans";
        font-style: normal;
        font-weight: 700;
        line-height: 53px;

        color: #ffffff;
      }

      a {
        text-wrap: nowrap;
        font-size: 35px;
        position: absolute;
        left: 0;
        top: 100%;
        text-decoration: none;

        font-family: "Open Sans";
        font-style: normal;
        font-weight: 600;
        line-height: 53px;
        z-index: 100;

        color: var(--text-color);

        svg {
          path {
            fill: var(--text-color);
          }
        }
      }

      .svg_container {
        position: absolute;
        bottom: 10px;
        left: 10px;
        cursor: pointer;
        transition: transform 0.3s ease;
      }

      .svg_container.rotated {
        transform: rotate(135deg);
      }

      .popup {
        position: absolute;
        display: flex;
        flex-wrap: wrap;
        background-color: var(--text-color-light);
        width: 450px;
        bottom: 130px;
        left: 130px;

        border-radius: 20px;
        padding: 20px;

        font-family: "Open Sans";
        font-style: normal;
        font-weight: 400;
        line-height: 48px;
        z-index: 150;

        color: var(--text-color);

        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        pointer-events: none;
        font-size: 32px;
      }

      .popup.show {
        opacity: 1;
        visibility: visible;
      }

      .popup::after {
        content: "";
        position: absolute;
        bottom: -20px;
        left: -20px;
        width: 100px;
        height: 100px;
        background-color: var(--text-color-light);
        z-index: -1;
        clip-path: polygon(0% 100%, 50% 0%, 100% 50%, 0% 100%);
      }
    }

    .item::before {
      content: "";
      position: absolute;
      border-radius: 15px;
      top: 0;
      left: 0;
      width: 100%;
      height: 150px;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 40px, transparent);
      pointer-events: none;
      z-index: 1;
    }

    .row_1 {
      display: grid;
      grid-template-columns: 2fr 3fr;
      gap: 70px;

      .item:first-of-type {
        height: max-content;

        img {
          aspect-ratio: 1/1;
          height: auto;
        }
      }

      .item:last-of-type {
        max-height: 70%;

        img {
          aspect-ratio: 2 / 1;
        }
      }
    }

    .row_1::after {
      content: "";
      background-color: var(--orange-color);
      width: 100vw;
      height: 150px;
      top: 88%;
      right: 74%;
      position: absolute;
      z-index: -1;
    }

    .row_2 {
      display: grid;
      grid-template-columns: 4fr 3fr;

      .item {
        height: 350px;
      }

      .item::after {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        top: -25px;
        left: -25px;
        border-radius: 15px;
        z-index: -1;
        background-color: var(--text-color);
      }
    }

    .row_3 {
      display: grid;
      margin-top: 100px;
      gap: 30px;
      grid-template-columns: 9fr 7fr 13fr;

      .item:first-of-type {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
      }

      .item:first-of-type::after {
        position: absolute;
        content: "";
        background-color: rgba(0, 0, 0, 0.1);
        width: 100%;
        height: 40%;
        top: 0;
        transform: translate(0, -50%);
        left: 40%;
        border-radius: 5px;
        z-index: -1;
      }

      .item:nth-of-type(2) {
        height: 70%;
      }
    }

    .row_4 {
      display: grid;
      margin-top: 100px;
      gap: 60px;
      grid-template-columns: 9fr 20fr;
      margin-bottom: 65px;

      .item {
        height: 420px;
      }
    }

    .row_4::after {
      content: "";
      background-color: var(--orange-color);
      width: 100vw;
      transform: translateY(-50%);
      height: 150px;
      top: 0;
      left: 75%;
      position: absolute;
      z-index: -1;
    }
  }
}

.latests_news_container {
  position: relative;

  .latests_news {
    width: 100%;
    position: relative;
    overflow: hidden;

    h2 {
      margin: 0;
      font-size: var(--font_size_big);
      font-family: "Montserrat";
      font-style: normal;
      font-weight: 500;
      line-height: 96px;

      leading-trim: both;
      text-edge: cap;

      color: var(--text-color);
    }

    .arrows_container {
      margin-top: 50px;

      right: 0;
      top: 0;
    }

    .swiper-pagination {
      left: 0;
      bottom: 0;
      width: max-content;

      .swiper-pagination-bullet {
        background-color: #d29431;
        opacity: unset;
      }

      .swiper-pagination-bullet-active {
        background-color: #70472c;
        opacity: unset;
      }
    }

    .button_container {
      margin-top: 50px;
      display: flex;
      width: 100%;
      justify-content: end;

      button {
        width: max-content;
      }
    }

    .swiper-slide {
      display: flex;
      flex-direction: column;
      background-color: var(--text-color-ultra-light);

      .thumbnail {
        min-height: 250px;
        background-size: cover !important;

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

      .info {
        overflow: hidden;
        height: 300px;
        padding: 25px;
        display: flex;
        gap: 10px;
        flex-direction: column;

        span {
          font-size: 18px;
          margin: 0;
          font-family: "Open Sans";
          font-style: normal;
          font-weight: 400;
          font-size: 18px;
          line-height: 25px;

          color: var(--text-color);
        }

        a {
          text-decoration: none;
          font-size: 28px;
          margin: 0;
          font-family: "Open Sans";
          font-style: normal;
          font-weight: 400;
          font-size: 28px;
          line-height: 30px;

          color: var(--text-color);
        }

        p {
          font-size: 20px;
          font-family: "Open Sans";
          font-style: normal;
          font-weight: 400;
          font-size: 20px;
          line-height: 25px;

          color: var(--text-color);
        }
      }
    }
  }
}

.latests_news_container::after {
  position: absolute;
  content: "";
  background-color: rgba(0, 0, 0, 0.1);
  width: 450px;
  height: 150px;
  bottom: 7%;
  left: 2.5%;
  border-radius: 5px;
  z-index: -1;
  max-width: 90vw;
}

.main_banner {
  width: 100%;
  height: 500px;
  margin-top: 45px;
  position: relative;
  overflow: hidden;
  background: var(--text-color-ultra-light);

  background-size: cover !important;
  background-position: center;

  display: grid;
  grid-template-columns: 4fr 2fr;

  .info_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;

    .info {
      width: 70%;

      .row_1 {
        display: grid;
        grid-template-columns: 3fr 2fr;
      }

      .row_2 {
        display: grid;
        grid-template-columns: 3fr 3fr;
      }

      span {
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 600;
        font-size: 20px;
        line-height: 25px;

        color: var(--text-color);
      }

      h2 {
        margin: 0;
        font-family: "Montserrat";
        font-style: normal;
        font-weight: 700;
        font-size: var(--font-size_s_big);
        line-height: 110%;

        color: var(--text-color);
      }

      h1 {
        margin: 0;
        font-family: "Montserrat";
        font-style: normal;
        font-weight: 700;
        font-size: var(--font-size_s_big);
        line-height: 110%;

        color: var(--text-color);
      }
    }

    .button_container {
      position: absolute;
      right: 0;
      bottom: 15%;
      z-index: 1;

      .button {
        border-radius: 0;
        padding: 20px 26px;
      }
    }

    .float_text {
      position: absolute;
      right: -25% !important;
      top: 15%;
      z-index: 1;

      span {
        font-family: "Open Sans";
        font-style: normal;
        font-weight: 800;
        font-size: 20px;
        line-height: 25px;

        color: var(--text-color-light);
      }

      span::after {
        content: "";
        bottom: -20%;
        right: 0;
        position: absolute;
        width: 150%;
        height: 1px;
        background-color: var(--text-color-light);
      }
    }
  }

  .thumbnail_container {
    position: relative;

    .thumbnail {
      position: absolute;
      width: 100%;
      height: 100%;
      transform: rotate(235deg);
      width: 100%;
      height: 654px;
      right: 70px;
      bottom: -90px;

      img {
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }
  }
}

.main_banner.alternative_1 {
  span,
  h2 {
    color: var(--text-color-light) !important;
  }

  .button_container {
    right: -25% !important;

    .button {
      color: var(--text-color);
      background-color: var(--text-color-light);

      svg path {
        fill: var(--text-color);
      }
    }
  }
}

.infoblock_1 {
  padding-left: 10%;

  h3 {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 25px;

    align-items: center;

    color: var(--text-color);
  }

  h2 {
    margin: 0;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-size: var(--font_size_big);
    line-height: 110%;

    color: var(--text-color);
  }

  p {
    margin: 0;
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;

    color: var(--text-color);
  }

  .top {
    padding-right: 25%;
    position: relative;

    .info_container {
      display: grid;
      grid-template-columns: 2fr 1fr;
      align-items: end;
    }

    .info_container > :first-child {
      justify-self: start;
    }

    .info_container > :last-child {
      justify-self: end;
    }

    span {
      top: 15%;
      right: 0;
      position: absolute;

      font-family: "Open Sans";
      font-style: normal;
      font-weight: 600;
      font-size: 100px;
      line-height: 25px;

      color: rgba(41, 49, 55, 0.04);
    }
  }

  .bottom {
    display: grid;
    margin-top: 45px;
    margin-right: 7.4%;
    grid-template-columns: 1fr 1fr;
  }
}

.infoblock_1[data-special="true"] {
  padding-left: 0;
}

.infoblock_2 {
  --offset: 50px;

  padding: 30px 15%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #eee5de;

  h4 {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 110%;

    color: var(--text-color);
  }

  h2 {
    margin: 0;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 110%;

    color: #000000;
  }

  .social_container {
    padding: 100px 0 50px;
    position: relative;

    .line_vertical_container {
      top: 50%;
      transform: translateY(-50%);

      svg {
        height: 280px;
      }
    }

    .social {
      position: relative;
      padding-right: 100px;
      --icon_size: 64px;

      gap: 55px;

      h5 {
        font-weight: 400;
        font-size: 24px;
        line-height: 28px;

        color: #171717;
      }

      a,
      p {
        font-size: 20px;
        line-height: 24px;
        color: #525252;
      }
    }

    .float {
      display: flex;
      gap: 10px;
      width: 100px;
      position: absolute;
      bottom: 0;
      right: 0;

      svg {
        width: 30px;
        height: 30px;
      }
    }
  }
}

.time_slider_block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #eee5de;
  gap: 100px;

  --padding: 40px;

  .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 40px;

    padding: var(--padding);

    h2 {
      font-family: "Montserrat";
      font-style: normal;
      font-weight: 500;
      font-size: 40px;
      line-height: 110%;

      color: var(--text-color);
    }

    h3 {
      font-family: "Open Sans";
      font-style: normal;
      font-weight: 600;
      font-size: 18px;
      line-height: 28px;

      color: var(--text-color);
    }
  }

  .left_block {
    align-items: start;
    padding: calc(var(--padding) + 10px) 0px;
    justify-self: center;
    min-width: 0;
    height: 60%;
    position: relative;
  }

  .swiper {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
  }

  .slide_container {
    width: 75%;
    background: #eee5de;
    display: flex;
    align-items: start;
    flex-direction: column;

    h4 {
      margin: 0;
      font-family: "Open Sans";
      font-style: normal;
      font-weight: 600;
      font-size: 20px;
      line-height: 28px;
      color: #b49769;
    }

    p {
      font-family: "Open Sans";
      font-style: normal;
      font-weight: 400;
      font-size: 18.5px;
      line-height: 28px;

      color: var(--text-color);
    }
  }

  .arrows_container {
    left: 0;
    top: 100%;
  }

  .slide-indicator {
    position: absolute;
    top: 100%;
    right: 15%;

    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 28px;

    color: var(--text-color);

    z-index: 2;
  }

  .date-display {
    display: flex;
    gap: 10px;

    overflow: hidden;
    width: 700px;
    height: 300px;

    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 305px;
    line-height: 300px;

    color: var(--text-color);
    position: relative;
  }

  /* каждый разряд */

  .digit-wrapper {
    overflow: hidden;
    position: relative;
    width: calc((700px - (var(--digits-count) - 1) * 10px) / var(--digits-count));
    height: 300px;
    flex: none;
  }

  /* «бегунок» цифр */

  .digit-roller {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s ease-out;
  }

  /* каждая цифра */

  .digit-roller span {
    height: 300px;
    line-height: 300px;
    text-align: center;
    flex-shrink: 0;
  }
}

.special_float_block {
  width: 380px;
  height: 122px;
  position: absolute;
  background: #e9cb9b;
  border-radius: 5px;
  top: 135px;
  left: -20px;
}

@media (max-width: 1000px) {
  .special_float_block {
    display: none;
  }
}

.products_slider_container {
  position: relative;

  .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;

    .info_container {
      padding: 35px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .info_bottom {
        display: flex;
        justify-content: space-between;
        align-items: end;
      }
    }

    .swiper-wrapper {
      /* margin-left: calc(-50% + 15px);
            margin-right: 0; */
    }

    .slider_container {
      position: relative;
      min-width: 0;
    }

    .swiper-slide {
      aspect-ratio: 1/1;

      .info_top {
        display: none;
      }

      .info_container {
        position: absolute;
        width: 100%;
        bottom: 0;
        left: 0;
        padding: 0;
        z-index: 3;

        .info_bottom {
          padding: 15px;
          align-items: center;
        }
      }

      .img_container {
        width: 100%;
        height: 100%;
      }
    }

    .swiper-slide::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 25%;
      background: linear-gradient(to top, rgba(233, 203, 155, 1) 50%, transparent 100%);
      pointer-events: none;
      z-index: 2;
    }

    .swiper-slide.last_slide::before {
      content: unset;
    }
  }

  .img_container {
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 1;
      transition: opacity 0.3s ease-in-out;
    }

    .invisible {
      opacity: 0;
    }
  }

  h3 {
    margin: 0;
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    leading-trim: both;
    text-edge: cap;

    color: #525252;
  }

  h2 {
    margin: 0;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-size: var(--font_size_big);
    line-height: 110%;

    leading-trim: both;
    text-edge: cap;

    color: var(--text-color);
  }

  h4 {
    margin: 0;
    margin-bottom: 25px;
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 28px;

    color: var(--text-color);
  }

  span {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;

    color: var(--text-color);
  }

  p {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;

    color: var(--text-color);
  }

  h5 {
    margin: 0;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;

    color: var(--text-color);
  }

  .fixed-slide {
    height: 550px;
    display: grid;
    grid-template-columns: 393fr 432fr;
    background-color: #e9cb9b;

    .info_container {
      background-color: #e9cb9b;
    }
  }

  /*
        .swiper-slide.swiper-slide-hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            width: 0px !important;
            margin: 0 !important;
        } */

  .arrows_container {
    bottom: 0;
    width: 100%;
    justify-content: space-between;

    .button {
      background-color: unset;
      border: 2px solid var(--text-color);
      border-radius: 5px;
      padding: 14px 26px;

      font-family: "Open Sans";
      font-style: normal;
      font-weight: 600;
      font-size: 20px;
      line-height: 28px;

      color: var(--text-color);
    }

    .buttons {
      display: flex;
      gap: 10px;
    }
  }
}

.products_slider_container[data-special-color="true"] {
  .fixed-slide .info_container {
    background-color: rgba(41, 49, 55, 1);
  }
}

.products_slider_container[data-linear_gradient="false"] {
  .swiper-slide::before {
    content: unset;
  }
}

.products_slider_container[data-linear_gradient="black"] {
  .swiper-slide::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  }
}

.products_slider_container[data-linear_gradient="white"] {
  .swiper-slide::before {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.7) 50%, transparent 100%);
  }
}

.products_slider_container[data-text_color="white"] {
  h5 {
    color: var(--text-color-light);
  }

  .fixed-slide h5 {
    color: var(--text-color);
  }

  .info_bottom svg {
    path {
      fill: var(--text-color-light);
    }

    circle {
      stroke: var(--text-color-light) !important;
    }
  }

  .fixed-slide .info_bottom svg {
    path {
      fill: revert-layer;
    }

    circle {
      stroke: revert-layer !important;
    }
  }
}

.products_slider_container[data-reverse="true"] .container:last-of-type {
  > :first-child {
    grid-column: 2;
    grid-row: 1;
  }

  > :last-child {
    grid-column: 1;
    grid-row: 1;
  }

  .swiper-wrapper {
    margin-left: 0;
    margin-right: calc(-50% + 15px);
  }

  .products_slider {
    direction: rtl;

    .info_container {
      direction: ltr;
    }
  }
}

.products_slider_container[data-reverse_vertical="true"] .arrows_container {
  bottom: unset;
  top: 0;
}

.products_slider_container[data-type="dark"] .fixed-slide {
  background-color: var(--text-color);

  * {
    color: var(--text-color-light);
  }
}

.products_slider_container_2 {
  position: relative;

  .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;

    .info_container {
      padding: 35px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .info_bottom {
        display: flex;
        justify-content: space-between;
        align-items: end;
      }
    }

    .swiper-wrapper {
      /* margin-left: calc(-50% + 15px);
            margin-right: 0; */
    }

    .slider_container {
      position: relative;
      min-width: 0;
    }

    .swiper-slide {
      aspect-ratio: 1/1;

      .info_top {
        display: none;
      }

      .info_container {
        position: absolute;
        width: 100%;
        bottom: 0;
        left: 0;
        padding: 0;
        z-index: 3;

        .info_bottom {
          padding: 15px;
          align-items: center;
        }
      }

      .img_container {
        width: 100%;
        height: 100%;
      }
    }

    .swiper-slide::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 25%;
      background: linear-gradient(to top, rgba(233, 203, 155, 1) 50%, transparent 100%);
      pointer-events: none;
      z-index: 2;
    }

    .swiper-slide.last_slide::before {
      content: unset;
    }
  }

  .img_container {
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 1;
      transition: opacity 0.3s ease-in-out;
    }

    .invisible {
      opacity: 0;
    }
  }

  h3 {
    margin: 0;
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    leading-trim: both;
    text-edge: cap;

    color: #525252;
  }

  h2 {
    margin: 0;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-size: var(--font_size_big);
    line-height: 110%;

    leading-trim: both;
    text-edge: cap;

    color: var(--text-color);
  }

  h4 {
    margin: 0;
    margin-bottom: 25px;
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 28px;

    color: var(--text-color);
  }

  span {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;

    color: var(--text-color);
  }

  p {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;

    color: var(--text-color);
  }

  h5 {
    margin: 0;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;

    color: var(--text-color);
  }

  .fixed-slide {
    height: 650px;
    display: grid;
    grid-template-columns: 393fr 432fr;
    background-color: #e9cb9b;

    .info_container {
      background-color: #e9cb9b;
    }
  }

  /*
        .swiper-slide.swiper-slide-hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            width: 0px !important;
            margin: 0 !important;
        } */

  .arrows_container {
    bottom: 0;
    width: 100%;
    justify-content: space-between;

    .button {
      background-color: unset;
      border: 2px solid var(--text-color);
      border-radius: 5px;
      padding: 14px 26px;

      font-family: "Open Sans";
      font-style: normal;
      font-weight: 600;
      font-size: 20px;
      line-height: 28px;

      color: var(--text-color);
    }

    .buttons {
      display: flex;
      gap: 10px;
    }
  }
}

.products_slider_container_2[data-special-color="true"] {
  .fixed-slide .info_container {
    background-color: rgba(41, 49, 55, 1);
  }
}

.products_slider_container_2[data-linear_gradient="false"] {
  .swiper-slide::before {
    content: unset;
  }
}

.products_slider_container_2[data-linear_gradient="black"] {
  .swiper-slide::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  }
}

.products_slider_container_2[data-linear_gradient="white"] {
  .swiper-slide::before {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.7) 50%, transparent 100%);
  }
}

.products_slider_container_2[data-text_color="white"] {
  h5 {
    color: var(--text-color-light);
  }

  .fixed-slide h5 {
    color: var(--text-color);
  }

  .info_bottom svg {
    path {
      fill: var(--text-color-light);
    }

    circle {
      stroke: var(--text-color-light) !important;
    }
  }

  .fixed-slide .info_bottom svg {
    path {
      fill: revert-layer;
    }

    circle {
      stroke: revert-layer !important;
    }
  }
}

.products_slider_container_2[data-reverse="true"] .container:last-of-type {
  > :first-child {
    grid-column: 2;
    grid-row: 1;
  }

  > :last-child {
    grid-column: 1;
    grid-row: 1;
  }

  .swiper-wrapper {
    margin-left: 0;
    margin-right: calc(-50% + 15px);
  }

  .products_slider {
    direction: rtl;

    .info_container {
      direction: ltr;
    }
  }
}

.products_slider_container_2[data-reverse_vertical="true"] .arrows_container {
  bottom: unset;
  top: 0;
}

.products_slider_container_2[data-type="dark"] .fixed-slide {
  background-color: var(--text-color);

  * {
    color: var(--text-color-light);
  }
}

.post-content {
  * {
    font-family: "Open Sans";
    font-style: normal;

    color: var(--text-color);
  }

  h1,
  h2,
  h3,
  h4,
  h5 {
    font-weight: 400;
  }

  blockquote {
    position: relative;
    padding-left: 20px;
    margin: 1em 0;
  }

  blockquote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--text-color);
  }

  a {
    color: #3dacff;
    text-decoration: none;
  }

  img {
    max-height: 512px;
  }
}

@media (max-width: 1000px) {
  .date-display {
    transform: scale(0.8);
  }

  .time_slider_block .left_block {
    h3,
    .time_slider {
      padding-left: 30px !important;
    }

    .slide_container {
      width: 100%;
    }
  }

  .products_slider_mobile {
    gap: 0px !important;
    grid-template-columns: 1fr !important;
  }

  :root {
    --font-size_s_big: 50px;
  }

  .infoblock_2 .social_container .social {
    padding-right: 0;
  }

  .main_banner {
    .info_container {
      .button_container {
        right: 10px !important;
        bottom: 10px !important;
      }
    }
  }

  .products_slider_container .arrows_container {
    bottom: -75px;
    top: unset;
  }

  .products_slider_container[data-reverse_vertical="true"] .arrows_container {
    bottom: unset;
    top: -75px;
  }
  .products_slider_container_2 .arrows_container {
    bottom: -75px;
    top: unset;
  }

  .products_slider_container_2[data-reverse_vertical="true"] .arrows_container {
    bottom: unset;
    top: -75px;
  }

  .time_slider_block,
  .contacts_container,
  .main_banner,
  .infoblock_1 .top,
  .main_banner .info_container .info .row_1,
  .main_banner .info_container .info .row_2,
  .infoblock_1 .top .info_container,
  .infoblock_1 .bottom {
    grid-template-columns: 1fr !important;
  }

  .info_container {
    padding: var(--container_padding) !important;

    .button_container {
      margin-top: 20px;
    }
  }

  .info {
    padding-right: 0 !important;
  }

  .main_swiper .sswiper-slide {
    padding: 20px 0;
    height: auto !important;
  }

  section.front_page .about_us_block .svg_container {
    display: none;
  }

  section.front_page .about_us_block .img_wrapper {
    margin-top: 0;
  }

  section.front_page .about_us_block {
    margin-bottom: 30px;
  }

  section.front_page .our_companies_mobile .item .content {
    padding: 20px 0;
  }

  section {
    .label_container {
      grid-template-columns: auto;
    }
  }

  section {
    .news_container {
      article {
        .thumbnail {
          min-height: unset;
          width: auto;
        }
      }
    }
  }

  .main_swiper {
    .swiper-slide {
      .img_wrapper {
        display: none;
      }
    }
  }

  footer {
    .main_container {
      flex-wrap: wrap;

      .grid_container {
        grid-template-columns: auto;
      }
    }
  }

  .date-display {
    width: 550px !important;
    height: 300px !important;

    font-size: 200px !important;
    line-height: 300px !important;
  }

  /* каждый разряд */
  .digit-wrapper {
    width: calc((550px - (var(--digits-count) - 1) * 10px) / var(--digits-count)) !important;
    height: 300px !important;
  }

  .time_slider_block {
    --padding: 0px;

    .left_block {
      padding: 0;
      height: 100%;
    }

    .slide-indicator {
      top: 115%;
    }

    .arrows_container {
      top: 115%;
    }
  }
}

@media (max-width: 768px) {
  .sswiper-slide {
    display: block !important;
  }

  .date-display {
    transform: scale(0.5);
  }

  :root {
    --font_size_big: 40px;

    * {
      line-height: normal !important;
    }
  }

  .infoblock_2,
  .grid_container,
  section.front_page .about_us_block {
    grid-template-columns: 1fr !important;
  }
}

footer .main_container:has(form) {
  align-items: end;
}

.svg_line {
  margin-bottom: 50px;
}

@media (max-width: 1001px) {
  .products_slider_container {
    .swiper {
      display: initial !important;
      height: 1px;
      position: absolute;
      transform: translateX(100%);
    }
  }
  .products_slider_container_2 {
    .swiper {
      display: initial !important;
      height: 1px;
      position: absolute;
      transform: translateX(100%);
    }
  }
}

@media (max-width: 500px) {
  .margin_top_100 {
    margin-top: 20px;
  }

  .margin_top_150 {
    margin-top: 50px;
  }

  .margin_top_200 {
    margin-top: 75px;
  }

  .margin_top_84 {
    margin-top: 30px;
  }

  .infoblock_2 {
    padding: 30px 5%;

    .social_container {
      .social {
        --icon_size: 40px;
        gap: 25px;

        a,
        p {
          font-size: 16px;
        }
      }

      padding: 0;
    }

    .float {
      position: relative !important;
    }
  }

  .products_slider_container {
    .arrows_container {
      position: relative;
      flex-direction: column-reverse;
      bottom: -40px;
    }

    .fixed-slide {
      height: auto;
      display: grid;
      grid-template-rows: 1fr 0.5fr;
      grid-template-columns: none;
    }
  }

  .products_slider_container[data-reverse="true"] .container:last-of-type {
    > :last-child {
      grid-column: auto;
      grid-row: none;

      a {
        width: max-content;
      }

      .arrows_container {
        bottom: -20px;
      }
    }
  }

  .products_slider_container[data-reverse_vertical="true"] .arrows_container {
    top: 15px;
  }

  .products_slider_container_2 {
    .arrows_container {
      position: relative;
      flex-direction: column-reverse;
      bottom: -40px;
    }

    .fixed-slide {
      height: auto;
      display: grid;

      grid-template-columns: none;
    }
  }

  .products_slider_container_2[data-reverse="true"] .container:last-of-type {
    > :last-child {
      grid-column: auto;
      grid-row: none;

      a {
        width: max-content;
      }

      .arrows_container {
        bottom: -20px;
      }
    }
  }

  .products_slider_container_2[data-reverse_vertical="true"] .arrows_container {
    top: 15px;
  }

  .latests_news_container {
    &::after {
      display: none;
    }

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

    .svg_line {
      display: none;
      margin-bottom: 0px;
    }

    .latests_news {
      h2 {
        margin-bottom: 20px;
        font-size: 30px;
      }

      .arrows_container {
        position: relative;
        margin: 0;
        justify-content: end;

        svg {
          width: 30px;
        }
      }

      .swiper-slide {
        .info {
          a {
            font-size: 18px;
          }

          p {
            font-size: 15px;
          }
        }
      }

      .info {
        padding: 20px !important;

        span {
          font-size: 14px !important;
        }

        p {
          margin: 0;
        }
      }
    }

    .button_container {
      margin-top: 10px !important;
      order: 2;

      .button {
        flex-grow: 1;
      }
    }

    .arrows_container {
      justify-content: center !important;
      gap: 50px;
      order: 1;
    }
  }

  .main_banner {
    height: max-content;
    padding: 20px 0;

    .info_container {
      .info {
        width: 100%;
      }

      .button_container {
        position: initial;
      }
    }
  }

  .infoblock_1 {
    padding: 0;

    h3 {
      margin: 0px 0px 15px 0px;
    }

    h2 {
      font-size: 20px;
    }

    .top {
      padding: 0;

      span {
        display: none;
      }
    }

    .bottom {
      margin: 10px 0 0;

      p {
        font-size: 16px;
      }
    }
  }

  section.front_page {
    .about_us_block {
      .info_wrapper {
        padding: 0;
      }

      .img_wrapper {
        .img_container {
          height: 240px;

          img {
            object-position: center;
          }
        }
      }
    }

    .our_companies_mobile {
      gap: 10px;

      h2 {
        font-size: 30px;
        margin-bottom: 30px;
      }

      .thumbnail {
        width: 100%;
      }

      .item {
        width: 100%;

        .content {
          a {
            font-size: 25px;
            line-height: 1.2;

            svg {
              display: none;
            }
          }

          p {
            font-size: 15px;
          }
        }
      }
    }
  }

  footer {
    .main_container {
      form {
        input,
        textarea {
          line-height: 40px !important;
        }
      }
    }
  }

  sidebar {
    display: none;
  }

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

    h1 {
      margin-bottom: 15px;
    }

    .title_container {
      margin-bottom: 20px;
    }

    .contacts_container {
      --offset: 20px;
    }

    .map_container {
      iframe {
        aspect-ratio: 1 / 1 !important;
      }

      .title {
        gap: 0;
        margin-bottom: 10px;
      }
    }
  }

  main.detail_card {
    .title {
      font-size: 30px;
    }
  }
}

@media screen and (max-width: 768px) {
  #left_menu {
    width: 80vw;
  }
  [state="shown"] #left_menu {
    max-width: 80vw;
  }
  .header_menu__contacts--container ~ div {
    width: 40% !important;
  }
  section {
    .title_container {
      margin-top: 20px !important;
      margin-bottom: 20px !important;

      p {
        font-size: 18px;
        text-align: center;
      }
    }
  }

  section {
    & form {
      label {
        svg {
          right: 10px !important;
          width: 12px;
        }
      }
    }
  }

  .contacts_container {
    & .left_block {
      & .title {
        h2 {
          font-size: 28px;
          text-align: center;
        }
      }
    }

    & .right_block {
      .line_vertical_container {
        display: none;
      }

      .title {
        font-size: 22px;
      }

      .social {
        gap: 20px;
        margin: 0;
        padding: 0;

        li {
          font-size: 16px;
        }

        .icon {
          width: 36px !important;
          height: 36px !important;
        }

        h5 {
          font-size: 16px !important;
        }

        a,
        p {
          font-size: 14px;
        }
      }
    }
  }

  .map_container {
    & .title {
      h2 {
        font-size: 22px;
      }
    }
  }

  .contacts_section,
  .main_swiper {
    margin-top: 0;
  }

  section:has(.nav-container) {
    margin-top: 0;
  }

  section {
    & .nav-container {
      & nav {
        a,
        span {
          font-size: 14px;
        }
      }
    }
  }

  section {
    & .news_container {
      & article {
        & .content_container {
          padding: 20px 16px;

          span {
            font-size: 14px;
          }

          h2 {
            font-size: 20px;
          }

          p {
            font-size: 16px;
          }
        }
      }
    }
  }

  footer {
    .main_container {
      p {
        font-size: 16px;
      }

      h4 {
        font-size: 18px;
      }

      h5 {
        font-size: 16px !important;
      }

      .social a,
      .social p {
        font-size: 14px !important;
      }

      ul li {
        font-size: 16px;
      }

      ul.social {
        gap: 20px;
      }

      .grid_container {
        gap: 10px;
      }

      .icon {
        width: 36px !important;
        height: 36px !important;
      }

      .form_container p {
        font-size: 16px;
        text-align: center;
      }
    }
  }

  main.detail_card .author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    & > .data_container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-direction: row;
      gap: 10px;
      width: 100%;
    }
  }
  .time_slider_block,
  .contacts_container,
  .main_banner,
  .infoblock_1 .top,
  .main_banner .info_container .info .row_1,
  .main_banner .info_container .info .row_2,
  .infoblock_1 .top .info_container,
  .infoblock_1 .bottom {
    padding: 0 !important;
  }

  .products_slider_container .img_container {
    max-height: 200px;
  }
  .products_slider_container_2 .img_container {
    max-height: 200px;
  }

  .main_swiper {
    & .sswiper-slide {
      & .info_container {
        & .info {
          h2 {
            font-size: 28px;
          }

          p {
            font-size: 18px;
          }
        }
      }
    }
  }

  section.front_page {
    & .about_us_block {
      & .info_wrapper {
        h3 {
          font-size: 28px;
        }

        p {
          font-size: 18px;
        }
      }
    }
  }

  section.front_page {
    & .our_companies_mobile {
      & .item {
        & .content {
          a {
            font-size: 18px;
            line-height: 1.2;
          }

          p {
            font-size: 14px;
          }
        }
      }
    }
  }

  footer {
    .contractors {
      padding-bottom: 34px;
    }
  }

  footer {
    & .main_container {
      & .form_container {
        span {
          font-size: 22px;
        }
      }
    }
  }

  footer {
    & .main_container {
      & .form_container {
        margin-top: 40px;
      }
    }
  }

  section {
    .label_container {
      gap: 10px;
    }
  }

  section {
    & .news_container {
      gap: 12px;
    }
  }

  .main_banner {
    .info_container {
      padding: 20px 5% !important;
    }
  }

  .main_banner {
    & .info_container {
      & .button_container {
        .button {
          padding: 12px;
          font-size: 16px;

          svg {
            display: flex;
            width: 14px;
            height: 14px;
          }
        }
      }
    }
  }

  .main_banner {
    & .info_container {
      & .info {
        h2 {
          font-size: 38px;
        }
        h1 {
          font-size: 38px;
        }
        span {
          font-size: 16px;
        }
      }
      & .button_container {
        width: 100%;
      }
    }
  }

  .time_slider_block,
  .contacts_container,
  .main_banner,
  .infoblock_1 .top,
  .main_banner .info_container .info .row_1,
  .main_banner .info_container .info .row_2,
  .infoblock_1 .top .info_container {
    gap: 20px;
  }

  .products_slider_container {
    h4 {
      font-size: 28px;
    }
    h3 {
      font-size: 16px;
    }
    h2 {
      font-size: 28px;
    }
  }

  .products_slider_container {
    & .fixed-slide {
      .info_container {
        padding: 20px 5% !important;
      }
    }
  }

  .products_slider_container {
    & .arrows_container {
      .buttons {
        justify-content: center;
        gap: 50px;
      }
    }
  }

  .products_slider_container {
    .arrows_container {
      justify-content: center;
      align-items: center;
      bottom: -10px;
    }
  }

  .products_slider_container_2 {
    h4 {
      font-size: 28px;
    }
    h3 {
      font-size: 16px;
    }
    h2 {
      font-size: 28px;
    }
  }

  .products_slider_container_2 {
    & .fixed-slide {
      .info_container {
        padding: 20px 5% !important;
      }
    }
  }

  .products_slider_container_2 {
    & .arrows_container {
      .buttons {
        justify-content: center;
        gap: 50px;
      }
    }
  }

  .products_slider_container_2 {
    .arrows_container {
      justify-content: center;
      align-items: center;
      bottom: -10px;
    }
  }

  .infoblock_2 {
    h4 {
      margin-top: 0;
    }
    h2 {
      font-size: 28px;
    }
  }

  ul.social {
    & li.icon_container {
      .icon {
        width: 32px;
        height: 32px;
      }
    }
  }

  .infoblock_2 {
    & .social_container {
      & .social {
        h5 {
          margin-bottom: 4px !important;
          font-size: 18px;
          line-height: 1.2;
        }
        a {
          font-size: 14px;
        }
      }
    }
  }

  .products_slider_container {
    .container {
      display: flex;
      flex-direction: column;
    }
  }
  .products_slider_container_2 {
    .container {
      display: flex;
      flex-direction: column;
    }
  }

  section {
    & form {
      label:not(:has(select)),
      select {
        font-size: 14px;
      }

      & label:not(:has(select)),
      & select {
        input {
          font-size: 14px;
          color: #ffffff;

          &::placeholder {
            color: #ffffff;
          }
        }
      }
    }
  }

  main.detail_card {
    .title {
      font-size: 24px;
      font-weight: 500;
      line-height: 1.2 !important;
    }

    .preview_text {
      font-size: 16px;
    }
  }
}
