/* === Шапка (прилипает к верху) === */
body.v2 header.site-section {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 998;
  /* background: #fff; */
  background: linear-gradient(180deg, #FFFFFF 28.37%, rgba(255, 255, 255, 0) 100%);
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); */
}

body.v2 header.site-section .logo {
  line-height: 0;
}

body.v2 .site-section .container.header-main {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  height: 80px;
}

body.v2 .header-main .logo img {
  height: 39px;
  width: 214px;
  object-fit: cover;
}

body.v2 .header-main .header-controls {
    display: flex;
    gap: 5px;
}

body.v2 .header-main .header-controls button.main {
    height: 42px;
    font-size: 14px;
    padding: 13px 25px;
}

body.v2 .header-main .menu-toggle {
  background-color: var(--color-orange);
  border: none;
  color: var(--color-white);
  width: 42px;
  height: 42px;
  border-radius: 9px;
  cursor: pointer;
  padding: 8px 10px;
  transition: all 0.475s;;
}

body.v2 .header-main .menu-toggle:hover {
    background-color: var(--color-red);
}

body.v2 .header-main .menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: white;
  margin: 6px 0;
}

/* === Меню === */
/* Меню выезжает с анимацией */
body.v2 #menu.site-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(-100%);
  /* transform: translateY(15px); */
  transition: transform 0.4s ease;
  z-index: 1000;
}

body.v2 #menu.open {
  transform: translateY(15px);
}

/*
body.v2 #menu.site-section .header-menu {
  background: var(--color-blue-light);
  width: 100%;
  padding: 30px;
}

body.v2 .header-menu .menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

body.v2 .header-menu .close-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

body.v2 .header-menu nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

body.v2 .header-menu nav a {
  text-decoration: none;
  color: #002b5c;
  font-size: 16px;
}

@media (min-width: 1025px) {
  body.v2 .header-menu nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
  }
}
/* */
/*
@media (max-width: 1024px) and (min-width: 768px) {
  body.v2 .header-main .consult-btn {
    font-size: 13px;
    padding: 8px 12px;
  }
}

@media (max-width: 767px) {
  body.v2 .header-main .consult-btn {
    display: none;
  }

  body.v2 .header-menu nav a {
    font-size: 14px;
  }
}
*/

body.v2 #menu.site-section .header-menu {
  display: flex;
  flex-direction: column;
  gap: 50px;
  background: var(--color-blue-light);
  padding: 30px;
  border-radius: 12px;
  /* max-width: 1200px; */
  /* margin: auto; */
  width: 100%;
}

/* Секция: Верх */
body.v2 #menu.site-section .header-menu .menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.v2 #menu.site-section .header-menu .menu-top > * {
  /* width: 33.3333%; */
  min-width: 0;
}

body.v2 #menu.site-section .header-menu .menu-logo {
  display: flex;
  align-items: left;
  min-width: 300px;
}

body.v2 #menu.site-section .header-menu .menu-logo img {
  max-height: 39px;
  height: 39px;
}

body.v2 #menu.site-section .header-menu .menu-langs {
  flex-grow: 1;
  text-align: center;
  font-size: 16px;
  line-height: 120%;
}

body.v2 #menu.site-section .header-menu .menu-langs a {
  color: var(--color-grey);
  margin: 0 5px;
  text-decoration: underline;
}

body.v2 #menu.site-section .header-menu .menu-langs a:hover,
body.v2 #menu.site-section .header-menu .menu-langs a:focus {
  text-decoration: none;
}

body.v2 #menu.site-section .header-menu .menu-close {
  text-align: right;
  min-width: 150px;
}

/* Секция: Основной контент */
/* body.v2 #menu.site-section .header-menu .menu-main {
  display: flex;
  gap: 15px;
} */

body.v2 #menu.site-section .header-menu .menu-left .menu-left-list {
  /* width: 300px; */
  /* min-width: 300px; */
  display: grid;
  grid-template-columns: 300px auto;
  gap: 5px 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

body.v2 #menu.site-section .header-menu .menu-left .menu-left-list > li {
  grid-column: 1;
}

body.v2 #menu.site-section .header-menu .menu-left .menu-left-list > li.second-element {
  grid-column: 2;
  grid-row: 1 / var(--cnt-elements);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.v2 #menu.site-section .header-menu .menu-left .menu-left-list > li:not(.second-element) a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-right: 25px; /* место под стрелку */
  transition: color 0.3s ease;
  padding: 16px 20px;
  background-color: var(--color-white);
  color: var(--color-blue);
  border-radius: 12px;
  font-size: 20px;
  line-height: 90%;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Стрелка */
