:root {
  --max-width:1410px;
  --padding: 16px;
  --main-font-family: 'Inter', serif;
  --fz15_18: clamp(0.9375rem, 0.8915rem + 0.1961vw, 1.125rem);
  --main-red: #af0f25;
  --dark-grey: #767171;
  --light-grey: #b6b2b2;
  --very-light-grey: #ddd;
}
* {
  box-sizing: border-box;
}
body {
  /*background-color: #f2f2f2;*/
  background-color: var(--very-light-grey);
  font-family: var(--main-font-family, system-ui);
}
@font-face {
  font-family: Rubik;
  src: url('../fonts/IBMPlexSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-stretch: normal;
  font-variant: normal;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url('../fonts/Inter_18pt-Medium.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-stretch: normal;
  font-variant: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('../fonts/Inter_18pt-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
  font-variant: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url('../fonts/Inter_18pt-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-stretch: normal;
  font-variant: normal;
  font-display: swap;
}
@font-face {
   font-family: Inter;
   src: url('../fonts/Inter_24pt-ExtraBold.ttf') format('truetype');
   font-weight: 800;
   font-style: normal;
   font-stretch: normal;
   font-variant: normal;
   font-display: swap;
 }

.container {
  width: min(100%, var(--max-width));
  padding-left: var(--padding);
  padding-right: var(--padding);
  margin-inline: auto;
}
.container-100 {
  width: 100%;
}

/* low-footer CSS */
html, body {height: 100%;}
.wrapper {min-height: 100%;display: flex;flex-direction: column;}
/*.main {flex: 1 1 auto;}*/
/* /low-footer CSS */

/* Теперь сдвигов контента при открытии и закрытии модального окна нет.*/
html, body {
  scrollbar-gutter: stable;
}

 @media (prefers-reduced-motion: no-preference) {
   .example {
     animation-name: zoomInDown;
     animation-duration: 1s;
     animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
     animation-delay: 0.3s;
     animation-fill-mode: both;
   }
 }
header {
  background-color: #f9f9f9;
}
.img-fluid img {
  max-width: 100%;
  height: auto;
}
.r-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.row-logo {
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
}
.logotype {
  width: 230px;
  padding-top: 10px;
  padding-bottom: 5px;
}
.contacts-short {

  width: min(60%, 160px);
}
.icon-top {
  width: min(30%, 100px);
}
.icon-top {
  width: 36px;
  height: 36px;
  margin-left: 20px;
}
.contacts, .contacts a {
  text-decoration: none;
  color: #333333;
  line-height: 120%;
  display: block;
}
.contacts a:hover {
  text-decoration: underline;
}
.row-nav {
  margin-top: 10px;
}
nav.top {
  position: relative;
}

/* навигация */
nav.top ul {
  background-color: white;
  display: none;
  position: absolute;
  width: min(90%, 380px);
  margin: 0;
  padding: 0;
  top: 40px;
  left: 5px;
  -webkit-border-bottom-right-radius: 3px;
  -webkit-border-bottom-left-radius: 3px;
  -moz-border-radius-bottomright: 3px;
  -moz-border-radius-bottomleft: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  overflow: hidden;
  -webkit-box-shadow: 0 4px 8px 0 rgba(34, 60, 80, 0.4);
  -moz-box-shadow: 0 4px 8px 0 rgba(34, 60, 80, 0.4);
  box-shadow: 0 4px 8px 0 rgba(34, 60, 80, 0.4);
  opacity: 0.95;
  z-index: 1;
}
nav.top ul > li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
nav.top ul > li > a {
  display: block;
  text-decoration: none;
  color: black;
  padding:14px 10px 14px 28px;
  font-size: 14px;
  font-weight: 400;
}
nav.top ul > li > a:hover{
  background-color: white;
  color: var(--main-red);
}
nav.top ul > li.current-menu-item > a, nav.top ul > li.current-page-ancestor > a {
  background-color: var(--main-red);
  color:white;
  font-weight: 600;
}
nav.top ul > li:not(:last-child) {
  border-bottom: 1px solid var(--very-light-grey);
}
a#pull {
  display: block;
  width: 100%;
  height: 40px;
  position: relative;
}
a#pull > span {
  position: absolute;
  top: 10px;
  left: 30px;
  font-weight: 600;
  color: var(--main-red);
  text-transform: uppercase;
}
.hamburger .line{
  width: 20px;
  height: 2px;
  background-color: var(--main-red);
  display: block;
  margin:3px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.hamburger:hover{
  cursor: pointer;
}
#hamburger{
  position: absolute;
  left: 0;
  top: 10px;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#hamburger.is-active{
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
#hamburger:before{
  content: "";
  position: absolute;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  border: 2px solid transparent;
  top: calc(50% - 11px);
  left: calc(50% - 11px);
  border-radius: 100%;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#hamburger.is-active:before{
  border: 2px solid var(--main-red);
}
#hamburger.is-active .line{
  width: 20px;
}
#hamburger.is-active .line:nth-child(2){
  opacity: 0;
}
#hamburger.is-active .line:nth-child(1){
  -webkit-transform: translateY(5px);
  -ms-transform: translateY(5px);
  -o-transform: translateY(5px);
  transform: translateY(5px);
}
#hamburger.is-active .line:nth-child(3){
  -webkit-transform: translateY(-5px) rotate(90deg);
  -ms-transform: translateY(-5px) rotate(90deg);
  -o-transform: translateY(-5px) rotate(90deg);
  transform: translateY(-5px) rotate(90deg);
}
.navigation {
  border-bottom: 2px solid var(--main-red);
}
/* /навигация */

