/* Правки 16.10.2026 — подключается после style.css; откат — убрать строку подключения в layout.php */

/* Телефоны — ссылками, вид прежний */
.tel-link {color: inherit; text-decoration: none;}
.tel-link:hover {text-decoration: underline;}

/* Окно cookie — компактная полоса внизу, не закрывает кнопки */
.cookie-popup {left: 16px; right: 16px; bottom: 16px; max-width: 780px; margin: 0 auto; padding: 12px 16px; border-radius: 8px; text-align: left; font-size: 14px; line-height: 1.4;}
.cookie-popup__inner {display: flex; align-items: center; gap: 16px;}
.cookie-popup__text {flex: 1 1 auto;}
.cookie-popup__close {display: none;}
.cookie-popup__button {margin: 0; flex: 0 0 auto; padding: 8px 16px; font-size: 15px; border-radius: 4px;}
@media (max-width: 600px) {
  .cookie-popup {left: 0; right: 0; bottom: 0; border-radius: 0; padding: 8px 12px; font-size: 12px;}
  .cookie-popup__inner {gap: 10px;}
  .cookie-popup__button {padding: 7px 12px; font-size: 14px;}
}

/* Подзаголовки — читаемее (были тонкие светло-серые) */
.title_offer {color: #555; font-weight: 300;}
.title_service {color: #444; font-weight: 300;}

/* Ссылка на страницу септиков */
.septic-link {text-align: center; font-size: 18px; margin: 30px 0 0; color: #363636;}
.septic-link a {color: #2a8ab5; font-weight: 500;}

/* Подписи к буровым установкам — видны без наведения мыши на телефонах и планшетах */
@media (hover: none), (max-width: 767px) {
  .gallery_section {height: auto; padding-bottom: 30px;}
  .gallery_item {height: auto;}
  .gallery_text {display: block !important; position: relative; top: auto; background: transparent; color: #fff; font-size: 16px; padding: 10px 0 0;}
  .gallery_text:before {display: none;}
}

/* Блок «Техник-буровик» на телефоне — затемнение фона под белым текстом */
@media (max-width: 767px) {
  .order_section {position: relative;}
  .order_section:before {content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(15, 43, 64, .62);}
  .order_section .wrapper {position: relative; z-index: 1;}
  .human_list li {font-weight: 400;}
}