body.v2 #menu.site-section .header-menu .menu-left .menu-left-list > li:not(.second-element) a::after {
  content: '';
  display: block;
  width: 15px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='15' height='14' viewBox='0 0 15 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.72461 13.7891L6.26953 12.3438L10.6445 7.95898H0V5.83984H10.6445L6.26953 1.45508L7.72461 0L14.6094 6.89453L7.72461 13.7891Z' fill='%23043063'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: auto;
}

/* Наведение — стрелка сдвигается и меняет цвет */
body.v2 #menu.site-section .header-menu .menu-left .menu-left-list > li:not(.second-element) a:hover {
  transform: translateX(5px);
  background-color: var(--color-blue-light2);
}


/* Секция: Услуги */
body.v2 #menu.site-section .header-menu .menu-services {
  flex-grow: 1;
  background: var(--color-white);
  border-radius: 12px;
  padding: 16px 20px;
}

body.v2 #menu.site-section .header-menu .menu-services .menu-head {
  font-size: 20px;
  line-height: 90%;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-blue);
}

body.v2 #menu.site-section .header-menu .services-grid {
  display: flex;
  gap: 16px;
}

/* body.v2 #menu.site-section .header-menu .services-grid .services-list {
  flex-grow: 1;
} */

body.v2 #menu.site-section .header-menu .services-images {
  display: flex;
  flex-grow: 1;
}



body.v2 #menu.site-section .header-menu .service-item:first-child {
  border-left: 1px solid #04306333;
}

body.v2 #menu.site-section .header-menu .service-item {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 9px 10px;
  border-right: 1px solid #04306333;
  transition: all 0.3s ease;
}

body.v2 #menu.site-section .header-menu .service-item:hover {
  background-color: var(--color-blue-light2);
}

body.v2 #menu.site-section .header-menu .service-item img {
  flex-grow: 1;
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
  transition: all 0.3s ease;
}

body.v2 #menu.site-section .header-menu .service-item span {
  font-weight: 600;
  font-size: 16px;
  line-height: 120%;
  padding: 13px 10px 0px 10px;
  min-height: 61px;
  color: var(--color-grey);
  transition: all 0.3s ease;
}

body.v2 #menu.site-section .header-menu .service-item:hover img,
body.v2 #menu.site-section .header-menu .service-item:hover span {
  transform: translateY(-5px);
}

/* Секция: Список услуг */
body.v2 #menu.site-section .header-menu .services-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.v2 #menu.site-section .header-menu .services-list li:first-child {
    border-top: 1px solid #04306333;
}

body.v2 #menu.site-section .header-menu .services-list li {
  display: flex;
  justify-content: space-between;
  padding: 0;
  border-bottom: 1px solid #04306333;
  overflow:hidden;
  transition: all 0.3s ease;
}

/* Ссылка внутри списка услуг */
body.v2 #menu.site-section .header-menu .services-list li a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transition: color 0.3s ease;
  font-size: 14px;
  color: var(--color-grey);
  white-space: nowrap;
  transition: all 0.3s ease;
  padding: 9px 0;
}

/* Стрелка через ::after */
body.v2 #menu.site-section .header-menu .services-list li a::after {
  content: '';
  display: block;
  width: 31px;
  height: 9px;
  padding-left: 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='9' viewBox='0 0 11 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.7832 8.91406L5.01758 8.16211L8.16211 5.00391H0V3.91016H8.16211L5.01758 0.765625L5.7832 0L10.2266 4.45703L5.7832 8.91406Z' fill='%23373737'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right center;
  margin-left: auto;
  transition: all 0.3s ease;
}

/* Ховер: сдвигаем стрелку и меняем её цвет */
body.v2 #menu.site-section .header-menu .services-list li:hover {
  background-color: var(--color-blue-light2);
}

body.v2 #menu.site-section .header-menu .services-list li a:hover {
  transform: translateX(5px);
}

body.v2 #menu.site-section .header-menu .services-list li a:hover::after {
  transform: translateX(-10px);
}


/* Секция: Подвал */
body.v2 #menu.site-section .header-menu .menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

body.v2 #menu.site-section .header-menu .footer-links {
  min-width: 300px;
}

body.v2 #menu.site-section .header-menu .footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
}

body.v2 #menu.site-section .header-menu .footer-links-list li a {
  text-decoration: none;
  /* color: #000; */
  /* font-size: 13px; */
}

