* {
  scroll-behavior: smooth;
}

/* Табы с галереей */
.gallery-tabs-wrapper {
  width: 100%;
}

.gallery-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  /*overflow-x: auto;*/
  /*scrollbar-width: none;*/
  margin-bottom: 20px;
  position: relative;
}

button.gallery-tab-btn {
  white-space: nowrap;
  padding: 12px 24px;
  background: transparent !important;
  border: none;
  border-bottom: 2px solid #e0e0e0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #666;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 600;
}

button.gallery-tab-btn:hover {
  color: var(--wd-title-color);
  background: transparent;
}

button.gallery-tab-btn.active {
  color: var(--wd-title-color);
  border-bottom-color: var(--wd-primary-color);
}

.gallery-tabs-content {
  position: relative;
}

.gallery-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.gallery-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
}

.gallery-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

button[type="submit"].elementor-button {
  --btn-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
  --btn-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
  --btn-brd-radius: 5px;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  outline: none;
  border-radius: var(--btn-brd-radius, 0px);
  vertical-align: middle;
  text-align: center;
  text-decoration: none !important;
  text-shadow: none;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--btn-color, #3e3e3e);
  border: var(--btn-brd-width, 0px) var(--btn-brd-style, solid)
    var(--btn-brd-color, #e9e9e9);
  background-color: var(--btn-bgcolor, #f3f3f3);
  box-shadow: var(--btn-box-shadow, unset);
  text-transform: var(--btn-transform, uppercase);
  font-weight: var(--btn-font-weight, 600);
  font-family: var(--btn-font-family, inherit);
  font-style: var(--btn-font-style, unset);
  padding: var(--btn-padding, 5px 20px);
  min-height: var(--btn-height, 42px) !important;
  font-size: var(--btn-font-size, 15px);
  box-shadow: var(--btn-box-shadow, unset);
}

.btn-tab-link {
  background-color: rgb(250, 247, 244) !important;
}

@media (max-width: 769px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .gallery-tab-btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  button.gallery-tab-btn {
    padding: 12px;
  }
}

/* Квиз */
.quiz-wrapper {
  width: 100%;
  margin: 0 auto;
}

.quiz-progress-bar {
  width: 100%;
  height: 25px;
  background-color: #e0e0e0;
  border-radius: 17px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.quiz-back-btn {
  width: 100%;
  margin-top: 10px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  color: var(--wd-title-color);
}

.quiz-progress-fill {
  height: 100%;
  background-color: var(--wd-primary-color, #3e3e3e);
  transition: width 0.3s ease;
  border-radius: 4px;
}

.quiz-progress-percent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 600;
  color: var(--wd-title-color, #3e3e3e);
  z-index: 1;
  pointer-events: none;
}

.quiz-questions {
  position: relative;
  min-height: 300px;
}

.quiz-question {
  display: none;
  animation: fadeIn 0.3s ease;
}

.quiz-question.active {
  display: block;
}

.quiz-question-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--wd-title-color, #3e3e3e);
}

.quiz-answers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-answer {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #fff;
}

.quiz-answer:hover {
  border-color: var(--wd-primary-color, #3e3e3e);
  background-color: #f9f9f9;
}

.quiz-answer input[type="radio"] {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

.quiz-answer input[type="radio"]:checked + .quiz-answer-text {
  color: var(--wd-title-color, #3e3e3e);
  font-weight: 600;
}

.quiz-answer:has(input[type="radio"]:checked) {
  border-color: var(--wd-primary-color, #3e3e3e);
  background-color: #f0f0f0;
}

.quiz-answer-text {
  flex: 1;
  font-size: 16px;
  color: #666;
  transition: all 0.3s ease;
}

.quiz-navigation {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

/*.quiz-back-btn,
.quiz-next-btn {
  padding: 12px 30px;
  background-color: var(--wd-primary-color, #3e3e3e);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 42px;
}

.quiz-back-btn {
  background-color: #999;
}

.quiz-back-btn:hover {
  background-color: #777;
  transform: translateY(-1px);
}

.quiz-next-btn:hover:not(:disabled) {
  background-color: var(--wd-title-color, #2e2e2e);
  transform: translateY(-1px);
}*/

.quiz-next-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quiz-form {
  animation: fadeIn 0.3s ease;
}

.quiz-form-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--wd-title-color, #3e3e3e);
}

.quiz-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quiz-form-field {
  display: flex;
  flex-direction: column;
}

.quiz-form-field label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--wd-title-color, #3e3e3e);
}

.quiz-form-field .required {
  color: #e74c3c;
}

.quiz-form-field input[type="text"],
.quiz-form-field input[type="tel"] {
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  background-color: #fff;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
  min-height: 42px;
  height: auto;
}

.quiz-form-field input[type="text"]:focus,
.quiz-form-field input[type="tel"]:focus {
  outline: none;
  border-color: var(--wd-primary-color, #3e3e3e);
}

.quiz-checkbox-field {
  flex-direction: row;
  align-items: flex-start;
}

.quiz-checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  gap: 10px;
}

.quiz-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.quiz-checkbox-text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.quiz-checkbox-text a {
  color: var(--wd-primary-color, #3e3e3e);
  text-decoration: underline;
}

.quiz-checkbox-text a:hover {
  text-decoration: none;
}

.quiz-submit-btn {
  padding: 12px 30px;
  background-color: var(--wd-primary-color, #3e3e3e);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 42px;
  margin-top: 10px;
}

.quiz-submit-btn:hover {
  background-color: var(--wd-title-color, #2e2e2e);
  transform: translateY(-1px);
}

.quiz-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.quiz-success-message {
  margin-top: 20px;
  padding: 15px 20px;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  color: #155724;
  font-size: 16px;
}

.btn.btn-style-3d {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --btn-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
  --btn-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
}

.btn-shape-semi-round,
.btn-style-semi-round {
  --btn-brd-radius: 5px;
  border-radius: 5px;
}

.btn.btn-style-3d:not(.no-gradient)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 40%,
    rgba(255, 255, 255, 0.719) 50%,
    rgba(255, 255, 255, 0.15) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-150%);
  animation: accent-sheen 4s linear infinite;
  pointer-events: none;
  z-index: -1;
}

/* tabs section */
.tabs__title {
  /* Стили для заголовка табов */
}

.tab__wrapper {
  float: none;
  width: 100%;
  display: flex;
  /* overflow-x: auto; */
  /* overflow-y: hidden; */
  -ms-overflow-style: none;
  max-width: 100%;
  white-space: nowrap;

  margin-bottom: 20px;
}

.main-slider {
}

/* Style the tab content */
section.tabs .tabcontent {
  display: flex;
  flex-direction: column;
  border-radius: 1px;
  padding: 30px;
  border-left: none;
  border-radius: 9px;
  background-color: #fff;
}

.tabcontent__inner {
  display: flex;
  flex-direction: row;
  gap: 30px;
  flex: 1;
}

.tabcontent__text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tabcontent__image {
  flex: 0 0 auto;
  max-width: 400px;
  width: 100%;
}

.tabcontent__image img.tabcontent__img {
  width: 400px;
  height: 400px;

  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .tabcontent__inner {
    flex-direction: column;
  }

  .tabcontent__image {
    max-width: 100%;
    order: -1;
  }
}

.tabcontent__row-btns {
  flex-grow: 1;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 10px;
}

.tabs__wrapper {
  display: flex;
  flex-direction: column;
}

section.tabs .tab {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.swiper-container {
  overflow: hidden;
}

section.tabs .tab button.active {
  color: var(--wd-title-color);
  border-bottom-color: var(--wd-primary-color);
}

section.tabs .tab button {
  display: block;
  background-color: transparent;
  border-bottom: 2px solid #e0e0e0;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  outline: none;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;

  width: auto;
  /*background-color: var(--wd-primary-color);*/
  color: #666;
}

/* grid-list */
.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.grid-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(250px, auto));
}

.grid-list__item {
  /*background: #f4f0ed;
  box-shadow: 1px 4px 10px 0px rgba(0, 0, 0, 0.1),
    0px 0px 2px 0px rgba(0, 0, 0, 0.05);*/

  border: 2px solid rgba(16, 16, 16, 0.05);
  padding: 30px;
  border-radius: 9px;

  margin-bottom: 0;
}

.grid-list_color_gray .grid-list__item {
  background: var(--color-bg-gray);
}

.price-page .grid-list__item {
  background-color: var(--color-bg-gray);
}

.grid-list__item:has(.grid-list__img) {
  padding: 0;
  position: relative;
  /*max-height: 300px;*/
}

img.grid-list__img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 9px !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  overflow: hidden;
}

.grid-list__item-icon,
.grid-list__item-icon-wrapper {
  width: 50px;
  height: 50px;
  font-weight: 600;
  font-size: 15px;
}

.grid-list__item-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--wd-primary-color);
  border-radius: 100%;
  color: #fff;
}

.grid-list__item-title {
  margin: 0;
  padding-top: 20px;
  padding-bottom: 10px;
  font-weight: 600;
  line-height: 1.2;
  font-size: 20px;
  color: #000;
}

.grid-list__item-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: var(--color-text);
  margin: 0;
}

/* about us */
.about {
  margin-top: 0px;
  padding: 30px;
  border-radius: 9px;
  background-color: #fff;
}

.about__wrapper {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: space-between;
}

.about__body {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}

.about__info p {
  margin: 10px 0;
}

.swiper-pag {
  padding-top: 10px;
  text-align: center;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 100%;
  background: #9094ad;
  opacity: 0.8;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #043059;
}

/* .about__image {
  margin-bottom: -120px;
  max-width: 55%;
  object-fit: contain;
} */

.about__image {
  width: 100%;
  object-fit: cover;
  font-family: "object-fit: cover;";
}

.about__body {
  width: calc(100% - 400px - 30px);
}

.about .about__picture {
  border-radius: 1px;
  display: block;
  overflow: hidden;
  height: 20.375rem;
  margin-bottom: 1.875rem;
}

.about__btn {
  font-weight: 500;
  margin: 2.5rem 0;
  min-width: 11.875rem;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
  height: 55px;
  border: none;
  border-radius: 4px;
  background-color: var(--color-primary);
  color: #fff;
  line-height: 1;
  padding: 1rem 0;
}

.about-list__svg {
  width: 31px;
  height: 31px;
}

@media (min-width: 767px) {
  .about .about__picture {
    height: 27.5rem;
    width: calc(50% - 0.625rem);
    margin-bottom: -1.875rem;
  }
}

@media (min-width: 1280px) {
  .about .about__picture {
    width: calc(50% - 1rem);
    height: 33.125rem;
    margin-bottom: -1.875rem;
  }
}

.text {
  font-size: 0.9375rem;
  line-height: 1.375rem;
  /* white-space: pre-line; */
  font-family: "TT Norms";
}

.swiper-container-box {
  width: 100%;
  max-width: 400px;
  border-radius: 9px;
  margin: auto;
}

.comparison-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  user-select: none;
}

/* .overlay-handle {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	background-color: #00000047;
	transition: all .25s linear;
	z-index: 1;
}

.comparison-container:hover .overlay-handle {
	opacity: 1;
}

.twentytwenty-handle:hover ~ .overlay-handle {
	opacity: 0;
} */

.comparison-container picture {
  display: block;
  width: 100%;
  height: 100%;
}

.comparison-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comparison-slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  /* background: red; */
  cursor: pointer;
  z-index: 10;
}

