.row {
  row-gap: 40px;
}
.row ~ .row {
  margin-top: 40px;
}
body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;

  font-family: "Montserrat";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}
section.wafer {
  margin-bottom: -1px;
}
.main {
  flex: 1;
}
a {
  color: inherit;
  text-decoration: none;
}

p {
  margin-bottom: 17px;
}

textarea:focus-visible,
input:focus-visible {
  outline: none;
}
textarea::-webkit-input-placeholder {
  font-style: italic;
}
textarea:-moz-placeholder {
  font-style: italic;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}

header ul,
footer ul {
  display: flex;
  padding-left: 0;
  list-style: none;
}

/*                        SCROLL TO              */

.scrollTo {
  position: fixed;
  bottom: 0;
  right: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 38px;
  border-radius: 6px 6px 0 0;
  background: #333333;
  z-index: 100;
  visibility: hidden;
}
.scrollTo.show {
  visibility: visible;
}
.scrollTo:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 14px solid white;
}
@media (hover: hover) {
  .scrollTo:hover {
    background: var(--theme-orange);
  }
}

/*                          HEADER                 */
header {
  margin-bottom: -1px;
}
.header {
  display: flex;
  color: black;
  background: white;
  overflow: hidden;
  margin-top: -1px;
}
.header-item {
  position: relative;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding: 24px;
  height: 82px;
  font-family: Unbounded;
  font-size: 20px;
  font-weight: 500;
  width: 100%;
  flex: 1;
}

.header-item:first-child {
  padding: 24px 40px;
  background-color: #fff;
}
.header-item:last-child {
  padding: 24px 16px 24px 40px;
  justify-content: flex-end;
  white-space: nowrap;
}
.header-item:not(:last-child):after {
  position: absolute;
  top: 0;
  left: 100%;
  content: "";
  display: block;
  margin-left: -1px;
  border-bottom: 82px solid #ffffff;
  border-right: 39px solid transparent;
  z-index: 2;
  
}
.header-item.wafer-yellow:after {
  border-bottom-color: var(--theme-yellow);
}
.header-item.wafer-green:after {
  border-bottom-color: var(--theme-green);
}
.header-item.wafer-blue:after {
  border-bottom-color: var(--theme-blue);
}
.header-item.wafer-maroon:after {
  border-bottom-color: var(--theme-maroon);
}

.header_menu ul {
  justify-content: space-evenly;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 500;
}
.header_menu ul li {
  position: relative;
  width: 100%;
  height: 108px;
  flex: 1;
}
.header_menu > ul > li {
  text-align: center;
  padding: 40px 0;
}
.header_menu > ul > li.parents > a {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.header_menu > ul > li.parents > a .menu-arrow:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 5px solid white;
  transition: all 0.2s ease;
}

.header_menu ul > li ul {
  position: absolute;
  top: 100%;
  left: 50%;
  display: none;
  width: max-content;
  width: -moz-max-content;
  flex-direction: column;
  padding: 40px;
  background: white;
  color: black;
  text-align: left;
  transform: translateX(-50%);
  z-index: 10;
}
.header_menu ul > li ul li:not(:first-child) {
  margin-top: 24px;
}

.header_menu ul a {
  width: 100%;
}
.header-item_mobile-logo {
  width: 100%;
  height: 42px;
  white-space: nowrap;
}
.navbar-toggler {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 20px 40px 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 120%;
}
.navbar-toggler:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 5px solid white;
  transition: all 0.2s ease;
}
.navbar-toggler.show:after {
  transform: rotate(180deg);
}

/*                          FOOTER                 */

.footer {
  padding: 25px 0;
}
.footer_menu ul {
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 80px;
  font-family: "Unbounded";
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
}
.footer_body {
  display: flex;
  align-items: flex-start;
  gap: 53px;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
}
.footer_text {
  flex: 1;
  width: 100%;
}
/*              BREADCRUMB                   */
.breadcrumb {
  margin-top: 40px;
  margin-bottom: 80px;
  row-gap: 24px;
}
.breadcrumb-item + .breadcrumb-item {
  padding-left: 24px;
}
.breadcrumb-item + .breadcrumb-item::before {
  padding-right: 24px;
}

/*              CONTACTS                    */
.section-contacts_body {
  padding: 70px 88px 55px 0;
}
.section-contacts_map iframe {
  width: 50vw;
  height: 100%;
}
.section-contacts_map {
  height: 967px;
}
.section-contacts_item {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 10px;
}

/*              FAQ                    */

.section-faq {
  padding: 168px 40px;
}
.section-faq .accordion {
  margin-top: 40px;
}

