/* ================== Общие ================== */
body {
  font-size: 16px;
  line-height: 1.4;
}

/* Логотип */
.logo {
  height: 35px;
}

/* Скрыть десктоп-меню и кнопку в хедере */
 .nav {
  display: none;
}
.header .btn.btn-primary {
  display: none;
}

/* Бургер */
.burger {
  display: block;
  z-index: 1001;
}
.burger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  background: #333;
  transition: all 0.3s ease;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Анимация для выезжающего меню */
.nav-mobile {
  position: absolute; /* фиксированное положение убираем */
  top: 75px; /* отступ от хедера */
  right: 0;
  width: 80%;
  max-width: 300px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 15px 20px;
}

.nav-mobile.active {
  transform: scaleY(1);
  opacity: 1;
}

/* Ссылки в бургер-меню */
.nav-mobile a {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: #0D9FCE;
  text-decoration: none;
  margin: 12px 0;
  transition: color 0.3s ease, transform 0.2s ease;
}

.nav-mobile a:hover {
  color: #075068;
  transform: translateX(5px);
}

/* Кнопка "Подключиться" в бургер-меню */
.nav-mobile .btn.btn-primary {
  display: inline-block;
  margin-top: 15px;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 24px;
  background: linear-gradient(92.59deg, #0D9FCE 0.93%, #075068 99.57%);
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav-mobile .btn.btn-primary:hover {
  background: linear-gradient(92.59deg, #075068 0.93%, #0D9FCE 99.57%);
  transform: scale(1.05);
}

/* HERO на мобильном */
@media (max-width: 992px) {
  .hero {
    background: none;           /* убираем фон */
    padding: 100px 20px 20px;   /* отступ сверху 100px для хедера */
    text-align: center;
  }

  .hero-content {
    display: block;             /* текст один за другим */
  }

  .hero-text {
    margin: 0 auto;             /* центрируем текст */
    z-index: 2;                 /* всегда поверх */
    position: relative;         /* чтобы не уходил */
  }

  .hero-text h1 {
    font-size: 24px;            /* заголовок меньше */
    margin-bottom: 10px;
    color: #0D9FCE;             /* цвет заголовка */
  }

  .hero-text p {
    font-size: 16px;            /* текст меньше */
    margin-bottom: 15px;
    color: #333;
  }

  .hero-text .btn-accent {
    font-size: 16px;
    padding: 10px 18px;
  }

  .hero-image {
    display: none;              /* убираем картинку */
  }
}

/* ================== Публичный договор ================== */
/* Для .docs-wrapper на мобильных */
  .docs-wrapper {
    flex-direction: column;        /* Ставим блоки друг под другом */
    align-items: center;           /* Центрируем содержимое */
    text-align: center;            /* Текст по центру */
    padding: 30px 20px;            /* Меньше отступы */
    border-radius: 20px;
    max-width: 100%;               
    margin: 0 auto;                /* Центрируем по горизонтали */
	height: auto;  
  }
.docs-content {
    max-width: 100%;               /* Текст занимает всю ширину */
	margin-left: 0; /* убираем левый отступ */
  }
.docs-content h2 {
  font-size: 26px;
  margin-left: 0px;	
}
.docs-content p {
  font-size: 14px;
  margin-bottom: 12px;
  margin-left: 0px;
}
.btn-doc {
   margin-left: 0px;	
}	
 .docs-image img {
    max-width: 100%;               /* Картинка адаптируется по ширине блока */
    height: auto;
  }

/* ========== Сетки (How it works & Equipment) ========== */
/* Секция "Как это работает" */
#service h2 {
  font-size: 26px;      /* уменьшил размер заголовка */
  margin-left: 0;       /* убрал отступ слева */
  text-align: center;   /* выровнял по центру */
}

#service .section-subtext {
  font-size: 14px;      /* уменьшил текст подзаголовка */
  margin-left: 0;       /* убрал отступ слева */
  text-align: center;   /* выровнял по центру */
}
/* Секция "Заказать оборудование" */
#equipment h2 {
  font-size: 26px;      /* уменьшил размер заголовка */
  margin-left: 0;       /* убрал отступ слева */
  text-align: center;   /* выровнял по центру */
}

#equipment .section-subtext {
  font-size: 14px;      /* уменьшил текст подзаголовка */
  margin-left: 0;       /* убрал отступ слева */
  text-align: center;   /* выровнял по центру */
}
.how-grid,
.device-grid {
  grid-template-columns: 1fr;
  gap: 15px;
}

.device-card {
  text-align: center;
}

  .device-card .btn.btn-primary {
    font-size: 16px;      /* меньше шрифт */
    padding: 10px 20px;   /* компактнее */
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

/* ================== Форма заявки ================== */
.contact h2 {
font-size: 26px;
}
.contact-form {
  padding: 20px;
}
.contact-form h2 {
  font-size: 20px;
}
.form-group label {
  font-size: 14px;
}
.form-group input {
  font-size: 14px;
  padding: 10px 12px;
  width: 90%;	  
}
.form-actions button {
  font-size: 14px;
  width: 100%;
}

/* ================== Футер ================== */
.footer-wrapper {
  flex-direction: column;
  text-align: center;
}
.footer-logo {
  height: 60px;
}
.footer-subtext,
.footer-info {
  font-size: 12px;
}
.footer-label {
  font-size: 14px;
}