.comparison-image-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.comparison-image-before img {
  position: absolute;
  left: 0;
  width: 200%;
  height: 100% !important;
  object-fit: cover;
  object-position: left;
}

.twentytwenty-handle {
  height: 40px;
  width: 40px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #fff;
  -webkit-border-radius: 1000px;
  -moz-border-radius: 1000px;
  border-radius: 1000px;
  -webkit-box-shadow: 0 0 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0 0 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0 0 12px rgba(51, 51, 51, 0.5);
  z-index: 40;
  cursor: pointer;
}

.twentytwenty-left-arrow,
.twentytwenty-right-arrow {
  top: 50%;
  margin-top: -6px;
  box-sizing: content-box;
}

.twentytwenty-left-arrow,
.twentytwenty-right-arrow,
.twentytwenty-up-arrow,
.twentytwenty-down-arrow {
  width: 0;
  height: 0;
  border: 6px inset transparent;
  position: absolute;
}

.twentytwenty-left-arrow {
  border-right: 6px solid #fff;
  left: 50%;
  margin-left: -17px;
}

.twentytwenty-right-arrow {
  border-left: 6px solid #fff;
  right: 50%;
  margin-right: -17px;
}

.label-after {
  top: 25px;
  margin-top: -19px;
  left: 10px;
}

