/* Извлечено из service.html — общие стили страницы услуги/оборудования/отрасли.
   Используется service.html и статическими страницами из tools/build-service-pages.js */
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { background: #070a12; color: #eef2f9; font-family: 'Manrope', sans-serif; overflow-x: hidden; }
  a { -webkit-tap-highlight-color: transparent; }

  .hero-banner { position: relative; padding: 96px 64px; background-size: cover; background-position: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .hero-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(7,10,18,0.97) 0%, rgba(7,10,18,0.78) 55%, rgba(7,10,18,0.45) 100%); }
  .hero-content { position: relative; z-index: 2; max-width: 880px; }
  .crumbs { font-size: 14px; color: #8696b0; margin-bottom: 18px; }
  .crumbs a { color: #8696b0; text-decoration: none; }
  .crumbs a:hover { color: #c2cdde; }
  .hero-tagline { font-size: 19px; color: #c2cdde; line-height: 1.5; margin-top: 18px; }
  .hero-desc { font-size: 17px; color: #94a3b8; line-height: 1.6; margin-top: 16px; max-width: 760px; }
  .vprops { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .vprop { display: inline-flex; align-items: center; gap: 10px; background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.35); border-radius: 30px; padding: 10px 18px; font-size: 14px; font-weight: 600; color: #eef2f9; }
  .vprop svg { color: #3b82f6; flex-shrink: 0; }
  .btn-primary { display: inline-block; background: #2563eb; color: #fff; text-decoration: none; padding: 16px 32px; border-radius: 8px; font-weight: 700; font-size: 16px; box-shadow: 0 4px 16px rgba(37,99,235,.35); transition: background 0.2s; }
  .btn-primary:hover { background: #3b82f6; }

  /* Trust band */
  .trust { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding: 36px 64px; background: rgba(37,99,235,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
  .trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .trust-item .tcircle { width: 52px; height: 52px; border-radius: 14px; background: rgba(37,99,235,0.15); display: flex; align-items: center; justify-content: center; }
  .trust-item svg { color: #7ea8ff; }
  .trust-item span { font-size: 14px; font-weight: 600; color: #c2cdde; line-height: 1.35; }

  section.block { padding: 64px; }
  .section-title { font-size: 30px; font-weight: 800; margin-bottom: 34px; letter-spacing: -0.5px; max-width: 900px; }
  .intro { color: #c2cdde; font-size: 18px; line-height: 1.7; max-width: 900px; }
  .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
  .info-card { background: rgba(37,99,235,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 24px; transition: transform 0.2s, border-color 0.2s; }
  .info-card:hover { transform: translateY(-5px); border-color: rgba(37,99,235,0.3); }
  .icon-box { width: 48px; height: 48px; background: rgba(37,99,235,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }

  /* Models / extra */
  .extra-text { color: #c2cdde; font-size: 17px; line-height: 1.7; max-width: 920px; margin-bottom: 32px; }
  .groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
  .group-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 22px; }
  .group-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: #3b82f6; margin-bottom: 14px; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .chip { font-size: 14px; font-weight: 600; color: #eef2f9; background: rgba(37,99,235,0.1); border: 1px solid rgba(37,99,235,0.25); border-radius: 8px; padding: 6px 12px; }

  .result-box { background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(7,10,18,0)); border: 1px solid rgba(37,99,235,0.3); border-radius: 16px; padding: 48px 40px; margin: 24px 64px 64px; text-align: center; }
  .result-box p { font-size: 18px; color: #c2cdde; line-height: 1.6; max-width: 880px; margin: 0 auto 28px; }

  footer.site-footer { padding: 40px 64px; border-top: 1px solid rgba(255,255,255,.08); color: #8696b0; font-size: 14px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  footer.site-footer a { color: #c2cdde; text-decoration: none; }
  footer.site-footer a:hover { color: #fff; }

  @media (max-width: 900px) {
    .trust { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 720px) {
    .hero-banner { padding: 64px 20px; }
    .section-title { font-size: 24px; }
    section.block { padding: 48px 20px; }
    .trust { padding: 28px 20px; grid-template-columns: 1fr; }
    .result-box { margin: 20px; padding: 32px 20px; }
  }
  .icon-box svg { width: 24px; height: 24px; color: #3b82f6; flex-shrink: 0; display: block; transition: color 0.2s; }
  .info-card:hover .icon-box svg { color: #60a5fa; }
  @media (min-width: 1024px) {
    .card-grid {
      grid-template-columns: repeat(var(--cols, 6), 1fr) !important;
      gap: 16px !important;
    }
    .card-grid .info-card {
      padding: 20px 16px !important;
    }
    .card-grid .info-card h3 {
      font-size: 16px !important;
      margin-bottom: 8px !important;
    }
    .card-grid .info-card p {
      font-size: 13px !important;
      line-height: 1.4 !important;
    }
    .card-grid .icon-box {
      width: 40px !important;
      height: 40px !important;
      margin-bottom: 14px !important;
      border-radius: 10px !important;
      font-size: 20px !important;
    }
    .card-grid .icon-box svg {
      width: 20px !important;
      height: 20px !important;
    }
  }
  @media (max-width: 1023px) and (min-width: 768px) {
    .card-grid {
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 16px !important;
    }
  }
  @media (max-width: 767px) {
    .card-grid {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 12px !important;
    }
    .card-grid .info-card {
      padding: 16px 12px !important;
    }
    .card-grid .info-card h3 {
      font-size: 15px !important;
    }
    .card-grid .info-card p {
      font-size: 12px !important;
    }
  }
  @media (max-width: 480px) {
    .card-grid {
      grid-template-columns: 1fr !important;
    }
  }

/* ---- Блок перелинковки на статических страницах (tools/build-service-pages.js) ---- */
.related-block { padding: 56px 64px; border-top: 1px solid rgba(255,255,255,0.06); }
.related-block h2 { font-size: 26px; font-weight: 800; margin-bottom: 22px; letter-spacing: -0.5px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.related-grid a { display: block; padding: 16px 18px; background: #101a2c; border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; color: #c2cdde; text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.4; transition: border-color .2s, color .2s; }
.related-grid a:hover { border-color: rgba(37,99,235,.5); color: #fff; }
@media (max-width: 1023px) { .related-block { padding: 48px 32px; } }
@media (max-width: 767px) { .related-block { padding: 40px 18px; } .related-grid { grid-template-columns: 1fr; } .related-block h2 { font-size: 22px; } }

/* =========================================================================
   Дополнительные классы для статических страниц GPS-кластера и каталога
   оборудования (tools/build-gps-cluster.js, tools/build-equipment-pages.js).
   Используют те же токены, что и остальной сайт: фон #070a12, карточки
   #101a2c / rgba(37,99,235,.03), акцент #2563eb, текст #c2cdde.
   ========================================================================= */

/* ---- текстовые блоки ---- */
.prose { max-width: 900px; color: #c2cdde; font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 16px; }
.prose h3 { font-size: 21px; font-weight: 700; color: #eef2f9; margin-top: 30px; letter-spacing: -0.3px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: #3b82f6; }
.prose strong { color: #eef2f9; font-weight: 700; }
.prose a { color: #7ea8ff; text-decoration: none; border-bottom: 1px solid rgba(126,168,255,.35); }
.prose a:hover { color: #fff; border-bottom-color: #fff; }

/* ---- таблица характеристик ---- */
.spec-table { width: 100%; border-collapse: collapse; max-width: 900px; font-size: 15.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); vertical-align: top; }
.spec-table th { width: 38%; color: #8696b0; font-weight: 600; }
.spec-table td { color: #eef2f9; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; }

/* ---- FAQ ---- */
.faq { max-width: 900px; }
.faq details { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 0; font-size: 16.5px; font-weight: 700; color: #eef2f9; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: #3b82f6; font-size: 22px; font-weight: 700; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] summary { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq .faq-a { padding: 16px 0 20px; color: #c2cdde; font-size: 16px; line-height: 1.7; }
.faq .faq-a a { color: #7ea8ff; text-decoration: none; border-bottom: 1px solid rgba(126,168,255,.35); }

/* ---- карточки моделей и категорий ---- */
.model-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.model-card { display: flex; flex-direction: column; background: #101a2c; border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; padding: 22px; text-decoration: none; transition: border-color .2s, transform .2s; }
.model-card:hover { border-color: rgba(37,99,235,.5); transform: translateY(-3px); }
.model-card .mc-kicker { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #3b82f6; margin-bottom: 10px; }
.model-card .mc-name { font-size: 18px; font-weight: 700; color: #eef2f9; line-height: 1.3; }
.model-card .mc-desc { font-size: 14px; color: #94a3b8; line-height: 1.5; margin-top: 10px; }

/* ---- полоса действий (купить / установить / подключить) ---- */
.cta-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 1000px; }
.cta-card { display: block; background: rgba(37,99,235,0.06); border: 1px solid rgba(37,99,235,0.28); border-radius: 14px; padding: 22px; text-decoration: none; transition: background .2s, border-color .2s; }
.cta-card:hover { background: rgba(37,99,235,0.14); border-color: rgba(37,99,235,.6); }
.cta-card .cc-title { font-size: 16.5px; font-weight: 700; color: #eef2f9; }
.cta-card .cc-sub { font-size: 14px; color: #94a3b8; line-height: 1.5; margin-top: 8px; }

/* ---- локальная плашка (адрес, телефон, зона обслуживания) ---- */
.local-note { max-width: 900px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07); border-left: 3px solid #2563eb; border-radius: 12px; padding: 22px 24px; color: #c2cdde; font-size: 16px; line-height: 1.7; }
.local-note a { color: #7ea8ff; text-decoration: none; }
.local-note a:hover { color: #fff; }

@media (max-width: 767px) {
  .prose { font-size: 16px; }
  .spec-table th, .spec-table td { padding: 12px 10px; font-size: 14.5px; }
  .spec-table th { width: 45%; }
  .model-grid, .cta-band { grid-template-columns: 1fr; }
  .local-note { padding: 18px; font-size: 15px; }
}
