@charset "UTF-8";

.header__mega-menu,
.header__mega-search {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 280ms ease, transform 280ms ease, visibility 280ms;
  z-index: 999;
  top: -1000px;
  position: relative;
}

/* Когда элемент помечен как open, он присутствует в DOM/потоке */
.header__mega-menu.open,
.header__mega-search.open {
  visibility: visible;
  pointer-events: auto;
  top: 0;
}

/* Видимое состояние — плавное появление */
.header__mega-menu.open.visible,
.header__mega-search.open.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  padding-top: 100px;
}

/* Немного другой эффект для поиска — можно показать сверху с меньшим сдвигом */
.header__mega-search {
  transform: translateY(-4px);
}

.header__mega-search.open.visible {
  transform: translateY(0);
}

/* Оверлей внутри контейнеров должен покрывать фон и разрешать закрытие по клику */
.header__mega-menu .header__overlay,
.header__mega-search .header__overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 28, 36, 0.925);
  opacity: 0;
  visibility: hidden;
  transition: opacity 280ms ease, visibility 280ms;
  z-index: 1;
}

/* Когда контейнер открыт — показываем overlay */
.header__mega-menu.open.visible .header__overlay,
.header__mega-search.open.visible .header__overlay {
  opacity: 1;
  visibility: visible;
}

/* Контент блока поверх overlay */
.header__mega-menu>.container-lg,
.header__mega-search>.container-lg,
.header__mega-menu .row,
.header__mega-search .search_f {
  position: relative;
  z-index: 2;
}

/* Блокировка прокрутки (если используется lockScroll fallback) */
body.lock {
  overflow: hidden;
}

.header {
  padding: 10px 0;
}

.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__func {
  display: flex;
  gap: 30px;
}

.header__func svg {
  fill: #3F3A3E;
}

.header__icon {
  width: 30px;
  height: 30px;
}

.header__icon:hover {
  cursor: pointer;
}

.header__overlay {
  height: 100vh;
}

.header__end {
  display: flex;
  justify-content: end;
}

.header__end svg {
  fill: #fff;
}

.header__end svg:hover {
  cursor: pointer;
}

.header__title {
  font-weight: 700;
  color: #fff;
  font-size: clamp(1.125rem, 0.975rem + 0.75vw, 1.875rem);
  margin-bottom: 30px;
}

.header__subtitle {
  font-size: 18px;
  font-weight: 700;
  text-decoration: underline;
  color: #fff;
  margin-bottom: 20px;
  display: block;
}

.header__mega-menu ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.header__mega-menu ul a {
  font-size: 16px;
  opacity: 0.6;
  color: #fff;
}

.header__mega-menu ul a:hover {
  opacity: 1;
}

.header__megamenu-block {
  margin-bottom: 60px;
}

.header__bordered {
  border-right: 1px solid rgba(255, 255, 255, 0.0862745098);
}

.header__form-search {
  display: flex;
  gap: 20px;
  width: 400px;
  margin-top: 100px;
}

.header__search-wrp {
  display: flex;
  justify-content: center;
}

.header__input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #fff;
  color: #fff;
  width: 100%;
}

.header__input::-moz-placeholder {
  color: #fff;
}

.header__input::placeholder {
  color: #fff;
}

.header__mega-search-icon {
  width: 40px;
  height: 40px;
  fill: #fff;
}

.header__button {
  background: transparent;
  border: none;
  box-shadow: none;
}

.header__logo img {
  max-width: 80%;
}

@media only screen and (max-width: 946px) {
  .header__func {
    display: none;
  }

  .header__logo img {
    max-width: 70%;
  }
}

.mobile__phone {
  display: none;
  white-space: nowrap;
  margin-right: 10px;
}

@media only screen and (max-width: 946px) {
  .mobile__phone {
    display: inline-block;
    font-weight: 700;
    font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
    color: #3F3A3E;
  }
}

.nav__list {
  display: flex;
  align-items: center;
  margin: 0;
}

.nav__item:not(:last-child) {
  margin-right: 40px;
}

@media only screen and (max-width: 1200px) {
  .nav__item:not(:last-child) {
    margin-right: 20px;
  }
}

.nav__item {
  position: relative;
  padding: 15px 0;
}

.nav__link {
  color: #3F3A3E;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  white-space: nowrap;
}

.nav__link:hover {
  color: #F34429;
}

.nav__link--drop::after {
  content: "";
  width: 7px;
  height: 7px;
  background-image: url("../img/download.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.3s;
}

.nav__list--dropdown {
  position: absolute;
  background-color: #fff;
  left: 0;
  top: 100%;
  display: block;
  box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.07);
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  width: 280px;
  z-index: 90;
}

.dropdown-submenu {
  display: flex;
  align-items: initial;
}

.dropdown-submenu__item {
  flex-grow: 1;
  min-width: 200px;
  padding: 0px 30px;
}

.dropdown-submenu__list {
  padding: 0;
}

.dropdown-submenu__item:not(:last-child) {
  border-right: 1px solid #bfbfbf;
}

.dropdown-submenu__item:first-child {
  padding-left: 0;
}

.dropdown-submenu__item:last-child {
  padding-right: 0;
}

.mobile-back {
  display: none;
}

.mobile-back__link {
  color: #3F3A3E;
  font-weight: 500;
}

.dropdown-list__item {
  border-bottom: 1px solid #ececec;
}

.dropdown-list__link {
  font-size: 15px;
  color: #3F3A3E;
  padding: 13px 20px;
  display: block;
}

.dropdown-list__link:hover {
  color: #F34429;
}

.dropdown-submenu__list-item {
  margin-bottom: 10px;
}