body.v2 #menu.site-section .header-menu .footer-actions {
  line-height: 0;
}

body.v2 #menu.site-section .header-menu .footer-actions .btn {
  display: inline-block;
  background: #f05030;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

body.v2 #menu.site-section .header-menu .social-icons {
  min-width: 150px;
  display: flex;
  gap: 10px;
  text-align: right;
  justify-content: end;
  line-height: 0;
}

body.v2 #menu.site-section .header-menu .social-icons a img {
  width: 40px;
  height: 40px;
}


/* === Универсальный оверлей для попапов === */
body.v2 .main-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

/* Когда активен (через JS добавляется класс .visible) */
body.v2 .main-overlay.visible {
  opacity: 1;
  visibility: visible;
}

body.v2 .close-popup {
  background: none;
  border: none;
  padding: 0;
  width: 23px;
  height: 23px;
  align-self: flex-end;
  justify-self: flex-end;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg width='23' height='23' viewBox='0 0 23 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect y='1.41422' width='2' height='30' transform='rotate(-45 0 1.41422)' fill='%23FF542C'/%3E%3Crect width='2' height='30' transform='matrix(-0.707107 -0.707107 -0.707107 0.707107 22.6289 1.41422)' fill='%23FF542C'/%3E%3C/svg%3E");
}

body.v2 .close-popup.white {
  background-image: url("data:image/svg+xml,%3Csvg width='23' height='23' viewBox='0 0 23 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect y='1.41422' width='2' height='30' transform='rotate(-45 0 1.41422)' fill='%23FFFFFF'/%3E%3Crect width='2' height='30' transform='matrix(-0.707107 -0.707107 -0.707107 0.707107 22.6289 1.41422)' fill='%23FFFFFF'/%3E%3C/svg%3E");
}



@media (max-width: 1250px) {
  body.v2 #menu.site-section .header-menu {
    padding: 20px;
  }

  body.v2 #menu.site-section .header-menu .menu-logo img {
    width: 176px;
    max-height: 32px;
    height: 32px;
  }

  body.v2 #menu.site-section .header-menu .menu-langs {
    font-size: 14px;
  }

  body.v2 #menu.site-section .header-menu .menu-services { 
    padding: 17px 16px;
  }

  body.v2 #menu.site-section .header-menu .menu-services .menu-head {
    font-size: 16px;
  }

  body.v2 #menu.site-section .header-menu .menu-left .menu-left-list {
    grid-template-columns: 250px auto;
  }

  body.v2 #menu.site-section .header-menu .menu-left .menu-left-list > li:not(.second-element) a {
    font-size: 16px;
    padding: 17px 20px;
  }

  body.v2 #menu.site-section .header-menu .menu-left .menu-left-list > li:not(.second-element) a::after {
    transform: scale(0.9);
  }

  body.v2 #menu.site-section .header-menu .services-images {
    flex-direction: column;
  }

  body.v2 #menu.site-section .header-menu .services-images .service-item {
    display: flex;
    align-items: center;
    flex-direction: row;
    border: unset;
    padding: 3px 0;
    border-bottom: 1px solid #04306333;
  }

  body.v2 #menu.site-section .header-menu .services-images .service-item:first-child {
    border-top: 1px solid #04306333;
  }

  body.v2 #menu.site-section .header-menu .services-images .service-item img {
    width: 130px;
    max-width: 130px;
    height: 90px;
  }

  body.v2 #menu.site-section .header-menu .services-images .service-item:hover img,
  body.v2 #menu.site-section .header-menu .service-item:hover span {
    transform: translateX(5px) translateY(0);
  }

  body.v2 #menu.site-section .header-menu .services-list {
    min-width: 350px;
  }

  body.v2 #menu.site-section .header-menu .service-item span {
    font-size: 14px;
    padding: 0px 10px;
    min-height: unset;
    height: 100%;
  }

  body.v2 #menu.site-section .header-menu .services-list li a {
    font-size: 13px;
    padding: 8px 0;
  }

}


@media (max-width: 1070px) {
  body.v2 #menu.site-section .header-menu .services-list {
    min-width: unset;
  }

}

@media (max-width: 940px) {
  body.v2 .header-main .logo img {
    width: 175px;
    height: 32px;    
  }
}


