@charset "UTF-8";
:root {
  --m-margin: 42px;
  --s-margin: 24px;
  --xs-margin: 16px;
  --white: #fff;
}

html {
  box-sizing: border-box;
}

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

ul[class],
ol[class] {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

ul[class] {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
}

html,
body {
  height: 100%;
  font-size: 16px;
  font-family: "Roboto", system-ui;
}

body {
  background-color: #F9F9F9;
}

body:has(dialog[open]) {
  overflow: hidden;
  width: calc(100% - 16px);
  margin-right: 16px;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
  margin: 0 auto;
}

.main {
  flex: 1 0 auto;
}

.footer {
  flex: 0 0 auto;
}

.container,
.container-wide {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 1240px) {
  .container {
    padding: 0 15px;
  }
}
@media screen and (max-width: 360px) {
  .container {
  }
}
img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.main {
  padding-top: 3rem;
  background-color: #F9F9F9;
}

@media screen and (max-width: 360px) {
  .main {
    padding: 1.875rem 0px;
  }
}
.breadcrumb__wrap {
  margin-bottom: 35px;
}

.breadcrumb {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  list-style-type: none;
  align-items: baseline;
}
.breadcrumb-item {
  font-size: 15px;
  color: #171717;
}
.breadcrumb-item:not(:last-of-type)::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 14px;
  background: no-repeat left 6px url(../img/icons/arrow-right.svg);
  margin: 0 8.5px 0 7.5px;
}
.breadcrumb-item a {
  color: #999999;
  transition: color 0.3s ease;
}
.breadcrumb-item a:hover, .breadcrumb-item a:active {
  color: #E46E26;
}

@media screen and (max-width: 990px) {
  .breadcrumb {
    margin-bottom: 24px;
  }
}
@media screen and (max-width: 360px) {
  .breadcrumb {
    margin-bottom: 15px;
  }
  .breadcrumb-item__link, .breadcrumb-item:last-of-type {
    font-size: 12px;
  }
}
.mb {
  margin-bottom: 100px;
}

@media screen and (max-width: 990px) {
  .mb {
    margin-bottom: 50px;
  }
}
@media screen and (max-width: 360px) {
  .mb {
    margin-bottom: 50px; /*check for other makets */
  }
}
.dark-button {
  height: auto;
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  background-color: #605D59;
  font: 1rem "Roboto", "Tahoma", sans-serif;
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.dark-button:hover {
  background-color: #3F3D3B;
  transition: background-color 0.5s ease;
}
.dark-button:focus, .dark-button:active {
  background-color: #514F4D;
  transition: background-color 0.5s ease;
}
.dark-button:disabled {
  background-color: #C2BDB6;
  color: #F4F0EB;
}

.orange-button {
  display: block;
  width: max-content;
  padding: 12.5px 20px;
  border-radius: 5px;
  border: none;
  background-color: #E46E26;
  font: 1rem "Roboto", "Tahoma", sans-serif;
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.orange-button:hover {
  background-color: #CE6526;
  transition: background-color 0.5s ease;
}
.orange-button:focus, .orange-button:active {
  background-color: #FB7624;
  transition: background-color 0.5s ease;
}
.orange-button:disabled {
  background-color: #C2BDB6;
  color: #F4F0EB;
}

.service-chess__content a,
.text-link {
  color: #171717;
  transition: background-color 0.3s ease;
}
.service-chess__content a:hover,
.text-link:hover {
  color: #585858;
  transition: color 0.5s ease;
}
.service-chess__content a:active,
.text-link:active {
  color: #E46E26;
  transition: color 0.5s ease;
}
.text-link__light {
  text-decoration: underline !important;
  color: #DFDFDF;
}
.text-link__light:hover {
  color: #9F9B95;
  transition: color 0.5s ease;
}
.text-link__light:active {
  color: #E46E26;
  transition: color 0.5s ease;
}

.light-link {
  color: #605D59;
  transition: background-color 0.3s ease;
}
.light-link:hover {
  color: #9F9B95;
  transition: color 0.5s ease;
}
.light-link:active {
  color: #E46E26;
  transition: color 0.5s ease;
}

.page-header,
.subheader {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.875rem;
  color: #171717;
}

.subheader {
  max-width: 1100px;
  font-size: 1.75rem; 
}

@media screen and (max-width: 760px) {
  .page-header,
  .subheader {
    font-size: 24px;
    line-height: 28px;
  }
}
.header-h2 {
  font-size: 2rem;
  font-weight: 400;
  color: #171717;
}

.header-h3 {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.5rem;
  color: #171717;
}

.ep-slider {
  position: relative;
}

.slider-arrow {
  width: 47px;
  height: 42px;
  position: absolute;
  padding: 13px 15px;
  border: none;
  border-radius: 3px;
  background-color: #605D59;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.slider-arrow:hover {
  background-color: #3F3D3B;
}
.slider-arrow:active {
  background-color: #514F4D;
}
.slider-arrow:disabled {
  background-color: #C2BDB6;
}

.prev-arr {
  top: -80px;
  right: 60px;
}

.next-arr {
  top: -80px;
  right: 0px;
  transform: rotate(0.5turn);
}

.slick-dots {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  gap: 5px;
  max-width: 130px;
  width: fit-content;
  height: 7px;
  margin: 35px auto 0;
}
.slick-dots li {
  flex: 1 1 5px;
}
.slick-dots li button {
  height: 5px;
  width: 5px;
  padding: 0;
  border: none;
  border-radius: 3px;
  background-color: #E46E26;
  font-size: 0;
  cursor: pointer;
}

li.slick-active button {
  width: 50px;
}

@media screen and (max-width: 480px) {
  .slider-arrow {
    display: none;
  }
}
@media screen and (max-width: 360px) {
  .page-header {
    font-size: 1.5rem;
  }
  .slick-dots {
    margin: 15px auto 25px;
  }
}
.form-group {
  position: relative;
}

.fos-field {
  width: 100%;
  padding: 16px 20px;
  border-radius: 3px;
  border: 1px solid #DFDFDF;
  background-color: #DFDFDF;
  font: 15px "Roboto", "Tahoma", sans-serif;
  color: #171717;
}
.fos-field::placeholder {
  color: #595959;
}
.fos-field.wrong-field {
  color: #D80202;
  border-color: #D80202;
}
.fos-field:focus {
  outline: none;
  border-color: #E46E26;
}
.fos-field__short {
  padding: 13px 15px;
  border-radius: 3px;
  border: 1px solid #DFDFDF;
  background-color: #DFDFDF;
  font-size: 1rem;
  line-height: 1.4;
  color: #171717;
}
.fos-field__short::placeholder {
  font-size: 1rem;
  color: #605D59;
}
.fos-field__short:focus {
  outline: none;
  border-color: #E46E26;
}

.form-group.checkbox-group {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  gap: 8px;
  align-items: flex-start;
}

.fos-label {
  flex: 0 1 calc(100% - 25px);
  font-size: 0.75rem;
  line-height: 1.4;
  color: #DFDFDF;
}

.form-group.checkbox-group:has(.wide-label) {
  flex: 0 1 100%;
}

.form-group.checkbox-group .fos-label.wide-label {
  flex: 0 1 calc(100% - 25px);
  font-size: 0.9375rem;
}

.fos-checkbox {
  appearance: none;
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  margin: 3px 0 0;
  border-radius: 2px;
  border: 1px solid #DFDFDF;
  background-color: #DFDFDF;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.fos-checkbox:hover {
  background-color: #F9F9F9;
  border: 1px solid #9F9B95;
}
.fos-checkbox:checked {
  background: no-repeat center url(../img/icons/checkbox-icon.svg) #E46E26;
  border: 1px solid #E46E26;
}

.is-invalid + .error {
  position: absolute;
  bottom: 100%;
  left: 5px;
  display: inline-block;
  padding: 4px 10px;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  background-color: #D80202;
  font-size: 12px;
  color: var(--white);
}

.notyf-announcer {
    position: absolute;
    top: 100px;
    left: 700px;
  font-size: 25px; /* Крупный текст */
  padding: 0px 20px !important; /* Больше отступов */
  min-width: 400px; /* Минимальная ширина */
  border-radius: 10px !important; /* Опционально: скругление углов */
  background: #dae666; /* Опционально: цвет фона */
}

@media screen and (max-width: 670px) {
    .form-group {
        width: 100%;
    }
  .fos-field__short {
    flex: 0 0 100%;
    width: 100%;
    order: 1;
  }
  .form-group.checkbox-group:has(.wide-label) {
    order: 2;
  }
  .btn.btn-primary.orange-button {
    width: 100%;
    order: 3;
    padding: 10px;
  }
}
/*popup form common*/
.popup-form {
  width: 520px;
  height: 641px;
  position: fixed;
  top: 80px;
  z-index: 775;
  padding: 1.5rem;
  border: none;
  border-radius: 3px;
  background-color: var(--white);
}
.popup-form .fos-closebutton {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 4;
  padding: 4px 6px;
  border: none;
  background-color: transparent;
  fill: #171717;
  cursor: pointer;
  transition: fill 0.3s ease;
}
.popup-form .fos-closebutton .ep-icons {
  width: 20px;
  height: 20px;
}
.popup-form .fos-closebutton:hover {
  fill: #9F9B95;
}
.popup-form .form-header {
  margin-top: 24px;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 30px;
  line-height: 35px;
  color: #171717;
}
.popup-form .form-text {
  margin-bottom: 20px;
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
  color: #171717;
}
.popup-form .form-group {
  margin-bottom: 12px;
}
.popup-form .fos-field {
  padding: 16px 20px;
}
.popup-form .fos-field::placeholder {
  color: #5E5E5E;
}
.popup-form .text-field {
  height: 104px;
  resize: none;
}
.popup-form .checkbox-group {
  margin: 20px 0;
}
.popup-form .checkbox-group .fos-label {
  font-weight: 400;
  font-size: 12px;
  line-height: 140%;
  color: #171717;
}
.popup-form .text-link__fos {
  color: #171717;
  text-decoration: underline;
}
.popup-form .orange-button {
  width: 100%;
  padding: 12px;
}

@media screen and (max-width: 560px) {
  .popup-form {
    top: 0;
    width: max(90%, 360px);
    min-width: 360px;
    height: auto;
    margin-top: 90px;
    padding: 20px 16px 40px;
  }
  .popup-form .fos-closebutton {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 20px;
    right: 1rem;
    margin-bottom: 10px;
  }
  .popup-form .fos-closebutton .ep-icons {
      width: 24px;
      height: 24px;
    }
  .popup-form .form-header {
    margin-top: 34px;
    margin-bottom: 14px;
    font-size: 26px;
    line-height: 30px;
  }
  .popup-form .form-text {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 120%;
  }
  .popup-form .form-group {
    margin-bottom: 10px;
  }
  .popup-form .orange-button {
    padding: 10.5px 20px;
  }
}
.sent-message {
  outline: 2px solid green;
  width: 520px;
  position: relative;
  padding: 2rem;
  border-radius: 3px;
  background-color: var(--white);
}
.sent-message__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 14px;
  height: 14px;
  border: none;
  background-color: var(--white);
}
.sent-message__content {
  margin-top: 24px;
}
.sent-message__title {
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 32px;
  line-height: 38px;
}
.sent-message__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
}

@media screen and (max-width: 560px) {
  .sent-message {
    width: 360px;
    padding: 2rem 1rem;
    position: fixed;
    left: 0;
    bottom: 0;
  }
  .sent-message__title {
    font-size: 26px;
    line-height: 30px;
  }
  .sent-message__text {
    font-size: 16px;
    line-height: 120%;
  }
}
/*header styles*/
.header {
  background-color: var(--white);
  position: sticky;
  top: -90px;
  z-index: 10;
}
.header-top {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3px 0;
}
.header-logo {
  flex: 0 1 190px;
}
.header-menu {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}
.header-menu__item {
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  padding-bottom: 11px;
}
.header-menu__link {
  font: 1rem "Roboto", "Tahoma", sans-serif;
  color: #171717;
  transition: background-color 0.3s ease;
}
.header-menu__link:hover {
  color: #585858;
}
.header-menu:active {
  color: #E46E26;
}
.header-menu__button {
  padding: 5px 5px;
  margin-left: 5px;
  background: transparent;
  border: none;
  background: no-repeat center url(../img/icons/up-button.svg);
}
.header-submenu {
  display: none;
  position: absolute;
  left: -21px;
  top: 100%;
  z-index: 999;
  width: 266px;
  height: 255px;
  padding: 0;
  border-radius: 3px;
  background-color: var(--white);
  box-shadow: 0 11px 20px rgba(0, 0, 0, 0.1);
}
.header-submenu__link {
  display: block;
  padding: 7px 1rem 7px;
  border-radius: 3px;
  font: 1rem "Roboto", "Tahoma", sans-serif;
  line-height: 1.4;
  color: #171717;
  transition: background-color 0.3s ease;
}
.header-submenu__link:hover {
  background-color: #DFDFDF;
  transition: background-color 0.5s ease;
}
.header-submenu__link:active {
  background-color: #D3D3D3;
  transition: background-color 0.5s ease;
}
.header-bottom {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--m-margin);
  padding: 1rem 0;
}
.header-contacts {
  text-align: right;
}
.header-contacts__email, .header-contacts__tel {
  display: block;
  font: 500 0.875rem "Roboto", "Tahoma", sans-serif;
}
.header-contacts__email {
  margin-bottom: 6px;
}
.header-contacts__tel {
  margin-bottom: 2px;
}
.header-contacts__schedule {
  font: 0.625rem "Roboto", "Tahoma", sans-serif;
  color: #9F9B95;
}

.header-menu__item:hover .header-submenu {
  display: block;
}
.header-menu__item:hover .header-menu__button {
  transform: rotate(0.5turn);
}

.menu-burger,
.search-button,
.nav-extra,
.subheader-menu__button {
  display: none;
}

.catalog-button {
  display: flex;
  align-items: center;
  height: 56px;
  position: relative;
  border: none;
}
.catalog-button__burger {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  gap: 2px;
  width: 15px;
  height: 10px;
  margin-right: 12px;
}
.catalog-button__item {
  width: 100%;
  height: 2px;
  background-color: var(--white);
}

.search-form__wrap {
  height: 56px;
  flex: 0 1 calc(100% - 353px);
  background-color: #F9F9F9;
  border-radius: 3px;
/*  outline: 1px solid red;*/
}