@media (min-width: 946px) {
  .nav__link--drop:hover::after {
    transform: rotate(180deg);
    transition: all 0.3s;
  }

  .nav__item:hover .nav__list--dropdown {
    visibility: visible;
    opacity: 1;
    transition: all 0.3s;
  }
}

.burger {
  width: 40px;
  height: 20px;
  cursor: pointer;
  background-color: transparent;
  border: none;
  position: relative;
  display: none;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background-color: #000;
}

.burger::after {
  top: auto;
  bottom: 0;
}

.burger span {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 1px;
  display: inline-block;
  background-color: #000;
}

.overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
}

.lock {
  overflow: hidden;
}

@media (max-width: 946px) {
  .burger {
    display: block;
  }

  .mobile-back {
    display: block;
  }

  .main-menu {
    position: fixed;
    left: 0;
    top: 0;
    max-width: 400px;
    width: 80%;
    height: 100vh;
    z-index: 100;
    box-shadow: 5px 0 15px -5px rgba(0, 0, 0, 0.8);
    background-color: #fff;
    transform: translateX(-150vw);
    overflow-x: hidden;
    overflow-y: auto;
    display: block;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    padding-top: 10%;
    position: relative;
    justify-content: flex-start;
  }

  .nav__item {
    margin-left: 0 !important;
    font-size: 20px;
    width: 100%;
    padding: 0;
    position: static;
  }

  .nav__link,
  .dropdown-submenu__list-item a {
    padding: 13px 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown-submenu__list-item {
    padding: 0;
  }

  .nav__link {
    border-bottom: 1px solid #ececec;
  }

  .nav__link::after {
    transform: rotate(-90deg);
  }

  .nav__list--dropdown {
    position: absolute;
    top: 0;
    right: auto;
    left: 100%;
    box-shadow: none;
    width: 100%;
    display: none;
  }

  .dropdown-submenu__item {
    width: 100%;
    padding: 0;
    border: none !important;
  }

  .dropdown-submenu__title {
    padding: 0 30px;
  }

  .dropdown-submenu__banner {
    display: inline-block;
    padding: 20px;
  }

  .nav__list.transformation {
    transform: translateX(-100%);
    transition: all 0.3s;
  }

  .nav__list--dropdown.transformation {
    opacity: 1;
    visibility: visible;
    display: block;
    transform: none;
    background-color: #fff;
    transition: all 0.3s;
  }

  .main-menu.open {
    transform: translateX(0);
    transition: all 0.3s;
  }

  .overlay.open {
    opacity: 1;
    visibility: visible;
    transition: all 0.3s;
  }

  .mobile-back a {
    position: relative;
    border: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .mobile-back a::before {
    content: "";
    width: 10px;
    height: 10px;
    background-image: url("../img/download.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    margin-right: 10px;
    transform: rotate(90deg);
  }
}

.close_btn {
  display: none;
  position: absolute;
  z-index: 60;
  right: 10px;
  top: 17px;
  cursor: pointer;
}

.close_btn .ic_close {
  width: 20px;
  height: 20px;
}

@media only screen and (max-width: 946px) {
  .open .close_btn {
    display: block;
  }
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  transition: all 0.3s;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  padding: 20px 30px;
}

.btn-red {
  background: #F34429;
  border: 1px solid #F34429;
  color: #fff;
}

.btn-red:hover {
  background: rgb(244.3539823009, 89.0995575221, 65.1460176991);
  color: #fff;
}

.btn-transparent {
  border: 1px solid #F34429;
  background: transparent;
  color: fontd;
}

.btn-transparent:hover {
  background: #F34429;
  color: #fff;
}

.header {
  position: absolute;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.menu-fixed {
  box-shadow: 0 4px 15px -10px rgba(0, 0, 0, 0.6);
  position: fixed;
  animation: slide-down 0.7s;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  padding-bottom: 4px;
  height: 65px;
}

.menu-fixed .header__contact span {
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
}

.menu-fixed .header__phone span {
  display: none;
}

.menu-fixed .header__logo img {
  max-width: 60%;
}

.menu-fixed .header__nav {
  padding: 0;
  margin: 0;
}

.menu-fixed .nav__item {
  padding: 7px 0;
}

.menu-fixed .open .nav__item {
  padding: 0;
}

.menu-fixed .nav__link {
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
}

.menu-fixed .header__logo-phone {
  display: flex;
}

.menu-fixed .header__nav::before {
  display: none;
}

.menu-fixed .header__btn {
  padding: 5px 15px;
  margin-top: 5px;
}

@media only screen and (max-width: 1200px) {
  .menu-fixed .header__logo {
    width: auto;
  }

  .menu-fixed .nav__link {
    font-size: 14px;
  }
}

@media only screen and (max-width: 945px) {
  .menu-fixed .header__nav {
    display: flex;
    flex-direction: column;
  }
}

@media only screen and (max-width: 568px) {
  .menu-fixed {
    height: 55px;
  }
}

@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav__contacts {
  display: none;
}

@media only screen and (max-width: 946px) {
  .nav__contacts {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    padding-left: 15px;
    padding-right: 15px;
    gap: 10px;
  }

  .nav__contact {
    display: flex;
    align-items: center;
  }

  .nav__contact a {
    color: #3F3A3E;
    opacity: 0.6;
  }

  .nav__icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    fill: #F34429;
    flex-shrink: 0;
  }

  .nav__phone a {
    font-weight: 700;
    font-size: 18px;
    color: #3F3A3E;
    line-height: 1.3;
  }

  .nav__email a {
    color: #3F3A3E;
    font-size: 14px;
    line-height: 1.3;
    opacity: 0.6;
  }

  .nav__adress p {
    color: #3F3A3E;
    font-size: 14px;
    line-height: 1.3;
    opacity: 0.6;
  }

  .header__mobile-btn {
    align-self: flex-start;
    margin-top: 20px;
  }
}

.subheading__right {
  position: absolute;
  right: 100px;
  height: 100%;
  top: 0;
  display: flex;
  justify-content: end;
}

.subheading__left {
  position: absolute;
  left: 100px;
  height: 100%;
  top: 0;
  display: flex;
  justify-content: end;
}

@media only screen and (max-width: 1600px) {
  .subheading__right {
    right: 10px;
  }

  .subheading__left {
    left: 10px;
  }
}

@media only screen and (max-width: 1000px) {
  .subheading__right {
    display: none;
  }

  .subheading__left {
    display: none;
  }
}

.subheading__line {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.subheading__line span {
  color: #595959;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
}

.vertical {
  width: 1px;
  height: 100%;
  display: block;
  background-color: rgba(0, 0, 0, 0.172);
}

.heading-title {
  font-weight: 700;
  font-size: clamp(1.25rem, 1rem + 1.25vw, 2.5rem);
  display: flex;
  gap: 10px;
  align-items: baseline;
  line-height: 1.3;
}

.heading-title span {
  background: #F34429;
  width: 10px;
  height: 10px;
}

@media only screen and (max-width: 578px) {
  .heading-title span {
    width: 5px;
    height: 5px;
  }
}

.line-left {
  position: relative;
}

.line-left::before {
  content: "";
  position: absolute;
  left: -100vw;
  top: 50%;
  width: calc(100vw - 30px);
  height: 1px;
  background-color: rgba(0, 0, 0, 0.172);
  z-index: -1;
}

.line-right {
  position: relative;
}

.line-right::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.172);
  z-index: -1;
}

.heading-wrapper {
  display: flex;
  align-items: center;
}

.heading .heading-title {
  white-space: nowrap;
  margin-right: 20px;
}

.gorisontal-line {
  background-color: rgba(0, 0, 0, 0.172);
  height: 1px;
  width: 100%;
  margin-right: -90px;
  flex-basis: auto;
}
@media only screen and (max-width : 1700px) {
  .gorisontal-line {
       margin-right: -20px;
       width: 50%;
       margin-top: 15px;

  }

}

.bgmain {
  background: url("../img/bgmain.jpg");
  background-repeat: no-repeat;

  padding: 200px 0 150px 0;
  background-position: right top;
}



.bgmain h1 {
  font-weight: 700;
  line-height: 1.3;
  font-size: clamp(1.875rem, 1.625rem + 1.25vw, 3.125rem);
  max-width: 700px;
}

.bgmain p {
  font-size: clamp(1rem, 0.925rem + 0.375vw, 1.375rem);
  line-height: 1.3;
  margin: 20px 0;
  max-width: 50%;
}

.bgmain ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 15px 0;


}

.bgmain li {
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  line-height: 1.3;
  padding: 5px 0;

}

.bgmain__info {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: clamp(1.125rem, 1.1rem + 0.125vw, 1.25rem);
}

.bgmain__info a {
  color: #3F3A3E;
  font-weight: 700;
}

@media only screen and (max-width : 1400px) {
  .bgmain {
    padding: 150px 0 0 0;
      background-size: contain;

  }

  .bgmain h1 {
    max-width: 600px;
  }
}

@media only screen and (max-width : 1200px) {
  .bgmain {
    background-position: right top;
  }

  .bgmain h1 {
    max-width: 500px;
  }
}

@media only screen and (max-width: 946px) {
  .bgmain {
    background-position: bottom;
    padding: 150px 0;
  }
}

@media only screen and (max-width: 578px) {
  .bgmain {
    padding: 100px 0 180px 0;
  }
}

.services {
  margin: 50px 0;
  overflow: hidden;
}

.services__wrp {
  margin: 30px 0;
  -moz-column-width: 25em;
  column-width: 20em;
}


.services__item {
  display: flex;
  margin-bottom: 30px;
  flex-direction: column;
  gap: 10px;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.services__item ul {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 15px 0;
}

.services__item li {
  position: relative;
  padding-left: 15px;
  font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
}

.services__item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 9px;
  height: 12px;
  background: url("../img/poly.svg");
  background-repeat: no-repeat;
}

.services__item li a {
  color: #595959;
  text-decoration: underline;
}

.services__item li a:hover {
  color: #F34429;
}

.services .active {
  padding: 30px;
  border: 10px solid #3F3A3E;
}

.services__number {
  font-weight: 700;
  font-size: clamp(1.25rem, 1.175rem + 0.375vw, 1.625rem);
}

.services__title {
  font-size: clamp(1.125rem, 1.1rem + 0.125vw, 1.25rem);
  line-height: 1.3;
  font-weight: 700;
  color: #3F3A3E;
  text-decoration: underline;
}

.services__title:hover {
  color: #F34429;
}

.services__desc {
  font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
  line-height: 1.4;
  color: #595959;
}

.services__price {
  color: #F34429;
  text-decoration: underline;
  font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
  margin-top: 10px;
}

.services__price:hover {
  color: #3F3A3E;
}

@media only screen and (max-width: 578px) {
  .services {
    margin: -30px 0 30px 0;
  }

  .services .active {
    padding: 20px;
    border: 5px solid #3F3A3E;
  }
}

.about {
  margin: 0 0 60px 0;
  padding: 0 0 60px 0;
  background: url("../img/bgmain-22.jpg");
  background-repeat: no-repeat;

  background-position-x: right;
  background-position-y: top;
  overflow: hidden;
}



.about__bottom {
  display: none;
}

.about__text {
  padding-right: 50px;
}

.about__text h2,
.about__text h3,
.about__text h4 {
  font-weight: 700 !important;
}


@media only screen and (max-width : 1400px) {
  .about {
    background-position: right -100px top;
  }
}

@media only screen and (max-width : 1300px) {
  .about {
    background-position: right -100px top -90px;
    margin-bottom: 30px;
    padding-bottom: 0;
  }

  .about__text {
    padding-left: 30px;
    margin-top: 30px;
  }
}



@media only screen and (max-width: 1200px) {
  .about {
    margin: 60px 0;
    padding: 60px 0;
    background: url("../img/bgmain-22.jpg");
    background-repeat: no-repeat;

  background-position: right -100px top -90px;

  }
}

@media only screen and (max-width: 1100px) {
  .about {
    background: #fff;
    margin: 0;
    padding: 0;
  }

  .about__bottom {
    display: block;
    height: 400px;
    margin: 0;
    padding: 0;
    background: url("../img/bgmain2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right top;
    margin-right: -50px;
  }
}

.content {
  position: relative;
  z-index: 60;
}

.content img {
  margin-bottom: 20px;
}

.content h1,
.content h2 {
  font-size: clamp(1.75rem, 1.65rem + 0.5vw, 2.25rem);
  font-weight: 300;
  margin: 20px 0 10px 0;
  line-height: 1.3;
  color: #3F3A3E;
}

.content h3,
.content h4 {
  font-size: clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
  font-weight: 300;
  margin: 20px 0 10px 0;
  line-height: 1.3;
  color: #3F3A3E;
}

.content p {
  color: #595959;
  line-height: 1.5;
  margin: 5px 0;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
}

.content ul {
  padding-left: 30px;
  line-height: 1.3;
}

.content ol {
  list-style-type: none;
  padding-left: 30px;
  line-height: 1.3;
}

.content li {
  position: relative;
  padding: 7px 0 7px 15px;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  line-height: 1.5;
  color: #595959;
}

.content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 12px;
  background: url("../img/poly.svg");
  background-repeat: no-repeat;
}

.content li a {
  color: #595959;
  text-decoration: underline;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
}

.content li a:hover {
  color: #F34429;
}

.content a {
  color: #3F3A3E;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
}

.content table {
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
}

.content table td {
  padding: 17px;
  line-height: 1.3;
  color: #595959;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
}

.main-text {
  margin: 15px 0;
  padding: 20px 15px 20px 40px;
  border-left: 3px solid #F34429;
  color: #0B1F33;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  line-height: 1.4;
  background: #ececec;
}

@media only screen and (max-width: 576px) {
  .content ul {
    padding-left: 30px;
  }
}

.port {
  overflow: hidden;
}

.port .subheading__right {
  margin-top: 20px;
}

.port .heading-wrapper {
  margin-bottom: 30px;
}

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

.case:hover .case__title {
  color: #F34429;
}

.case__image {
  width: 100%;
  height: 400px;
}

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

.case__title {
  font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
  color: #3F3A3E;
  line-height: 1.3;
  margin-top: 15px;
  position: relative;
  display: inline-block;
  padding-right: 20px;
}

.case__title:hover {
  color: #F34429;
}

.case__title::before {
  content: "";
  position: absolute;
  right: 0;
  top: 6px;
  width: 9px;
  height: 12px;
  background: url("../img/poly.svg");
  transform: rotate(90deg);
  background-repeat: no-repeat;
}

.cases__more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.text-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  padding: 10px 0;
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
}