@media (max-width: 940px) {
  body.menu-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
  }
  
  body.v2 #menu.open {
    transform: translateY(0);
  }

  body.v2 #menu.site-section {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100vh;
  }

  body.v2 #menu.site-section .container {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  body.v2 #menu.site-section .header-menu {
    padding: 15px;
    gap: 20px;
  }

  body.v2 #menu.site-section .header-menu .menu-top {
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
  }

  body.v2 #menu.site-section .header-menu .menu-top .menu-logo {
    width: 40%;
    min-width: unset;
    flex-grow: 1;
    order: 1;
  }

  body.v2 #menu.site-section .header-menu .menu-top .menu-close {
    width: 40%;
    min-width: unset;
    flex-grow: 1;
    order: 2;
  }

  body.v2 #menu.site-section .header-menu .menu-top .close-popup {
    transform: scale(0.8);
  }

  body.v2 #menu.site-section .header-menu .menu-top .menu-langs {
    width: 80%;
    flex-grow: 1;
    order: 3;
    text-align: left;
  }

  body.v2 #menu.site-section .header-menu .menu-logo img {
    width: 162px;
    height: 30px;
  }

  body.v2 #menu.site-section .header-menu .menu-left .menu-left-list {
    grid-template-columns: auto;
    gap: 5px;
  }

  body.v2 #menu.site-section .header-menu .menu-left .menu-left-list > li.second-element {
    grid-column: 1;
    grid-row: auto;
    margin: 10px 0;
  }

  body.v2 #menu.site-section .header-menu .menu-left .menu-left-list > li:not(.second-element) a {
    font-size: 14px;
    padding: 14px 20px;
  }
  
  body.v2 #menu.site-section .header-menu .menu-services {
    padding: 14px 20px 20px 20px;
  }

  body.v2 #menu.site-section .header-menu .menu-services .menu-head {
    font-size: 14px;
  }

  body.v2 #menu.site-section .header-menu .services-grid {
    flex-direction: column;
    gap: 30px;
  }

  body.v2 #menu.site-section .header-menu .menu-left .menu-left-list > li:not(.second-element) a::after {
    transform: scale(0.8);
  }

  body.v2 #menu.site-section .header-menu .services-images {
    flex-direction: row;
    gap: 8px;
    margin: 0 -10px;
  }

  body.v2 #menu.site-section .header-menu .services-images .service-item,
  body.v2 #menu.site-section .header-menu .services-images .service-item:first-child {
    border: unset;
  }

  body.v2 #menu.site-section .header-menu .services-images .service-item {
    flex-direction: column;
    gap: 5px;
    flex: 1 1 0;
  }

  body.v2 #menu.site-section .header-menu .services-images .service-item img {
    width: 100%;
    height: 100px;
    min-height: 100px;
    max-width: unset;
  }

  body.v2 #menu.site-section .header-menu .service-item span {
    padding: 0;
    font-size: 13px;
    text-align: center;
  }

  body.v2 #menu.site-section .header-menu .services-images .service-item:hover img,
  body.v2 #menu.site-section .header-menu .service-item:hover span {
    transform: translateX(0) translateY(0);
  }

  body.v2 #menu.site-section .header-menu .service-item:hover {
    background: unset;
  }

  body.v2 #menu.site-section .header-menu .menu-footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  body.v2 #menu.site-section .header-menu .menu-footer .footer-links {
    text-align: center;
  }

  body.v2 #menu.site-section .header-menu .social-icons {
    text-align: center;
    justify-content: center;
  }

  body.v2 #menu.site-section .header-menu .social-icons a img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 530px) {
  body.v2 .header-main .header-controls button.main {
    display: none;
  }
}


/* POP UP */
/* Общий стиль overlay (предполагается, что он уже есть) */
/* #mainOverlay должен иметь .visible с opacity: 1 */

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  z-index: 1001;
  transition: transform 0.3s ease, opacity 0.3s ease;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 90%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  pointer-events: none;
}

.popup-visible {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.popup-hiding {
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  pointer-events: none;
}

/* Кнопка закрытия */
.popup .popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}


/* FORMS */
#formContactUS {
  padding: 50px 40px;
  text-align: center;
  background-color: var(--color-blue-light);
  width: 670px;
}

#formContactUS img {
  width: 152px;
  height: 40px;
}

#formContactUS .header2 {
    font-size: 45px;
}

#formContactUS .description {
  margin-top: 20px;
  margin-bottom: 40px;
}

/* Send */
#sendContactUS {
  background-color: #FF542C;
  padding: 55px 105px;
  text-align: center;
  width: 670px;
}

#sendContactUS .inner,
#sendContactUS .inner .header2 {
  color: var(--color-white);
}

#sendContactUS .inner img {
  width: 152px;
  height: 40px;
}