.frontpage-image {
  position: relative;
  font-size: 0;
  border-bottom: 1px solid white;
  background-color: white;
}
.frontpage-image img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
  object-position: bottom;
}
.frontpage-image-mobile {
  display: none;
}
/*.frontpage-image-transparent {*/
/*  height: 490px;*/
/*}*/
.fp-image-inner {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}
.contacts-image img {
  width: 100%;
  object-fit: cover;
  object-position: bottom;
}
.bg-bentonite {
  padding: 22px 20px;
  /*background-image: url("../images/image13.jpeg");*/
  background-color: #000000a0

}
.bg-white {
  background-color: #fff;
}
.red-line {
  border-bottom: 4px solid var(--main-red);
}
.grey-line {
  border-bottom: 4px solid var(--dark-grey);
}
.bent-uch-center {
  width: min(100%, 620px);
  color:white;
}
.bent-uch-center a {
  color:var(--light-grey);
}
/* 22 - 28 */
.bent-uch-center h1, .bent-uch-center p strong,
.prof-intro h1 {

  /*font-size: clamp(1.75rem, 1.6887rem + 0.2614vw, 2rem);*/
  font-size: clamp(1.375rem, 1.2873rem + 0.3896vw, 1.75rem);
  margin-bottom: 0;
}
/* 16-20   360-1900 */
.bent-uch-center h2, .bent-uch-center p {
  font-weight: 400;
  /*font-size: clamp(1.125rem, 0.9718rem + 0.6536vw, 1.75rem);*/
  font-size: clamp(1rem, 0.9416rem + 0.2597vw, 1.25rem);
  line-height: 160%;
}
.bent-uch-center h2 {
  margin-bottom: 0;
}