.search-form {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  
}
.search-form__wrap:has(:focus) {
  background-color: #DFDFDF;
}

.form-field {
  flex: 0 1 calc(100% - 42px);
  padding: 18.5px 0;
  background-color: transparent;
  border: none;
  font-size: 0.9375rem;
  color: #171717;
}
.form-field::placeholder {
  color: #5E5E5E;
}
.form-field::-webkit-search-cancel-button {
  background: red;
  cursor: pointer;
}
.form-field:focus {
  outline: none;
  background-color: #DFDFDF;
}

.form-imagebutton {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: none;
  padding: 0px;
  background-color: transparent;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.form-imagebutton:hover {
  transform: scale(1.1);
}
.form-imagebutton .ep-icons {
  width: 100%;
  height: 100%;
  stroke: #999999;
}

@media screen and (max-width: 990px) {
  .header-top {
    justify-content: flex-start;
  }
  .header-top .header-logo {
    order: 1;
  }
  .header-top .dark-button {
    order: 2;
    margin: 0 20px 0 auto;
  }
  .header-top .header-menu__block {
    order: 3;
  }
  .menu-burger {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    width: 32px;
    height: 32px;
    padding: 8px 3px;
  }
  .menu-burger__item {
    height: 0px;
    width: 100%;
    background-color: #171717;
    border: 1.5px solid #171717;
    border-radius: 2px;
    transition: transform 0.3s ease;
  }
  .menu-burger__item.menu-burger__active:first-of-type {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-burger__item.menu-burger__active:nth-of-type(2) {
    display: none;
  }
  .menu-burger__item.menu-burger__active:last-of-type {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .header-menu__container {
    display: none;
  }
  .header-bottom {
    gap: 10px;
  }
  .search-form {
    flex: 0 1 calc(100% - 300px);
    padding: 0 10px;
  }
  .header-menu__container {
    position: absolute;
    top: 80px;
    left: auto;
    right: 0px;
    z-index: 999;
    width: 360px;
    background-color: var(--white);
    padding: 0 16px 24px;
  }
  .header-menu__container:has(.show-submenu) .header-menu {
    margin-bottom: 140px;
  }
  .header-menu__container.show-menu {
    display: block;
  }
  .header-menu__container.show-menu .nav-extra {
    display: block;
  }
  .header-menu {
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
  }
  .header-menu__item {
    width: 100%;
    position: static;
    border-bottom: 1px solid #DFDFDF;
    padding-bottom: 0;
    justify-content: space-between;
  }
  .header-menu__link {
    padding: 14px 0 12px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
  }
  .header-menu .header-menu__button {
    width: 16px;
    height: 16px;
    border: wheat;
    background-size: 90%;
    transform: rotate(0.25turn);
  }
  .header-menu__item:hover .header-menu__button {
    border: red;
    transform: rotate(0.25turn);
  }
  .header-submenu__container {
    display: none;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 50px 16px 10px;
    background-color: var(--white);
  }
  .header-submenu__container.show-submenu {
    display: block;
  }
  .subheader-menu__button {
    display: block;
    width: calc(100% - 32px);
    position: absolute;
    top: 0px;
    padding: 14px 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #DFDFDF;
    text-align: left;
    font-weight: 600;
    font-size: 18px;
    color: #DFDFDF;
  }
  .subheader-menu__button::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    padding: 4px 6px;
    margin-right: 8px;
    background: no-repeat center url(../img/icons/up-button.svg);
    transform: rotate(0.75turn);
  }
  .header-catalog__menu,
  .header-submenu {
    width: 100%;
    height: 100%;
    position: static;
    display: block;
    background-color: var(--white);
    box-shadow: none;
  }
  .header-submenu__item {
    border-bottom: 1px solid #DFDFDF;
    padding-bottom: 0;
    justify-content: space-between;
    position: static;
  }
  .header-submenu__link {
    padding: 14px 0;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
  }
  .nav-contacts {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 24px;
  }
  .nav-contacts__block {
    flex: 0 0 142px;
  }
  .nav-contacts__block .header-contacts__tel {
    margin-bottom: 6px;
  }
  .nav-contacts__social {
    flex: 0 0 114px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }
  .dark-button.nav-extra__button {
    position: static;
    width: 100%;
  }
}
@media screen and (max-width: 670px) {
  .header {
    top: 0;
  }
  .search-button {
    display: block;
    width: 32px;
    height: 32px;
    padding: 2px;
    border: none;
    background-color: transparent;
    order: 1;
    margin: 0 10px 0 auto;
  }
  .search-button .ep-icons {
    width: 100%;
    height: 100%;
    stroke: #171717;
  }
  .header-top .dark-button {
    margin-left: 0;
  }
  .search-form__wrap {
    flex: 0 1 100%;
    order: 3;
    display: none;
  }
  .search-form__wrap.active {
      display: flex; 
  }
  .search-form {
     flex: 0 1 100%;}
}
@media screen and (max-width: 480px) {
  .header-contacts {
    display: none;
  }
  .search-button {
    margin: 0 16px 0 auto;
  }
  .catalog-button {
    height: 42px;
    width: max(147px, 48%);
    justify-content: center;
    margin-bottom: 14px;
  }
  .catalog-button::before {
    top: 17px;
  }
  .catalog-button::after {
    top: 21px;
  }
  .header-top {
    position: relative;
  }
  .header-top .dark-button {
    order: 4;
    position: absolute;
    top: 104px;
    right: 0;
    width: max(155px, 48%);
    height: 42px;
    margin: 0 0 0 auto;
    padding: 11.5px 14.5px;
    align-self: flex-end;
  }
  .header-menu__container {
    position: absolute;
    top: 85px;
    left: -15px;
    z-index: 999;
    width: calc(100% + 30px);
    background-color: var(--white);
    padding: 24px 16px;
  }
  .dark-button.nav-extra__button {
    position: static;
    width: 100%;
  }
}
@media screen and (max-width: 360px) {
  .form-imagebutton {
    display: none;
  }
}

.header-catalog__wrap {
    position: relative;
    padding-bottom: 5px;
}
.header-catalog__menu {
    display: none;
    position: absolute;
    top: 90%;
    left: 0px;
    z-index: 20;
    width: 480px;
    height: 475px;
    padding: 5px 0;
    border-radius: 3px;
    background-color: var(--white);
    box-shadow: 0 11px 20px rgba(0, 0, 0, 0.1);
}

.header-catalog__wrap:hover  .header-catalog__menu {
    display: block;
}

@media screen and (max-width: 480px) {
  .header-catalog__wrap {
    
    
  }
  
  .header-catalog__menu {
      overflow-y: auto;
      height: 400px;
      width: 250%;
      padding: 5px 10px;
  }
  
  .header-catalog__menu .header-submenu__link {
       padding: 5px 10px;
      text-transform: none!important;
  }
}

/*footer styles*/
.footer {
  padding: 43px 0 43px;
  background-color: var(--white);
}
.footer-top {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  flex: 0 1 190px;
}
.footer-menu {
  flex: 0 0 485px;
  width: 58%;
  min-width: 485px;
  gap: 24px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-left: auto;
}
.footer-menu__block {
  flex: 0 0 calc(100% - 401px);
}
.footer-menu__link {
  font-size: 1.125rem;
  color: #171717;
  transition: color 0.3s ease;
}
.footer-menu__link:hover {
  color: #585858;
  transition: color 0.5s ease;
}
.footer-menu__link:active {
  color: #E46E26;
  transition: color 0.5s ease;
}
.footer-social {
  flex: 0 0 115px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.footer-social__icon {
  flex: 0 0 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 3px;
  background: #171717;
  transition: background 0.3s ease;
}
.footer-social__icon .ep-icons {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
}
.footer-social__icon:hover {
  background: #585858;
}
.footer-social__icon:hover .r-center {
  background: red;
}
.footer-social__icon:active {
  background: #E46E26;
}
.footer-social__icon:active .r-center {
  background: red;
}
.footer-social__icon:nth-of-type(2) .ep-icons {
  width: 21px;
  height: 15px;
}
.footer-social__icon:nth-of-type(1) .ep-icons {
  width: 20px;
  height: 20px;
}
.footer-content {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 1.625rem;
  margin-bottom: 40px;
}
.footer-content__block {
  flex: 0 1 23.4%;
  padding: 22px 21px;
  background-color: #F9F9F9;
}
.footer-content__title {
  margin-bottom: 1.25rem;
  font: 500 1.125rem "Roboto", "Tahoma", sans-serif;
  color: #171717;
}
.footer-content__text .footer-content__link {
  display: block;
}
.footer-content__text .footer-content__link:first-of-type {
  margin-bottom: 13px;
}
.footer-content__item:first-of-type {
  margin-bottom: 12px;
}
.footer-bottom {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.footer-bottom__links {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-bottom__links .copyrights__block {
  font-size: 0.9375rem;
  color: #605D59;
}
.footer-bottom__links .light-link {
  font-size: 0.9375rem;
}

@media screen and (max-width: 990px) {
  .footer-logo {
    order: 1;
  }
  .footer-social {
    order: 2;
  }
  .footer-menu__block {
    flex: 0 0 100%;
    order: 3;
    width: 100%;
    min-width: auto;
    margin-left: 0;
  }
  .footer-content__block {
    flex: 0 1 48%;
  }
}
@media screen and (max-width: 480px) {
  .footer {
    padding: 24px 0;
  }
  .footer-top {
    display: grid;
    grid-template-columns: 190px 115px;
    grid-template-rows: 50px 206px;
    gap: var(--s-margin);
    margin-bottom: var(--s-margin);
  }
  .footer-logo {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .footer-menu {
    grid-column: 1/2;
    grid-row: 2/3;
    flex-flow: column nowrap;
    min-width: auto;
    margin-left: 0;
  }
  .footer-menu__link {
    text-transform: uppercase;
    font-weight: 600;
  }
  .footer-social {
    grid-column: 2/3;
    grid-row: 1/2;
  }
  .footer-content {
    gap: 14px;
    margin-bottom: var(--s-margin);
  }
  .footer-content__block {
    flex: 0 0 47.85%;
    padding: 12px 9px 18px;
  }
  .footer-content__title {
    margin-bottom: 22px;
    font-size: 0.875rem;
  }
  .footer-content__text {
    font-size: 12px;
    line-height: 14px;
  }
  .footer-content__link, .footer-content__item {
    font-size: 0.75rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  .footer-bottom__links {
    flex-direction: column;
    gap: 12px;
  }
  .footer-bottom .copyrights__block,
  .footer-bottom .light-link {
    font-size: 12px;
    color: #999999;
  }
  .footer-content__item:first-of-type,
  .footer-content__text .footer-content__link:first-of-type {
    margin-bottom: 8px;
  }
}
/* popup forms */
/* main page styles */
.маin-promo {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 0;
  height: 490px;
}
.маin-promo__content {
  flex: 0 1 65.565%;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 40px 5rem;
  position: relative;
  z-index: 1;
 /** background: no-repeat left top url(../img/content/new-main-photo.jpg);
  filter: brightness(.8);*/
  color: var(--white);
}
.маin-promo__content::after{
    content: '';
    height: 490px;
    width: 100%;
    display: grid;
    position: absolute;
    inset: 0;
    z-index: -1;
    background: no-repeat left top url(../img/content/new-main-photo.jpg);
    filter: brightness(.75);
    background-size: cover;
}
.маin-promo__content .page-header {
  margin-bottom: 1.5rem;
  color: var(--white);
}
.маin-promo__text {
  width: max(93%, 320px);
  margin-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.17;
}
.маin-promo__cards {
  flex: 0 1 34.435%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  gap: 0;
}
.маin-promo__card {
  flex: 0 1 50%;
  position: relative;
  padding: 1.5rem;
}
.маin-promo__card-title {
  width: 215px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.75rem;
}
.маin-promo__card-text {
  font-size: 15px;
  line-height: 17px;
}
.маin-promo__card-link {
  width: 38px;
  height: 38px;
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 11px;
  border-radius: 3px;
  transition: height 0.3s ease, width 0.3s ease, padding 0.3s ease;
}
.маin-promo__card-link .ep-icons {
  width: 100%;
  height: 100%;
}
.маin-promo__card:hover .маin-promo__card-link {
  width: 45px;
  height: 45px;
  padding: 13px;
}
.маin-promo__card:first-of-type {
  background-color: var(--white);
  border-top-right-radius: 3px;
  color: #171717;
}
.маin-promo__card:first-of-type .маin-promo__card-link {
  background-color: #DFDFDF;
}
.маin-promo__card:first-of-type .маin-promo__card-link .ep-icons {
  stroke: #171717;
}
.маin-promo__card:first-of-type:active {
  background-color: #EEEEEE;
}
.маin-promo__card:last-of-type {
  background-color: #605D59;
  border-bottom-right-radius: 3px;
  color: var(--white);
}
.маin-promo__card:last-of-type .маin-promo__card-link {
  background-color: #9F9B95;
}
.маin-promo__card:last-of-type .маin-promo__card-link .ep-icons {
  stroke: var(--white);
}
.маin-promo__card:last-of-type:active {
  background-color: #514F4D;
}

@media screen and (max-width: 1200px) {
    .маin-promo__content::after{
        height: auto;
    }
}
@media screen and (max-width: 992px) {
    .маin-promo {
        height: auto;
    }
  .маin-promo__content {
      flex: 0 1 calc(100% - 350px);
    padding: 40px 2rem;
  }
  .маin-promo__cards {
    flex: 0 1 350px;
  }
  .маin-promo__card-title {
    margin-bottom: 14px;
    font-size: 26px;
    line-height: 30px;
  }
}
@media screen and (max-width: 760px) {
  .маin-promo {
    flex-direction: column;
    height: auto;
  }
  .маin-promo__content {
    flex: 0 0 100%;
    padding: 40px 20px;
  }
  .маin-promo__cards {
    flex: 0 0 100%;
  }
  .маin-promo__card {
    padding: 20px;
  }
  .маin-promo__card-link {
    top: 20px;
    right: 20px;
  }
}
@media screen and (max-width: 420px) {
  .маin-promo__content {
    flex: 0 0 100%;
    padding: 40px 20px;}
 .маin-promo__content::after {    
    background: no-repeat center top url(../img/content/new-main-photo-mob.jpg);
    background-size: cover;
  }
  .маin-promo__content .page-header {
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 26px;
    line-height: 30px;
    color: #DFDFDF;
  }
  .маin-promo__content__text {
    font-size: 16px;
    line-height: 120%;
    color: #DFDFDF;
  }
  .маin-promo__cards {
    flex: 0 0 100%;
  }
  .маin-promo__card {
    padding: 20px;
  }
}
.prodtype-section .subheader {
  margin-bottom: 35px;
}

.prodtype-slider {
  /*width: calc(100% + 20px);
  margin-left: -10px;*/
  width: 100%;
}
.prodtype-slider .slick-track {
    height: 343px!important;
    overflow: hidden;
}
.prodtype-slider .prodtype-card {
  width: 33%;
  min-width: 390px;
  height: 343px;
  margin: 0 10px;
}
.prodtype-slider .prodtype-card__title {
  margin-bottom: 83px;
}
.prodtype-slider .prodtype-card__link {
  top: 24px;
  right: 24px;
}

.prodtype-slider .prodtype-card .ep-products {
    top: 85px;
}
.prodtype-slider .next-arr,
.prodtype-slider .prev-arr {
  top: -80px;
}
.prodtype-slider .slick-dots {
  width: 170px;
}
@media screen and (max-width: 992px) {
    .prodtype-slider {
        height: 385px!important;
        max-height: 385px!important;
    }
}    
@media screen and (max-width: 420px) {
    .prodtype-slider .prodtype-card {
      width: 100%;
      min-width: 330px;}
}  

.video-section {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 0;
}
.video-section__content {
  flex: 42%;
  margin-top: 2px;
  padding: 74px 40px;
  background-color: #605D59;
  color: var(--white);
}
.video-section__content-title {
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 30px;
}
.video-section__content-text {
  margin-bottom: 46px;
  font-size: 1.125rem;
  color: #DFDFDF;
}
.video-section__content-link {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  color: var(--white);
  transition: color 0.3s ease;
}
.video-section__content-link .ep-icons {
  display: inline-block;
  width: 22px;
  height: 22px;
  stroke: var(--white);
  transition: stroke 0.3s ease;
}
.video-section__content-link:hover {
  color: #9F9B95;
}
.video-section__content-link:hover .ep-icons {
  stroke: #9F9B95;
}
.video-section__content-link:active {
  color: #E46E26;
}
.video-section__content-link:active .ep-icons {
  stroke: #E46E26;
}
.video-section__content-link:disabled {
  color: #C2BDB6;
}
.video-section__content-link:disabled .ep-icons {
  stroke: #C2BDB6;
}
.video-section__area {
  flex: 0 1 auto;
}

@media screen and (max-width: 1240px) {
  .video-section__content {
    padding: 40px 20px 40px;
  }
}
@media screen and (max-width: 990px) {
  .video-section__content {
    flex: 0 1 100%;
  }
  .video-section__area {
    flex: 0 1 100%;
    max-height: 400px;
  }
  .video-section__area img {
    height: 400px;
    object-fit: contain;
  }
}
@media screen and (max-width: 760px) {
  .video-section__area > video {
      width: 100%;
  } 
}
@media screen and (max-width: 480px) {
  .video-section__content {
    padding: 20px 20px 39px;
  }
  .video-section__content-title {
    margin-bottom: 8px;
    font-size: 24px;
  }
  .video-section__content-text {
    margin-bottom: 30px;
    color: #DFDFDF;
    font-size: 16px/120%;
  }
  .video-section__content-link {
    font-size: 16px;
  }
  .video-section__area {
    max-height: 100%;
  }
  .video-section__area img {
    height: auto;
  }
}
.features-section .subheader {
  margin-bottom: var(--m-margin);
}
.features-section__content {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 20px;
}

.feature-card {
  flex: 0 1 auto;
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  width: 238px;
  height: 455px;
  padding: 0 0 42px 28px;
  position: relative;
  /*outline: 1px solid red;*/
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}
.feature-card::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: no-repeat right bottom url(../img/icons/diag-arrow.svg);
}
.feature-card__title {
  width: 160px;
  margin-top: 100%;
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
  color: #171717;
}
.feature-card__text {
  display: none;
  font-weight: 400;
  font-size: 18px;/*20px;*/
  line-height: 20px;/*23px;*/
  color: #171717;
  /*opacity: 0;*/
 /* transform: translateY(200px);*/
}
.feature-card__icon {
  display: none;
  position: absolute;
  top: 36px;
  left: 28px;
  width: 45px;
  height: 42px;
  padding: 8px;
  background-color: #DFDFDF;
}
.feature-card__icon .ep-icons{
    width: 28px;
    height: 26px;
}
.feature-card.feat1 {
  background: no-repeat right top url(../img/content/feat1.png) var(--white);
}
.feature-card.feat2 {
  background: no-repeat right top url(../img/content/feat2.png) var(--white);
}
.feature-card.feat3 {
  background: no-repeat right top url(../img/content/feat3.png) var(--white);
}
.feature-card.feat4 {
  background: no-repeat right top url(../img/content/feat4.png) var(--white);
}
.feature-card:hover {
  width: 466px;
  padding: 36px 28px 42px;
}
.feature-card:hover::after {
  background-image: none;
}
.feature-card:hover.feat1 {
  background: no-repeat right top url(../img/content/feat1-sm.png) var(--white);
  background-position: 250px -25px;
  background-size: 225px 205px;
}
.feature-card:hover.feat2 {
  background: no-repeat right top url(../img/content/feat2-sm.png) var(--white);
  background-position: 250px -25px;
  background-size: 225px 205px;
}
.feature-card:hover.feat3 {
  background: no-repeat right top url(../img/content/feat3-sm.png) var(--white);
  background-position: 250px -25px;
  background-size: 225px 205px;
}
.feature-card:hover.feat4 {
  background: no-repeat right top url(../img/content/feat4-sm.png) var(--white);
  background-position: 250px -25px;
  background-size: 225px 205px;
}
.feature-card:hover .feature-card__title {
  margin-bottom: 24px;
}
.feature-card:hover .feature-card__icon {
  display: block;
}
.feature-card:hover .feature-card__text {
  display: block;
}

.features-section__content:not(:hover) .feature-card.active-card {
  width: 466px;
  padding: 36px 28px 42px;
}
.features-section__content:not(:hover) .feature-card.active-card::after {
  background-image: none;
}
.features-section__content:not(:hover) .feature-card.active-card.feat1 {
  background: no-repeat right top url(../img/content/feat1-sm.png) var(--white);
  background-position: 250px -25px;
  background-size: 225px 205px;
}
.features-section__content:not(:hover) .feature-card.active-card .feature-card__title {
  margin-bottom: 24px;
}
.features-section__content:not(:hover) .feature-card.active-card .feature-card__icon {
  display: block;
}
.features-section__content:not(:hover) .feature-card.active-card .feature-card__text {
  display: block;
 /* opacity: 1;*/
}

@media screen and (max-width: 1240px) {
  .features-section__content {
    gap: 14px;
  }
  .feature-card.active-card {
    flex: 0 1 37.58%;
    width: auto;
  }
  .feature-card:not(.active-card) {
    flex: 0 1 19.19%;
    background-size: 90% auto;
  }
}
@media screen and (max-width: 990px) {
  .features-section__content {
    display: block;
  }
  .feature-card.active-card,
  .feature-card:not(.active-card) {
    display: block;
    width: max(466px, 48%);
    margin: 0 10px;
  }
  .feature-card.active-card .feature-card__title,
  .feature-card:not(.active-card) .feature-card__title {
    margin-top: 100px;
    margin-bottom: 24px;
  }
  .feature-card.active-card .feature-card__icon,
  .feature-card:not(.active-card) .feature-card__icon {
    display: block;
  }
  .feature-card.active-card .feature-card__text,
  .feature-card:not(.active-card) .feature-card__text {
    width: calc(100% - 57px);
    display: block;
  }
  .feature-card.feat1 {
  background: no-repeat right top url(../img/content/feat1-sm.png) var(--white);
}
.feature-card.feat2 {
  background: no-repeat right top url(../img/content/feat2-sm.png) var(--white);
}
.feature-card.feat3 {
  background: no-repeat right top url(../img/content/feat3-sm.png) var(--white);
}
.feature-card.feat4 {
  background: no-repeat right top url(../img/content/feat4-sm.png) var(--white);
}
}
@media screen and (max-width: 480px) {
  .feature-card,
  .feature-card.active-card {
    width: 100%;
  }
}
@media screen and (max-width: 440px) {
  .features-section .subheader {
    margin-bottom: var(--s-margin);
  }
  .features-section__content:not(:hover) .feature-card.active-card {
    padding: 20px;
  }
  .features-section__content:not(:hover) .feature-card.active-card.feat1 {
    background: no-repeat right top url(../img/content/feat1-sm.png) var(--white);
    background-position: 160px -40px;
    background-size: 171px 156px;
  }
  .feature-card:hover {
  width: 100%;
}
  .feature-card.active-card,
  .feature-card:not(.active-card) {
    width: 305px;
    margin: 0;
  }
  .feature-card {
    height: 396px;
  }
  .feature-card__icon {
    top: 20px;
    left: 20px;
  }
  .feature-card__title {
    margin-top: 112px;
    margin-bottom: 20px;
    text-transform: uppercase;
  }
  .feature-card__text {
    font-size: 16px;
    line-height: 120%;
  }
  /*.feature-card.active-card.feat1:hover,
  .feature-card.active-card.feat1 {
    background: no-repeat right top url(../img/content/feat1-sm.png) var(--white);
    background-position: 160px -40px;
    background-size: 171px 156px;
  }
  .feature-card.active-card.feat2:hover,
  .feature-card.active-card.feat2 {
    background: no-repeat right top url(../img/content/feat2-sm.png) var(--white);
    background-position: 160px -40px;
    background-size: 171px 156px;
  }
  .feature-card.active-card.feat3:hover,
  .feature-card.active-card.feat3 {
    background: no-repeat right top url(../img/content/feat3-sm.png) var(--white);
    background-position: 160px -40px;
    background-size: 171px 156px;
  }
  .feature-card.active-card.feat4:hover,
  .feature-card.active-card.feat4 {
    background: no-repeat right top url(../img/content/feat4-sm.png) var(--white);
    background-position: 160px -40px;
    background-size: 171px 156px;
  }*/
  .feature-card.feat1 {
  background: no-repeat right top url(../img/content/feat1-sm.png) var(--white);
  background-position: 250px -25px;
  background-size: 225px 205px;
    }
    .feature-card.feat2 {
      background: no-repeat right top url(../img/content/feat2-sm.png) var(--white);
      background-position: 250px -25px;
      background-size: 225px 205px;
    }
    .feature-card.feat3 {
      background: no-repeat right top url(../img/content/feat3-sm.png) var(--white);
      background-position: 250px -25px;
      background-size: 225px 205px;
    }
    .feature-card.feat4 {
      background: no-repeat right top url(../img/content/feat4-sm.png) var(--white);
      background-position: 250px -25px;
      background-size: 225px 205px;
    }
    .feature-card .feature-card__title {
      margin-bottom: 24px;
    }
    .feature-card .feature-card__icon {
      display: block;
    }
    .feature-card .feature-card__text {
      display: block;
    }
    .feature-card__title {
  width: 160px;
  margin-top: 100%;
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
  color: #171717;
}
.feature-card__text {
  display: none;
  font-weight: 400;
  font-size: 18px;/*20px;*/
  line-height: 20px;/*23px;*/
  color: #171717;
  /*opacity: 0;*/
 /* transform: translateY(200px);*/
}
.feature-card__icon {
  display: none;
  position: absolute;
  top: 36px;
  left: 28px;
  width: 45px;
  height: 42px;
  padding: 8px;
  background-color: #DFDFDF;
}
}

.news-section .subheader {
  margin-bottom: var(--m-margin);
}
.news-section__link {
  width: fit-content;
  display: flex;
  align-items: center;
  margin-left: auto;
  padding: 17px 16px;
  font-weight: 500;
  font-size: 18px;
  color: #171717;
  transition: color 0.3s ease;
}
.news-section__link-arrow {
  margin-left: 16px;
}
.news-section__link:hover {
  color: #585858;
}
.news-section__link:active, .news-section__link:focus {
  color: #E46E26;
}
.news-section__link:disabled {
  color: #C2BDB6;
}

.news-list.news-slider {
  margin-bottom: 0;
}

.news-slider {
  /*width: calc(100% + 20px);
  margin-left: -10px;*/
  width: 100%;
}
.news-slider .news-list__item {
  width: 33%;
  margin: 0 10px;
}

.news-section__link .ep-icons {
  width: 30px;
  height: 20px;
  stroke: #171717;
}
.news-section__link:hover .ep-icons {
  stroke: #605D59;
}
.news-section__link:active .ep-icons {
  stroke: #E46E26;
}

@media screen and (max-width: 360px) {
  .news-section .subheader {
    margin-bottom: var(--s-margin);
  }
  .news-slider {
    width: 100%;
    margin-left: 0px;
  }
  .news-section__link {
    gap: 16px;
    margin-bottom: 50px;
    padding: 12.5px 60px;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
  }
  .news-section__link .ep-icons {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
  }
}

.notyf-announcer {
    display: none;
}

/* text pages */
.promo-infopage__block {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 0;
  border-radius: 3px;
}
.promo-infopage__content {
  flex: 0 1 58%;
  padding: 60px;
  background-color: #605D59;
}
.promo-infopage__image {
  flex: 0 1 42%;
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 350px;
  max-height: 455px;
  background: #fff;
}
.promo-infopage__image img {
  height: 100%;
  width: auto;
  object-position: center;
  object-fit: cover;
}
.promo-infopage .page-header {
  margin-bottom: 1.5rem;
  color: var(--white);
}
.promo-infopage__text {
  width: 100%;
  margin-bottom: 35px;
  font-size: 18px;
  line-height: 21px;
  color: var(--white);
}

@media screen and (max-width: 1240px) {
  .promo-infopage__content {
    padding: 40px 20px;
  }
}
@media screen and (max-width: 990px) {
  .promo-infopage {
    margin-bottom: 50px;
  }
  .promo-infopage__block {
    flex-direction: column;
    align-items: center;
  }
  .promo-infopage__image {
    width: max(80%, 521px);
    height: 445px;
  }
  .promo-infopage__image img {
    width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 560px) {
  .promo-infopage__image {
    width: 100%;
  }
}
@media screen and (max-width: 360px) {
  .promo-infopage__content {
    padding: 50px 15px;
  }
  .page-header {
    margin-bottom: 15px;
  }
  .promo-infopage__text {
    margin-bottom: 15px;
  }
}
.infopage-text__block {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.infopage-text__content {
  flex: 0 1 58%;
}
.infopage-text__content h2 {
    margin-bottom: 24px;
}

.infopage-text__content li {
    margin-bottom: 5px;
}
.infopage-text__content li::marker {
    color: #E46E26;
}
.infopage-text p {
  width: 640px;
  font-size: 1.125rem;
  color: #171717;
}
.infopage-text p:not(:last-of-type) {
  margin-bottom: 1.25rem;
}
.infopage-text__image {
  flex: 0 1 42%;
}

@media screen and (max-width: 1240px) {
  .infopage-text__content p {
    width: 90%;
  }
}
@media screen and (max-width: 990px) {
  .infopage-text {
    margin-bottom: 50px;
  }
  .infopage-text__content {
    flex: 0 1 100%;
    margin-bottom: var(--s-margin);
    padding: 0 20px;
  }
  .infopage-text__content p {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
    .infopage-text__image {
        flex: 0 1 100%;
    }
}
@media screen and (max-width: 360px) {
  .infopage-text__block {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }
  .infopage-text__content {
    margin-bottom: 25px;
    padding: 0 20px;
  }
  .infopage-text__content p {
    font-size: 16px;
    line-height: 120%;
  }
  .infopage-text__content p:not(:last-of-type) {
    margin-bottom: 1rem;
  }
  .infopage-text__image {
    flex: 0 1 100%;
  }
}
.projects-infopage .subheader {
  margin-bottom: 2.625rem;
}

.projects-block {
  display: flex;
  flex-flow: column wrap;
  justify-content: flex-start;
  gap: 1.25rem;
}

.one-project {
  flex: 0 0 384px;
  max-height: 384px;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  gap: 3.125px;
  border-radius: 3px;
  background-color: var(--white);
}
.one-project__image {
  flex: 0 0 352px;
}
.one-project__content {
  flex: 0 0 calc(100% - 402px);
  padding: 40px 32px 40px 50px;
}
.one-project__title {
  margin-bottom: 3.125rem;
  font: 500 1.325rem "Roboto", "Tahoma", sans-serif;
  color: #171717;
}
.one-project__label {
  width: fit-content;
  margin-bottom: 1.25rem;
  padding: 6.5px 8px;
  border-radius: 3px;
  background-color: #DFDFDF;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 400;
  color: #171717;
}
.one-project__description {
  font: 1.125rem "Roboto", "Tahoma", sans-serif;
  line-height: 130%;
  color: #171717;
}

@media screen and (max-width: 1240px) {
  .one-project {
    fleX: 0 1 auto;
  }
  .one-project__content {
    padding: 20px;
  }
  .one-project__title {
    margin-bottom: var(--s-margin);
  }
}
@media screen and (max-width: 760px) {
  .one-project {
    flex-direction: column;
    max-height: none; 
  }
  .one-project__content {
    flex: 0 1 100%;
  }
  .one-project__image {
    flex: 0 1 352px;
    height: 330px;
    margin: 0 auto 15px;
  }
}
@media screen and (max-width: 360px) {
  .projects-block {
    gap: var(--s-margin);
  }
  .one-project {
    background-color: #F9F9F9;
  }
  .one-project__image {
    flex: 0 1 100%;
    height: 330px;
    margin: 0 0 15px;
    overflow: hidden;
  }
  .one-project__content {
    padding: 0;
  }
  .one-project__label {
    margin-bottom: 1rem;
    padding: 8px;
  }
  .one-project__title {
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
  }
  .one-project__description {
    font-size: 14px;
    line-height: 16px;
  }
}

/*.infopage-text__content {
  margin-bottom: var(--s-margin);
}*/
.infopage-text__content p {
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
}

/* 404 page */
.page404-content {
  padding: 6.25rem 0;
  background: no-repeat right center url(../img/content/404.svg);
}

.page404-title {
  margin-bottom: 1.5rem;
}

.page404-text {
  width: 50%;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  color: #171717;
}

.page404-button {
  width: fit-content;
}

@media screen and (max-width: 360px) {
  .page404-content {
    margin: 0 16px;
    padding: 1.5rem 0;
    background-size: contain;
    background-position: 0 106px;
  }
  .page404-title {
    margin-bottom: 12.5rem;
    text-align: center;
  }
  .page404-text {
    width: 100%;
    margin-bottom: 97px;
    text-align: center;
  }
  .page404-text p {
    display: inline;
    font-size: 1rem;
    line-height: 1.2;
  }
  .page404-button {
    width: 100%;
    text-align: center;
  }
}
/* services-list styles */
.services-list {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 20px 20px;
  margin-bottom: var(--m-margin);
}

.one-service {
  flex: 0 1 calc(50% - 10px);
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 0;
  background-color: var(--white);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.one-service:hover {
  background-color: #F9F9F9;
}
.one-service:hover .one-service__link {
  transform: scale(1.15);
}
.one-service:active {
  background-color: #DDDDDD;
}
.one-service:active .one-service__link {
  background-color: #D4D3D3;
}
.one-service__image {
  flex: 0 1 48.19%;
}
.one-service__content {
  flex: 0 1 51.81%;
  position: relative;
  padding: 2rem;
  color: #171717;
}
.one-service__title {
  width: 90%;
  margin-bottom: 16px;
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
}
.one-service__text {
  
  font-size: 15px;
  line-height: 18px;
  

}

.one-service:not(:first-of-type) .one-service__text {
  max-height: 200px;
  text-overflow: ellipsis;
  overflow: hidden;
	-webkit-line-clamp: 12;
	-webkit-box-orient: vertical;
}
.one-service__link {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 3px;
  background: no-repeat center url(../img/icons/icon.svg) #DFDFDF; /*check it*/
}

.service-wide {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 0;
  margin-bottom: 1.25rem;
}
.service-wide .one-service__image {
  flex: 0 1 48.87%;
}
.service-wide .one-service__content {
  flex: 0 1 51.13%;
  padding: 25px 80px 80px 25px;
}
.service-wide .one-service__title {
  width: 60%;
  margin-bottom: var(--s-margin);
  font-weight: 500;
  font-size: 28px;
  line-height: 33px;
}
.service-wide .one-service__text {
  font-size: 22px;
  line-height: 140%;
}
.service-wide .one-service__link {
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
}

@media screen and (max-width: 1240px) {
  .service-wide .one-service__content {
    padding: var(--s-margin);
  }
  .service-wide .one-service__text {
    line-height: 120%;
  }
}
@media screen and (max-width: 990px) {
  .services-list {
    flex-direction: column;
  }
  .one-service__image {
    flex: 0 1 calc(100% - 420px);
  }
  .one-service__image img {
    width: auto;
    object-fit: contain;
  }
  .one-service__content {
    flex: 0 1 420px;
    padding: var(--s-margin);
  }
  .service-wide .one-service__content {
    flex: 0 1 420px;
  }
  .service-wide .one-service__image {
    flex: 0 1 calc(100% - 420px);
  }
  .service-wide .one-service__title {
    font-weight: 500;
    font-size: 1.375rem;
  }
  .service-wide .one-service__text {
    font-size: 1rem;
  }
}
@media screen and (max-width: 660px) {
  .one-service__content {
    flex: 0 1 320px;
  }
  .one-service__image {
    flex: 0 1 calc(100% - 320px);
  }
  .service-wide .one-service__content {
    flex: 0 1 320px;
  }
  .service-wide .one-service__image {
    flex: 0 1 calc(100% - 320px);
  }
}
@media screen and (max-width: 480px) {
  .services-list {
    flex-direction: column;
    gap: 25px;
  }
  .one-service {
    flex-direction: column;
  }
  .one-service__content {
    flex: 0 1 auto;
    padding: 16px;
  }
  .one-service__link {
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
  }
  .one-service__title {
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
  }
  .one-service__text {
    font-size: 14px;
    line-height: 16px;
  }
  .one-service__image {
    flex: 0 1 330px;
    max-height: 330px;
  }
  .one-service__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .service-wide {
    margin: 0 -15px 25px;
  }
  .service-wide .one-service__content {
    flex: 0 1 51.13%;
    padding: 16px;
    background-color: #F9F9F9;
  }
  .service-wide .one-service__link {
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
  }
  .service-wide .one-service__image {
    flex: 0 1 100%;
    height: 294px;
    width: 100%;
  }
  .service-wide .one-service__image img {
    width: 100%;
  }
  .service-wide .one-service__title {
    margin-bottom: 14px;
    font-size: 1.5rem;
    font-weight: 500;
  }
  .service-wide .one-service__text {
    font-size: 1rem;
    line-height: 120%;
  }
}
@media screen and (max-width: 360px) {
  .service-page .page-header {
    margin-left: 15px;
    margin-bottom: var(--s-margin);
  }
  .one-service {
    flex-direction: column;
  }
  .one-service__content {
    padding: var(--s-margin) 0 0;
  }
  .one-service__image {
    height: 330px;
    width: 330px;
  }
  .one-service__text {
    font-size: 14px;
  }
}
/* one-service page */
.service-promo__block {
  padding: 80px;
  background: no-repeat center url(../img/services/promo-serv.jpg);
}
.service-promo__content {
  width: 600px;
}
.service-promo .page-header {
  margin-bottom: 27px;
  color: var(--white);
}
.service-promo__text {
  margin-bottom: 27px;
  font-size: 18px;
  line-height: 21px;
  color: var(--white);
}

@media screen and (max-width: 990px) {
  .service-promo__block {
    padding: 40px 20px;
  }
  .service-promo__content {
    width: 90%;
  }
  .service-promo .page-header {
    margin-bottom: 14px;
  }
}
@media screen and (max-width: 360px) {
  .service-promo__block {
    padding: 40px 20px;
    background: linear-gradient(to right, #1B1A19, rgba(27, 26, 25, 0)), no-repeat center url(../img/service/serv-postavka-mob.jpg);
  }
  .service-promo__content {
    width: 100%;
  }
  .service-promo .page-header {
    margin-bottom: 14px;
  }
  .service-promo__text {
    margin-bottom: 10px;
    margin-right: -4px;
    font-size: 16px;
    line-height: 120%;
  }
}
.service-about__block {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 0;
  background-color: var(--white);
}
.service-about__image {
  flex: 0 1 45.72%;
}
.service-about__content {
  flex: 0 1 54.27%;
  padding: 65px;
  color: #171717;
}
.service-about__content h2 {
  margin-bottom: var(--s-margin);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 30px;
}
.service-about__text {
  font-size: 18px;
  line-height: 21px;
}
.service-about__content p {
  margin-bottom: 1rem;
  font-size: 18px;
  line-height: 21px;
}

@media screen and (max-width: 990px) {
  .service-about__block {
    flex-direction: column;
    align-items: center;
  }
  .service-about__image {
    flex: 0 1 auto;
  }
  .service-about__content {
    flex: 0 1 100%;
    padding: 40px 20px;
  }
}
.service-chess__wrap {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    gap: 24px;
}
.service-chess__block {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 0;
    
    background-color: #fff;
}
.service-chess__image {
    flex: 0 0 450px;
}
.service-chess__image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center
}
.service-chess__content {
  flex: 0 1 calc(100% - 450px);
  padding: 40px 20px; 
}

.service-chess__title {
   margin-bottom: 24px; 
}

@media screen and (max-width: 760px) {
    .service-chess__image {
        flex: 0 1 100%;
        max-height: 300px;
    }
    .service-chess__content {
        flex: 0 1 100%;
    }
}

.service-steps__title,
.service-about__content h2 {
  margin-bottom: 35px;
}
.service-steps__block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 270px 244px 292px;
  grid-row-gap: 20px;
  grid-column-gap: 20px;
}
.service-steps__item {
  padding: 24px;
  border-radius: 3px;
  background-color: #DFDFDF;
}
.service-steps__item:last-of-type {
  grid-column: 2/4;
}

@media screen and (max-width: 990px) {
  .service-steps__block {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 14px;
  }
}
@media screen and (max-width: 360px) {
  .service-steps__block {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    gap: 14px;
  }
  .service-steps__item {
    padding: 20px;
  }
}
.one-step {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-end;
  height: 100%;
  min-height: 244px;
  color: #171717;
}
.one-step__marker {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 28px;
  height: 28px;
  padding: 4px;
  background-color: #9F9B95;
  text-align: center;
  font-size: 1rem;
  color: var(--white);
}
.one-step__title {
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
}
.one-step__text {
  font-size: 15px;
  line-height: 18px;
}
.one-step__buttons {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 38px;
}
.one-step__buttons .orange-button,
.one-step__buttons .dark-button {
  flex: 0 1 calc(50% - 4px);
}
.one-step__block {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.one-step__content {
  flex: 0 1 48.5%;
}

.step-cards {
  flex: 0 1 46%;
  display: flex;
  flex-flow: column nowrap;
  gap: 10px;
}

.step-card {
  padding: 12px;
  background-color: var(--white);
}
.step-card__title, .step-card__tel, .step-card__email {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 16px;
}
.step-card__tel, .step-card__email {
  font-size: 15px;
}

@media screen and (max-width: 1240px) {
  .one-step {
    padding: 20px;
  }
  .one-step:last-of-type .one-step__title {
    margin-right: -10px;
  }
  .one-step__buttons {
    margin-top: 0px;
  }
  .one-step__buttons .orange-button,
  .one-step__buttons .dark-button {
    flex: 0 1 100%;
  }
}
@media screen and (max-width: 990px) {
  .one-step {
    flex: 0 1 calc(50% - 7px);
  }
  .one-step:last-of-type {
    flex: 0 1 100%;
  }
  .one-step:last-of-type .one-step__block {
    gap: 14px;
  }
  .one-step:last-of-type .one-step__content {
    flex: 0 1 calc(100% - 264px);
  }
  .one-step:last-of-type .step-cards {
    flex: 0 1 250px;
  }
}
@media screen and (max-width: 760px) {
  .one-step {
    min-height: 100%;
    height: auto;
    justify-content: space-between;
  }
  .one-step__marker {
    position: static;
    margin-bottom: 24px;
  }
  .one-step:last-of-type {
    min-height: 250px;
  }
  .one-step:last-of-type .one-step__marker {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 560px) {
  .one-step {
    flex: 0 1 100%;
  }
  .one-step:last-of-type .one-step__content,
  .one-step:last-of-type .step-cards {
    flex: 0 1 100%;
  }
}
@media screen and (max-width: 360px) {
  .one-step__marker {
    position: static;
    margin-bottom: var(--s-margin);
  }
  .one-step__title {
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
  }
  .one-step__text {
    font-size: 14px;
    line-height: 16px;
  }
  .one-step:last-of-type .one-step__marker {
    margin-bottom: var(--s-margin);
  }
  .step-card {
    gap: 8px;
  }
  .step-card__title {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 16px;
  }
  .step-card__email,
  .step-card__tel {
    font-size: 15px;
    line-height: 18px;
  }
}
.service-map__title {
  margin-bottom: 35px;
  text-transform: uppercase;
}
.service-map__tabs {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: var(--m-margin);
}
.service-map__area {
  height: 580px;
  width: 100%;
  margin-bottom: var(--m-margin);
}
.service-map .ep-regions {
  width: 100%;
  height: 100%;
}

.map-tab {
  padding: 10px 23px;
  border-radius: 5px;
  border: none;
  background-color: var(--white);
  font-size: 18px;
  color: #171717;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.map-tab:hover {
  background-color: #DFDFDF;
}
.map-tab.active {
  background-color: #E46E26;
  color: var(--white);
}

@media screen and (max-width: 1240px) {
  .service-map__area {
    max-width: 100%;
    height: 60dvh;
  }
  .service-map__area .ep-regions {
    width: 100%;
    height: 100%;
  }
}
@media screen and (max-width: 760px) {
  .service-map__area {
    max-width: 100%;
    height: 50dvh;
  }
}
@media screen and (max-width: 560px) {
  .service-map__area {
    max-width: 100%;
    height: 40dvh;
  }
}
@media screen and (max-width: 360px) {
  .service-map__area {
    max-width: 100%;
    height: 40dvh;
  }
  .service-map__tabs {
    gap: 8px;
  }
  .map-tab {
    padding: 8px 14px;
    font-size: 16px;
  }
}
.service-countries__title {
  margin-bottom: var(--s-margin);
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
}
.service-countries__list {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  gap: var(--s-margin);
}
.service-countries__item {
  font-size: 15px;
}

.service-cards__block {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: var(--s-margin); 
}

.service-cards__item {
    flex: 0 1 calc(50% - 12px);
    padding: 24px;
    border-radius: 3px;
    background-color: #DFDFDF;
    color: #171717;
}

@media screen and (max-width: 360px) {
  .service-countries {
    margin-bottom: 41px;
  }
  .service-countries__title {
    font-weight: 500;
    font-size: 18px;
  }
  .service-countries__item {
    margin-bottom: 13px;
    font-size: 12px;
  }
}
.using-areas__content {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  gap: 20px 20px;
}
.using-areas__title {
  margin-bottom: 35px;
  color: #171717;
}

.using-card {
  flex: 0 1 calc(24.59% - 10px);
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  height: 160px;
  min-width: 290px;
  padding: 21px;
  background-color: var(--white);
}
.using-card__title {
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
  display: flex;
  align-items: flex-end;
}
.using-card__image {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  align-self: flex-end;
  padding: 5px;
  border-radius: 3px;
  background-color: #DFDFDF;
}
.using-card__image .ep-icons {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 480px) {
  .using-areas__content {
    gap: 14px;
  }
  .using-card {
    flex: 0 1 100%;
    height: 145px;
    padding: 20px;
  }
  .using-card__title {
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
  }
}
.clients-block__title {
  margin-bottom: 35px;
  color: #171717;
}

.clients-slider__item {
  width: 295px;
  height: 282px;
  display: flex;
  align-items: center;
  padding: 40px;
  margin: 0 10px;
  background-color: var(--white);
}
.clients-slider__item img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: center;
}
.about-service {
   display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 0;
}

.about-service:not(:last-of-type) {
    margin-bottom: 24px;
} 

.about-service__image {
    flex: 0 1 calc(100% - 800px);
}



.about-service__image img {
    height: 100%;
    width: auto;
    object-fit: cover;
    object-position: center;
}
.about-service__content {
    flex: 0 1 800px;
    padding: 40px 24px;
    background-color: #DFDFDF;
}

.about-service__image.small-image img{
    max-width: 300px;
    height: auto;
    margin: auto;
}

.about-service__accent, 
.about-service__content .subheader {
    margin-bottom: 16px;
    font-size: 20px;
}
.about-service__content ul {
    list-style-type: none;
    padding-left: 0;
}
.about-service__content li,
.about-service__list-item {
    margin-bottom: 16px;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    color: #171717;
}

.about-service__content li::before,
.about-service__list-item::before {
    content: "";
    display: inline-block;
    width: 26px;
    height: 25px;
    margin-right: 12px;
    float: left;
    margin-top: -2px;
    padding: 9px;
    border-radius: 3px;
    background: no-repeat center url(../img/icons/line.svg) var(--white);
}

.about-service__content p {
  margin-bottom: 10px;  
}
.about-service__wrap .subheader,
.service-gallery__block .subheader {
    margin-bottom: 24px;
}

.service-gallery {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 20px;
}
.service-gallery__card {
    flex: 0 1 31%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    background-color: #fff;
    
}

.service-gallery__title {
    width: 100%;
    padding: 10px;
    text-align: center;
    font-size: 1.25rem;
}

.serv-gallery__image-wrap {
    max-height: 305px;
    
}

.serv-gallery__image {
    width: 100%;
    overflow: hidden;
}

.table-wrapper {
    overflow-x: auto;
}

.service-page__table, th, td {
    border-collapse: collapse;}
    
.service-page__table tr:nth-of-type(even) {
    background-color: #DFDFDF;
}

.service-page__table td {
    width: 47%;
    padding: 1rem;
    font-size: 1rem;
    /*font-weight: 600;*/
    color: #171717;}
    
.service-page__table tr:first-of-type td {
    padding: 1rem;
    background-color: #605D59;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;}    
    
.service-page__table td a {
    display: block;
    font-weight: 600;
    font-size: 1.125rem;
    color: #171717;
} 
.service-page__table td a:hover {
    color: #585858;
} 
.service-page__table td a:active {
    color: #E46E26;
}    
    
.service-page__table td:first-of-type {
    width: 6%;
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    font-size: 1.125rem;
} 

.service-page__table td:last-of-type p:not(:last-of-type) {
    margin-bottom: 10px;
  font-weight: 600; 
}

.service-page__table tr:last-of-type p:not(:last-of-type) {
    font-weight: 400;
}
.service-wideblock__wrap .subheader,
.service-columns__wrap .subheader,
.service-columns__text {
    margin-bottom: 20px;
}

.service-columns__block {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 20px;
}

.one-column {
    flex: 0 1 calc(50% - 10px);
    padding: 20px;
    background-color: #fff;
}

.one-column__title {
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
}
.service-wideblock__content ul,
.one-column__list ul {
    padding-left: 0;
    list-style-position: inside;
}
.service-wideblock__content ul li,
.one-column__list li {
    margin-bottom: 8px;
}
.service-wideblock__content ul li::marker,
.one-column__list li::marker {
    color: #E46E26;
}

.service-wideblock__content ul li a {
    font-size: 1.25rem;
    color: #171717;
}

.service-wideblock__content ul li a:hover {
  color: #605D59;
}
.service-wideblock__content ul li a:active {
  color: #E46E26;
}

.service-wideblock__content {
    padding: 24px;
    background-color: #fff;
}

@media screen and (max-width: 760px) {
  .service-cards__item,
  .one-column {
    flex: 0 1 100%;}
    
    
}
@media screen and (max-width: 480px) {
    .service-gallery__card {
    flex: 0 1 100%;}
}

/* catalog page styles */
.top-header .page-header {
  margin-bottom: var(--m-margin);
}

.catalog__list {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  gap: 20px 20px;
}
.catalog__list .prodtype-card {
  flex: 0 1 min(400px, 32%);
  margin-bottom: 0;
  padding: 20px;
}
.catalog__list .prodtype-card__title {
  margin-bottom: 28px;
}

@media screen and (max-width: 1040px) {
  .catalog__list {
    gap: 14px 14px;
  }
}
@media screen and (max-width: 990px) {
  .catalog__list {
    justify-content: space-around;
  }
}
@media screen and (max-width: 360px) {
  .catalog-page .page-header {
    margin-bottom: 25px;
  }
}
/* category page styles */
.category-list {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  gap: 20px 20px;
}
.category-list__item {
  flex: 0 1 32.26%;
  max-width: 400px;
  min-width: 330px;
  background-color: var(--white);
}

@media screen and (max-width: 1240px) {
  .category-list {
    gap: 14px;
  }
}
@media screen and (max-width: 760px) {
  .category-list {
    justify-content: space-around;
  }
}
@media screen and (max-width: 360px) {
  .category-list {
    gap: 10px;
  }
}
.category-card {
  width: 100%;
  padding: 10px 24px 24px;
}
.category-card__image {
  display: block;
  height: 280px;
  margin-bottom: 10px;
}
.category-card__image-img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
}
.category-card__content {
  height: 150px;/*132px;*/
  padding-top: 24px;
  margin-bottom: 24px;
}
.category-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 84px;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 20px;
  line-height: 140%;
  color: #171717;
  transition: color 0.3s ease;
}
.category-card__title:hover {
  color: #605D59;
}
.category-card__title:active {
  color: #E46E26;
}
.category-card__description {
  margin-bottom: 23px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  line-height: 140%;
}
.category-card__button {
  width: fit-content;
  display: block;
}
.category-card__button:hover {
  background-color: #9F9B95;
}
.category-card__button:active {
  background-color: #E46E26;
}

@media screen and (max-width: 360px) {
  .category-list {
    gap: 10px;
  }
  .category-card {
    padding: 10px 16px 16px;
  }
  .category-card__content {
    margin-bottom: 16px;
  }
  .category-card__title {
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .category-card__description {
    line-height: 120%;
  }
}
/*product type card */
.prodtype-card {
  height: 263px;
  min-width: 310px;
  position: relative;
  margin-bottom: 1.25rem;
  padding: 1.5rem;
  border-radius: 3px;
  background-color: #9F9B95;
  color: var(--white);
}
.prodtype-card__title {
  max-width: 216px;
  min-height: 104px;
  margin-bottom: 83px;
  font-size: 22px;
  font-weight: 500;
  line-height: 26px;
}
.prodtype-card__text {
  max-width: 216px;
  font-size: 15px;
}
.prodtype-card__image {
  width: 150px;
  height: 70%;
  position: absolute;
  bottom: 0;
  right: 0;
}
.prodtype-card__link {
  position: absolute;
  top: 10px;
  right: 11px;
  width: 32px;
  height: 32px;
}
.prodtype-card__link .ep-icons {
  width: 32px;
  height: 32px;
  padding: 9px;
  stroke: var(--white);
  stroke-width: 2px;
  fill: var(--white);
}

.prodtype-card:hover {
  cursor: pointer;
}

.prodtype-card .ep-products {
  width: 150px;
  height: 75%;
  position: absolute;
  bottom: 0;
  right: 0;
  top: 66px;
  fill: #9F9B95;
  transition: fill 0.3s ease;
}

.prodtype-card:hover .ep-products {
  fill: #E46E26;
}

@media screen and (max-width: 990px) {
  .prodtype-card__text {
    max-width: 190px;}
  .prodtype-card .ep-products {
    width: 110px; 
  }
}
@media screen and (max-width: 440px) {
  .catalog__list {
    flex-direction: column;
    gap: 14px;
  }
  .catalog__list .prodtype-card {
    flex: 0 1 100%;
    min-width: 330px;
    min-height: 260px;
  }
  .catalog__list .prodtype-card__title {
    max-width: 196px;
    font-weight: 400;
    font-size: 22px;
    line-height: 26px;
  }
  .catalog__list .prodtype-card__text {
    max-width: 196px;
    font-size: 14px;
  }
  /*.catalog__list */
  .prodtype-card .ep-products {
    width: 110px; /*130px;*/
  }

}
.category-text {
  padding: 24px 20px;
  background-color: var(--white);
  font-size: 20px;
  line-height: 130%;
  color: #171717;
}
.category-text h2 {
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 24px;
  line-height: 130%;
}
.category-text h4 {
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 18px;
  line-height: 130%;
}
.category-text p {
  margin-bottom: var(--m-margin);
}
.category-text ul {
  margin-bottom: var(--m-margin);
  list-style-type: circle !important;
}
.category-text ul li {
  margin-bottom: var(--xs-margin);
  font-size: 1.25rem;
}
.category-text ul li::marker {
  color: #E46E26;
}
.category-text ol {
  margin-top: var(--xs-margin);
}
.category-text ol li {
  font-size: 1.25rem;
}
.category-text ol li::marker {
  font-weight: 500;
  color: #171717;
}

.sertificate-block .subheader {
  margin-bottom: 48px;
}

.sertificate-gallery .slick-track {
  margin-bottom: 35px;
}
.sertificate-gallery .slider-arrow {
  top: -93px;
}
.sertificate-gallery__item {
  min-height: 282px;
  margin: 0 10px;
  padding: 20px 60px;
  background-color: var(--white);
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.sertificate-gallery__item img {
  object-fit: contain;
}
.sertificate-gallery__item:hover {
  background-color: #DFDFDF;
}

@media screen and (max-width: 480px) {
  .sertificate-block .subheader {
    margin-bottom: var(--s-margin);
  }
}
/*sert popup*/
.sertif-open {
  position: relative;
  padding: 32px;
  background-color: var(--white);
}

.sertif-closebutton {
  position: absolute;
  top: 32px;
  right: 32px;
}

.slider-full-image {
  width: 60%;
  max-width: 640px;
  max-height: 720px;
  height: min(720px, 90vh);
  padding: 56px 5% 32px;
  border: none;
}

.slider-full-image.sout-slider {
  width: 70%;
  max-width: 650px;
  max-height: 540px;
  height: min(540px, 50vh);
  padding: 84px 55 60px;
  border: none;
}

.slider-full-image .dialog-img {
  width: 100%;
  height: min(632px, 90%);
  object-position: center;
  object-fit: contain;
  display: block;
}

.slider-full-image.sout-slider .dialog-img {
  height: 393px;
}

.slider-full-image .close-btn {
  position: absolute;
  top: 32px;
  right: 32px;
  background: none;
  border: none;
  fill: red;
  cursor: pointer;
}
.slider-full-image .close-btn .ep-icons {
  width: 14px;
  height: 14px;
}

.nav-btn {
  display: none;
  position: absolute;
  top: calc(50% - 10px);
  right: 32px;
  background: none;
  border: none;
}
@media screen and (max-width:760px) {
    .slider-full-image {
        width: 100%;
    }
}

/* product page styles */
.product-page .page-header {
  margin-bottom: var(--m-margin);
}

.product__content {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 50px;
}
.product-gallery {
  flex: 0 0 501px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 10px;
}
.product-gallery__list {
  flex: 0 0 55px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  gap: 10px;
}
.product-gallery__list-item {
  width: 100%;
  border-radius: 5px;
}
.product-gallery__list-item.active {
  border: 1px solid #E46E26;
}
.product-gallery__main {
  flex: 0 1 434px;
  padding: 20px 25px;
  border-radius: 10px;
  background-color: #fff;
}
.product-data {
  flex: 0 1 calc(100% - 545px);
}
.product-data__tags {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 35px;
}
.product-data .product-tag {
  width: fit-content;
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #DFDFDF;
  font-size: 1rem;
  color: #171717;
}
.product-data .product-tag__title {
  margin-right: 1ch;
}
.product-data__subheader {
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 28px;
  line-height: 130%;
  color: #171717;
}
.product-data__text {
  margin-bottom: 35px;
  font-size: 1.125rem;
  color: #171717;
}
.product-data .orange-button {
  font-size: 16px;
}

@media screen and (max-width: 990px) {
  .product__content {
    gap: 1rem;
  }
  .product-gallery {
    flex: 0 0 450px;
  }
  .product-gallery__main {
    flex: 0 1 380px;
  }
  .product-data {
    flex: 0 1 calc(100% - 470px);
  }
}
@media screen and (max-width: 760px) {
  .product__content {
    flex-direction: column;
  }
  .product-gallery {
    flex-direction: column;
    margin-bottom: 30px;
  }
  .product-gallery__main {
    order: -1;
    padding: 24px;
    height: 360px;
    max-width: 400px;
  }
  .product-gallery__main img {
    max-height: 100%;
    object-fit: contain;
  }
  .product-gallery__list {
    flex-direction: row;
  }
  .product-gallery__list-item {
    flex: 0 0 56px;
    height: 61px;
  }
}
@media screen and (max-width: 360px) {
  .product__content {
    margin-bottom: 50px;
  }
  .product-gallery {
    flex-direction: column;
  }
  .product-gallery__list {
    flex-direction: row;
  }
  .product__tags {
    margin-bottom: 25px;
    gap: 5px;
  }
  .product__subheader {
    margin-bottom: 8px;
  }
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 10px;
  position: relative;
}

.product-tab {
  display: grid;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  grid-column: 1/-1;
  grid-row: 1/span 3;
}
.product-tab__title {
  grid-row: 1; /* First subgrid row */
  display: grid;
  width: fit-content;
  z-index: 1;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: var(--white);
  font-size: 1.125rem;
  color: #171717;
  cursor: pointer;
}
.product-tab__sheet {
  width: 100%;
  margin-top: 35px;
  background-color: #F9F9F9;
}

.product-tab__description {
  max-width: 860px;
  margin-bottom: 50px;
  color: #171717;
}
.product-tab__description p {
  margin-bottom: 1rem;
  font-size: 18px;
  line-height: 21px;
}

.product-tab::details-content {
  grid-row: 2;
  grid-column: 1/-1;
}

.product-tab:not([open])::details-content {
  display: none;
}

.product-tab[open] .product-tab__title {
  background-color: #E46E26;
  color: #DFDFDF;
}

.product-tab:nth-of-type(1) .product-tab__title {
  grid-column: 1/span 1;
}

.product-tab:nth-of-type(2) .product-tab__title {
  position: absolute;
  top: 0;
  left: 133px;
}

.product-tab:nth-of-type(3) .product-tab__title {
  position: absolute;
  top: 0;
  left: 320px;
}

.product-table {
  width: calc(100% + 20px);
  margin-left: -10px;
  margin-bottom: 35px;
  overflow-x: auto;
}

.product-table, th {
  border-collapse: collapse;
}

.product-table, td {
  border-collapse: separate;
  border-spacing: 10px;
}
.product-table th, td th {
  padding: 14px 16px;
  border-radius: 5px;
  background-color: #605D59;
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
  color: #DFDFDF;
}
.product-table td, td td {
  width: 158px;
  padding: 14px 16px;
  border-radius: 5px;
  background-color: var(--white);
  font-size: 1rem;
  color: #171717;
}
.product-table td:first-of-type, td td:first-of-type {
  width: 400px;
  background-color: #DFDFDF;
  font-weight: 600;
}
.product-table tr:has(td[rowspan]) + tr td {
    min-width: 100px;
    background-color: var(--white);
    font-weight: 400;
}
.product-table td.subrow, td td.subrow {
  width: 158px;
  background-color: var(--white);
  font-weight: 400;
}



.table-notices p {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 21px;
  color: #171717;
}

.description-figure {
  margin: 32px auto;
  text-align: center;
}
.description-figure__small {
  width: 250px;
}
.description-figure__medium {
  width: 560px;
}
.description-figure__caption {
  margin-top: 16px;
  font-size: 15px;
  line-height: 18px;
  color: #605D59;
}

.product-detail {
  max-width: 860px;
  margin-bottom: 10px;
  border-radius: 10px;
  background-color: var(--white);
}
.product-detail summary {
  padding: 32px 23px 33px;
  font-weight: 600;
  font-size: 20px;
  line-height: 23px;
  list-style: none;
  cursor: pointer;
}
.product-detail summary::marker {
  display: none;
}
.product-detail summary::before {
  content: "";
  width: 24px;
  height: 20px;
  float: left;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 4px;
  background: no-repeat center 2px url(../img/icons/arrow-down.svg);
}
.product-detail__text {
    padding: 0 20px 32px;
  /*padding-bottom: 32px;*/
}
.product-detail__text ul {
  list-style-type: square !important;
}
.product-detail__text li {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 21px;
}
.product-detail__text li::marker {
  color: #E46E26;
}

.product-detail[open] summary::before {
  transform: rotate(180deg);
  background-position: center 0px;
}

.product-tabs > img,
.product-tab .product-tab__sheet  img {
    width:  revert-layer!important;
    max-width: 100% !important;
    height: auto!important;
    max-height: none;
}

.product-tab .product-tab__sheet .img__right,
.product-tab .product-tab__sheet img[style*="right"]
{
    margin: 0 0 1rem 1rem;
}

.product-tab .product-tab__sheet .img__left,
.product-tab .product-tab__sheet img[style*="left"] {
    margin: 1rem 1rem 1rem 0;
}

@media screen and (max-width: 760px) {
  .product-tab:nth-of-type(3) .product-tab__title {
    position: absolute;
    top: 50px;
    left: 0px;
  }
  .product-tab__sheet {
    margin-top: 75px;
  }
  .product-table__wrap {
    min-width: 960px;
    overflow-x: auto;
  }
  .product-detail summary {
    padding: 16px 20px;
  }
}
.qr-codes__block {
  padding: 20px;
}  

.qr-codes-text-1{
    width: 100%;
   /* height: fit-content;*/
     padding: 20px;
    /* background: red;*/
    
}

.qr-codes__block p {
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 130%;
}
.qr-codes__block .qr-codes {
  float: left;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 3%;
  width: 480px;/*max(80%, 300px);*/
  margin: 270px 24px 0 0;
  shape-outside: polygon(100% 63%, 100% 100%, 0% 100%, 0% 0%, 1% 0%, 1% 63%);
  shape-margin: 0px;
}
.qr-codes__block .qr-codes img {
  flex: 0 1 29%;
  max-width: 150px;/*300px;*/
  margin-bottom: 10px;
  object-fit: contain;
}


@media screen and (max-width: 760px) {
    .qr-codes__block .qr-codes {
        float: none;
        width: 100%;
        gap: 8px;
        margin: 24px 0;
        shape-outside: none;
    }
    .qr-codes__block .qr-codes-text-1  {
        padding: 0;
    }
    .qr-codes__block .qr-codes img {
      flex: 0 1 29%;
      max-width: 90px;}
}

/*styles for blog section */
.blog-page .page-header {
  margin-bottom: 35px;
}

.news-selector {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: var(--m-margin);
}
.news-selector__button {
  padding: 6px 14px;
  border: none;
  border-radius: 5px;
  background-color: #DFDFDF;
  font-size: 1rem;
  color: #171717;
}
.news-selector__active {
  background-color: #E46E26;
  color: var(--white);
}

.news-list {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 35px;
}
.news-list__item {
  flex: 0 1 400px;
}

.news-item__image {
  position: relative;
  background-color: #fff;
}
.news-item__tags {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.5rem;
}
.news-item__tag {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 5px;
  background-color: #605D59;
  font-size: 0.875rem;
  color: var(--white);
}
.news-item__description {
  height: 216px;
  position: relative;
  z-index: 1;
  padding: 1rem 1rem;
  margin-top: -6px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  background-color: var(--white);
  color: #171717;
}
.news-item__date {
  margin-bottom: 1rem;
  font-size: 14px;
  line-height: 16px;
}
.news-item__title {
  height: 46px;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font: 600 1.25rem "Roboto", "Tahoma", sans-serif;
  line-height: 23px;
  color: #171717;
  transition: background-color 0.3s ease;
}
.news-item__title:hover {
  color: #585858;
  transition: color 0.5s ease;
}
.news-item__title:active {
  color: #E46E26;
  transition: color 0.5s ease;
}
.news-item__excerpt {
  min-height: 4rem;
  margin-bottom: 1rem;
  font-size: 14px;
  line-height: 16px;
}
.news-item__link {
  text-decoration: underline;
  font-size: 0.875rem;
  color: #171717;
  cursor: pointer;
}

@media screen and (max-width: 990px) {
  .news-list {
    gap: 14px;
  }
  .news-list__item {
    flex: 0 1 calc(50% - 7px);
  }
}
@media screen and (max-width: 670px) {
  .blog-page .news-selector {
    margin-bottom: var(--s-margin);
  }
  .news-list {
    gap: 14px;
   /* flex-direction: column;*/
    align-items: center;
  }
  .news-list__item {
    flex: 0 1 max(70%, 330px);
    margin-bottom: 20px;
  }
  .news-item__description {
    height: auto;
  }
  .news-item__title {
    height: 38px;
    font-size: 16px;
    line-height: 19px;
  }
}
@media screen and (max-width: 420px) {
  .blog-page .page-header {
    margin-bottom: 17px;
  }
  .blog-page .news-selector {
    margin-bottom: 1.5rem;
  }
  .news-list {
    gap: 0.875rem;
  }
  .news-list__item {
    flex: 0 0 100%;
  }
  .news-item__title {
    font-size: 1.125rem;
  }
}
/*.news-pagination__block*/

.pagination{
    margin: 50px 0;
}
/*.news-pagination__block */.pagination .page-item:first-of-type,
/*.news-pagination__block */.pagination .page-item:last-of-type {
    display: none;
}

#pdopage .pagination{
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  width: fit-content; /*380px*/
}

/*.news-pagination*/ .pagination{
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  height: 42px;
}
.page-item/*,
.news-pagination__item*/ {
  flex: 0 0 42px;
  height: 100%;
  align-self: center;
}
.page-item:nth-of-type(2) .page-link{
    
  border-radius: 3px;
  background: no-repeat center url(../img/icons/btn-arrow.svg) #605D59; 
  /*background: red;*/
  background-size: 60% 60%;
  font-size: 0;
}
.page-item:nth-last-of-type(2) .page-link{
    
  border-radius: 3px;
  background: no-repeat center url(../img/icons/btn-arrow.svg) #605D59; 
  /*background: red;*/
  background-size: 60% 60%;
  transform: rotate(180deg);
  font-size: 0;
}
.news-pagination__item:first-of-type, .news-pagination__item:last-of-type {
  width: 47px;
}
.news-pagination__item:first-of-type .news-pagination__link, .news-pagination__item:last-of-type .news-pagination__link {
  border-radius: 3px;
  background-color: #605D59;
}
.page-link/*,
.news-pagination__link*/ {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #DFDFDF;
  text-align: center;
  font-size: 1rem;
  line-height: 42px;
  color: #171717;
}
.page-item.active .page-link/*,
.news-pagination__link.active*/ {
  background-color: #E46E26;
  color: var(--white);
}
.btn-more {
  padding-right: 28px;
  border: none;
  background-color: transparent;
  font: 500 1.125em "Roboto", "Tahoma", sans-serif;
}
.btn-more::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 6px;
  margin-left: 14px;
  padding: 5px 0;
  background: transparent;
  border: none;
  background: no-repeat center url(../img/icons/arrow-down.svg);
  background-size: 100%;
  transform: rotate(0.5turn);
}


@media screen and (max-width: 560px) {
  .news-pagination__block {
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.875rem;
  }
  .news-pagination__button {
    padding: 10px;
  }
}
@media screen and (max-width: 360px) {
  .news-pagination__block {
    justify-content: center;
    margin-bottom: 1.875rem;
  }
  .news-pagination__button {
    order: -1;
    margin-bottom: 2.125rem;
  }
}
.news-subscribe {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  padding: 2.5rem;
  border-radius: 3px;
  background-color: #605D59;
  color: var(--white);
}
.news-subscribe__content {
  flex: 0 1 420px;
}
.news-subscribe__title {
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font: 600 30px "Roboto", "Tahoma", sans-serif;
  line-height: 38px;
}
.news-subscribe__text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 18px;
  line-height: 21px;
}
.news-subscribe__form {
  flex: 0 1 590px;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  gap: 1.25rem 0.5rem;
  align-items: center;
}

@media screen and (max-width: 1240px) {
  .news-subscribe__content {
    flex: 0 1 100%;
  }
  .news-subscribe__title {
    margin-bottom: 1rem;
  }
  .news-subscribe__text {
    margin-bottom: 1rem;
  }
}
@media screen and (max-width: 760px) {
  .news-subscribe {
    padding: 20px;
  }
}
@media screen and (max-width: 670px) {
  .news-subscribe__title {
    margin-bottom: 14px;
    font-size: 24px;
    line-height: 28px;
  }
  .news-subscribe__text {
    font-size: 16px;
    line-height: 120%;
  }
  .news-subscribe__form {
    flex: 0 1 100%;
    gap: 14px;
  }
  .news-subscribe .orange__button {
    width: 100%;
    flex: 0 1 100%;
    padding: 10px;
  }
}
/* one article */
.article-promo {
  padding: 5rem 0;
  background: no-repeat center url(../img/content/article-bg.jpg);
}
.article-promo__content {
  width: 60%;
  color: var(--white);
}
.article-promo__content .page-header {
  margin-bottom: 1.5rem;
  color: var(--white);
}
.article-promo__pubdate {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}
.article-promo__excerpt {
  width: 80%;
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  color: #DFDFDF;
}
.article-promo__tag {
  width: fit-content;
  padding: 10px 18px;
  border-radius: 5px;
  background-color: var(--white);
  font-size: 1.125rem;
  color: #171717;
}
.article__area {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 35px;
  margin-top: 24px;
}
.article__block {
  flex: 0 1 calc(100% - 380px);
}
.article__block .header-h2, 
.article__block .header-h3,
.article__block > h2, 
.article__block > h3 {
  margin-bottom: 1.25rem;
}
.article__block > h2, 
.article__block > h3 {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.5rem;
    color: #171717;
}

.article__block > h4, 
.article__block > h5,
.article__block > h6 {
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 22px;
    color: #171717;
}

.article__block > h5,
.article__block > h6 {
    font-size: 20px;
}

.article__block p {
  margin-bottom: var(--m-margin);
  font-size: 1.25rem;
  line-height: 130%;
  color: #171717;
}
.article__block.wide-news {
  flex: 0 1 100%;
}
.service__accent,
.article__accent {
  margin-bottom: var(--m-margin);
}
.article__text-accent {
  margin-bottom: var(--m-margin);
  padding-left: var(--s-margin);
  border-left: 2px solid #E46E26;
  font-size: 1.125rem;
  line-height: 130%;
}
.article-image,
.article__block img {
  margin-bottom: var(--m-margin);
}
.article-image__title {
  margin-bottom: 10px;
  font-size: 0.9375rem;
  color: #605D59;
}
.article ul,
.article__block ul {
  margin-bottom: var(--m-margin);
  list-style-type: circle !important;
}
.article ul li,
.article__block ul li {
  margin-bottom: var(--xs-margin);
  font-size: 1.25rem;
}
.article ul li::marker,
.article__block ul li::marker {
  color: #E46E26;
}
.article ol,
.article__block ol {
  margin-top: var(--xs-margin);
}
.article__block ol {
  margin-bottom: var(--m-margin);}
  
.article ol li,
.article__block ol li {
  font-size: 1.25rem;
}
.article ol li::marker,
.article__block ol li::marker {
  font-weight: 500;
  color: #171717;
}
.article__block table, .article__block td {
    border-collapse: collapse;
    border: 1px solid #171717;
}
.article__block td {
   padding: 7px 12px; 
}
.article__block  a {
  color: #171717;
  transition: background-color 0.3s ease;
}
.article__block  a:hover {
  color: #585858;
  transition: color 0.5s ease;
}
.article__block  a:active {
  color: #E46E26;
  transition: color 0.5s ease;}

.article-qr {
    margin: 30px 0 100px;
}
.article-qr__wrap {
    width: calc(100% - 380px);
}
.article-qr__text {
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.25rem;
}
.article-qr__link {
    font-size: 1.5rem
}
.article-qr__block {
    display: flex; 
    flex-flow: row wrap;
    justify-content: center;
    gap: 30px;
    max-width: 750px;
    margin: 2rem auto;
}
.article-qr__link {
/*.article-qr__item {*/
    width: 200px;
    flex: 0 1 30%; 
}

@media screen and (max-width: 990px) {
  .article-promo__content {
    width: 100%;
  }
  .article__area {
    flex-direction: column;
    gap: 30px;
  }
  .article__side {
    order: -1;
  }
  
  .article-qr__wrap {
    width: 100%;
    }
    
  .article-qr__block {
      gap: 10px;
  }
  .article-qr__link {
      width: 30%;
  }    
}
@media screen and (max-width: 480px) {
  .article-promo {
    padding: 55px 0;
  }
  .article-promo__pubdate {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 18px;
  }
  .article-promo__excerpt {
    margin-bottom: 17px;
    font-size: 16px;
    line-height: 120%;
  }
}
.accent {
  padding: 5.625rem 2rem 2rem;
  background: no-repeat 2rem 2rem url(../img/icons/quotes.svg) #DFDFDF;
}
.accent__text {
  margin-bottom: 1.875rem;
}
.accent__text h2 {
  margin-bottom: 1.5rem;
}
.accent__text p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: #171717;
}

.author-card {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 1.25rem;
}
.author-card__image {
  flex: 0 0 5rem;
}
.author-card__content {
  flex: 0 0 calc(100% - 6.5rem);
}
.author-card__name {
  margin-bottom: 5px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #171717;
}
.author-card__occupation {
  font-size: 1rem;
  color: #605D59;
}

.article-table, th, td {
  border-collapse: collapse;
}

.article-table {
  margin-bottom: var(--m-margin);
}
.article-table tr:nth-of-type(even) {
  background-color: #DFDFDF;
}
.article-table td {
  width: 50%;
  padding: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #171717;
}
.article-table td:last-of-type {
  font-weight: 400;
}
.article-table th {
  padding: 1rem;
  background-color: #605D59;
  text-align: left;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.article-image img {
  margin-bottom: 10px;
}
.article-image__title {
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
}
.article-image__right {
  float: right;
  width: 300px;
  height: auto;
  margin: 0 20px 20px 0;
}

.article__block img {
    width: revert-layer;
    margin: 10px;
}

.article-share {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 13px;
}
.article-share__title {
  font-weight: 600;
  font-size: 1.25rem;
  color: #171717;
}
.article-share__social {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  gap: 1rem;
  width: 120px;
}
.article-share__social .social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 31px;
  height: 31px;
  padding: 7px;
  border-radius: 3px;
  background-color: #171717;
  transition: background-color 0.3s ease;
}
.article-share__social .social-link:hover {
  background-color: #585858;
}
.article-share__social .social-link:active {
  background-color: #E46E26;
}

.article-extra .subheader {
  margin-bottom: var(--m-margin);
}
.article-extra__list {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 12px;
}
.article-extra__item {
  flex: 0 1 32.68%;
}

@media screen and (max-width: 990px) {
  .article-extra__item {
    flex: 0 1 49.25%;
  }
}
@media screen and (max-width: 480px) {
  .article-extra__item {
    flex: 0 1 100%;
  }
}
.article__side {
  flex: 0 1 340px;
}

.article-content {
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background-color: #DFDFDF;
}
.article-content__title {
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.article-content__item {
  margin-bottom: 1.25rem;
}
.article-content__list::marker {
  display: none;
}
.article-content__link {
  font-size: 1rem;
  color: #171717;
}
.article-content__link:hover {
  color: #9F9B95;
}

.article .article-content__list li {
  list-style-type: none;
}

@media screen and (max-width: 990px) {
  .article .article-content {
    padding: 0;
    background-color: transparent;
  }
  .article .article-content__title {
    margin-bottom: 17px;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
  }
  .article .article-content__list {
    margin-bottom: 30px;
  }
  .article .article-content__item {
    margin-bottom: 14px;
  }
  .article .article-content__link {
    padding: 6px 14px;
    border-radius: 5px;
    background-color: #DFDFDF;
    font-size: 16px;
    line-height: 120%;
  }
}
.article-product__title {
  margin-bottom: var(--s-margin);
  font-weight: 500;
  font-size: 1.375rem;
  color: #171717;
}
.article-product__card {
  padding: 1rem;
  margin-bottom: 1rem;
  background-color: var(--white);
}

.extra-card__image {
  max-height: 190px;
  display: flex;
  justify-content: center;
  padding-bottom: 1rem;
}
.extra-card__image img {
  object-fit: contain;
  object-position: center;
}
.extra-card__title {
  padding-top: 1rem;
  margin-bottom: var(--xs-margin);
  font-weight: 500;
  font-size: 1.125rem;
}
.extra-card__button {
  width: fit-content;
}

.news-gallery {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px;
}
.news-gallery__item {
  flex: 0 1 31.5%;
}
.news-gallery__item-img {
  display: flex;
  margin-bottom: 14px;
}
.news-gallery__item-title {
  text-align: center;
  font-size: 16px;
}

/* Contacts page */
.contacts-header {
  margin-bottom: 1rem;
}
.contacts-subheader {
  margin-bottom: 2.625rem;
  font: 600 1.5rem "Roboto", "Tahoma", sans-serif;
  color: #171717;
}
.contacts-content {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.contacts-content__block {
  flex: 0 1 23.25%;
  padding: 1.5rem;
  background-color: var(--white);
}
.contacts-content__block-title {
  margin-bottom: 1.5rem;
  font: 500 1.125rem "Roboto", "Tahoma", sans-serif;
  color: #171717;
}
.contacts-content__block-link, .contacts-content__block-item {
  display: block;
  font-size: 1rem;
}
.contacts-content__block-link:first-of-type, .contacts-content__block-item:first-of-type {
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 990px) {
  .contacts-content {
    justify-content: space-around;
  }
  .contacts-content__block {
    min-width: 225px;
    padding: 20px;
  }
}
@media screen and (max-width: 490px) {
  .container {
    padding: 0 15px;
  }
  .contacts-content {
    justify-content: space-between;
    gap: 14px 14px;
  }
  .contacts-content__block {
    min-width: min(220px, 50% - 10px);
    padding: 20px;
    border-radius: 3px;
  }
  .contacts-content__block-title {
    margin-bottom: 14px;
    font-size: 13px;
  }
  .contacts-content__block-link {
    margin-bottom: 8px;
    font-size: 12px;
  }
  .contacts-content__block-link:last-of-type {
    font-size: 11px;
  }
  .contacts-content__block-item {
    font-size: 11px;
  }
}
@media screen and (max-width: 360px) {
  .contacts-header {
    margin-bottom: 1.5rem;
  }
  .contacts-subheader {
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
  }
  .contacts-content {
    justify-content: space-between;
    gap: 14px 14px;
  }
  .contacts-content__block {
    min-width: 158px;
    height: 105px;
    padding: 18px;
    border-radius: 3px;
  }
  .contacts-content__block-title {
    margin-bottom: 14px;
    font-size: 13px;
  }
  .contacts-content__block-link {
    margin-bottom: 8px;
    font-size: 12px;
  }
  .contacts-content__block-link:last-of-type {
    font-size: 11px;
  }
  .contacts-content__block-item {
    font-size: 11px;
  }
}
.map-block {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-bottom: 3.125rem;
}
.map-block__area {
  width: calc(100% - 500px);
  height: 400px;
  background: no-repeat left top url(../img/content/map-bg.jpg) #F9F9F9;
}
.map-block__content {
  flex: 0 1 500px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
}
.map-block__item {
  flex: 0 1 50%;
}

.address-block__item {
  max-width: 500px;
  padding: 2.5rem 1.75rem;
}
.address-block__item-title {
  margin-bottom: 61px;
  font: 600 1.25rem "Roboto", "Tahoma", sans-serif;
}
.address-block__item-info {
  font-size: 0.875rem;
}

.address-block__first {
  background-color: var(--white);
  color: #171717;
}

.address-block__second {
  background-color: #9F9B95;
  color: var(--white);
}

@media screen and (max-width: 1240px) {
  .map-block__area {
    width: calc(100% - 450px);
  }
  .map-block__content {
    flex: 0 0 450px;
  }
  .address-block__item {
    width: 450px;
    padding: 2.5rem 1rem;
  }
}
@media screen and (max-width: 990px) {
  .map-block {
    margin-bottom: 50px;
  }
  .map-block__area {
    width: 100%;
    margin-bottom: 24px;
  }
  .map-block__content {
    width: 550px;
    margin: 0 auto;
    align-items: center;
  }
  .map-block__item {
    margin-bottom: 14px;
  }
  .address-block__item {
    width: max(550px, 100%);
  }
}
@media screen and (max-width: 670px) {
  .map-block__content {
    flex: 0 0 100%;
    width: min(550px, 100%);}
    
  .address-block__item {
    width:  min(450px, 100%);
    padding: 20px;
  }
  .address-block__item-title {
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 21px;
  }
}
@media screen and (max-width: 360px) {
  .map-block {
    margin-bottom: 30px;
  }
  .map-block__area {
    height: 330px;
  }
  .map-block__content {
    flex: 0 1 330px;
  }
  .address-block__item {
    width: 100%;
    max-width: none;
  }
}
.fos-block {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.fos-block__content {
  position: relative;
  flex: 0 1 52.5%;
  padding: 156px 105px 157px 77px;
  background: no-repeat left top url(../img/content/footer-fos.jpg);
  background-size: cover;
  color: var(--white);
}
/*.fos-block__content::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 521px;
  padding-top: 100%;
  background-color: rgba(0, 0, 0, 0.35);
}*/
.fos-block__title {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font: 600 1.875rem "Roboto", "Tahoma", sans-serif;
}
.fos-block__text {
  position: relative;
  z-index: 1;
  font-size: 1.125rem;
}

.footer-form {
  flex: 0 1 47.5%;
  padding: 36px 35px 33px;
  border-radius: 3px;
  background-color: #605D59;
}
.footer-form .form-group:has(.fos-field) {
  width: 100%;
  margin-bottom: 12px;
}
.footer-form .form-group:has(.fos-field.text-field) {
  width: 100%;
  margin-bottom: 17px;
}
.footer-form .form-group:has(.fos-label) {
  margin-bottom: 1.25rem;
}
.footer-form .text-field {
  height: 108px;
  resize: none;
}

.fos-notice {
  width: 100%;
  height: 100%;
  padding: 201px 93px 202px 95px;
  background-color: #605D59;
  color: var(--white);
}

.fos-notice__title {
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font: 600 1.875rem "Roboto", "Tahoma", sans-serif;
}
.fos-notice__text {
  font-size: 1.125rem;
}

@media screen and (max-width: 990px) {
  .fos-block__content {
    position: relative;
    flex: 0 1 52.5%;
    padding: 100px 20px;
  }
  .fos-block__title {
    font-size: 24px;
  }
}
@media screen and (max-width: 760px) {
  .fos-block {
    flex-direction: column;
  }
  .fos-block__content {
    padding: 100px max(20px, 5%);
  }
}
@media screen and (max-width: 360px) {
  .bottom-block .container {
    padding: 0;
  }
  .footer-form {
    padding: 20px 15px;
  }
  .footer-form .orange-button {
    width: 100%;
  }
}

/*cookie message*/
.cookie-notice {
    width: 1240px;
    display: none;/*flex;*/
    flex-flow: row wrap;
    align-items: center;
    gap: 30px;
    position: fixed;
    bottom: 0;
    left: calc(50% - 620px);
    z-index: 99999;
    padding: 20px;
    border-radius: 3px;
    background-color: #605D59;
    transition: all 0.3s ease;
}
.cookie-notice__text {
    flex: calc(100% - 165px);
    font-size: 14px;
    line-height: 16px;
    color: #ffffff;
}

@media screen and (max-width: 1240px) {
  .cookie-notice {
      width: 100%;
      left: 0;
  }
}

@media screen and (max-width: 760px) {
    .cookie-notice__text {
        flex: 100%;
    }
}

/* about page */
.about-promo {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 0;
  border-radius: 3px;
}
.about-promo__image {
  flex: 0 1 51.2%;
}
.about-promo .page-header {
  margin-bottom: var(--s-margin);
  color: var(--white);
}
.about-promo__content {
  flex: 0 1 48.8%;
  padding: 60px;
  background-color: #605D59;
  color: var(--white);
}
.about-promo__content p {
  margin-bottom: 12px;
}

@media screen and (max-width: 1200px) {
  .about-promo__content {
    padding: 40px 20px;
  }
}
@media screen and (max-width: 1050px) {
  .about-promo {
    align-items: stretch;
  }
  .about-promo__image {
    flex: 0 0 45%;
    height: 100%;
    align-self: stretch;
  }
  .about-promo__content {
    flex: 0 1 55%;
  }
}
@media screen and (max-width: 990px) {
  .about-promo__image {
    flex: 0 1 100%;
  }
  .about-promo__content {
    flex: 0 1 100%;
    padding: 50px 15px;
  }
}
.history-block .subheader {
  margin-bottom: var(--m-margin);
}
.history-block .history-line {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
  height: 173px;
  position: relative;
  z-index: 0;
  padding-left: 28px;
}
.history-block .history-line::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #605D59;
  position: absolute;
  top: 77px;
  left: 0;
  z-index: 1;
}
.history-block .history-line__card {
  flex: 0 0 249px;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  width: 341px;
  height: 173px;
  position: relative;
  z-index: 2;
  padding-right: 20px;
  background: no-repeat left 69px url(../img/icons/union.svg);
}
.history-block .history-line__card-time {
  font-weight: 600;
  font-size: 30px;
  line-height: 35px;
  color: #605D59;
}
.history-block .history-line__card-text {
  margin-right: auto;
  text-align: left;
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
  color: #171717;
}
.history-block .history-line__card:nth-of-type(even) .history-line__card-text {
  order: -1;
}
.history-block .history-line__card:last-of-type {
  width: 500px;
  padding-right: 0;
}

@media screen and (max-width: 480px) {
  .history-block .history-line__card {
    top: 30px;
  }
  .history-block .history-line__card:last-of-type {
    width: 300px;
    height: 225px;
  }
  .history-line__card-text {
    font-size: 16px;
    line-height: 120%;
  }
  .history-line__card-time {
    font-size: 26px;
    line-height: 30px;
  }
}
.photogallery__block .subheader {
  margin-bottom: 49px;
}

.photogallery {
  margin: 0 -10px;
}
.photogallery__item {
  margin: 0 10px;
}

.energies__content {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 20px;
}
.energies__title {
  margin-bottom: var(--m-margin);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 24px;
  line-height: 28px;
  color: #171717;
}
.energies-card {
  flex: 0 1 calc(50% - 10px);
  padding: var(--s-margin);
  background-color: var(--white);
}
.energies-card__image {
  width: 38px;
  height: 38px;
  padding: 3px 2px;
  margin: 0 0 32px auto;
  border-radius: 3px;
  background-color: #DFDFDF;
}
.energies-card__image .ep-icons {
  width: 100%;
  height: 100%;
}
.energies-card__title {
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
  color: #171717;
}
.energies-card__text {
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  color: #171717;
}
.energies-card:last-of-type .energies-card__image {
  padding: 6px;
}

@media screen and (max-width: 760px) {
  .energies-card {
    flex: 0 1 100%;
  }
}
@media screen and (max-width: 480px) {
  .energies__content {
    gap: 14px;
  }
  .energies-card {
    padding: 20px;
  }
  .energies-card__title {
    margin-bottom: 14px;
  }
}
.about-machine {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 0;
}
.about-machine__wrap {
  margin-bottom: var(--s-margin);
}
.about-machine__content {
  flex: 0 1 752px;
  padding: 82px 80px;
  background-color: #DFDFDF;
}
.about-machine__content .subheader {
  margin-bottom: 32px;
  text-transform: uppercase;
  color: #171717;
}
.about-machine__list-item {
  margin-bottom: 16px;
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
  color: #171717;
}
.about-machine__list-item::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 25px;
  margin-right: 12px;
  float: left;
  margin-top: -2px;
  padding: 9px;
  border-radius: 3px;
  background: no-repeat center url(../img/icons/line.svg) var(--white);
}

@media screen and (max-width: 1240px) {
  .about-machine__image {
    flex: 0 1 45%;
    height: auto;
  }
  .about-machine__image img {
    height: 100%;
    object-fit: cover;
  }
  .about-machine__content {
    flex: 0 1 55%;
    padding: 50px 40px;
  }
}
@media screen and (max-width: 990px) {
  .about-machine__image {
    flex: 0 1 35%;
    height: auto;
  }
  .about-machine__image img {
    height: 100%;
    object-fit: cover;
  }
  .about-machine__content {
    flex: 0 1 65%;
    padding: 50px 40px;
  }
}
@media screen and (max-width: 760px) {
  .about-machine__wrap {
    margin-bottom: 15px;
  }
  .about-machine__image {
    flex: 0 1 100%;
    max-height: 400px;
  }
  .about-machine__image img {
    object-position: center;
  }
  .about-machine__content {
    flex: 0 1 100%;
    padding: 50px 15px;
  }
  .about-machine__list-item {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 120%;
  }
  .subheader {
    margin-bottom: 25px;
  }
}
.about-features {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 20px;
}
.about-features__card {
  flex: 0 1 calc(24% - 10px);
  padding: var(--m-margin);
  background-color: var(--white);
}
.about-features__card-image {
  width: 38px;
  height: 38px;
  padding: 5px 5px;
  margin: 0 auto 24px 0;
  border-radius: 3px;
  background-color: #DFDFDF;
}
.about-features__card-image .ep-icons {
  width: 100%;
  height: 100%;
}
.about-features__card-title {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 120%;
}
.about-features__card-quantity {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 24px;
  line-height: 28px;
}

@media screen and (max-width: 760px) {
  .about-features {
    margin-bottom: 50px;
    gap: 14px;
  }
  .about-features__card {
    flex: 0 1 47%;
    padding: 20px 20px 15px;
  }
}
.product-section .product-slider {
  margin-bottom: 15px;
}
.product-section__link {
  display: flex;
  margin-left: calc(100% - 228px); /*Надо переделать, корявые стили тут**/
  padding: 17px 16px;
}
.product-section__link .ep-icons {
  width: 22px;
  height: 22px;
  margin-left: 16px;
  stroke: #171717;
}
.product-section__link:hover .ep-icons {
    stroke: #605D59;}
.product-section__link:active .ep-icons {
    stroke: #E46E26;}

@media screen and (max-width: 760px) {
  .product-section__link {
    width: 210px;
    padding: 10px 20px;
    margin: 10px auto;
  }
}
.quality-block {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 0;
  align-items: stretch;
  background: #605D59;
  color: var(--white);
}
.quality-block__image {
  flex: 0 1 260px;
  background: red;
}
.quality-block__content {
  flex: 0 1 calc(100% - 260px);
  padding: 50px;
}
.quality-block__title {
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
}
.quality-block__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
}

@media screen and (max-width: 760px) {
  .quality-block {
    align-items: center;
  }
  .quality-block__image {
    flex: 0 1 100%;
  }
  .quality-block__image .fabric-image {
    object-fit: contain;
  }
  .quality-block__content {
    flex: 0 1 100%;
  }
}
@media screen and (max-width: 480px) {
  .quality-block__image {
    height: 294px;
  }
  .quality-block__content {
    padding: 50px 15px;
  }
  .quality-block__title {
    margin-bottom: 14px;
  }
  .quality-block__text {
    font-size: 16px;
    line-height: 120%;
  }
}
.value-block .subheader {
  margin-bottom: 35px;
}

.value__content {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 20px;
}
.value__content .value-card {
  width: 410px;
  margin: 0 10px;
  padding: 29px;
}
.value__content .value-card:first-of-type {
  background: no-repeat right top url(../img/content/feat-for-about1.png) var(--white);
}
.value__content .value-card:nth-of-type(2) {
  background: no-repeat right top url(../img/content/feat-for-about2.png) var(--white);
}
.value__content .value-card:last-of-type {
  background: no-repeat right top url(../img/content/feat-for-about3.png) var(--white);
}
.value__content .value-card__icon {
  width: 45px;
  height: 45px;
  padding: 8px;
  background-color: #DFDFDF;
}
.value__content .value-card__icon .ep-icons {
  width: 100%;
  height: 100%;
}
.value__content .value-card__title {
  margin-top: 178px;
  margin-bottom: 24px;
  font-weight: 500;
  font-size: 22px;
  line-height: 26px;
  color: #171717;
}
.value__content .value-card__text {
  font-size: 20px;
  line-height: 23px;
}

.ceo-block {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 0;
}
.ceo-block img {
  flex: 0 1 44.67%;
}
.ceo-block__content {
  flex: 0 1 55.32%;
  padding: 114px 55px 55px 74px;
  background: no-repeat 74px 63px url(../img/icons/quotes.svg) #605D59;
  color: var(--white);
}
.ceo-block__content p {
  margin-bottom: var(--s-margin);
  text-transform: uppercase;
  font-size: 18px;
  line-height: 21px;
}
.ceo-block__content .ceo-name {
  font-size: 15px;
  line-height: 18px;
}
.ceo-block__content .ceo-occupation {
  font-size: 15px;
  line-height: 18px;
  color: #DFDFDF;
}

@media screen and (max-width: 480px) {
  .ceo-block {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 0;
  }
  .ceo-block img {
    flex: 0 1 100%;
  }
  .ceo-block__content {
    flex: 0 1 100%;
    padding: 98px 15px 50px;
    background: no-repeat 15px 50px url(../img/icons/quotes.svg) #605D59;
  }
  .ceo-block__content p {
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
  }
}

.review-block .subheader {
    margin-bottom: 35px;
}
.clients-about__card {
    width: 400px;
    min-height: 420px;
    max-height: 430px;
    height: 100%;
    margin: 0 10px;
    padding: 20px;
    background-color: #ffffff;
}

.clients-about__card-image {
    height: 210px;
    width: 100%;
}

.clients-about__card-image img {
    width: 70%;
    height: auto;
    object-position: center;
    object-fit: contain;
}
.clients-about__card-title {
    width: 80%;
    margin-bottom: 14px;
    font-weight: 500;
    font-size: 22px;
    line-height: 26px;
    color: #171717;
}

.clients-about__card-text {
    font-size: 18px;
    line-height: 21px;
    color: #171717;
}

@media screen and (max-width: 480px) {
    .clients-about__card {
        width: 90%;}
}

.collab-block {
  padding: 50px;
  border-radius: 3px;
  background-color: #9F9B95;
}
.collab-block .subheader {
  margin-bottom: 15px;
  color: var(--white);
}
.collab-block__text {
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 21px;
  color: var(--white);
}

@media screen and (max-width: 480px) {
  .collab-block {
    padding: 50px 15px;
  }
}
.sout-gallery .subheader {
  margin-bottom: var(--s-margin);
}
.sout-gallery__content {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin: 0 -10px;
}
.sout-gallery__content .slick-track {
  width: 1240px !important;
}
.sout-gallery__content .sout-card {
  /*flex: 0 1 23.75%;*/
  display: grid;
  place-items: center;
  min-height: 251px;
  padding: 46px 37px;
  margin: 0 9px;
  border-radius: 6px;
  background-color: var(--white);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.sout-gallery__content .sout-card:hover {
  background-color: #DFDFDF;
}

.clients-slider__card-title {
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 22px;
  line-height: 26px;
  text-transform: uppercase;
  color: #171717;
}

.clients-slider__card-text {
  font-size: 16px;
  line-height: 120%;
  color: #171717;
}
@media screen and (max-width: 360px) {
    .sout-gallery__content .sout-card {
    max-width: 330px;
    }    
}

.text-page {margin-bottom: 100px;}

.text-page ol li {
    margin-bottom: 10px;
            
        }
.text-page ol li h2 {
    margin-bottom: 1rem;
}        

.text-page ol li::marker {
    font: 700 1.5rem Roboto, system-ui;
}

.politics-list {
    list-style-type: none;
    counter-reset: list-o;
}
.politics-list > li {
    counter-increment: list-o;
}
.politics-list > li::marker {
    content: counter(list-o) '. ';
}
.politics-list  ol {
    list-style-type: none;
    counter-reset: list-i;}
.politics-list  ol > li {
    counter-increment: list-i;
}    
.politics-list  ol > li::marker {
    content: counter(list-o) "." counter(list-i) ". ";
    font-size: 1rem;
}
    
   
.table-wrapper {
    overflowX: auto;
}

.service-table, th, td {
    border-collapse: collapse;
    border: 1px solid #171717;
}

.service-table th, 
.service-table td {
    padding: 5px;
}

/*search page*/
.simplesearch-results-list,
.simplesearch-results {
  margin-bottom: 1rem;  
}

.simplesearch-paging {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    gap: 5px;
    margin-bottom: 1rem;
}

.simplesearch-page {
    flex: 0 0 30px;
    width: 100%;
  /*  height: 30px;
    background-color: #DFDFDF;*/
    text-align: center;
}

.simplesearch-page > a {
    font-size: 1rem;
    line-height: 20px;
    color: #171717;
    transition: color 0.5s ease;
}

.simplesearch-page > a:hover {
    color: #585858;
    transition: color 0.5s ease;
}

.simplesearch-page > a:active {
    color: #E46E26;
    transition: color 0.5s ease;
}

.simplesearch-current-page {
    background-color: #E46E26;
    color: var(--white);
}

.simplesearch-result {
    margin-bottom: 1rem; 
}

.simplesearch-result__title {
    font-weight: 700;
}
@media screen and (max-width: 360px) {
    .simplesearch-result-pages {
        display: block;
        width: 100%;
    }
}