/*           BANNER                    */

.section-banner {
  overflow: hidden;
}
.section-banner .btn {
  height: 58px;
}
.section-banner_btn .btn:first-child {
  width: 100%;
}
.section-banner_btn .btn:not(:first-child) {
  flex: 1;
  width: calc(50% - 24px);
}
.section-banner_body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: 48px;
  padding: 80px 40px 60px 128px;
}
.section-banner-easy .section-banner_body {
  max-width: 860px;
}
.section-banner_body-picture {
  position: relative;
  width: 100%;
  flex: 1;
}
.section-banner-easy .section-banner_body-picture {
  padding: 20px 0 40px;
}
.section-banner_body-picture img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: right;
}
.section-banner-easy .section-banner_body-picture img {
  object-fit: contain;
}

.section-banner_body-picture:after {
  position: absolute;
  top: 0;
  left: -1px;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  background: url("../picture/icon/triangle.svg") left/contain no-repeat;
}

.wafer-maroon .section-banner_body-picture:after {
  background: url("../picture/icon/triangle_maroon.svg") left/contain no-repeat;
}

.section-banner-easy .section-banner_body-picture:after {
  display: none;
}
.section-banner_btn {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.modal .section-banner_body-picture img {
  object-position: center;
  max-height: 400px;
}

/*                    MISSION                     */

.section-mission_banner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%),
    var(--banner-backgraund),
    lightgray no-repeat;
  height: 884px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.section-mission_number {
  padding: 24px 0 128px;
}
.mission_banner-body {
  display: flex;
  gap: 40px;
  flex-direction: column;
  margin: 0 auto;
}
.mission_banner-footer {
  display: flex;
  gap: 306px;
  margin-top: 64px;
  margin-bottom: -1px;
}
.mission_banner-footer_item {
  height: 154px;
  width: 100%;
  position: relative;
}
.mission_banner-footer_item:first-child:after,
.mission_banner-footer_item:last-child:before {
  position: absolute;
  content: "";
  display: block;
  z-index: 2;
  line-height: 0;
  font-size: 0;
}
.mission_banner-footer_item:first-child:after {
  left: 100%;
  border-bottom: 154px solid var(--theme-purole);
  border-right: 153px solid transparent;
  margin-left: -1px;
}
.mission_banner-footer_item:last-child:before {
  right: 100%;
  margin-right: -1px;
  border-bottom: 154px solid var(--theme-purole);
  border-left: 153px solid transparent;
}

.mission_banner-footer_item.wafer-yellow:first-child:after {
  left: 100%;
  border-bottom: 154px solid var(--theme-yellow);
  border-right: 153px solid transparent;
  margin-left: -1px;
}
.mission_banner-footer_item.wafer-yellow:last-child:before {
  right: 100%;
  margin-right: -1px;
  border-bottom: 154px solid var(--theme-yellow);
  border-left: 153px solid transparent;
}

/*                    INFO                      */
.section-info:not(.wafer) {
  margin: 128px auto;
}
.wafer.section-info {
  padding: 128px 0;
}
.wafer-yellow.section-info {
  padding: 128px 0;
}
.section-info_block {
  margin-top: 80px;
  margin-bottom: 80px;
}
.section-info_item ~ .section-info_item {
  margin-top: 128px;
}
.list-link {
  display: flex;
  flex-direction: column;
  margin: 40px 0;
}
.list-link_item {
  padding: 24px 0;
}
.list-link_item ~ .list-link_item {
  border-top: 2px solid rgba(0, 0, 0, 0.2);
}
.info-wafer {
  position: relative;
  color: white;
  margin-top: 128px;
  padding-top: 158px;
  margin-bottom: 80px;
}
.info-wafer:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  min-height: 800px;
  height: 80%;
  background: var(--theme-dark-blue);
  z-index: -1;
}
.info-wafer .triangle-bolder:before {
  margin-top: -30px;
}
.info-wafer-green:before {
  background: var(--theme-green);
}
.info-cart_picture {
  width: 100%;
  height: 322px;
  object-fit: cover;
  margin-bottom: 46px;
}
.info-cart_title {
  margin-bottom: 32px;
}
.info-grid {
  display: grid;
  gap: 40px;
  grid-template: "A B" "C C";
  grid-template-columns: 1fr 1fr;
}