.text-button:hover {
  color: #F34429;
}

.text-button::before,
.text-button::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background-color: #333;
}

.text-button:hover::before,
.text-button:hover::after {
  background-color: #F34429;
}

.case {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.case__image {
  position: relative;
  overflow: hidden;
}

.case__image::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  z-index: 2;
  overflow: hidden;
}

.case:hover .case__image::before {
  left: 150%;
}

.case__image img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.case:hover .case__image img {
  transform: scale(1.05);
}

.pcases__wrp {
  -moz-column-width: 25em;
  column-width: 25em;
  margin: 30px 0;
}

.pcase {
  page-break-inside: avoid;
  width: 100%;
}

.pcase:hover .pcase__title {
  color: #F34429;
}

.pcase__text {
  padding: 100px 0;
}

.pcase__item {
  width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
  display: block;
  background: #fff;
}

.pcase__item:hover .pcase__overlay {
  opacity: 1;
  top: 0;
  left: 0;
}

.pcase__img {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
}

.pcase__img img {
  width: 100%;
  height: 100%;
  display: block;
  margin-bottom: 0;
}

.pcase__overlay {
  position: absolute;
  background: rgba(0, 0, 0, 0.6941176471);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.3s;
}

.pcase__overlay img {
  width: 60px;
  height: 60px;
}

