@charset "UTF-8";
.ref-block__box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 200px;
  background: var(--global-palette7);
  border: 3px solid var(--global-palette6);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 24px;
}
.ref-block__item {
  text-align: center;
}
.ref-block__item:nth-child(3) {
  max-width: 350px;
}
.ref-block__item:nth-child(4) {
  padding-right: 20px;
}
.ref-block__img {
  max-width: 200px;
}
.ref-block__stars {
  width: 200px;
  border-radius: 30px;
  background: var(--global-palette7);
  border: 1px solid var(--global-palette6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}
.ref-block__stars .star {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: var(--global-palette2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #ffee00;
  line-height: 0px;
}
.ref-block__title {
  font-size: 32px;
}
.ref-block__text {
  font-size: 20px;
}
.ref-block__btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--global-palette2);
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  width: 260px;
  text-align: center;
}
.ref-block__btn:hover {
  background: var(--global-palette3);
  color: #fff;
  transform: scale(1.05);
}

/*table*/
table {
  border-radius: 18px;
  padding: 15px;
}

/*demo-block*/
.demo-block {
  position: relative;
  margin-bottom: 40px;
  border-radius: 18px;
  overflow: hidden;
}
.demo-block__img {
  width: 100%;
  max-width: 100%;
  height: auto;
  filter: blur(3px);
  transition: all 0.3s ease-in-out;
}
.demo-block__wrap {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
}
.demo-block__demo-btn {
  width: 350px;
  height: 70px;
  border-radius: 14px;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
}
.demo-block__demo-btn:hover {
  transform: scale(1.05);
}
.demo-block__ref-btn {
  width: 350px;
  height: 70px;
  border-radius: 14px;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  background-color: var(--global-palette1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  color: #fff;
}
.demo-block__ref-btn:hover {
  background-color: var(--global-palette2);
  transform: scale(1.05);
  color: #fff;
}
.demo-block__close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid red;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  z-index: 50;
}
.demo-block__close-btn::before, .demo-block__close-btn::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 20px;
  background-color: red;
}
.demo-block__close-btn::after {
  transform: rotate(45deg);
}
.demo-block__close-btn::before {
  transform: rotate(-45deg);
}

/**/
.demo-block iframe {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.demo-block iframe.active {
  opacity: 1;
  transform: translateY(0);
}

.demo-block.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.demo-block__loader {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 40px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.demo-block iframe {
  display: none; /* Сначала скрыт */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.demo-block iframe.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/**/
/*pros-wrap*/
.pros-wrap ul {
  list-style: none;
  padding-left: 0 !important;
}
.pros-wrap li {
  margin-bottom: 14px;
}
.pros-wrap li:last-child {
  margin-bottom: 0;
}

/*MEDIA*/
@media (max-width: 1200px) {
  .ref-block__item:nth-child(3) {
    max-width: 240px;
  }
}
@media (max-width: 1100px) {
  .ref-block__btn {
    width: 180px;
  }
}
@media (max-width: 992px) {
  .ref-block__item {
    max-width: 50%;
  }
  .ref-block__item:nth-child(3) {
    max-width: 50%;
    padding-left: 14px;
  }
  .ref-block__box {
    flex-wrap: wrap;
    padding-bottom: 14px;
    padding-right: 14px;
  }
  .ref-block__stars {
    margin: 0 auto;
  }
}
@media (max-width: 576px) {
  .ref-block__item {
    max-width: 100%;
    width: 100%;
  }
  .ref-block__item:nth-child(3) {
    max-width: 100%;
    width: 100%;
    padding-left: 0px;
  }
  .ref-block__item:nth-child(4) {
    padding-right: 0px;
  }
  .ref-block__img {
    max-width: 100%;
  }
  .ref-block__btn {
    width: 80%;
  }
  .ref-block__text {
    margin: 15px;
  }
  .site-branding a.brand img {
    max-width: 120px !important;
  }
  .demo-block__demo-btn,
  .demo-block__ref-btn {
    width: 220px;
    height: 50px;
    font-size: 20px;
  }
  .ref-block__box {
    padding-right: 0px;
  }
  .site-footer img {
    width: 150px;
    height: auto;
  }
  .site-footer .site-footer-section {
    width: 40%;
  }
  .site-footer .site-middle-footer-inner-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  figure.wp-block-table {
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }
  figure.wp-block-table table {
    width: 100%; /* Таблица занимает всю доступную ширину */
    border-collapse: collapse; /* Убирает двойные границы */
  }
  .demo-block iframe {
    height: 550px;
  }
  .demo-block__demo-btn,
  .demo-block__ref-btn {
    font-size: 16px;
  }
}