.info-grid_title {
  grid-area: A;
}
.info-grid_text {
  grid-area: B;
}
.info-grid_picture {
  grid-area: C;
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  object-position: center;
}
.info-float:after {
  content: "";
  display: block;
  clear: both;
}
.info-float_picture {
  float: right;
  max-height: 800px;
  width: calc(50% - 40px);
  object-fit: scale-down;
}
.info-float_v2 .info-float_picture {
  object-fit: contain;
}
.info-float_title {
  margin-bottom: 40px;
}
.info-float_title,
.info-float_text {
  padding-right: 40px;
  width: 50%;
}

/*                   PORTRAIT                       */
.info_portrait-text {
  margin-bottom: 80px;
}

/*                   SERVICE                     */
.service-cart {
  display: block;
  font-size: 28px;
  line-height: 100%;
  padding: 24px;
  height: 100%;
}
.service-cart_picture {
  width: 120px;
  height: 120px;
  margin-bottom: 10px;
}
.service-cart_big {
  display: flex;
  padding: 40px;
  height: 100%;
  gap: 40px;
  justify-content: space-between;
  font-size: 32px;
  line-height: 90%;
}
.service-cart_big-picture {
  width: 340px;
  height: 340px;
}

@media (hover: hover) {
  .service-cart_big:hover .service-cart_big-picture,
  .service-cart:hover .service-cart_picture {
    transform: scale(0.8);
  }
}

/*                  PRICE              */

.section-price {
  margin: 80px 0;
}
#programs .section-price {
  margin: 0;
}
.price_cart {
  height: 100%;
  display: flex;
  /*max-width: 443px;*/
  padding: 40px;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  border: 4px solid var(--theme-maroon);
}
.swiper-slide_price {
  height: auto;
}
.price_cart ul li {
  font-size: 20px;
  line-height: 100%;
}
.price_cart ul {
  height: 100%;
  flex: 1;
}
.price_cart-btn {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 100%;
}
.old-price {
  margin-left: 45px;
  margin-bottom: 10px;
  position: relative;
  color: rgba(0, 0, 0, 0.3);
  width: max-content;
  width: -moz-max-content;
  font-weight: 300;
}
.old-price:after {
  content: "";
  position: absolute;
  left: -5px;
  width: calc(100% + 10px);
  height: 50%;
  border-bottom: 2px solid var(--theme-orange);
  transform: rotate(-6deg);
}
.price {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  font-weight: 300;
}
.price .heading {
  font-weight: 300;
}

/*              NEWS                   */
.news-list {
  margin: 80px 0 100px;
}
.news-item {
  margin-bottom: 80px;
}
.news_page-count {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: center;
  margin: 80px 0;
  white-space: nowrap;
}
.news_page-count:before,
.news_page-count:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--theme-maroon);
}

.news_picture {
  width: 100%;
  /*max-height: 500px;*/
  object-fit: cover;
}
.news-item_text {
  padding-left: 40px;
}
.news-detail {
  margin-bottom: 100px;
}
.news-detail__picture {
  height: auto;
  object-fit: cover;
  max-height: 528px;
  aspect-ratio: 1/1;
}

.user_text.news__user_text ul,
.user_text.news__user_text p {
  margin-bottom: 0;
}
.news__theme .user_text.news__user_text ul li:before {
  border-left-color: var(--custom-color);
}
.news__theme .triangle-custom:before {
  border-left-color: var(--custom-color);
}
.news-slide_picture {
  height: auto;
  object-fit: cover;
  max-height: 275px;
  aspect-ratio: 1/1;
}
.news_text {
  margin: 80px 0;
}
.news-detail .swiper-slide_picture {
  height: 348px;
  object-fit: cover;
}

.news-video {
  margin-bottom: 80px;
}
.news-video_item > * {
  margin-bottom: 24px;
}
.news-video_item-time {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  padding: 12px;
  justify-content: center;
  align-items: center;
  background: white;
  color: var(--theme-purole);
}
.line-item {
  padding: 40px;
  height: 100%;
}
.new_list-padding {
  margin-top: 80px;
}
.tabs-list_item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  width: 100%;
  height: 100%;
  min-height: 234px;
  background: var(--theme-green);
}
.tabs-list_item.first {
  min-height: 500px;
  padding: 40px;
}
.tabs-list_item.first .heading {
  font-size: 32px !important;
  line-height: normal;
}
.tabs-list_item > * {
  z-index: 3;
}
@media (hover: hover) {
  .tabs-list_item:not(.color):after,
  .tabs-list_item:hover:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
  }
  .tabs-list_item:not(.color):hover:after {
    background: rgba(0, 0, 0, 0.6);
  }
}

