.insy-svg {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  /* Увеличим точность выравнивания */
  vertical-align: middle;
  position: relative;
  top: 0px;
  /* Если иконка кажется ниже текста, подтяни её вверх */
  /* margin-right: 5px; */
}

.nav-svg {
  width: 30px;
  height: 50px;
  fill: white;
  /* Цвет стрелок */
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
  /* Чтобы были видны на светлых фото */
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.7;
}

.nav-svg:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* Если стрелки в кнопках — убери стандартные рамки кнопок */
.btn-nav {
  background: none;
  border: none;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Эффект при наведении на родительскую кнопку */
.insy-button:hover .insy-svg {
  transform: scale(1.1);
}

:root {
  --red: #e30613;
  --orange: #f08143;
  --dark: #33363b;
  --insta: #E1306C;
  --whatsapp: #25d366;
  --email-blue: #2c5282;
  --youtube: #ff0000;
  --gis: #00b956;
}

@keyframes premiumGlow {
  0% {
    color: var(--dark);
  }

  50% {
    color: var(--orange);
  }

  100% {
    color: var(--dark);
  }
}

@keyframes luxSwing {
  0% {
    transform: rotate(-2deg);
  }

  50% {
    transform: rotate(2deg);
  }

  100% {
    transform: rotate(-2deg);
  }
}

@keyframes softPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.pulse-active {
  animation: softPulse 0.6s ease-in-out 2;
}


.glow-text {
  animation: premiumGlow 10s steps(1, end) infinite;
  display: block;
}

.features {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-item {
  font-size: 18px;
  margin-bottom: 12px;
  color: #555;
  display: flex;
  align-items: flex-start;
  font-family: 'Arial', sans-serif;
}

.feature-item::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 3px;
  background: var(--red);
  margin-right: 12px;
  margin-top: 10px;
  flex-shrink: 0;
}

#showFormBtn,
.btn-submit {
  background: var(--orange);
  color: white;
  padding: 18px 35px;
  border: none;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 5px 0 #c46633;
  transition: all 0.3s ease;
  width: 100%;
}

#showFormBtn {
  width: auto;
}

#showFormBtn:hover,
.btn-submit:hover {
  transform: scale(1.05);
}

.lead-form input {
  width: 100%;
  padding: 15px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
  transition: all 0.3s ease;
  font-family: 'Arial', sans-serif;
}

.form-note {
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  color: #999;
  margin-top: 15px;
  display: block;
  line-height: 1.4;
}

.slider-wrapper {
  flex: 1;
  position: relative;
  max-width: 400px;
  width: 100%;
  margin-top: 25px;
  /*filter: drop-shadow(-10px 10px 0px #edecec);*/
}