.pcase__info {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pcase__title {
  font-size: clamp(1rem, 0.975rem + 0.125vw, 1.125rem);
  color: #3F3A3E;
  font-weight: 400;
}

.pcase__info2 {
  font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
  color: #595959;
  font-weight: 300;
  line-height: 1.3;
}

.pcase__about {
  padding: 30px;
  border: 6px solid rgba(0, 0, 0, 0.2431372549);
  margin-bottom: 20px;
}

.pcase__modal {
  color: #F34429;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  cursor: pointer;
}

.pcase__bottom {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.4039215686);
  align-items: center;
  margin-top: 20px;
}

.article-item {
  padding: 20px;
  border: 1px solid #ececec;
  display: block;
  margin-bottom: 30px;
}

.article-item .pcase__item {
  margin-bottom: 0;
}

@media only screen and (max-width: 578px) {
  .pcase__text {
    padding: 20px 0;
  }
}

.responces {
  margin: 30px 0 0 0;
  overflow: hidden;
}

.responces__bottom {
  display: none;
}

.responces__wrp {
  background: url("../img/bgmain3.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
  padding: 0px 0 100px 0;
}

.responces__cav {
  margin: 30px 0;
  display: flex;
  justify-content: center;
}

.responces .swiper-pagination {
  margin-top: 60px;
  position: relative;
}

.responces .swiper-button-next,
.responces .swiper-button-prev {
  color: #F34429;
}

.responces .swiper-button-prev {
left: 150px;
}
.responces .swiper-button-next {
right: 150px;
}


.responces .swiper-pagination-bullet {
  height: 12px;
  width: 12px;
}

.responces .swiper-pagination-bullet-active {
  background: #F34429;
}

.responce {
  padding: 0 200px;
}

.responce p {
  text-align: center;
  line-height: 1.3;
  padding: 7px 0;
  font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
}

@media only screen and (max-width: 946px) {
  .responces {
    margin: 30px 0 0 0;
  }

  .responces__wrp {
    background: #fff;
  }

  .responces__bottom {
    display: block;
    background: url("../img/bgmain3.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    height: 400px;
  }

  .responces__cav {
    margin: 20px 0;
  }

  .responces__cav img {
    opacity: 0.5;
  }

  .responces__wrp {
    padding: 20px 0;
  }

  .responces .swiper-button-next,
  .responces .swiper-button-prev {
    display: none;
  }

  .responce {
    padding: 0;
  }
}

.breadcrumbs {
  color: #66727f91;
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
  line-height: 1.3;
}

.breadcrumbs li {
  display: inline-block;
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
  color: #66727F;
}

.breadcrumbs li a {
  color: #66727F;
  text-decoration: none;
}

.breadcrumbs li a:hover {
  color: #66727F;
}

/* .breadcrumbs li + li::before {
  color: #66727F;
  content: "—";
  padding: 0 5px;
}  */
.breadcrumbs li :last-child::after {
  color: #6E6E6E;
  content: "—";
  padding: 0 5px;
}


.heading-single {
  padding: 30px 0;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  position: relative;
  z-index: 60;
}

.heading-single__wrapper {
  display: flex;
  gap: 10px;
  align-items: center;
}

.heading-single span {

  line-height: 1.3;
}

.sidebar {
  margin: 30px 0;
  position: relative;
  z-index: 60;
}

.sidebar__title {
  font-size: clamp(1.125rem, 1.075rem + 0.25vw, 1.375rem);
  margin-bottom: 20px;
}

.sidebar-menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  /* примерно на 4 пункта */
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

.sidebar-menu li {
  padding: 4px 0;
}

.sidebar-menu a {
  text-decoration: underline;
  color: #3F3A3E;
}

/* Градиентная подложка снизу */
.sidebar-menu::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4em;
  /* высота градиента */
  background: linear-gradient(to top, #fff 60%, rgba(255, 255, 255, 0));
  pointer-events: none;
}

/* Когда меню раскрыто – показываем все пункты и убираем градиент */
.sidebar-menu.open {
  max-height: 1000px;
  /* достаточно большое значение */
}

.sidebar-menu.open::after {
  display: none;
}

.sidebar-menu li {
  margin: 0.5em 0;
}

.sidebar__all {
  margin-top: 0.5em;
  cursor: pointer;
  color: #F34429;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
}

.gallery .gallery__swiper--titles .swiper-slide {
  transition: opacity 0.5s ease;
}

.gallery {
  background: #ececec;
  margin: 60px 0;
}

.gallery__nav {
  position: absolute;
  right: -70px;
  top: 50%;
  display: flex;
}

.gallery__btn {
  width: 70px;
  height: 70px;
  background: rgba(0, 0, 0, 0.5215686275);
  color: #fff !important;
  position: relative !important;
}

.gallery__prev,
.gallery__next {
  left: 0;
}

.gallery__wrp {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  height: 100%;
  justify-content: space-between;
  padding: 30px 0;
}

.gallery .item__title {
  font-size: clamp(1.375rem, 1.275rem + 0.5vw, 1.875rem);
  font-weight: 300;
  line-height: 1.3;
}

.gallery__link {
  color: #3F3A3E;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  text-decoration: underline;
  max-width: 200px;
  line-height: 1.3;
}

.gallery__link:hover {
  color: #F34429;
}

.gallery__modal {
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  color: #F34429;
  cursor: pointer;
}

.gallery .total {
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  margin: 0 7px;
}

.gallery .current {
  font-size: clamp(1.125rem, 1.025rem + 0.5vw, 1.625rem);
  margin: 0 7px;
}

.swiper-slide .item__image {
  display: block;
  height: 500px;
  width: 100%;
}

.swiper-slide .item__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

@media only screen and (max-width: 768px) {
  .swiper-slide .item__image {
    /* height: auto; */
    width: 100%;
  }

  .swiper-slide .item__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }

  .gallery__nav {
    right: 0;
    bottom: 0;
    top: unset;
    left: unset;
  }

  .gallery__btn {
    width: 50px;
    height: 50px;
  }

  .gallery__btn::after {
    font-size: 14px;
  }
}

#mainCarousel {
  width: 100%;
  margin: 0 auto 1rem auto;
  --carousel-button-color: #66727F;
  --carousel-button-bg: #fff;
  --carousel-button-shadow: 0 2px 1px -1px rgb(0 0 0 / 20%),
    0 1px 1px 0 rgb(0 0 0 / 14%), 0 1px 3px 0 rgb(0 0 0 / 12%);
  --carousel-button-svg-width: 13px;
  --carousel-button-svg-height: 13px;
  --carousel-button-width: 44px;
  --carousel-button-height: 44px;
  --carousel-button-svg-stroke-width: 2.5;
}

