/* Оформление новых страниц prokol-nn.ru, 2026-10-11: главная (ГНБ), земляные работы, копка земли,
   прокладка кабеля, монтаж КТП. Подключается только на этих страницах. Всё внутри .g-page, остальной сайт не затрагивает.
   Фон обложки на главной — здесь, на остальных страницах — в style у .g-hero. */

.g-page { font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; color: #1f2b38; padding-top: 18px; }
.g-page p { margin: 0 0 12px; }
.g-page a { color: #0a5bb5; text-decoration: underline; text-decoration-color: rgba(10, 91, 181, .35); }
.g-page a:hover { text-decoration-color: #0a5bb5; }
.g-page h2 { text-align: left; font-size: 23px; line-height: 1.25; color: #013372; margin: 38px 0 14px; font-weight: bold; }
.g-page ul { margin: 0 0 12px; padding-left: 20px; }
.g-page li { margin-bottom: 4px; }
#right .g-page img { margin: 0; }

/* Обложка */
.g-hero { position: relative; border-radius: 10px; overflow: hidden; color: #fff; background: #013372 url('/images/galereya/oblozhka.jpg') center / cover no-repeat; }
.g-hero__in { position: relative; padding: 30px 28px 26px; background: linear-gradient(90deg, rgba(1, 34, 76, .94) 0%, rgba(1, 34, 76, .82) 55%, rgba(1, 34, 76, .45) 100%); }
.g-page .g-hero h1 { text-align: left; color: #fff; font-size: 28px; line-height: 1.2; margin: 0 0 12px; }
.g-hero__lead { font-size: 16px; color: #e3eefa; max-width: 520px; }
.g-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 20px; }
.g-fact { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; padding: 9px 10px; font-size: 13px; line-height: 1.3; color: #d6e6f7; }
.g-fact b { display: block; font-size: 19px; color: #fff; margin-bottom: 2px; white-space: nowrap; }
.g-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.g-page .g-hero__tel { color: #fff; font-weight: bold; font-size: 19px; text-decoration: none; padding: 0 6px; }

/* Кнопки */
.g-btn { display: inline-block; background: #ff5b3a; color: #fff !important; font: bold 16px Arial, sans-serif; padding: 13px 26px; border-radius: 6px; border: 0;
         cursor: pointer; text-decoration: none !important; box-shadow: 0 3px 10px rgba(255, 91, 58, .35); transition: background .15s, transform .15s; }
.g-btn:hover { background: #e8462a; transform: translateY(-1px); }
.g-btn--line { background: transparent; border: 2px solid #013372; color: #013372 !important; box-shadow: none; padding: 11px 22px; }
.g-btn--line:hover { background: #013372; color: #fff !important; }

/* Цены */
.g-price { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #c9d8ea; border-radius: 8px; overflow: hidden; margin: 6px 0 14px; }
.g-page table.g-price.table { margin-bottom: 14px; }
.g-price th { background: #013372; color: #fff; font-weight: normal; font-size: 14px; text-align: left; padding: 11px 16px !important; border: 0 !important; }
.g-price td { padding: 11px 16px !important; border-top: 1px solid #e1e9f3 !important; font-size: 17px; }
.g-price tr:nth-child(even) td { background: #f4f8fc; }
.g-price td:last-child { font-weight: bold; color: #013372; white-space: nowrap; }
.g-price td small { font-weight: normal; color: #5a6b80; font-size: 13px; }
.g-note { background: #f4f8fc; border-left: 4px solid #85c4f0; border-radius: 0 8px 8px 0; padding: 12px 16px; margin: 0 0 14px; font-size: 15px; }
.g-note ul { margin: 0; }
.g-cta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 16px 0 6px; }
.g-cta-line span { color: #5a6b80; font-size: 15px; }

/* Примеры расчёта */
.g-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 14px; }
.g-ex { border: 1px solid #d5e1ee; border-radius: 8px; padding: 12px 14px; font-size: 14px; line-height: 1.4; background: #fff; }
.g-ex b { display: block; font-size: 20px; color: #013372; margin-top: 6px; }
.g-ex small { color: #5a6b80; }

/* Что прокладываем */
.g-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 12px; }
.g-cards--2 { grid-template-columns: repeat(2, 1fr); }
.g-card { border: 1px solid #d5e1ee; border-radius: 8px; padding: 14px; background: #fff; font-size: 14px; line-height: 1.4; }
.g-card svg { width: 30px; height: 30px; display: block; margin-bottom: 8px; }
.g-card b { display: block; font-size: 16px; color: #013372; margin-bottom: 3px; }

/* Установка */
.g-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
#right .g-split img { width: 100%; height: auto; border-radius: 8px; display: block; }
.g-specs { list-style: none; padding: 0 !important; margin: 10px 0 0 !important; }
.g-specs li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed #c9d8ea; padding: 6px 0; margin: 0 !important; font-size: 15px; }
.g-specs li b { color: #013372; white-space: nowrap; }

/* Шаги */
.g-steps { list-style: none; counter-reset: st; padding: 0 !important; margin: 6px 0 14px !important; }
.g-steps li { counter-increment: st; position: relative; padding: 0 0 16px 50px; margin: 0 !important; }
.g-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: #013372; color: #fff;
                      font-weight: bold; display: flex; align-items: center; justify-content: center; }
.g-steps li::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: #d5e1ee; }
.g-steps li:last-child::after { display: none; }
.g-steps b { display: block; color: #013372; margin-bottom: 2px; }

/* Галерея */
.g-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0 10px; }
.g-page .g-gallery a { text-decoration: none; }
.g-gallery a { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #e4ecf5; aspect-ratio: 4 / 3; }
#right .g-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; transition: transform .3s; }
.g-gallery a:hover img { transform: scale(1.05); }
.g-gallery a span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 9px 7px; font-size: 12px; line-height: 1.25; color: #fff;
                    background: linear-gradient(transparent, rgba(0, 0, 0, .7)); opacity: 0; transition: opacity .2s; }
.g-gallery a:hover span { opacity: 1; }
.g-gallery--schemes { grid-template-columns: repeat(3, 1fr); }
.g-gallery--schemes a { aspect-ratio: auto; background: #fff; border: 1px solid #d5e1ee; padding: 8px; }
#right .g-gallery--schemes img { height: 70px; object-fit: contain; }
.g-gallery--schemes a span { position: static; opacity: 1; background: none; color: #5a6b80; padding: 6px 0 0; text-align: center; }
.g-gallery--port { grid-template-columns: repeat(4, 1fr); }
.g-gallery--port a { aspect-ratio: 3 / 4; }
.g-gallery--port a span { opacity: 1; }
.g-gallery a b { position: absolute; top: 6px; left: 6px; background: #013372; color: #fff; font-size: 12px; border-radius: 10px; padding: 1px 7px; }
.g-gallery a.g-extra { display: none; }
.g-gallery.g-all a.g-extra { display: block; }
.g-more { text-align: center; }

/* Оглавление страницы */
.g-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 4px; }
.g-page .g-toc a { font-size: 14px; text-decoration: none; color: #013372; background: #eef4fb; border: 1px solid #d5e1ee; border-radius: 16px; padding: 5px 12px; }
.g-page .g-toc a:hover { background: #013372; color: #fff; }

/* Фото с подписью внутри раздела */
.g-fig { margin: 4px 0 14px; }
.g-fig a { display: block; border-radius: 8px; overflow: hidden; }
#right .g-fig img { width: 100%; height: auto; display: block; margin: 0; }
.g-fig figcaption { font-size: 13px; color: #5a6b80; margin-top: 5px; }

/* Полный прайс в раскрывающемся блоке */
details.g-prices { border: 1px solid #d5e1ee; border-radius: 8px; margin: 8px 0 14px; background: #fff; }
details.g-prices summary { cursor: pointer; padding: 12px 16px; font-weight: bold; color: #013372; }
details.g-prices .g-price { margin: 0; border: 0; border-top: 1px solid #d5e1ee; border-radius: 0 0 8px 8px; }
details.g-prices .g-price td { font-size: 15px; }
details.g-prices .g-price td:nth-child(2) { color: #5a6b80; font-weight: normal; white-space: nowrap; }

/* Вопросы */
.g-faq details { border: 1px solid #d5e1ee; border-radius: 8px; margin-bottom: 8px; background: #fff; }
.g-faq summary { cursor: pointer; padding: 13px 44px 13px 16px; font-weight: bold; color: #013372; list-style: none; position: relative; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: "+"; position: absolute; right: 16px; top: 9px; font-size: 24px; font-weight: normal; color: #ff5b3a; }
.g-faq details[open] summary::after { content: "−"; }
.g-faq details p { padding: 0 16px 14px; margin: 0; }

/* Заявка в конце */
.g-final { margin: 34px 0 10px; background: #013372; color: #e3eefa; border-radius: 10px; padding: 24px 26px; }
.g-page .g-final h2 { color: #fff; margin: 0 0 8px; }
.g-final .g-cta-line span, .g-page .g-final a.g-final__tel { color: #fff; }
.g-page .g-final a.g-final__tel { font-weight: bold; font-size: 19px; text-decoration: none; }

.g-about { font-size: 15px; color: #3c4b5c; }

/* Телефон и планшет */
@media (max-width: 700px) {
  .g-page { font-size: 15px; padding-top: 12px; }
  .g-page h2 { font-size: 20px; margin-top: 30px; }
  .g-hero__in { padding: 22px 16px 18px; background: rgba(1, 34, 76, .86); }
  .g-page .g-hero h1 { font-size: 22px; }
  .g-facts { grid-template-columns: repeat(2, 1fr); }
  .g-examples, .g-cards, .g-split { grid-template-columns: 1fr; }
  .g-gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .g-gallery a span { opacity: 1; font-size: 11px; }
  .g-gallery--schemes { grid-template-columns: 1fr; }
  .g-gallery--port { grid-template-columns: repeat(3, 1fr); }
  .g-price td, .g-price th { padding: 9px 10px !important; }
  .g-price td { font-size: 15px; }
  .g-btn { width: 100%; text-align: center; }
  .g-cta-line { gap: 10px; }
  .g-final { padding: 20px 16px; }
}