.slider-container {
  width: 100%;
  height: 450px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 0 80px;
  box-shadow: -15px 15px 0 #f8f8f8;
  cursor: zoom-in;
  aspect-ratio: 1 / 1.15;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide-item.active {
  opacity: 1;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #fff;
  font-family: 'Arial', sans-serif;
  font-size: 13px;
  text-align: right;
  z-index: 5;
  display: flex;
  justify-content: center;
  width: 100%;
}

.slide-caption>div {
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 20px;
  color: #fff;
  display: flex;
  align-items: center;
  max-width: 70%;
  text-align: center;
}

.slide-caption>div {
  /* background: #fff; border-radius: 0 0 0 50%; */
}

.slide-caption {
  /* background: white; */
  border-radius: 0 0 0 50%;
  color: #000;
  /* height: 30px; */
  /* width: 100px; */
  position: absolute;
  bottom: 20%;
  right: 0;
  z-index: 11;
  /* box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1); */
}

.badge-2gis {
  position: absolute;
  top: -15%;
  left: -18%;
  background: white;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, .6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 11;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.badge-2gis:hover {
  transform: scale(1.1);
}

.badge-2gis .b-text {
  font-size: 14px;
  color: #999;
  font-weight: bold;
  line-height: 1;
}

.badge-2gis .b-2gis {
  font-size: 16px;
  color: #333;
  font-weight: 900;
  margin-bottom: 2px;
}

.badge-2gis .b-val {
  font-size: 36px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.badge-2gis .b-stars {
  color: var(--orange);
  font-size: 20px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.96);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 90%;
  max-height: 75%;
  object-fit: contain;
  border: 3px solid #333;
}

.modal-caption {
  color: #fff;
  margin-top: 20px;
  font-family: 'Arial', sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.modal-btn {
  position: absolute;
  color: white;
  font-size: 35px;
  cursor: pointer;
  padding: 20px;
  z-index: 10001;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.modal-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.close-modal {
  top: 20px;
  right: 20px;
}

/* Исправленные стили для стрелок в модальном окне */
.prev-modal {
  left: 20px;
  top: 50%;
  transform: translateY(-50%) scale(1);
  /* Держим центр и масштаб вместе */
}

.next-modal {
  right: 20px;
  top: 50%;
  transform: translateY(-50%) scale(1);
}

/* Эффект увеличения без прыжков */
.prev-modal:hover {
  transform: translateY(-50%) scale(1.2);
  opacity: 1;
}

.next-modal:hover {
  transform: translateY(-50%) scale(1.2);
  opacity: 1;
}

.footer {
  flex-shrink: 0;
  background: #000;
  color: #fff;
  padding: 30px 0;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Arial', sans-serif;
  font-size: 13px;
}

.insy-button {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  padding: 8px 30px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

.insy-button:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(18% 0%, 100% 0%, 82% 100%, 0% 100%);
  border-color: rgba(255, 255, 255, 0.8);
}

.insy-button img {
  height: 14px;
  margin-left: 10px;
  filter: brightness(0) invert(1);
  transition: transform 0.4s ease;
}

.insy-button:hover img {
  transform: translateX(3px);
}

/* Логика иконок */
.mobile-only {
  display: none !important;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  max-width: 1400px;
  margin: 0 auto;
  justify-items: center;
  align-items: center;
  padding: 0 5% 40px;
}

.footer-col--left {
  justify-self: flex-start;
}

.footer-col--right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col {
  font-size: 14px;
  line-height: 1.6;
}

.footer-col--center {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-social-icon {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.footer-link,
.footer-col a {
  color: inherit;
  text-decoration: none;
  position: relative;
}

.footer-col--right {
  position: relative;
}

.footer-link::before,
.footer-col--right::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 1px;
  bottom: 0;
  background-color: #fff;
}

.footer-icon {
  font-size: 18px;
}

.header-center--mob {
  display: none;
}

.h-contact {
  /* display: none; */
}

.modal-page {
  position: absolute;
  opacity: 0;
  transition: .2s;
  z-index: 2;
}

.hide_menu.active {
  opacity: 1;
  height: auto;
  pointer-events: all;
  left: auto;
  right: 0%;
  background: #fff;
  width: 100%;
  text-align: right;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, .4);
  z-index: 1;
  display: none;
}

.header__icons-burger {
  height: 24px;
  position: static !important;
}

.header-inner--scroll {
  visibility: hidden;
}

.btn-submit[href="/index.php#orderForm"] {
  font-size: 16px;
}

.header-inner--scroll .btn-submit {
  padding: 9px 23px;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
}

.footer-links,
.footer-col--center {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: space-evenly;
}

.header-inner--scroll {
  visibility: visible;
  align-items: center;
}

.header-inner--scroll .header-right {
  padding-top: 0;
  margin-right: 20px;
}

.header-inner--scroll
.btn-submit {width: 50%;}

/* КОНТАКТЫ */

.contacts__title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 70px;
}

.contacts-content__inner {
  /* display: -webkit-box;
  display: -ms-flexbox;
  display: flex; */
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.contacts-content__row > *:not(:last-child) {
  display: grid;
  grid-template-columns: 30% 1fr;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin: 10px 0;
}

.contacts-content__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  /* font-weight: 600; */
  color: #5a5959;
}

.contacts-map {
  padding-top: 50px;
  padding-bottom: 100px;
}

.contacts-map iframe {
  width: 100%;
}

@media (max-width: 768px) {
  .header-center {
    display: none;
  }

  .header-right {
    padding-top: 5px;
    gap: 15px;
    align-items: flex-start;
  }

  .social-links {
    gap: 10px;
  }

  .social-links a img,
  .social-links a svg,
  .social-links>a {
    width: 25px !important;
    height: 25px !important;

  }

  .social-links a {
    font-size: 30px;
  }

  .mobile-only {
    display: flex !important;
  }

    .header-inner--scroll
    .btn-submit {
      width: 100%;
    }

  /* Только на мобиле +1 иконка карты */
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  h1 {
    font-size: 28px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .social-links>a:first-child {
    display: none;
  }

  /* .header-inner {
                align-items: flex-start;
            } */
  

  /* .h-contact {display: flex; font-size: 14px;} */
  .tel-svg {
    width: 40px;
  }

  .logo-container img {
    height: 55px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-col--left {
    justify-self: center;
  }

  .header-center--mob {
    display: flex;
  }

  .web-only {
    display: none !important;
  }


  .badge-2gis {
    top: -9%;
    left: -1%;
    width: 155px;
    height: 155px;
  }

  .badge-2gis .b-val {
    font-size: 32px;
  }

  .badge-2gis .b-val {
    font-size: 14px;
  }

  .badge-2gis .b-text {
    font-size: 12px;
  }

  .badge-2gis .b-stars {
    font-size: 18px;
  }

}

@media(max-width: 500px) {
  .slider-container {
    height: 390px;
    border-radius: 20px;
  }

  .slider-wrapper {
    max-width: 340px;
  }
}

.slider-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: url('/img/cube.png'); */
  background: #000;
  background-size: cover;

  opacity: 0.25;

  pointer-events: none;
  z-index: 10;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}


.block-1__title {
  text-align: center;
}

.block-1__title h2 {
  font-size: 48px;
  font-weight: 900;
}

.block-1__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-items: center;
}

.block-1_list_item {
  text-align: center;
  cursor: pointer;
  margin-bottom: 80px;
  padding: 0 30px;
  word-break: normal;
  line-break: auto;
  -webkit-hyphens: none;
  hyphens: none;
}

.block-1_list_item a {
  display: block;
  width: 100%;
  height: auto;
  text-decoration: none;
}

.block-1_list_item_h3 {
  font-size: 20px;
  font-weight: 400;
  margin-top: 5px;
  transition: all .3s;
  color: inherit;
  color: #111;
  margin-bottom: 0;
}

.block-1_btn_call a {
  /* font-size: 13px;
  width: auto !important;
  display: inline-block;
  text-decoration: none;
  text-align: justify; */
  max-width: 400px;
  display: inline-flex;
  text-align: center;
}


.block-2_content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

.block-2_item {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 10px;
}

.block-2_item img{
  border-radius: 15px;
  width: 224px;
  height: 224px;
  object-fit: cover;
}

.block-2_item p {
  margin-top: 20px;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  color: #2C3137;
  margin-bottom: 0;
}

.block-2_item div>div {
  font-style: normal;
  font-weight: 250;
  background: transparent !important;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  color: #2C3137;
  margin-bottom: 12px;
}

.block-2_item .uslugi-link {
  background: #EAEAEA;
  box-shadow: inset 0px 0px 26px rgba(255, 255, 255, 0.46);
  border-radius: 6px;
  font-style: normal;
  font-weight: 250;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: #2C3137;
  padding: 9px 18px;
  display: inline-block;
}

.block-3 {
  background: #EFEFEF;
}

.block-3_slider .slick-slide a {
  width: 338px !important;
  height: 308px !important;
  margin-bottom: 22px;
  border: 8px solid #fff;
  border-radius: 16px;
}

.block-3_slider .slick-slide a>img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 16px;
}

.block-3_slider .slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 20px;
  height: 20px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: #fff;
  border-radius: 50%;
}

.block-3_slider .slick-dots .slick-active button {
  background-color: #F41818 !important;
}

.block-3_slider .slick-dots {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.block-5_adv {
  display: flex;
  justify-content: space-between;
  width: 80%;
  flex-wrap: wrap;
  gap: 20px;
}

.block-5_adv_item div:last-child {
  font-weight: 900;
  font-size: 21px;
  line-height: 26px;
  color: #2C3137;
}

.block-5_video {
  margin: 44px 0;
}

.block-5_video___item {
  height: 459px;
  width: 100%;
  border-radius: 16px;
  position: relative;
  display: block;
}

.block-5_video__item__play {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -48px;
  margin-top: -48px;
  cursor: pointer;
}

.accord__item-inner {
  box-shadow: 4px 4px 14px 0px #8080802b;
  border-radius: 20px;
}

.accord__item-block {
  max-height: 0;
  overflow: hidden;
  transition: 0.2s ease;
  color: #222;
  padding: 0 20px;
}

.accord__item-block p {
  font-size: 20px;
}

.accord__item-title {
  cursor: pointer;
  color: #222;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
}

.accord__item-title p {
  margin: 0;
}

.block-5_content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}


@media (max-width: 768px) {
  .block-5_adv {
    justify-content: center;
    width: 100%;
  }
}

/*=================ORDER===============================*/

.order__content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  z-index: 1;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all .2s;
}

