* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: inherit;
  font-family: Ubuntu;
}

/* Базовые стили меню */
.menu-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}



.privacy-checkbox {
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.privacy-checkbox input[type="checkbox"] {
    margin-right: 10px;
    max-width: 50px;
        transform: scale(1.5);
}

.privacy-link {
    transition: color 0.3s ease;
}

/* Эффект при наведении на ссылку */
.privacy-link:hover {
    color: #1a4fd3; /* Более светлый синий */
}

.privacy-checkbox label {
    cursor: pointer;
    user-select: none;
}

.mobile_logo img{
    height: 60px !important;
    margin-bottom: 42px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #000;
  transition: all 0.3s ease;
}

/* Состояние активного бургера */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Мобильные стили */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex; 
    position: fixed;
    
  }
  
  .menu-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    z-index: 1000;
  }
  
  .menu-wrapper.active {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    width: 100%;
  }
  
  .contact-info {
    width: 100%;
  }
  
  body.menu-open {
    overflow: hidden;
  }
}

.nav-menu {
  display: flex;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 56px;
  margin: 0;
  padding: 0;
}

/* Стили бургер-кнопки */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  position: relative;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #000;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Стили для активного состояния бургера */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Мобильное меню */
.menu-wrapper {
      margin-left: -20px;
    display: flex;
    align-items: center;
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* скрывает горизонтальный скролл */
}

body {
  font-family: 'Ubuntu', sans-serif;
}

h1, h2, h3 {
  font-family: 'Ubuntu', sans-serif;
}

a {
  text-decoration: none;
}

header {
  background-color: #ffffff;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: relative;
}

.privacy-policy {
      max-width: 1300px;
}

/* Стили для страницы политики */
.privacy-policy {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.privacy-policy h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
}

.privacy-policy h2 {
    font-size: 20px;
    margin: 25px 0 15px;
}

.privacy-policy h3 {
    font-size: 20px;
    margin: 20px 0 10px;
}

.privacy-policy hr {
    border: 1px solid #eee;
    margin: 20px 0;
}

.privacy-policy p {
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    font-size: 18px;
}

.privacy-policy table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto;
}

.privacy-policy ul li {
        margin-left: 28px;
}

.privacy-policy td {
            padding-left: 28px;
}


.approved-by {
    text-align: left;
    margin-bottom: 30px;
}

.container__header {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: relative;
  height: 164px;
}

.logo img {
  max-width: 298px;
  height: 64px;
  transition: height 0.3s ease;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav li a {
   font-family: Ubuntu;
   font-weight: 700;
line-height: 32px;
vertical-align: middle;
  color: #5b5a5a;
  font-size: 20px;
  transition: color 0.3s ease;
}

nav li a:hover {
  color: #007bff;
}

.contact-container {
  display: flex;
  color: #333;
  padding: 20px 0;
  min-height: 100px;
  font-family: Ubuntu;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  vertical-align: middle;
}

.contact-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Равномерное распределение по высоте */
}

.contact-right {
  flex: 1;
  padding-left: 20px;
  display: flex;
  align-items: center; /* Выравнивание адреса по центру по вертикали */
}

.contact-row {
  display: flex;
  align-items: center;
  margin-bottom: 4px; /* Увеличиваем отступ между строками */
  min-height: 24px; /* Минимальная высота строки */
  font-size: 20px;
}

.contact-icon {
  width: 24px;
  text-align: center;
  margin-right: 8px;
  font-size: 18px; /* Увеличиваем иконки */
  color: #007bb7;
}

.contact-value a {
      color: inherit;
    text-decoration: none;
    font-family: Ubuntu;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    vertical-align: middle;
}

.address-block {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Центрируем адрес по вертикали */
  height:100px;
}  

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #000;
  transition: all 0.3s ease;
  transform-origin: center;
}

.sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 15px;
  font-size: 20px;
  color: white;
  background-color: #007bff;
  margin-right: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.sticker:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.phone {
  background-color: #007bff;
}
.email {
  background-color: #28a745;
}
.location {
  background-color: #dc3545;
}

.banner {
padding: 100px 20px 80px 20px;
  text-align: left;
  background-image: url(/assets/img/hero1-bg.png);
}

.banner .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.content {
  flex-basis: 50%;
}

.image {
  flex-basis: 50%;
}

.image img {
  opacity: 1;
    border-radius: 12px;
    width: 100%;
    height: 375px;
}

.image__banner {
  width: 100%;
  height: 375px;
}
.banner h1 {
    color: #333;
    margin-bottom: 24px;
    font-family: Ubuntu;
    font-weight: 500;
    font-size: 48px;
    line-height: 54px;
    vertical-align: middle;
}

.banner p {
      color: #555;
    font-family: Ubuntu;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    padding-bottom: 50px;
}

.mission{
    margin-top: 20px;
}

.theme-btn1 {
  display: inline-block;
    padding: 20px 40px;
background-color: #007bb7;
    color: #FFFF;
    border: none;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.4s ease;
    cursor: pointer;
    font-family: Ubuntu;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    vertical-align: middle;
}

.theme-btn2 {
display: inline-block;
    padding: 15px 30px;
background-color: #007bb7;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.4s ease;
    cursor: pointer;
    font-family: Ubuntu;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    vertical-align: middle;
}

    .wilo-section .theme-btn4 {
        background-color: #fff;
    margin-left: 250px;
    padding-top: 18px;
    width: 239px;
    height: 60px;
    border-radius: 12px;
    color: #4271F9;
    font-family: Ubuntu;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    vertical-align: middle;
    transition: all 0.3s ease; /* Плавное изменение свойств */
    cursor: pointer; /* Изменение курсора при наведении */
}

.wilo-section .theme-btn4:hover {
background-color: #dddee1;
    box-shadow: 0 4px 12px rgba(66, 113, 249, 0.3); /* Тень при наведении (опционально) */
}

.wilo-section .theme-btn1:hover {
background-color: #dddee1;
    box-shadow: 0 4px 12px rgba(66, 113, 249, 0.3); /* Тень при наведении (опционально) */
}

.theme-btn3 {
  display: inline-block;
  padding-top: 16px;
padding-right: 42px;
padding-bottom: 16px;
padding-left: 42px;
background-color: #007bb7;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s ease;
  cursor: pointer;
    font-weight: 400;
font-size: 20px;
}

.theme-btn1:hover {
  background-color: #0056b3;
}

.theme-btn2:hover {
  background-color: #0056b3;
}