.label-before {
  top: 25px;
  margin-top: -19px;
  right: 10px;
}

.label-after,
.label-before {
  z-index: 12;
  position: absolute;
  background: rgba(255, 255, 255, 0.612);
  line-height: 30px;
  font-size: 14px;
  padding: 0 20px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  opacity: 1;
  transition: all 0.25s linear;
}

.swiper-container-box .swiper-button-next:after,
.swiper-button-prev:after {
  display: none;
}

.swiper-container-box .swiper-button-next,
.swiper-container-box .swiper-button-prev {
  background-color: var(--wd-primary-color);
  border-radius: 100%;
  width: 40px;
  height: 40px;
  padding: 7px;
}

/* Стили для подложки */
.overlay {
  /* Скрываем подложку  */
  opacity: 0;
  visibility: hidden;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 70%);
  z-index: 999;
  transition: 0.3s all;
}

/* Стили для модальных окон */
.modal {
  /* Скрываем окна  */
  opacity: 0;
  visibility: hidden;

  /*  Установаем ширину окна  */
  width: 90%;
  max-width: 545px;
  max-height: 90%;
  height: auto;
  /* overflow: auto; */

  /*  Центрируем и задаем z-index */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999; /* Должен быть выше чем у подложки*/

  /*  Побочные стили   */
  box-shadow: 0 3px 10px -0.5px rgba(0, 0, 0, 0.2);
  /*text-align: center;*/
  padding: 40px;
  border-radius: 9px;
  background-color: #f4f0ed;
  transition: 0.3s all;
}