#sendContactUS .inner .header2 {
  font-size: 45px;
  width: 460px;
}

#sendContactUS .inner .description {
  margin-top: 25px;
  font-size: 18px;
}

@media (max-width: 1024px) {
  #formContactUS {
    padding: 30px 20px;
    width: 455px;
  }

  #sendContactUS .inner img {
    width: 146px;
    height: 8px;
  }

  #formContactUS .header2 {
    font-size: 35px;
  }

  #formContactUS .description {
    font-size: 14px;
    margin-top: 15px;
  }

  #sendContactUS {
    padding: 60px 30px;
    width: 455px;
  }

  #sendContactUS .inner .header2 {
    font-size: 35px;
    width: 400px;
  }

  #sendContactUS .inner .description {
    margin-top: 20px;
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  #formContactUS {
    padding: 50px 15px 30px 15px;
    width: 360px;
  }

  #sendContactUS .inner img {
    width: 146px;
    height: 8px;
  }

  #formContactUS .header2 {
    margin-top: 30px;
    font-size: 30px;
    display: block;
  }

  #formContactUS .description {
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }

  #formContactUS .popup-close {
    transform: scale(0.8);
    right: 15px;
    top: 15px;
  }


  #sendContactUS {
    background-color: #FF542C;
    padding: 50px 24px;
    text-align: center;
    width: 400px;
  }

  #sendContactUS .popup-close {
    transform: scale(0.8);
    right: 15px;
    top: 15px;
  }

  #sendContactUS .inner .header2 {
    font-size: 30px;
    width: auto;
  }

  #sendContactUS .inner .description {
    margin-top: 25px;
    font-size: 14px;
  }
}


#infoHowTo {
  width: 900px;
  padding: 60px 40px;
}

#infoHowTo .inner {
    display: grid;
    gap: 25px 40px;
    grid-template-columns: 510px auto;
    grid-template-rows: auto auto 1fr;
}

#infoHowTo .inner .header {
    grid-column: 1;
    grid-row: 1;
    font-size: 45px;
    margin-bottom: 5px;
}

#infoHowTo .inner .header b {
  font-weight: 400;
  color: var(--color-orange);
}

#infoHowTo .inner .description {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 25px;
}

#infoHowTo .inner .button-block {
    grid-column: 1;
    grid-row: 3;
    color: var(--color-white);
}

#infoHowTo .inner .image {
    grid-column: 2;
    grid-row: 1 / 4;
    position: relative;
}

#infoHowTo .inner .image img:first-child {
  max-height: 305px;
  width: auto;
  transform: rotate(2deg);
}

#infoHowTo .inner .image img:last-child {
  position: absolute;
  bottom: -5px;
  left: -90px;
}


@media (max-width: 1024px) {
  #infoHowTo {
    width: 765px;
    padding: 50px 40px;
  }

  #infoHowTo .inner {
    display: grid;
    gap: 10px 30px;
    grid-template-columns: 400px auto;
    grid-template-rows: auto auto 1fr;
  }

  #infoHowTo .inner .header {
    margin-top: 10px;
    font-size: 35px;
  }

  #infoHowTo .inner .image img:first-child {
    max-height: 270px;
    width: auto;
    transform: rotate(5deg);
  }

  #infoHowTo .inner .image img:last-child {
    max-height: 100px;
  }
}


@media (max-width: 767px) {
  #infoHowTo {
    padding: 60px 24px 50px 24px;
  }

  #infoHowTo .close-popup {
    transform: scale(0.8);
    top: 15px;
    right: 15px;
  }

  #infoHowTo .inner {
    display: flex;
    gap: 15px;
    flex-direction: column;
  }

  #infoHowTo .inner .header {
    font-size: 30px;
    margin-bottom: 5px;
    text-align: center;
    order: 0;
  }

  #infoHowTo .inner .description {
    text-align: center;
    margin-bottom: 0;
    order: 1;
  }

  #infoHowTo .inner .button-block {
    order: 3;
  }

  #infoHowTo .inner .button-block > .button {
    width: 100%;
    text-align: center;
  }

  #infoHowTo .inner .image {
    margin: 15px 0;
    order: 2;
    display: flex;
    justify-content: center;
  }

  #infoHowTo .inner .image img:first-child {
    max-height: 210px;
    width: auto;
    transform: rotate(5deg);
    position: relative;
    left: 20px;
  }

  #infoHowTo .inner .image img:last-child {
    max-height: 90px;
    left: calc(50% - 130px);
    bottom: 10px;
  }
}