.theme-btn3:hover {
  background-color: #0056b3;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 8% auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 90%;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

.form-wrapper form {
  display: flex;
  flex-direction: column;
}

.form-wrapper label {
  margin-top: 15px;
  font-weight: bold;
}

.form-wrapper input,
.form-wrapper textarea {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  width: 100%;
}

.text-wrapper {
  flex: 1 1 auto;
}

.form-wrapper button {
  margin-top: 20px;
  background-color: #0e3721;
  color: white;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-wrapper button:hover {
  background-color: #0a2b19;
}

.error {
  color: red;
  margin-top: 10px;
}

.partners {
  background-color: #fff;
  padding: 80px 20px;
}

.container__text {
  text-align: center;
}

.partners h2 {
  font-size: 28px;
  color: #333;
  text-align: center;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-content: center;
  margin: 0 auto;
}

.partner-logos img {
  max-width: 280px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.wilo-section {
  background: linear-gradient(292.13deg, #3C8AFF -4.7%, #0E38B1 52.3%);
  color: white;
  padding: 60px 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.catalog theme-btn1 {
    margin:; 0 auto;
}

.catalog__footer {
    display: flex;
    justify-content: center;
    margin-top: 36px;
    width: 100%;
    margin-bottom: 80px;
}

.catalog__order-btn {
    height: 60px;
    padding: 16px 42px;
background-color: #007bb7;
    color: white;
    border: none;
border-radius: 12px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.catalog__order-btn:hover {
    background-color: #0069d9;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.wilo-section h2 {
  font-size: 28px;
  margin-bottom: 40px;
  margin: 0 auto;
}

.wilo-section .theme-btn1 {
background-color: #fff;
    margin-left: 250px;
    padding: 20px 0;
    width: 239px;
    height: 60px;
    border-radius: 12px;
    color: #4271F9;
    font-family: Ubuntu;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    vertical-align: middle;
        transition: all 0.3s ease; /* Плавное изменение свойств */
    cursor: pointer; /* Изменение курсора при наведении */
}

.catalog__text {
  text-align: center;
  font-size: 26px;
  padding-top: 80px;
}

.catalog__text p {
  text-align: center;
  font-size: 20px;
  padding-top: 10px;
}

.catalog__pic {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 20px 0 0 0;
}

.card {
  position: relative;
  width: 350px;
  height: 425px;
  flex: 1 1 calc(25% - 7.5px);
  max-width: calc(25% - 7.5px);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 100%; /* Теперь изображение занимает всю карточку */
  object-fit: cover;
  border-radius: 8px;
}

.card-text {
  position: absolute;
  top: 180px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: white;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  text-align: left; /* Изменил на left, как в примере */
  height: auto; /* Автоматическая высота по содержимому */
    z-index: 3; /* Текст поверх затемнения */

}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 34, 46, 0.7); /* #16222E с 70% прозрачности */
  z-index: 2;
  border-radius: 8px;
}

.text-block {
  margin-bottom: 20px;
}

.text-block p {
  margin-top: 8px;
  color: white;
  font-size: 16px; /* Немного уменьшил для лучшего вида */
  line-height: 1.4;
}

.product-description {
    color: white;
    
}

.product-title {
  margin: 0;
  font-size: 20px;
  color: white; /* Белый текст */
}

.card .theme-btn1 {
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.text-block {
  margin-bottom: 20px;  
}

.text-block p {
  margin-top: 8px; 
}

.card-text p {
  margin: 0;
  padding-top: 16px;
  font-size: 20px;
  color: white;
  line-height: 1.4;
}

.card-text h2{
  font-size: 20px;
}

.learn-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #0e38b1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.learn-more::after {
  content: "→";
  margin-left: 5px;
}

.contact-us {
  background-color: #0e38b1;
  color: white;
  padding: 60px 20px;
}

.contact__text {
  max-width: 1200px;
  margin: 0 auto;
}

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

.contact__container {
  align-self: flex-end;
}

.contact-us h2,
.contact-us p {
  margin: 0;
}

.contact-us .theme-btn1 {
  margin: auto;
  justify-content: end;
}

.contact__button {
  justify-content: space-between;
}

.contact-us h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-us p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-us .theme-btn1 {
  white-space: nowrap;
}

.services-section {
  padding: 80px 0;
  background-color: #fff;
}

.container__services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  grid-auto-rows: minmax(200px, auto);
  padding-bottom: 40px;
}

.services-grid > .service-item,
.services-grid > img {
  width: 100%;
  margin: 0;
  border-radius: 12px;
}

/* Стили карточек */
.service-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
}

.service-item h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #0e38b1;
}

.service-item p {
  font-size: 20px;
  color: #555;
  line-height: 1.5;
}

.service-item:hover {
  transform: translateY(-5px);
}

@media (max-width: 1050px) {
  .card-text p {
    margin: 0;
    padding-top: 16px;
    font-size: 16px;
    color: white;
    line-height: 1.4;
}

.card-text h2 {
    font-family: Ubuntu;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    vertical-align: middle;
}

}

@media (max-width: 1050px) {
  .wilo-section .theme-btn4 {
      margin-left: 120px;
  }
  .wilo-section .theme-btn1 {
      margin-left: 120px;
  }

}

@media (max-width: 992px) {
        .logo img {
            margin-top: 110px;
    }
    .container__header {
        height: 50px;
        padding-bottom: 150px;
    }
}

@media (max-width: 1000px) {
  .services-grid {
    display: flex;
    flex-direction: column;
  }

  /* Порядок вывода элементов */
  .services-grid > .service-item:nth-child(1) { order: 0; }
  .services-grid > img:nth-child(2)           { order: 1; }
  .services-grid > img:nth-child(3)           { order: 3; }
  .services-grid > .service-item:nth-child(4) { order: 2; }
  .services-grid > .service-item:nth-child(5) { order: 4; }
  .services-grid > img:nth-child(6)           { order: 5; }
}

@media (max-width: 768px) {
  .services-grid {
    display: flex;
    flex-direction: column;
  }

  /* Порядок вывода элементов */
  .services-grid > .service-item:nth-child(1) { order: 0; }
  .services-grid > img:nth-child(2)           { order: 1; }
  .services-grid > img:nth-child(3)           { order: 3; }
  .services-grid > .service-item:nth-child(4) { order: 2; }
  .services-grid > .service-item:nth-child(5) { order: 4; }
  .services-grid > img:nth-child(6)           { order: 5; }

  /* Центрирование текста и картинок */
  .service-item {
    padding: 20px;
    align-items: center;
  }

  .service-item h3,
  .service-item p {
    text-align: center;
    font-size: 16px;
  }

  .services-grid img {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto 20px;
    display: block;
  }
}

.service-item:hover {
  transform: translateY(-5px);
}

.menu-toggle .bar {
    transition: all 0.3s ease;
}

/* Базовые z-index */
.menu-toggle {
  position: relative; /* Для корректной работы z-index */
}

.nav-menu {
  z-index: 1000; /* Меню должно быть под крестиком */
  position: relative; /* Или fixed/absolute в зависимости от вашей верстки */
}



 .menu-toggle.active .bar1 {
    transform: rotate(45deg) translate(4px, 4px);
  }
  
  .menu-toggle.active .bar2 {
    opacity: 0;
  }
  
  .menu-toggle.active .bar3 {
    transform: rotate(-45deg) translate(8px, -8px);
  }

.service-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #0e38b1;
}