/* Стили для активных классов подложки и окна */
.modal.active,
.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Стили для кнопки закрытия */
.js-modal-close {
  cursor: pointer;
  position: absolute;
  z-index: 1;
  right: 27px;
  top: 27px;
}

.form-title {
  display: block;
  color: var(--wd-title-color);
  font-weight: var(--wd-title-font-weight);
  font-family: var(--wd-title-font);
  font-size: 28px;
  margin-bottom: 10px;
}

.form-info {
  font-family: var(--wd-title-font);
  font-size: 16px;
  color: var(--wd-title-color);
}

.wpcf7-list-item-label {
  font-size: 12px;
}

.modal__cross {
  width: 15px;
  height: 15px;
  fill: #444;
}

.pupup-thanks__text {
  color: #282828;
  font-weight: 400;
  opacity: 0.8;
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 0.926rem + 0.37vw, 1.25rem);
}

.pupup-thanks__title {
  font-weight: 600;
  color: var(--wd-title-color);
  font-size: clamp(1.25rem, 0.954rem + 1.48vw, 2.25rem);
}

.wpcf7-form-control-wrap:has(input[type="checkbox"]) {
  text-align: left;
}

/*.comparison-container:hover .label-after,
.comparison-container:hover .label-before {
	opacity: 1;
}*/

@media (max-width: 768px) {
  .swiper-container-box {
    max-width: 100%;
  }

  /*.label-before,
	.label-after {
		display: none;
	}*/

  .overlay-handle {
    display: none;
  }
}

/* Устанавливаем фиксированный список на десктопе */
@media (min-width: 768px) {
  .title-slider .swiper-wrapper {
    display: flex;
    width: fit-content;
    flex-direction: row;
  }

  .title-slider .swiper-slide {
    width: auto; /* Делаем так, чтобы слайды были статичными */
    flex: 1; /* Каждый слайд занимает равное пространство */
    text-align: center;
  }

  .title-slider {
    overflow: visible; /* Отключаем прокрутку на десктопе */
    width: 100%;
  }
}

/* На мобильных устройствах оставляем слайдер с прокруткой */
@media (max-width: 767px) {
  .title-slider {
    overflow: hidden; /* Включаем прокрутку */
  }
}

@keyframes accent-sheen {
  from {
    transform: translateX(-150%);
  }
  to {
    transform: translateX(150%);
  }
}