.bg-light-grey, .bg-dark-grey {
  padding-top: 22px;
  padding-bottom: 22px;
  /*background-color: var(--very-light-grey);*/
  background-color: #f9f9f9;
}
.bg-dark-grey {
  background-color: var(--dark-grey);
}
.frontpage-news article{
  margin-bottom: 20px;
}
.news-preview img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 200px;
  overflow: hidden;
  object-fit: cover;
  object-position: bottom;
}
.news-date {
  position: relative;
}
/* 16 - 20 */
.news-date p {
  padding-left: 16px;
  font-weight: 600;
  margin-bottom: 0;
  font-size: clamp(1rem, 0.9387rem + 0.2614vw, 1.25rem);
}
.news-date::before {
  position: absolute;
  content: '';
  display: block;
  width: 10px;
  height: 100%;
  background-color: var(--main-red);
}
.news-excerpt p {
  margin-top: 5px;
  font-weight: 300;
  font-size: clamp(0.875rem, 0.8137rem + 0.2614vw, 1.125rem);
}
.news-excerpt a {
  color:#554444;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
}
.news-excerpt a:hover {
  text-decoration: underline;
  color:black;
}
footer {
  padding-top: 30px;
  padding-bottom: 20px;
  background-color: var(--very-light-grey);
}
nav.bot {
  margin-bottom: 30px;
}
nav.bot ul {
  margin: 0;
  padding: 0;
}
nav.bot ul li {
  list-style-type: none;
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 10px;
}
nav.bot ul li a {
  text-decoration: none;
  color: black;
  transition: all 0.2s ease-out;
  font-size: 14px;
}
nav.bot ul li a:hover {
  color: var(--main-red);
  text-decoration: underline;
}
nav.bot ul li.current-menu-item a, nav.bot ul li.current-page-ancestor a {
  color: var(--main-red);
  font-weight: 700;
}

.contacts-long p {
  font-weight: 600;
  text-transform: uppercase;
}
.contacts-long a {
  font-size: clamp(0.875rem, 0.8137rem + 0.2614vw, 1.125rem);
  line-height: 140%;
}
address {
  line-height: 140%;
  font-style: normal;
  font-size: clamp(0.875rem, 0.8137rem + 0.2614vw, 1.125rem);
  margin-bottom: 10px;
}

.contacts-long p, .contacts-long address, .contacts-long a {
  font-size: 14px;
}

/* 16 - 18 */
.prof-intro p{
  font-size: clamp(1rem, 0.9694rem + 0.1307vw, 1.125rem);
  line-height: 160%;
}