.service-itime p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

.service-list p {
  padding-top: 20px;
}

.image-column {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.image-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.image-column img:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  height: 100%;
}

.image-column img:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.image-column img:last-child {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.discover-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #0e38b1;
  color: white;
  border-radius: 12px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.discover-btn:hover {
  background-color: #0c2e8a;
}

.services-images {
  display: flex;
  gap: 20px;
}

/* Базовые стили для контейнера (десктоп и мобилка) */
.sections-container {
  display: flex;
  flex-direction: column;
}

/* Исходный порядок для десктопа (по умолчанию) */
.partners-section {
  order: 0; /* Партнеры - второй */
}

.wilo-section1 {
  order: 1; /* Преимущества - третий */
}

.about-section {
  order: 2; /* О нас - четвертый */
}

.catalog-section {
  order: 3; /* Каталог - первый (значение по умолчанию) */
}

.call-to-action-section {
  order: 4; /* Призыв к действию - пятый */
}
.services-section {
  order: 5; /* Услуги - шестой */
}
.advantages-section {
  order: 6; /* Преимущества - седьмой */
}
.order-form-section {
  order: 7; /* Форма заказа - восьмой */
}

@media (max-width: 768px) {
  .partners-section {
  order: 3; /* Партнеры - второй */
}

.wilo-section1 {
  order: 1; /* Преимущества - третий */
}

.about-section {
  order: 2; /* О нас - четвертый */
}

.catalog-section {
  order: 0; /* Каталог - первый (значение по умолчанию) */
}

.call-to-action-section {
  order: 4; /* Призыв к действию - пятый */
}
.services-section {
  order: 5; /* Услуги - шестой */
}
.advantages-section {
  order: 6; /* Преимущества - седьмой */
}
.order-form-section {
  order: 7; /* Форма заказа - восьмой */
}
}

.services-images {
  display: grid;
  grid-template-columns: 270px 270px;
  grid-template-rows: auto auto;
  justify-content: center;
  gap: 20px;
}

.image-secondary {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.image-main {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.image-main img {
  width: 270px;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

.image-secondary img {
  width: 270px;
  height: 320px;
  border-radius: 8px;
  object-fit: cover;
}
.tech-solutions {
  margin-top: 60px;
background-image: url(/assets/img/hero1-bg.png);
}

.tech__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  padding-bottom: 30px;
}

.section-footer {
    padding-top: 48px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 500;
font-style: Medium;
font-size: 30px;
}

.tech-solutions .section-header {
  text-align: center;
  margin-bottom: 30px;
}

.tech-solutions .section-header h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
  padding-top: 80px;
}

.privacy span {
    color: #0E38B1
}

.privacy-link {
    text-decoration: underline;
}

.tech-solutions .section-header h2 {
  font-size: 24px;
  color: #0e38b1;
  font-weight: 500;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 15px;
}

.solution-card {
      background: #fff;
    border-radius: 12px;
    padding: 36px 24px 0 24px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.solution-card h3 {
  color: #333;
    margin-bottom: 20px;
    font-family: Ubuntu;
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    vertical-align: middle;
}

.mobile-contacts {
    background: linear-gradient(292.13deg, #3C8AFF -4.7%, #0E38B1 52.3%);
    color: white;
    padding: 20px;
    margin-top: auto;
    height: 25vh; /* 1/4 высоты экрана */
    min-height: 150px; /* минимальная высота */
}

.solution-card p {
  color: #666;
    font-family: Ubuntu;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    vertical-align: middle;
    margin-bottom: 74px;
}

.learn-more {
  color: #0e38b1;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
  font-size: 16px;
}

.learn-more span {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.learn-more:hover {
  color: #0c2e8a;
}

.learn-more:hover span:first-child {
  transform: translateX(3px);
}

.learn-more:hover span:last-child {
  transform: translateX(6px);
}

.order-form-section {
  padding: 80px 0;
  background-color: #F4F6FB;
}

.order-form-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #f5f5f5;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.order-form-header {
  padding: 40px;
  text-align: center;
  background: linear-gradient(292.13deg, #3C8AFF -4.7%, #0E38B1 52.3%);
  color: white;
}



.order-form-header h1 {
  font-size: 32px;
  margin-bottom: 15px;
  font-weight: 700;
}

.order-form-header p {
  font-size: 18px;
  opacity: 0.9;
}

.order-form-content {
  display: flex;
  flex-wrap: wrap;
    background-color: #FFFFFF;
}

.contact-info-side {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  background-color: #FFFFFF;
}

.contact-item {
  color: #f5f5f5;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.contact-item i {
  font-size: 20px;
  color: #0e38b1;
  margin-right: 15px;
  width: 25px;
  text-align: center;
}

.contact-item a,
.contact-item span {
  color: #000;
  font-size: 18px;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: #0e38b1;
}

.order-form {
  flex: 1;
  min-width: 300px;
  padding: 40px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
  color: #686E7F;
  font-size: 18px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0e38b1;
  outline: none;
}

.submit-btn {
  background-color: #0e38b1;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.submit-btn:hover {
  background-color: #0c2e8a;
}

.site-footer {
  background-color: #151A20;
  color: #fff;
  padding: 60px 0 20px;
  font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
        font-size: 22px;
        grid-template-columns: 1fr;
        gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.company-name {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.company-description {
  color: #bdc3c7;
  line-height: 1.5;
  margin-top: 10px;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #0e38b1;
}

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

.footer-menu li {
  margin-bottom: 22px;
  color: #FFFFFF;
}

.footer-menu li a {
  color: #FFFFFF;
  transition: color 0.3s;
  text-decoration: none;
}

.footer-menu a:hover {
  color: #0e38b1;
}

.footer-menu li:last-child a {
  color: #FFFFFF;
    margin-top: 30px;
    font-family: Ubuntu;
    font-weight: 400;
    font-size: 18px;
    line-height: 32px;
    vertical-align: middle;
}

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

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #000;
}

.contact-item i {
  margin-right: 12px;
  color: #0e38b1;
  width: 20px;
  text-align: center;
}

.contact-item a {
  font-size: 18px;
  color: #000;
  transition: color 0.3s;
  text-decoration: none;
}

.contact-item a:hover {
  color: #0e38b1;
}

.site-footer {
  background-color: #151A20;
  color: #fff;
  padding: 60px 0 20px;
  font-size: 14px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-logo {
  height: 64px;
  width: auto;
  margin-right: 10px;
}

.company-name {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.company-description {
  color: #bdc3c7;
  line-height: 1.5;
  margin-top: 10px;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #0e38b1;
}

.footer-menu {
  list-style: none;
  padding: 0;
    margin-left: 200px;
  font-weight: 500;
font-size: 20px;
color: #FFFFFF;
}

.footer-menu li {
  margin-bottom: 12px;
}

.footer-menu a {
  color: #bdc3c7;
  transition: color 0.3s;
  text-decoration: none;
}

.footer-menu a:hover {
  color: #0e38b1;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-top: 48px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #000;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
}

.contact-item i {
  margin-right: 12px;
  color: #0e38b1;
  width: 20px;
  text-align: center;
}

.contact-item a {
  color: #000;
  transition: color 0.3s;
  text-decoration: none;
}

.contact-item a:hover {
  color: #0e38b1;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF1;
  font-size: 16px;
}

.mobile-contacts {
  display: none; /* По умолчанию скрыты */
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1200;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: relative;
  max-width: 600px;
  width: 90%;
  margin: 5% auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  animation: modalFadeIn 0.3s;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.modal h2 {
  color: #333;
  margin-bottom: 10px;
  font-size: 24px;
}

.modal-description {
  color: #666;
  margin-bottom: 20px;
}

.modal-contact-info {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  color: #333;
}

.contact-item i {
  margin-right: 10px;
  color: #0e38b1;
  margin-top: 3px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.contact-item__footer{
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.contact-item__footer i {
    padding-top: 6px;
  font-size: 20px;
  color: #007bb7;
  margin-right: 15px;
  width: 25px;
  text-align: center;
}

.contact-item__footer a,
.contact-item__footer span {
  color: #FFFFFF;
  font-size: 18px;
  transition: color 0.3s;
  font-family: Ubuntu;
    font-weight: 400;
    line-height: 28px;
    vertical-align: middle;
}

.contact-item__footer a:hover {
  color: #0e38b1;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.modal-submit-btn {
  background-color: #007bb7;
  color: white;
  border: none;
  padding: 14px 20px;
  width: 100%;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.modal-submit-btn:hover {
  background-color: #0c2e8a;
}

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

@media (max-width: 1300px) {
  nav li a {
      font-size: 24px;
  }
  
  .logo img {
      max-width: 200px;
  }
  
  .contact-container {
      font-size: 13px;
  }
  
  .contact-right {
      padding-left: 0;
  }
  
  .contact-value a{
      font-size: 13px;
  }
  
  .menu-wrapper {
      gap: 5px;
  }
  
  .nav-menu ul {
      gap: 10px;
  }
}

/* ==================== 1200px ==================== */
@media (max-width: 1200px) {
  .catalog__pic {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.wilo-section h2 {
    text-align: center;
}


.mobile_logo{
 display: none;
}



/* ==================== 992px ==================== */
@media (max-width: 992px) {
  .logo img {
    height: 60px;
  }
  
  .mobile_logo{
 display: flex;
 margin-top: -50px;
}

.mobile-contacts {
            display: block;
        position: fixed;
        bottom: 100px;
        margin-left: -30px;
        margin-right: -20px;
        padding-left: 15px;
        padding-right: 700px;
        margin-bottom: -110px;
        padding-top: 50px;

  }
  
  .partner-logos {
    grid-template-columns: repeat(1, 1fr);
          gap: 0;
  }
  
  .partner-logos img {
      max-width: 170px;
      margin-bottom: -40px;
  }
  
  /* Скрываем десктопные контакты на мобильных */
  .contact-container {
    display: none;
  }
  
  .menu-wrapper {
    overflow: hidden; /* Убираем прокрутку у самого меню */
  }
  
  /* Отключаем прокрутку страницы при открытом меню */
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }
  
  .menu-wrapper {
  overscroll-behavior: contain;
   overflow-y: auto;/* Предотвращает скролл родителя */
}

.menu-toggle {
    display: flex;
  }
  
  .menu-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 80px 30px 30px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
  }
  
  .menu-wrapper.active {
    right: 0;
  }
  
  .contact-container {
    display: none !important; /* Полностью скрыт на мобильных */
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 20px;
    text-align: end;
  }
  
  .contact-info {
    display: block;
    text-align: left;
  }
  
  .contact-info p {
    margin: 20px 0;
    justify-content: flex-start;
  }

    .banner .container {
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

  .menu-toggle {
    display: flex;
    right: 20px;
    z-index: 1100;
    top: 48px;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 60px 30px 30px;
    flex-direction: column;
  }
  
  .menu-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  display: none;
}
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 20px;
  }
  
  /* Анимация бургера */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .contact-info {
    display: none;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .section-container {
    flex-direction: column;
  }

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

  .image-column {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .image-column img:first-child {
    grid-row: auto;
    height: auto;
  }
}

/* ==================== 768px ==================== */
@media (max-width: 768px) {
  .wilo-section .container {
    flex-direction: column;
  }
  
      .mobile-contacts {
        display: block;
        position: fixed;
        bottom: 100px;
        margin-left: -30px;
        margin-right: -20px;
        padding-left: 15px;
padding-right: 470px;
        margin-bottom: -110px;
        padding-top: 50px;
    }
  
  .banner h1 {

  }
  
  .order-form-container {
       width: 80%;   
       border-radius: 24px;
       border: 1px solid #C3CFD7;
  }
  
  
  .container__services {
      padding-top: 48px;
  }
  
  .catalog__text {
      padding: 60px 26px 0 26px;
        font-size: 20px;
        text-align: left;
  }
  
  .catalog__text p{
      padding-top: 15px;
      font-size: 16px;
      text-align: left;
  }
  
  .banner .container {
    flex-direction: column;
  }

  .content {
    order: 2; /* текст будет вторым */
  }

  .image {
    order: 1; /* картинка первой */
  }
  
  .container .theme-btn4 {
        padding: 16px 25px 16px 25px;
        max-width: 100%;
        width: 100%;
        margin-top: 24px;
        margin-left: 0 !important;
        font-family: Ubuntu;
        font-weight: 400;
        font-size: 16px !important;
        line-height: 22px;
        text-align: center;
        vertical-align: middle;
  }
  
.footer-menu {
 margin-left: 0;
}  

.banner {
    padding: 80px 26px 20px 26px;
    background-image: none;
    margin-top: -120px;
}
  
  .theme-btn1 {
    max-width: 100%;
    width: 100%;
    margin-top: 20px;
    margin-left: 0 !important;
    padding: 20px 25px 25px 25px;
  }

  .content__title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .content__text {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .content__button {
    padding: 12px;
    font-size: 15px;
  }

  .banner .container {
    flex-direction: column;
    gap: 10px;
  }

  .section-header{
  padding-top: 20px;
}

  .banner .image {
    order: 2;
    margin-top: 20px;
    max-height: 500px;
  }

   .banner .container .image {
    order: 2;
    margin-top: 20px;
    max-height: 500px;
  }
  
  .container .image img {
    max-height: 240px;
    border-radius: 12px;

}

.image__banner img{
max-height: 350px;
        width: 100%;
padding-bottom: -20px;
}

.card-text {
        top: 38px;
    }
  
  .services-images {
     align-items: center;
     display: flex;
     flex-direction: column;
     gap: 15px;
     width: 100%;
}

  .services-section {
  padding: 0;
}

  .consult-btn {
            width: 100%;
        padding: 16px 25px 16px 25px;
        font-family: Ubuntu;
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        text-align: center;
        vertical-align: middle;
  }
  
  .partners h2 {
      color: #333;
    font-family: Ubuntu;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
    vertical-align: middle;
    max-width: 250px;
    margin: 0 auto;
  }
  
  .wilo-section h2 {
           font-family: Ubuntu;
        font-weight: 500;
        font-size: 20px;
        line-height: 100%;
        text-align: center;
        max-width: 300px;
        margin: 0 auto;   
  }

  .discover-btn {
   padding: 25px 25px 25px 25px;
}

  .logo img {
    height: 50px;
    margin-top: 100px;
  }

  .tech-solutions .section-header h1 {
    font-size: 28px;
  }

  .tech-solutions .section-header h2 {
    font-size: 18px;
  }

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

  .solution-card {
    padding: 30px;
  }

  .order-form-header {
    padding: 30px 20px;
  }

  .order-form-header h1 {
    font-size: 26px;
  }

  .contact-info-side,
  .order-form {
    padding: 30px;
  }

  .contact-item {
    margin-bottom: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    text-align: center;
  }

  .logo-wrapper {
    justify-content: center;
  }

  .footer-title {
padding-top:20px;
font-size: 22px;
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-list {
    text-align: center;
  }

  .contact-item {
    justify-content: left;
  }

  .catalog__pic {
    display: flex;
    flex-direction: column; /* Вертикальное расположение */
    align-items: stretch; /* Растягиваем элементы на всю ширину */
    width: 100%;
    gap: 15px; /* Отступ между элементами */
    margin: 0 auto; /* Центрируем контейнер */
    overflow-x: hidden; /* Скрываем горизонтальный скролл */
padding-top: 20px;
  }

  .catalog__pic .card {
    max-height: 200px;
    width: 100% !important; /* Принудительно растягиваем карточки */
    max-width: 100%; /* Убираем ограничение по ширине */
    flex: none; /* Отключаем гибкое растяжение */
  }
  
  .mobile_logo a {
      margin-top: -90px;
  }
  
}

/* ==================== 480px ==================== */
@media (max-width: 480px) {
  .content__title {
    font-size: 18px;
    line-height: 1.2;
  }
  
      .mobile-contacts {
        display: block;
        position: fixed;
        bottom: 100px;
        margin-left: -30px;
        margin-right: -20px;
        padding-left: 15px;
        padding-right: 150px;
        margin-bottom: -110px;
        padding-top: 50px;
    }

    .card-text p {
    margin: 0;
    padding-top: 16px;
    font-size: 16px;
    color: white;
    line-height: 1.4;
}

.card-text h2 {
    font-family: Ubuntu;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    vertical-align: middle;
}

  .content__text {
    font-size: 13px;
    line-height: 1.4;
  }

  .banner h1 {
            font-family: Ubuntu;
        font-weight: 500;
        font-size: 28px;
        line-height: 100%;
        vertical-align: middle;
    }

      .banner p {
        font-family: Ubuntu;
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        vertical-align: middle;
        padding-bottom: 4px;
    }
    .container__header {
        height: 30px;
        padding-bottom: 150px;

    }

  .section-header h1 {
    font-size: 28px;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .image-column {
    grid-template-columns: 1fr;
  }

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