.order__quests {
  font-size: 48px;
  font-weight: 900;
}

.order__top-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 35px 45px 40px;
}

.order__pages {
  display: flex;
  align-items: center;
  gap: 5px;
}

.order__form {
  display: flex;
  padding: 35px 45px 55px;
}

.order__form>div {
  flex-direction: column;
  gap: 12px;
  min-width: 100%;
}

.step-two,
.step-three,
.step-fourth {
  width: 0;
  height: 0;
  visibility: hidden;
}

.order__title {
  font-size: 30px;
  text-align: left;
  margin: 0;
}

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

.order__checkbox {
  display: flex;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  gap: 8px;
  position: relative;
}

.order__form input:not(input[type="range"]),
.order__form textarea {
  padding: 17px;
  border: 1px solid #f0f0f0;
  border-radius: 3px;
  background-color: #f7f7f7;
  font-family: 'Montserrat', sans-serif;
  resize: none;
}

.order__checkbox input[type=radio] {
  display: none;
}

.order__checkbox input[type=radio] {
  margin-right: 8px;
}

.order__checkbox input[type=radio]:not(:checked)+.checkmark {
  color: transparent;
  min-width: 20px;
}

.order__checkbox .checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.order__checkbox input[type=radio] {
  display: none;
}

.order__checkbox input[type=radio] {
  margin-right: 8px;
}