#mainCarousel .carousel__slide {
  width: 100%;
  padding: 0;
  text-align: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#mainCarousel .carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  border-style: none;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

.carousel__slide-text {
  position: absolute;
  left: 0;
  bottom: 30px;
  background: #23282F;
  color: #fff;
  font-size: 16px;
  padding: 7px 16px;
}

#mainCarousel .carousel__button.is-prev {
  left: 0;
}

#mainCarousel .carousel__button.is-next {
  right: 0;
}

#mainCarousel .carousel__button:focus {
  outline: none;
  box-shadow: none;
}

#thumbCarousel {
  margin-bottom: 20px;
}

#thumbCarousel .carousel__slide {
  opacity: 0.5;
  padding: 0;
  margin: 0.25rem;
  width: 120px;
  height: 120px;
  overflow: hidden;
}

#thumbCarousel .carousel__slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

#thumbCarousel .carousel__slide.is-nav-selected {
  opacity: 1;
}

@media only screen and (max-width: 768px) {
  #mainCarousel .carousel__button.is-prev {
    display: none;
  }

  #mainCarousel .carousel__button.is-next {
    display: none;
  }
}

@media only screen and (max-width: 578px) {
  #mainCarousel .carousel__slide {
    aspect-ratio: 4/3;
    height: auto;
  }

  #mainCarousel .carousel__slide img {
    -o-object-fit: cover;
    object-fit: cover;
  }
}