.row-item_picture {
  width: 100%;
  height: 80px;
  object-fit: scale-down;
}
.list_data_sort {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  column-gap: 40px;
  row-gap: 24px;
  margin: 80px 0 0;
  padding: 0;
}
.list_data_sort a {
  padding: 8px 0;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.408px;
  border-bottom: 2px solid black;
}
@media (hover: hover) {
  .list_data_sort a:hover {
    border-bottom-color: transparent;
  }
}

.list_data_sort a.select {
  color: var(--theme-purole);
  border-bottom-color: var(--theme-purole);
}

/*              PAGINATION                   */
.show-more {
  width: 100%;
}
.count_view_step {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}
.view_step {
  display: flex;
  gap: 12px;
  align-items: center;
  letter-spacing: -0.408px;
  border: none;
  background: transparent;
}
.view_step:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 7.5px solid transparent;
  border-right: 7.5px solid transparent;
  border-top: 16px solid black;
  transition: all 0.2s ease;
}
.view_step.show:after {
  transform: rotate(180deg);
}
.navigation {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
}
.navigation-pages {
  display: flex;
  align-items: center;
  gap: 24px;
  cursor: default;
  flex: 1;
  flex-wrap: wrap;
}
.nav-page {
  display: flex;
  padding: 2px 12px;
  justify-content: center;
  align-items: center;
  border: 2px solid transparent;
}
@media (hover: hover) {
  .nav-page:hover {
    color: var(--theme-maroon);
  }
}

.nav-current-page {
  color: var(--theme-maroon);
  border-color: var(--theme-maroon);
}

/*             IMPORTANT                   */
.block-important {
  bottom: 0;
  right: 0;
  max-width: 600px;
  width: 100%;
  padding: 40px;
  z-index: 200;
}
.block-important .btn-closes {
  top: 40px;
  right: 0;
  margin-right: 40px;
  z-index: 3;
}

.block-important .swiper-slide > *:not(:first-child) {
  margin-top: 24px;
}
.block-important .swiper-slide > *:first-child {
  margin-right: 50px;
}
.block-important .swiper-slide {
  height: auto;
}

/*             CONTACT                  */
.block_contact {
  margin: 100px 0 80px;
}
.block_contact-item {
  display: flex;
  gap: 24px;
}
.block_contact iframe {
  width: 100%;
}
.block_contact-item:not(:last-child) {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 2px solid #f4f4f4;
}

.contact-item_text {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/*                    404                     */
.block_not-found_title {
  font-size: 12em;
  line-height: 100%;
}

.dop_cart {
  display: flex;
  padding: 40px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.btn-line {
  background: none;
  color: #000;
  border-bottom: solid;
  width: auto !important;
  padding: 10px 0;
}
.wafer .btn-line {
  color: #ffffff;
}
.btn-line:hover,
.btn-line:active {
  border: none !important;
}
#balance .text-block {
  gap: 0px;
}
#balance .section-info {
  margin: 0;
}
#balance .row {
  row-gap: 0px;
  margin-top: 0px;
}

.swiper-slider_one .swiper-slide_picture {
  height: 500px;
}
@media (max-width: 767px) {
  .swiper-slider_one .swiper-slide_picture {
    height: 300px;
  }
}

.showcase__card {
  display: flex;
  gap: 24px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  height: 100%;
}

.showcase__card-big {
  padding: 110px 0 40px 40px;
  justify-content: flex-start;
}
.showcase__list {
  display: flex;
  gap: 40px;
  flex-direction: column;
}
.showcase__list-item {
  display: flex;
  gap: 12px;
  flex-direction: column;
}
.showcase__picture {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 257px;
  aspect-ratio: 1/1;
}
.showcase__picture-big {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 531px;
  aspect-ratio: 1/1;
}

/*CATALOG*/
.catalog-list {
  padding: 100px 0;
}
.catalog-item__info {
  padding-top: 40px;
  padding-bottom: 40px;
}
.catalog-detail__swiper .swiper-wrapper:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid var(--theme-gray);
}
.catalog-detail__picture {
  padding: 20px;
  max-height: 812px;
  object-fit: contain;
}
.catalog-detail__thumbs {
  width: 380px;
}
.catalog-detail__thumb {
  width: 80px;
  height: 80px;
  cursor: pointer;
  border: 1px solid var(--theme-gray);
}
.catalog-detail__thumb.swiper-slide-active {
  border-color: var(--theme-purole);
  cursor: default;
}
.catalog-detail__thumb:last-child {
  margin-right: 0 !important;
}
.catalog-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.picture-content {
  /*height: auto;*/
  max-height: 449px;
  object-fit: contain;
  /*object-position: top;*/
}
.picture-content-min {
  max-height: 386px;
  object-fit: contain;
}