.order__checkbox input[type=radio]:checked+.checkmark {
  background-color: var(--orange);
  border-color: var(--orange);
  min-width: 20px;
}

#orderForm {
    scroll-margin-top: 500px;
}

.order__btns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.order__form .order__submit.order-prev {
  background: transparent;
  color: #222;
  border: 1px solid var(--orange);
}

.order__form .order__submit[disabled] {
  background: #DFDFDF;
  cursor: auto;
  border: none;
}

.order__form .order__submit {
  background-color: var(--orange);
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
  max-width: 150px;
}



.order__range {
  width: 100%;
  height: 6px;
  background-color: #b1adad;
  overflow: hidden;
  margin-top: 10px;
}

.order__progress-bar {
  height: 100%;
  width: 0%;
  background-color: var(--orange);
  transition: width 0.3s ease;
}

.block_twin__item {
  margin-bottom: 20px;
}

/*TABS*/

.tabs-inner {
  display: none;
}

.tabs-inner.active {
  display: block;
}

.tabs-btns {
  display: flex;
  list-style-type: none;
  padding-left: 0;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.tabs-btn {
  margin-right: 15px;
  width: 23%;
  height: 75px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E6E6E6;
  border-radius: 16px;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  color: #2C3137;
  margin-bottom: 10px;
  padding: 5px;
}

.tabs-btn.active {
  border: 1px solid var(--orange) !important;
}

.tab__content {
  display: flex;
  justify-content: space-between;
}

.tab__content___item {
  width: 50%;
}

.tab__content___item___2 {
  display: flex;
  flex-direction: column;
  /* align-items: flex-end; */
}

.tab__content___item img {
  border-radius: 15px; 
  width: 452px;
  height: 452px;
  object-fit: cover;
}


.tab__content___item___2 img {
  margin-left: auto;
  object-fit: cover;
}

.tab__content___item p {
  font-weight: 300 !important;
  font-size: 22px !important;
  line-height: 37px !important;
  color: #2C3137 !important;
}

.tab__iconsbox {
  display: flex;
  justify-content: space-between;
  margin-top: 53px;
}

.tab__iconsbox div {
  width: 33%;
}

.tab__iconsbox___item {
  display: flex;
  flex-direction: column;
}

.tab__iconsbox___item p {
  font-weight: 600 !important;
  font-size: 21px !important;
  line-height: 120% !important;
  color: #2C3137 !important;
  margin: 0;
}


.section_1 {
  margin-bottom: 60px;
}

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

.section_1__wrap h2 span {
  color: var(--orange);
  display: block;
}

.section_1__wrap>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section_1__wrap>div>img {
  margin-right: 26px;
}

.section_1__wrap>div span {
  font-size: 24px;
  line-height: 120%;
}

.section_1__wrap h2 {
  font-size: 55px;
  line-height: 100%;
}

.dual-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.gallery-row {
  overflow: hidden;
  width: 100%;
}

.gallery-track {
  display: flex;
  gap: 12px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 80s;
  width: max-content;
}

.gallery-track--left {
  animation-name: scroll-left;
}

@media (max-width: 800px) {
  .section_1__wrap {
    flex-wrap: wrap;
  }
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.gallery-item {
  flex: 0 0 auto;
  width: 271px;
  height: 222px;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 8px;
}

.gallery-track--right {
  animation-name: scroll-left;
  animation-direction: reverse;
}


.header-bot {
  padding: 0 5% 12px;
  max-width: 1400px;
  margin: 0 auto;
}

.header-bot_list {
  display: flex;
  gap: 30px;
}

.header-bot_item {
  font-size: 18px;
  color: #111;
  display: inline-block;
}






.header__menu {
  display: none;
}

.header__menu {
  color: #000;
  position: relative;
  max-height: 36px;
  font-size: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  cursor: pointer;
}

.menu-wrapper {
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 425px;
  align-self: flex-end;
  gap: 130px;
  width: 100%;
  padding: 20px;
  padding-top: 0;
  position: absolute;
  height: auto;
  z-index: 20;
  transition: all 0.3s ease;
  background: #fff;
}

.menu-wrapper__top {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  width: 100%;
  /* margin-top: 30px; */
}

.menu-wrapper__links {
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-wrapper__close {
  cursor: pointer;
  margin-top: 15px;
}

.menu-wrapper__item {
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

@media(max-width: 900px) {
  .header-bot {
    display: none;
  }

  .header__menu {
    display: block;
  }

  .menu-wrapper {
    height: 100%;
  }
}


/*CASE*/


.case-block-heading {
  font-size: 40px;
  line-height: 45px;
}

.case-block-inner p {
  margin: 0;
  font-size: 20px;
}

.case-block-image figure {
  margin: 0 auto;
  display: flex;
  gap: 30px;
  justify-content: center;
}

.case-block-image figcaption {
  font-size: 18px;
  font-weight: 500;
}

.case-block-image {
  margin: 20px 0;
}

.case-block-image img {
  max-width: 100%;
  height: auto;
  margin: 20px;
  border-radius: 10px !important;
  max-height: 700px !important;
}

.case-block .case-block-inner:first-child {
  float: left;
  display: flex; gap: 40px;
  align-items: center;
  width: 100%;
}

.case-block .case-block-inner:first-child + .case-block-inner {
  clear: both;
}

.case-video-wrapper {
  margin-bottom: 30px;
  min-width: 400px;
}

.case-block-list {
  font-size: 20px;
  padding-left: 30px;
  margin: 20px 0;
}

.case-block-list li {
  list-style: disc;
}

@media (max-width: 768px) {
  .block-1__title h2 {
    font-size: 30px;
  }

  .case-block-heading {
    font-size: 30px;
    line-height: 36px;
  }

  .case-video-wrapper {
min-width: 300px;
margin-bottom: 0;
  }

    .case-block-image img {
      margin: 20px 0;
    }

    .case-video-wrapper + p {
      margin-bottom: 30px;
    }

  .case-block .case-block-inner:first-child {
    
    flex-direction: column;
  }

  .tabs-btn {
    width: 100%;
  }

  .case-block-inner p {
    /* font-size: 18px; */
  }

  .section_1__wrap h2 {
    font-size: 46px;
  }

  .block_twin__item img {
    height: auto;
    max-width: 100%;
  }

  .tab__content {
    flex-direction: column-reverse;
    align-items: center;
  }

  .tab__content___item___2 img {
    max-width: 300px;
    max-height: 300px;
    object-fit: cover;
  }

  .tab__content___item {
    width: 100%;
  }

  .tab__iconsbox {
    flex-wrap: wrap;
    gap: 20px;
  }

  .tab__iconsbox div {
    width: 100%;
  }

  .order__top-inner {
    align-items: flex-start;
  }

  .block-5_video___item {
    height: 359px;
  }

  .block-5_video {
    margin: 0;
  }

  .order__quests {
    font-size: 30px;
  }
}


/*REVIEWS VIDEO*/


.review_item {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  transition: all 0.3s ease;
}

.review_item>p:first-child {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.review_item-video {
  width: 100%;
  min-width: 400px;
  max-width: 400px;
  height: 600px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}


.review_item-descr {
  font-size: 18px;
  line-height: 1.6;
  color: #222;
}



.review_item-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}


.review-content {
  position: relative;
}

.slick-slider .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

  font-size: 0;
  cursor: pointer;
  transition: 0.3s ease;
}

.slick-slider .slick-arrow:hover {
  background: #111;
}

.slick-slider .slick-prev:before,
.slick-slider .slick-next:before {
  display: none;
}

.slick-slider .slick-prev {
  left: -60px;
}

.slick-slider .slick-next {
  right: -60px;
}

.slick-slider .slick-prev::after,
.slick-slider .slick-next::after {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 2px solid #111;
  border-right: 2px solid #111;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
}

.slick-slider .slick-prev::after {
  transform: translate(-40%, -50%) rotate(-135deg);
}

.slick-slider .slick-next::after {
  transform: translate(-60%, -50%) rotate(45deg);
}

.slick-slider .slick-arrow:hover::after {
  border-color: #fff;
}

.slick-slider .slick-dots {
  margin-top: 30px;
  display: flex !important;
  justify-content: center;
  gap: 10px;
}

.slick-slider .slick-dots li {
  margin: 0;
}

.slick-slider .slick-dots button {
  font-size: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  transition: 0.3s ease;
}

.slick-slider .slick-dots .slick-active button {
  background: var(--orange);
  width: 28px;
  border-radius: 20px;
}

.review_item-body {
  display: flex;
  align-items: center;
  gap: 50px;
}

.tab__content___item:nth-child(2) {
  display: flex;
  justify-content: flex-end;
  flex-direction: row;
  align-items: flex-start;
}

.anonce-body {
  flex-direction: column;
  align-items: flex-start;
}

.anonce-body .btn-submit {
  width: auto;
}


@media (max-width: 768px) {
  .review-content .slick-arrow {
    top: 33%;
  }

  .review-content .slick-prev {
    left: 0;
  }

  .review-content .slick-next {
    right: 0;
  }

  .review_item-video {
    min-width: unset;
    max-width: unset;
    height: 400px;
  }

  .review_item-body {
    flex-direction: column;
  }

}

/*============НИШИ======================*/

.nishi-container {
    margin: 40px auto;
    /* font-family: 'Montserrat', sans-serif; */
    color: #333;
    line-height: 1.6;
}

.nishi-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nishi-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.nishi-info {
    flex: 1.5;
    font-size: 18px;
    text-align: justify;
}

.nishi-sidebar {
    flex: 1;
}

.nishi-list-wrapper {
    background-color: #ffffff;
    border: 1px solid #eee;
    border-top: 4px solid #f08143;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.list-caption {
    font-weight: 700;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #222;
}

.nishi-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nishi-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.nishi-list li:last-child {
    border-bottom: none;
}

.nishi-list li a {
    text-decoration: none;
    color: #444;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nishi-list li a::before {
    content: '→';
    margin-right: 10px;
    color: #f08143;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.nishi-list li a:hover {
    color: #f08143;
    padding-left: 5px;
}

.nishi-list li a:hover::before {
    transform: translateX(3px);
}

@media (max-width: 850px) {
    .nishi-grid {
        flex-direction: column;
    }
    .nishi-sidebar {
        width: 100%;
    }
}

.btn-link {
  text-decoration: underline;
  font-size: 18px;
}

.case-card__no-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: default;
}

/* Остальные стили остаются без изменений */
.cases-filters {
  margin: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.filters-wrapper {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.case-filter-select {
  padding: 12px 40px 12px 20px;
  border-radius: 30px;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f08143' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  min-width: 250px;
}

.case-filter-select:hover,
.case-filter-select:focus {
  border-color: #f08143;
  outline: none;
  box-shadow: 0 5px 15px rgba(240, 129, 67, 0.1);
}

.cases-count {
  font-size: 16px;
  color: #666;
  background: #f9f9f9;
  padding: 8px 20px;
  border-radius: 30px;
}

.cases-count span {
  font-weight: 700;
  color: #f08143;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.case-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  height: 100%;
}

.case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: #f08143;
}

.case-card__link, .case-card__no-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.case-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.case-card:hover .case-card__image img {
  transform: scale(1.05);
}

.case-card__content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-card__title {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.case-card__client {
  font-size: 14px;
  color: #f08143;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.case-card__description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 15px 0;
  flex: 1;
}

.case-card__more {
  color: #f08143;
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
}

.no-cases-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px;
  background: #f9f9f9;
  border-radius: 20px;
  font-size: 16px;
  color: #666;
  margin: 30px 0;
}

.case-work-details {
  font-size: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.case-card {
  animation: fadeIn 0.5s ease;
}

@media (max-width: 768px) {
  .cases-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filters-wrapper {
    flex-direction: column;
  }
  
  .case-filter-select {
    width: 100%;
    min-width: auto;
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
  }
}

/*Стили для увеличения картинок*/

/* картинка на странице */
.minimized {
  cursor: pointer;
  border: 1px solid #FFF;
}

.minimized:hover {
  cursor:zoom-in;
}

/* увеличенная картинка */
#magnify {
  display: none;
  position: fixed;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%);
  max-width: 800px;
  max-height: 800px;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

#magnify img {
  width: 90%;
  max-width: 800px;
  max-height: 800px;
  height: 100%;
  object-fit: contain;
}

#magnify {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* затемняющий фон */
#overlay {
  display: none;
  background: #222;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.5;
  z-index: 9990;
}

/* кнопка закрытия */
#close-popup {
  width: 30px;
  height: 30px;
  background: #FFFFFF;
  border: 1px solid #AFAFAF;
  border-radius: 15px;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
}