.product {
  padding: 30px 0 30px 0;
  background: #fff;
  margin-top: -4px;
}

.product__wrp {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.product__ic {
  width: 20px;
  height: 20px;
}

.product__price {
  font-size: 22px;
}

.product p {
  font-size: 16px;
  line-height: 1.4;
  color: #595959;
  padding: 7px 0;
}

.product strong,
.product b {
  color: #0B1F33;
}

.product .categories__tags {
  margin-top: 0;
}

.product__tizers {
  display: flex;
  gap: 5px;
  margin: 20px 0;
  width: 100%;
}

.product__tizer {
  display: flex;
  gap: 10px;
  padding: 15px;
  background: #fff;
  border-radius: 4px;
  width: 33%;
}

.product__tizer-img {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.product__tizer-wrp {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 1;
}

.product__tizer-title {
  font-size: 16px;
  color: #595959;
}

.product__tizer-info {
  font-size: 22px;
}

@media only screen and (max-width: 1400px) {
  .product__tizer-info {
    font-size: 16px;
  }

  .product__tizer-img {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
  }
}

@media only screen and (max-width: 1200px) {
  .product__tizers {
    flex-wrap: wrap;
  }

  .product__tizer {
    flex-basis: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .product__tizer {
    flex-basis: 49%;
  }
}

@media only screen and (max-width: 578px) {
  .product {
    padding: 15px 0;
  }

  .product__wrp {
    flex-wrap: wrap;
  }

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

.project-page {
  margin: 30px 0;
}

.contacts__wrp {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contacts__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacts__label {
  font-weight: 700;
  color: #3F3A3E;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
}

.contacts__info {
  font-weight: 300;
  color: #595959;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  line-height: 1.3;
}

.contacts__info a {
  font-weight: 300;
  color: #595959;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  line-height: 1.3;
  display: block;
}

.contacts__modal {
  color: #F34429;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  margin-bottom: 30px;
  cursor: pointer;
}

.contacts__map {
  width: 100vw;
  height: 100%;
  margin-left: calc(-50vw + 100%);
}

@media only screen and (max-width: 991px) {
  .contacts__map {
    margin-left: 0;
    height: 400px;
  }
}

.prices__line {
  background: #ececec;
  height: 300px;
  z-index: -1;
}

.prices__cases {
  margin-top: -300px;
}

.prices__pseudo {
  position: absolute;
  background: #fff;
  height: 100px;
  width: 40%;
  right: 0;
  bottom: 0;
  z-index: 10;
}

.prices__title {
  margin: 20px 0;
  font-size: clamp(1.375rem, 1.3rem + 0.375vw, 1.75rem);
}

@media only screen and (max-width: 1400px) {
  .prices__line {
    display: none;
  }

  .prices__cases {
    margin-top: 0;
  }
}

.calc__wrp {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.calc__wrp label,
.calc__wrp select,
.calc__wrp input {
  width: 100%;
}

.calc__wrp select,
.calc__wrp input {
  margin-top: 5px;
  color: #3F3A3E;
  border: none;
  border-bottom: 1px solid #ececec;
  padding: 15px;
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
}

.calc__wrp label {
  font-size: 14px;
  color: #595959;
  display: flex;
  gap: 10px;
  align-items: center;
}

.calc__wrp label span {
  width: 200px;
}

.calc__result {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.calc__result p {
  display: flex;
  gap: 10px;
}

.calc__rlabel {
  width: 300px;
  display: flex;
}

.calc__submit {
  display: flex;
  gap: 10px;
  margin: 30px 0 10px 0;
}

.calc__submit input {
  padding: 20px 30px;
  border: none;
  box-shadow: none;
  border-bottom: 1px solid #3F3A3E;
  transition: all 0.3s;
}

.calc__submit input:active,
.calc__submit input:focus {
  border-bottom: 1px solid #F34429;
}

@media only screen and (max-width: 578px) {
  .calc__rlabel {
    width: 200px;
    display: flex;
  }
}

body.modal-open {
  padding-right: 0px !important;
}

body {
  overflow-y: scroll !important;
}

.compensate-for-scrollbar {
  padding-right: 0px !important;
}

textarea:focus {
  border: none;
  outline: none !important;
}

.modal-header {
  justify-content: center;
  position: relative;
}

.graypart {
  background-color: #f6f9fc;
}

.mc-wrp {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-content {
  position: relative;
}

.btn-close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 50;
}

#watchme {
  border: none;
  background: transparent;
  box-shadow: none;
}

#watchme .btn-close {
  right: -30px;
}

#watchme .modal-content {
  border: none;
  background: transparent;
  box-shadow: none;
}

.modal-title {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  color: #3F3A3E;
}

.modal-contacts {
  padding: 20px 40px;
}

.modal-contacts__heading {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 20px;
  color: #3F3A3E;
}

.modal-contacts__contacts a {
  display: block;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  color: #3F3A3E;
  margin-bottom: 5px;
}

.modal-contacts__bottom {
  margin-top: 40px;
  font-size: 14px;
  display: inline-flex;
  color: #3F3A3E;
  align-items: center;
  padding: 10px 17px;
  border: 1px solid #ececec;
  -moz-column-break-after: 4px;
  break-after: 4px;
}

.modal-contacts__bottom span {
  margin-left: 10px;
}

.modal-contacts__bottom .ic_modal {
  width: 20px;
  height: 20px;
  fill: #F34429;
}

.files {
  font-size: 10px;
}

.form-group_modal {
  padding: 33px;
}

.form-group_modal label {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 10px;
  width: 100%;
}

.form_input__modal {
  padding: 13px 0px;
  border: none;
  border-bottom: 1px solid lightgray;
  margin-bottom: 20px;
  border-radius: 0px;
  width: 100%;
  background: transparent;
}

.form_input__modal .modal-file {
  color: #595959;
  margin-bottom: 10px;
  display: block;
}

.form_input__modal:focus {
  border-bottom: 2px solid #F34429;
}

.form_group__bottom-modal {
  padding: 0px 40px;
  flex-direction: column;
  margin-bottom: 20px;
}

.form_btn__modal {
  padding: 17px 40px;
  background: #F34429;
  color: #fff;
  border: 1px solid #F34429;
  transition: all 0.3s;
  display: block;
  margin-bottom: 30px;
  border-radius: 4px;
}

.form_btn__modal:hover {
  background: #fff;
  color: #244d72;
  border: 1px solid #F34429;
}

.politika_modal {
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 20px;
}

.close-menu__modal {
  position: absolute;
  right: 15px;
  top: 30px;
  cursor: pointer;
  width: 25px;
  height: 25px;
  z-index: 900;
}

.close-menu__modal span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #3F3A3E;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.close-menu__modal span:nth-child(1) {
  top: 12px;
  width: 0%;
  left: 50%;
}

.close-menu__modal span:nth-child(2) {
  transform: rotate(45deg);
}

.close-menu__modal span:nth-child(3) {
  transform: rotate(-45deg);
}

.close-menu__modal span:nth-child(4) {
  top: 12px;
  width: 0%;
  left: 50%;
}

.reg_tabs {
  margin: 0 40px;
}

.modal-header_reg {
  border-bottom: 1px solid transparent;
  flex-direction: column;
  padding: 30px 0;
}

.modal-header {
  padding: 40px 20px 20px 40px;
  display: flex;
  flex-direction: column;
}

.modal-header h5 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}

.modal-header h5 span {
  font-weight: 300;
  font-size: 18px;
}

.modal-header a {
  display: block;
  font-size: 22px;
  text-decoration: none;
  font-weight: 700;
}

.modal-body {
  position: relative;
  z-index: 700;
  padding: 0;
}

#success {
  margin: auto auto;
  max-width: 460px;
  height: 400px;
  background-color: #fff;
  background-image: none;
  text-align: center;
  padding: 40px;
  display: none;
  z-index: 9999;
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  box-shadow: 1px 10px 20px rgba(30, 30, 30, 0.3019607843);
  bottom: 50%;
}

.span-hidden {
  display: none;
}

.text_success {
  font-size: 34px;
  line-height: 1.5;
}

.radio_title {
  font-size: 12px;
  font-weight: 600;
}

.radio_mtitle {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 15px;
}

.radio_block {
  display: flex;
  font-size: 12px;
  align-items: center;
  margin-bottom: 7px;
}

.radio_block input,
.radio_block .radio_title,
.radio_block .radio_old-price {
  margin-right: 10px;
}

.radio_old-price {
  text-decoration: line-through;
  opacity: 0.5;
}

.radio_new-price {
  font-family: "Arial";
  font-weight: 700;
}

.form_group__bottom-modal p {
  font-size: 11px;
  margin-left: 10px;
}

.modal-content .custom_chek {
  display: flex;
  align-items: center;
  padding: 15px 0px;
}

.modal-content .custom_chek p {
  font-size: 11px;
  margin-left: 10px;
  line-height: 1.3;
}

@media only screen and (max-width: 568px) {
  .modal-title {
    font-size: 22px;
    margin-top: 20px;
  }

  .form-group_modal,
  .form_group__bottom-modal {
    padding: 20px 20px;
  }

  .modal-header {
    padding-top: 60px;
  }

  .modal_heading {
    padding: 0px 0px;
    margin-bottom: 20px;
  }

  .text_success {
    font-size: 24px;
    line-height: 1.5;
  }
}

.modal-content {
  height: auto !important;
  overflow: hidden !important;
}

.span-hidden {
  display: none;
}

.checkbox-text {
  margin-left: 10px;
  line-height: 1.3;
  margin-top: -5px;
}

.just-validate-error-label {
  background: #fff !important;
  font-size: 12px !important;
  padding: 4px !important;
  border-radius: 5px !important;
}

.button__modal {
  padding: 20px 40px;
}

.cresults__checkbox {
  margin-top: 20px;
}

.cresults__checkbox .checkbox-text {
  margin-left: 0;
  display: block;
}

.form__radios {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 27px 16px 27px 24px;
  border-radius: 8px;
  background: #eee;
  margin-bottom: 15px;
}

.form__radios__modals {
  flex-direction: column;
  padding: 0px;
  align-items: start;
  background: none;
}

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

.form__radios__title__modals {
  font-size: 14px !important;
  color: #595959 !important;
  margin-bottom: 10px;
}

.radio-mess input {
  display: none;
}

.radio__img {
  width: 85px;
  height: 45px;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0.8;
}

.radio-mess input:checked~.radio__img {
  opacity: 1;
}

.form__radios__title {
  color: #0B1F33;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 20.5px;
}

.cresults__agreement .checkbox-text {
  color: rgba(255, 255, 255, 0.5568627451);
  font-size: 14px;
}

.cresults__agreement .checkbox-text a {
  color: #F34429;
  font-size: 14px;
  text-decoration: underline;
}

@media only screen and (max-width: 576px) {
  .cresults__agreement .checkbox-text {
    font-size: 12px;
    line-height: 1.4;
  }

  .cresults__agreement .checkbox-text a {
    font-size: 12px;
  }

  .form__radios__title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .form__radios {
    flex-wrap: wrap;
  }
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  cursor: pointer;
  position: relative;
}

.checkbox-hidden {
  display: none;
}

.checkbox-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  flex: 0 0 20px;
  height: 20px;
  border-radius: 1px;
  background: #F34429;
  margin-right: 10px;
  flex-shrink: 0;
}