@media (max-width: 769px) {
  .quiz-wrapper {
    padding: 15px;
  }

  .quiz-question-title {
    font-size: 20px;
  }

  .quiz-form-title {
    font-size: 20px;
  }

  .quiz-answer {
    padding: 12px 15px;
  }

  .quiz-answer-text {
    font-size: 14px;
  }

  .quiz-navigation {
    flex-direction: column;
  }

  .quiz-back-btn,
  .quiz-next-btn {
    width: 100%;
  }

  section.tabs .tabcontent {
    padding: 20px;
  }

  .tabcontent__image img.tabcontent__img {
    height: 235px;
    width: 100%;
  }

  section.tabs .tab button {
    padding: 0;
  }

  .tab__title {
    margin-bottom: 10px;
  }

  .tabcontent__inner {
    gap: 20px;
  }

  .grid-list__item {
    border-radius: 10px;
    display: flex;
    align-items: center;
    row-gap: 10px;
    flex-wrap: wrap;
    padding: 20px;
  }

  .grid-list__item-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
  }

  .prices-list__item {
    padding: 0;
  }

  .grid-list__item-title {
    max-width: 75%;
    padding-top: 0;
    margin-left: 10px;
    padding: 0;
    font-size: 18px;
  }

  .grid-list {
    gap: 20px;
  }

  .grid-list__item:has(.grid-list__img) {
    display: none;
  }

  .about__wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .about__body {
    width: 100%;
  }

  .about {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .grid-list__item-title {
    font-size: 16px;
  }

  .tabcontent__row-btns {
    flex-direction: column-reverse;
    align-items: unset;
  }

  .tabcontent__row-btns a {
    max-width: 100%;
    width: 100%;
  }

  .tabs__wrapper {
    row-gap: 10px;
  }

  .modal {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    overflow: auto;
    max-width: none;
    max-height: none;
  }
}

/* Контактная форма */
form.homer-contact-form,
.homer-contact-form,
.elementor-widget form.homer-contact-form,
.elementor-element form.homer-contact-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.contact-form-row,
.homer-contact-form .contact-form-row,
.elementor-widget .homer-contact-form .contact-form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
}

@media (max-width: 768px) {
  .contact-form-row,
  .homer-contact-form .contact-form-row,
  .elementor-widget .homer-contact-form .contact-form-row {
    grid-template-columns: 1fr !important;
  }
}

.contact-form-field,
.homer-contact-form .contact-form-field {
  position: relative !important;
}

.contact-form-field input[type="text"],
.contact-form-field input[type="tel"],
.contact-form-field input[type="email"],
.contact-form-field textarea,
.homer-contact-form .contact-form-field input[type="text"],
.homer-contact-form .contact-form-field input[type="tel"],
.homer-contact-form .contact-form-field input[type="email"],
.homer-contact-form .contact-form-field textarea,
.elementor-widget .homer-contact-form .contact-form-field input,
.elementor-widget .homer-contact-form .contact-form-field textarea {
  width: 100% !important;
  padding: 10px !important;
  border: none !important;
  border-bottom: 1px solid #666666 !important;
  background: transparent !important;
  font-size: 16px !important;
  outline: none !important;
  color: #282828 !important;
  font-family: inherit !important;
  box-shadow: none !important;
}

.contact-form-field textarea,
.homer-contact-form .contact-form-field textarea,
.elementor-widget .homer-contact-form .contact-form-field textarea {
  resize: none !important;
  overflow: hidden !important;
  min-height: 42px !important;
  max-height: 20px !important;
  line-height: 20px !important;
}

.contact-form-field input[type="text"]::placeholder,
.contact-form-field input[type="tel"]::placeholder,
.contact-form-field input[type="email"]::placeholder,
.contact-form-field textarea::placeholder,
.homer-contact-form .contact-form-field input::placeholder,
.homer-contact-form .contact-form-field textarea::placeholder {
  color: #999 !important;
}

.contact-form-field input[type="text"]:focus,
.contact-form-field input[type="tel"]:focus,
.contact-form-field input[type="email"]:focus,
.contact-form-field textarea:focus,
.homer-contact-form .contact-form-field input:focus,
.homer-contact-form .contact-form-field textarea:focus {
  border-bottom-color: #f5b332 !important;
  box-shadow: none !important;
  outline: none !important;
}

.contact-form-consent,
.homer-contact-form .contact-form-consent {
  margin-top: 10px !important;
}

.contact-form-checkbox-label,
.homer-contact-form .contact-form-checkbox-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  cursor: pointer !important;
}