#close-popup i {
  width: 30px;
  height: 30px;
  background: url(https://codernote.ru/files/cross.png) no-repeat center center;
  background-size: 16px 16px;
  display: block;
}

@keyframes rota {
  25% {
    transform: rotate(360deg);
  }
}

#close-popup:hover {
  animation: rota 4s infinite normal;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}


/*=================ЦЕНЫ======================================*/
.price-header {
  text-align: center;
  margin-bottom: 50px;
}

.price-header h1 {
  font-size: 36px;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.price-header p {
  color: #666;
  font-size: 18px;
}

/* Сетка категорий */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

/* Карточка категории */
.price-category {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--orange);
  /* Оранжевый акцент */
  transition: transform 0.3s ease;
}

.price-category:hover {
  transform: translateY(-5px);
}

.price-category h2 {
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--orange);
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

/* Особенный стиль для блока услуг */
.price-category.accent {
  background-color: #fffaf5;
}

/* Строки цен */
.price-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 5px;
}

.price-item span {
  padding-right: 10px;
  color: #444;
}

.price-item b {
  color: #000;
  white-space: nowrap;
  font-weight: 700;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 600px) {
  .price-header h1 {
    font-size: 28px;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .price-item {
    flex-direction: column;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
  }

  .price-item b {
    margin-top: 5px;
    color: var(--orange);
  }
}