.custom-checkbox input:checked+.checkbox-wrap::after {
  transform: scale(1);
  opacity: 1;
}

.custom-checkbox .checkbox-wrap::after {
  content: "";
  display: block;
  position: absolute;
  width: 11px;
  height: 8px;
  background: url(../img/check.svg) no-repeat 0 0;
  background-size: 100%;
  will-change: transform;
  transform: scale(0);
  opacity: 0;
  transition: all 0.1s linear;
}

.just-validate-error-label {
  font-size: 12px;
  color: #5C5C77 !important;
}

.modal__wrapper {
  padding-top: 0 !important;
}

.modal__wrapper li {
  padding: 0 !important;
}

.privat-info-black {
  color: #0B1F33;
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
  color: #fff;
  background-color: #F34429;
  border-color: #F34429;
  opacity: 0.5;
}

.cookie__modal {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.cookie__modal p {
  font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
  line-height: 1.5;
}

.cookie__modal__btn {
  align-self: center;
}

@media only screen and (max-width: 578px) {
  .cookie__modal {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cookie__modal p {
    text-align: center;
  }
}

.form_modal .checkbox-text {
  color: #595959;
}

.panel {
  position: fixed;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  flex-direction: column;
  right: 10px !important;
  border-radius: 80px;
  background: #E5D7C4;
  padding: 4px;
  z-index: 100;
}

.panel__ic {
  width: 60px;
  height: 60px;
}

.panel__ic:not(:last-child) {
  margin-bottom: 15px;
}

.panel__ic:hover {
  opacity: 0.7;
}

@media only screen and (max-width: 578px) {
  .panel__ic {
    width: 40px;
    height: 40px;
  }
}

.video {
  padding: 60px 0 60px 0;
}

.video__item {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 20px;
  border: 1px solid #ececec;
}

.video__title {
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  line-height: 1.3;
  color: #0B1F33;
}

.video__wrp {
  position: relative;
  height: 300px;
  margin-bottom: 10px;
  overflow: hidden;
}

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

.video__wrp .play-icon {
  width: 70px;
  height: 70px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin: auto;
  background: rgba(128, 128, 128, 0.248);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.video__wrp .play-icon img {
  width: 50px;
  height: 50px;
  transition: all 0.3s;
  margin-bottom: 0 !important;
}

.play-icon:hover {
  transition: all 0.3s;
  animation: vanish-out 3000ms linear 0ms infinite normal both;
}

@media only screen and (max-width: 1400px) {
  .video__wrp {
    height: 170px;
  }
}

@media only screen and (max-width: 578px) {
  .video {
    padding: 30px 0;
  }

  .video__wrp {
    height: 250px;
  }

  .video__title {
    font-size: 14px;
  }

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

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.footer {
  margin-top: auto;
  padding: 60px 0;
  background: #403B3F;
  color: #fff;
}

.footer__title {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  font-size: clamp(1.125rem, 1.1rem + 0.125vw, 1.25rem);
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.footer ul li a {
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  color: #fff;
  opacity: 0.6;
  line-height: 1.3;
  display: block;
}

.footer ul li a:hover {
  opacity: 1;
}

.footer__phone {
  font-size: clamp(1.125rem, 1.1rem + 0.125vw, 1.25rem);
  font-weight: 700;
  color: #fff;
}

.footer__phone:hover {
  color: #fff;
}

.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.footer__social {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  background: #F34429;
}

.footer__social img {
  width: 20px;
  height: 20px;
}

.footer__social:hover {
  background: #fff;
}