.contact-form-checkbox-label input[type="checkbox"],
.homer-contact-form .contact-form-checkbox-label input[type="checkbox"],
.elementor-widget
  .homer-contact-form
  .contact-form-checkbox-label
  input[type="checkbox"] {
  margin-top: 3px !important;
  flex-shrink: 0 !important;
  width: 18px !important;
  height: 18px !important;
  cursor: pointer !important;
}

.contact-form-checkbox-text,
.homer-contact-form .contact-form-checkbox-text {
  font-size: 14px !important;
  color: #666 !important;
  line-height: 1.5 !important;
}

button.contact-form-submit,
.contact-form-submit,
.homer-contact-form .contact-form-submit,
.elementor-widget .homer-contact-form .contact-form-submit,
.elementor-button.contact-form-submit {
  width: 100% !important;
  padding: 15px 30px !important;
  background-color: #000 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  /*transition: background-color 0.3s ease !important;*/
}

button.contact-form-submit:hover,
.contact-form-submit:hover,
.homer-contact-form .contact-form-submit:hover {
  background-color: #e0a028 !important;
}

button.contact-form-submit:disabled,
.contact-form-submit:disabled,
.homer-contact-form .contact-form-submit:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

button.contact-form-submit.is-loading,
.contact-form-submit.is-loading,
.homer-contact-form .contact-form-submit.is-loading {
  opacity: 0.6 !important;
  cursor: wait !important;
}

.quiz-form-links {
  margin-top: 0;
}

button.btn.btn-style-3d {
  color: #333;

  transition: all 0.3s linear !important;
}

.btn.btn-style-3d:hover {
  transform: translateY(-3px);
}

@media screen and (max-width: 480px) {
  .contact-form-row,
  .homer-contact-form .contact-form-row,
  .elementor-widget .homer-contact-form .contact-form-row {
    gap: 10px !important;
  }

  .contact-form-checkbox-text,
  .homer-contact-form .contact-form-checkbox-text {
    font-size: 12px !important;
  }

  .contact-form-field input[type="text"],
  .contact-form-field input[type="tel"],
  .contact-form-field input[type="email"],
  .contact-form-field textarea,
  .homer-contact-form .contact-form-field input[type="text"],
  .homer-contact-form .contact-form-field input[type="tel"],
  .homer-contact-form .contact-form-field input[type="email"],
  .homer-contact-form .contact-form-field textarea,
  .elementor-widget .homer-contact-form .contact-form-field input,
  .elementor-widget .homer-contact-form .contact-form-field textarea {
    font-size: 14px !important;
  }

  .contact-form-field input[type="text"]::placeholder,
  .contact-form-field input[type="tel"]::placeholder,
  .contact-form-field input[type="email"]::placeholder,
  .contact-form-field textarea::placeholder,
  .homer-contact-form .contact-form-field input::placeholder,
  .homer-contact-form .contact-form-field textarea::placeholder {
    font-size: 14px !important;
  }
}

/* Видео секция */
.about__video {
  width: 100%;
  max-width: 530px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 9px;
  overflow: hidden;
  background-color: #000;
}

.video-preview {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 соотношение */
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.video-preview img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.video-play-btn {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  padding: 0 !important;
  z-index: 10 !important;
  transition: transform 0.3s ease;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
  display: block;
  width: 72px;
  height: 72px;
}

.video-iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 соотношение */
}

.video-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.btn-size-extra-small {
  --btn-padding: 10px 10px !important;
  --btn-height: 36px !important;
  --btn-font-size: 11px !important;
}

@media (max-width: 768px) {
  .about__video {
    /*margin-top: 20px;*/
  }

  button.contact-form-submit,
  .contact-form-submit,
  .homer-contact-form .contact-form-submit,
  .elementor-widget .homer-contact-form .contact-form-submit,
  .elementor-button.contact-form-submit {
    padding: 10px 20px !important;
    font-size: 14px !important;
  }

  .video-wrapper {
    max-width: 100%;
  }

  .video-play-btn svg {
    width: 50px;
    height: 35px;
  }

  button.gallery-tab-btn {
    border-bottom: 0px;
    background: var(--wd-primary-color) !important;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
    color: var(--wd-title-color) !important;
    opacity: 0.75;
    padding: 5px 12px;
    min-height: 36px;
    /*--btn-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, 0.15);*/
  }

  button.gallery-tab-btn.active {
    opacity: 1;
  }

  .gallery-tabs-nav {
    gap: 10px;
  }
}