.proflist {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top:40px;
  margin-bottom: 40px;
}
.proflist article {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.proflist article {
  width: min(calc(50% - 10px), 320px);
  background-color: white;
  padding-top: 10px;
  padding-bottom: 20px;
  border-radius: 3px;
  transition: all 0.14s ease-in-out;
}
.proflist article:hover {
  box-shadow: 1px 1px 5px #ccc;
}
.proflist article:hover .prof-title a {
  color: var(--main-red);
}
.prof-icon {
  margin-top: 10px;
  margin-bottom: 15px;
  padding-left: 10px;
  padding-right: 10px;
  height: 90px;
  width: auto;  text-align: center;
}
.prof-icon img {
  width: auto;
  height: 100%;

}
/* 16 - 22 */
.prof-title h2 {
  position: relative;
  padding-left:18px;
  padding-right: 5px;
  margin-top:0;
  margin-bottom: 0;
  font-size: clamp(1rem, 0.9081rem + 0.3922vw, 1.375rem);
  min-height: 76px;
}
.prof-title h2::before {
  content: ' ';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 10px;
  height: 33px;
  background-color: var(--main-red);
}
.prof-title h2 a {
  color: #333333;
  text-decoration: none;
  font-weight: 600;
}
.prof-exp, .prof-price, .notice {
  padding-left: 18px;
  font-size: clamp(0.875rem, 0.8137rem + 0.2614vw, 1.125rem);
}
/* 14-22 */
.prof-price {
  font-weight: 700;
  /*font-size: clamp(0.875rem, 0.7581rem + 0.5195vw, 1.375rem);*/
  font-size: clamp(0.875rem, 0.7289rem + 0.6494vw, 1.5rem);
}

.prof-button a {
  width: min(90%, 300px);
  background-color: var(--very-light-grey);
  display: block;
  margin-inline: auto;
  padding: 5px 10px;
  border-radius: 3px;
  color:black;
  text-decoration: none;
  text-align: center;
  /* 14 - 18 */
  font-size: clamp(0.875rem, 0.8137rem + 0.2614vw, 1.125rem);
  transition: all 0.2s ease-out;
}
.prof-button a:hover {
  background-color: var(--main-red);
  color:white;
}
.prof-title h2 a:hover {
  color: var(--main-red);
}
.page__intro {
  /*color:#DADADA;*/
  color:white;
}
.page__intro-black {
  color:#333;
  line-height: 160%;
}
.page__intro h1 {
  margin-bottom: 6px;
  font-weight: 800;
}
.page__intro p, .page__intro ul {
  margin: 0;
  line-height: 220%;
}

table.price {
  border-collapse: collapse;
  border-spacing: 0;
  padding: 0;
  border-bottom: 1px solid #CC0000;
  border-top: 3px solid #CC0000;
  margin-bottom: 16px;
  width: 100%;
}
table.price tr th {
  border-bottom: 1px solid #CC0000;
  height: 60px;
}
table.price tr td {
  height: 40px;
  border-bottom: 1px solid #CC0000;
  font-size: var(--fz15_18);
  color: #333;
  padding: 5px 20px 5px 0;
}
.align-center {
  text-align: center;
}
.page table a {
  text-decoration: none;
  color:var(--dark-grey);
  transition: all 0.2s ease-out;
}
.page table a:hover {
  color:var(--main-red);
}
.page-content {
  padding-bottom: 30px;
}
.page-content a {
  color:var(--dark-grey);
}
.page-header h1 {
  margin-bottom: 10px;
}
.page-header {
  padding-top:20px;
  margin-bottom: 20px;
}

.wpcf7-form, .searchform {

}
.wpcf7-form input[type="text"], .searchform input[type="text"],
.wpcf7-form input[type="tel"] {
  width: min(100%, 480px);
  border:1px solid var(--light-grey);
  height: 40px;
  padding:5px 12px;
  font-family: inherit;
  margin-bottom: 6px;
}
.wpcf7-form input[type="submit"], .searchform input[type="submit"] {
  width: min(100%, 300px);
  background-color: var(--main-red);
  transition: all 0.2s ease-in-out;
  height: 40px;
  color: white;
  border:1px solid black;
  text-transform: uppercase;
  opacity: 0.7;
  font-size: 18px;
  font-weight: 600;
}
.wpcf7-form input[type="submit"]:hover, .searchform input[type="submit"]:hover {
  border:1px solid  var(--main-red);
  opacity: 1;
}
.wpcf7-list-item {
  margin-left: 0;
  margin-bottom: 10px;
}
.wpcf7-form input[type="text"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="submit"] {
  width: 100%;
}
.wpcf7-form input[type="submit"] {
  height: 60px;
}
.wpcf7-form a {
  display:block;
  margin-bottom: 20px;
}

.left-column-nav ul {
  padding: 0;
  list-style-type: none;
}
.left-column-nav ul li {
  line-height: 140%;
  margin-bottom: 10px;
}
.left-column-nav ul li a {
  padding: 2px 0;
  display: inline-block;
  transition: all 0.2s ease-in-out;
}
.left-column-nav ul li.current_page_item a {
  color:black;
  font-weight: 600;
}
.page-content__right-column a, .left-column-nav ul li a  {
  color: var(--dark-grey);
}
.page-content__right-column {
  font-size: var(--fz15_18);
}
.page-header h1 {
font-size: clamp(1.375rem, 1.2873rem + 0.3896vw, 1.75rem);
  text-align: center;
}
.page-content__right-column h2 {
  font-size: clamp(1rem, 0.9416rem + 0.2597vw, 1.25rem);
}
.page-content__right-column {
  margin-top: 40px;
}
.page-content__right-column {
  line-height: 160%;
}
.icon-top.i-bvi {
  display: none;
}

.page-container {
  background-color: white;
}

.contacts.contacts-short {
  display: none;
}

@media (min-width: 576px) {
  .prof-button a {
    height: 32px;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
  }
  .frontpage-image {
    text-align: center;
  }
  .frontpage-image img {
    width: unset;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .row-logo {
    display: flex;
    justify-content: space-between;
  }
  .header_contacts_icons {
    width: 360px;
  }
  .header_contacts_icons.r-flex {
    justify-content: flex-end;
  }
  .frontpage-news {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .frontpage-news article {
    width: calc((100% / 3) - 14px);
  }
  .proflist article {
    width: calc((100% / 3) - 16px);
  }
  .footer-flex {
    display: flex;
    justify-content: space-between;
  }
  nav.bot, .contacts-long {
    width: 360px;
    margin-bottom: 0;
  }
  .prof-title h2::before {
    height: 38px;
  }
  .contacts.contacts-short {
    display: block;
  }
}

@media screen and (min-width: 992px){
  a#pull {display: none}
  nav.top {
    height: 50px;
  }
  .sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 55555;
    transition: transform 200ms ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  }
  .row-nav {
    margin-top: 0;
  }
  nav.top ul {
    width: 100%;
    display: flex;
    height: 50px;
    position: relative;
    top: unset;
    left: unset;
    box-shadow: unset;
    border-radius: 0;
  }
  nav.top ul > li > a {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 18px;
    padding-right: 18px;
  }
  nav.top ul > li:not(:last-child) {
    border-bottom: 0;
  }
  .frontpage-news article {
    width: calc((100% / 3) - 14px);
  }
  .nav-placeholder {
    display: none;
  }
  .fp-image-inner {
    top:unset;
    bottom: 0;
  }
  .frontpage-image img {
    object-position: center;
    height: 100%;
  }
  .frontpage-about {
    display: flex;
    column-gap: 20px;
    padding-left: 0;
    padding-right: 0;
  }
  .bent-uch-center {
    width: calc(50% - 10px);
  }
  .proflist article {
    min-height: 280px;
  }
  .prof-button a {
    height: 38px;
  }
  .prof-title h2::before {
    height: 40px;
  }
  .frontpage-image-mobile {
    display: block;
  }
  .sveden {
    display: flex;
    column-gap: 30px;
  }
  .page-content__left-column {
    width: 30%;
  }
  .page-content__right-column {
    width: 70%;
    margin-top: 20px;
  }
  .icon-top.i-bvi {
    display: block;
  }

}

@media screen and (min-width: 1200px){
  .frontpage-image-transparent {
    height: 480px;
  }
  .fp-image-inner {
    height: 252px;
  }

  .proflist article {
    width: calc((100% / 4) - 15px);
  }
  .prof-title h2::before {
    height: 42px;
  }
  nav.top ul > li > a {
    font-size: clamp(0.875rem, 0.4495rem + 0.5674vw, 1.125rem);
    padding-left: 32px;
    padding-right: 32px;
  }
  .frontpage-news {
    gap: 60px;
  }
  .frontpage-news article {
    width: calc((100% / 3) - 40px);
  }
  .prof-exp p {
    margin-top: 0;
    margin-bottom: 40px;
  }
  nav.top ul > li > a {
    text-transform: uppercase;
    font-size: 16px;
  }
  .page-header {
    margin-top: 0;
    padding-top: 40px;
    margin-bottom: 30px;
  }
}

@media screen and (min-width: 1366px){
  nav.top ul, nav.top {
    height: 54px;
  }
  nav.top ul > li > a {
    padding-left: 36px;
    padding-right: 36px;
  }
}

@media screen and (min-width: 1600px){
  nav.top ul, nav.top {
    height: 60px;
  }
  .fp-image-inner {
    height: 270px;
  }  
  .prof-title h2::before {
    height: 45px;
  }
  .prof-button a {
    height: 42px;
  }
  .container {
    padding-left: 0;
    padding-right: 0;
  }
  .proflist {
    gap: 40px;
  }
  .proflist article {
    width: calc((100% / 4) - 30px);
  }
}

@media screen and (min-width: 1900px){
  .frontpage-news {
    gap: 90px;
  }
  .frontpage-news article {
    width: calc((100% / 3) - 60px);
  }
  .page-content__left-column {
    width: 25%;
  }
  .sveden {
    column-gap: 60px;
  }
  .page-content__right-column {
    width: 75%;
    margin-top: 5px;
  }
}

@media (max-width: 768px) {
  .price th {
    display: none; /* Скрываем заголовки */
  }
  .price tr {
    display: block; /* Делаем строки блоками */
    margin-bottom: 15px;
  }
  .price td {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    border: 1px solid #ddd;
  }
  table.price tr td {
    min-height: 48px;
    height: unset;
  }
  .price td::before {
    content: attr(data-label); /* Добавляем название столбца */
    font-weight: bold;
    margin-right: 10px;
  }
}