/*
Theme Name: STCD Theme
Theme URI: https://stcd.ru
Author: Crazy Studio
Description: Корпоративная тема для АО СТК Развитие.
Version: 1.0.1
*/

/* ============================================================
   CSS из index.html (блок #1)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    /* Тёмная палитра */
    --bg: #0a1216;
    --bg-2: #0f1820;
    --bg-3: #16222b;

    /* Текст */
    --ink: #f4f6f7;
    --ink-2: #b8c4ca;
    --ink-3: #7a8a92;
    --ink-4: #4d5a62;

    /* ============================================================
       ГЛАВНЫЙ АКЦЕНТНЫЙ ЦВЕТ САЙТА — управляется одной переменной.
       Сейчас бирюзовый (по итогам обсуждения с Ильёй 18.05.2026).
       Если руководство СТК захочет вернуть фирменный синий —
       поменяйте значение ниже на #07579D (или любое другое).
       ============================================================ */
    --ac: #1ec8c8;
    --ac-2: #2dd9d9;          /* hover-вариант, чуть ярче */
    --ac-glow: rgba(30, 200, 200, 0.35);
    --ac-tint: rgba(30, 200, 200, 0.10);

    /* Фирменные цвета — оставлены на случай вторичных акцентов */
    --brand: #07579D;
    --accent-green: #ABC45E;

    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);

    /* Сетка контента — фиксированная как в первоначальном V1 */
    --grid-max: 1320px;
    --grid-px: 40px;
    --section-py: clamp(64px, 7vw, 110px);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
  }

  /* ============================================================
     HEADER
     ============================================================ */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 12px 0 4px;   /* асимметрично: сверху обычный, снизу почти 0 */
    transition: all 0.3s ease;
  }
  header.scrolled {
    background: rgba(10, 18, 22, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 10px 0 4px;
  }
  /* Лого чуть меньше — но шрифт меню оставлен оригинальный */
  .logo-mark { width: 36px; height: 36px; }
  .logo-name { font-size: 16px; }
  .header-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
  }
  .logo-mark {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background-color: var(--ac);
    -webkit-mask: url('logo_silhouette.svg') center / contain no-repeat;
            mask: url('logo_silhouette.svg') center / contain no-repeat;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: filter 0.25s ease, background-color 0.25s ease;
  }
  .logo:hover .logo-mark {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 16px var(--ac-glow));
  }
  .logo-name {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.015em;
  }

  nav.main-nav { display: flex; gap: 4px; }
  nav.main-nav a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
  }
  nav.main-nav a:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
  }

  /* Правая часть шапки — телефон + кнопка */
  .header-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .header-phone {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: color 0.2s;
    white-space: nowrap;
  }
  .header-phone:hover { color: var(--ac); }
  /* Кнопка в шапке — чуть ниже по высоте, компактнее */
  .header-right .btn { padding: 9px 20px; font-size: 13.5px; }

  /* ============================================================
     КНОПКИ
     ============================================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--ac);
    color: #051517;
  }
  .btn-primary:hover {
    background: var(--ac-2);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px var(--ac-glow);
  }
  .btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
  }
  .btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.5);
  }
  .btn-ghost {
    background: transparent;
    color: var(--ac);
    border: 1.5px solid transparent;
    padding: 8px 0;
  }
  .btn-ghost:hover { color: var(--ac-2); }
  .btn-lg { padding: 16px 30px; font-size: 15px; }
  .btn .arrow { transition: transform 0.2s; }
  .btn:hover .arrow { transform: translateX(3px); }

  /* ============================================================
     HERO — полный экран с фоновым видео (4 видео сменяются)
     ============================================================ */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(180deg, rgba(10, 18, 22, 0.80) 0%, rgba(10, 18, 22, 0.50) 50%, rgba(10, 18, 22, 0.95) 100%),
      linear-gradient(90deg, rgba(10, 18, 22, 0.65) 0%, rgba(10, 18, 22, 0.20) 60%, rgba(10, 18, 22, 0.40) 100%),
      rgba(10, 18, 22, 0.20);
  }
  .hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 18, 22, 0.6) 100%);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 100px var(--grid-px) 160px;
  }
  .hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.02em;
    max-width: 980px;
    margin-bottom: 28px;
  }
  .hero-title .accent { color: var(--ac); }
  .hero-sub {
    font-size: clamp(16px, 1.3vw, 19px);
    color: var(--ink-2);
    line-height: 1.55;
    max-width: 640px;
    margin-bottom: 44px;
  }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

  .hero-stats {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 3;
    padding: 32px 0;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent 0%, rgba(10, 18, 22, 0.6) 100%);
    backdrop-filter: blur(10px);
  }
  .hero-stats-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stat-item {
    padding: 0 24px;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .stat-item:first-child { border-left: none; padding-left: 0; }
  .stat-item .stat-value {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .stat-item .stat-value .plus { color: var(--ac); margin-left: 2px; }
  .stat-item .stat-label {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
  }

  /* ============================================================
     ОБЩИЕ СЕКЦИИ
     ============================================================ */
  section.block {
    padding: var(--section-py) 0;
    position: relative;
  }
  section.block.alt { background: var(--bg-2); }
  .block-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
  }
  .section-head {
    margin-bottom: 48px;
    max-width: 760px;
  }
  .section-title {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .section-title .accent { color: var(--ac); }
  .section-sub {
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--ink-2);
    line-height: 1.6;
    max-width: 640px;
  }

  /* ============================================================
     БЛОК — КЛЮЧЕВЫЕ КОМПЕТЕНЦИИ
     6 карточек в сетке 3×2 с line-style SVG-иконками
     ============================================================ */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .service-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px 32px 32px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
  }
  .service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color 0.25s ease;
    pointer-events: none;
  }
  .service-card:hover {
    background: var(--bg-3);
    transform: translateY(-3px);
  }
  .service-card:hover::after { border-color: var(--ac); }
  .service-card .ico {
    width: 64px; height: 64px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    transition: background 0.25s ease;
  }
  .service-card:hover .ico { background: rgba(30, 200, 200, 0.18); }
  .service-card .ico svg {
    width: 32px; height: 32px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.005em;
  }
  .service-card p {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.6;
  }

  /* ============================================================
     БЛОК — ПРОЕКТЫ
     ============================================================ */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .project-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
    cursor: pointer;
  }
  .project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(30, 200, 200, 0.4);
  }
  .project-photo {
    aspect-ratio: 16/10;
    background-color: var(--bg-3);
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
  }
  .project-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 18, 22, 0.10) 0%, rgba(10, 18, 22, 0.55) 100%);
    transition: background 0.3s ease;
  }
  .project-card:hover .project-photo {
    transform: scale(1.04);
  }
  .project-card:hover .project-photo::after {
    background: linear-gradient(180deg, rgba(10, 18, 22, 0) 0%, rgba(10, 18, 22, 0.4) 100%);
  }
  .project-body { padding: 20px 24px 24px; }
  .project-meta {
    font-size: 12px;
    color: var(--ac);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  .project-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.005em;
  }
  .project-body p {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.5;
  }

  /* ============================================================
     CTA-БАННЕР С DOT-КАРТОЙ РОССИИ
     Карта живёт по центру/справа как фоновая графика,
     текст слева и кнопка справа лежат поверх неё.
     ============================================================ */
  /* === БЛОК «Карта проектов» === */
  .home-map-section {
    margin-top: 48px;
  }
  .home-map-head {
    margin-bottom: 24px;
  }
  .home-map-head small {
    font-size: 12px;
    color: var(--ac);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
  }
  .home-map-head h3 {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: var(--ink);
  }

  /* Контейнер карты с обрезкой по краям */
  .home-map-viewport {
    position: relative;
    width: 100vw;                              /* full-bleed — карта на всю ширину окна */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    aspect-ratio: 11 / 6;                      /* aspect карты после обрезки */
    max-height: 820px;                          /* верхний предел чтобы не разорвало на сверхширинах */
    background: #0a1216;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: none;
  }
  .home-map-viewport.is-dragging { cursor: grabbing; }
  /* Внутренний «холст» — масштабируется и перемещается через transform */
  .home-map-canvas {
    position: absolute;
    inset: 0;
    background-image: url('russia-map-cropped.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform-origin: 0 0;
    transition: transform 0.18s ease;
  }
  .home-map-canvas.no-anim { transition: none; }

  /* Точки на карте (внутри canvas, чтобы зумились вместе) */
  .home-map-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    background: var(--ac);
    border-radius: 50%;
    box-shadow:
      0 0 0 4px rgba(30, 200, 200, 0.20),
      0 0 16px rgba(30, 200, 200, 0.55);
    cursor: pointer;
    border: 0;
    padding: 0;
    transition: transform 0.2s ease;
    z-index: 5;
  }
  .home-map-dot::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(30, 200, 200, 0.18);
    animation: home-map-pulse 2.8s ease-in-out infinite;
  }
  .home-map-dot:hover { transform: scale(1.3); z-index: 10; }
  @keyframes home-map-pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.6; }
    50%      { transform: scale(1.6); opacity: 0; }
  }

  /* Попап при клике на точку */
  .home-map-popup {
    position: absolute;
    width: 320px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(0,0,0,0.55);
    z-index: 20;
    transform: translate(-50%, calc(-100% - 20px));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
  }
  .home-map-popup.show { opacity: 1; pointer-events: auto; }
  .home-map-popup .close {
    position: absolute;
    top: 8px; right: 8px;
    width: 28px; height: 28px;
    background: transparent;
    border: 0;
    color: var(--ink-2);
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    display: grid;
    place-items: center;
    border-radius: 6px;
  }
  .home-map-popup .close:hover { color: var(--ac); background: rgba(255,255,255,0.05); }
  .home-map-popup .photo {
    height: 140px;
    background-size: cover;
    background-position: center;
  }
  .home-map-popup .body {
    padding: 14px 18px 16px;
  }
  .home-map-popup .body h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
    color: var(--ink);
  }
  .home-map-popup .body .cat {
    font-size: 11px;
    color: var(--ac);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
  }
  .home-map-popup .body .meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--ink-3);
    margin-bottom: 10px;
  }
  .home-map-popup .body .meta svg {
    width: 12px; height: 12px;
    stroke: currentColor; fill: none;
    stroke-width: 2;
    vertical-align: -2px;
    margin-right: 4px;
  }
  .home-map-popup .body a.more {
    color: var(--ac);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
  }
  .home-map-popup .body a.more:hover { text-decoration: underline; }

  /* Панель кнопок управления зумом */
  .home-map-controls {
    position: absolute;
    top: 16px; right: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 30;
  }
  .home-map-controls button {
    width: 38px; height: 38px;
    background: rgba(15, 24, 32, 0.85);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.18s;
  }
  .home-map-controls button:hover {
    border-color: var(--ac);
    color: var(--ac);
  }

  /* CTA-кнопка под картой */
  .home-map-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    background: rgba(30, 200, 200, 0.12);
    border: 1.5px solid var(--ac);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
  }
  .home-map-cta:hover {
    background: rgba(30, 200, 200, 0.25);
    box-shadow: 0 8px 24px rgba(30, 200, 200, 0.22);
  }
  .home-map-cta .arrow { transition: transform 0.2s; }
  .home-map-cta:hover .arrow { transform: translateX(3px); }

  /* ============================================================
     БЛОК — О КОМПАНИИ (3D-логотип + текст + цифры)
     ============================================================ */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
  }
  .about-logo-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 460px;
    margin: 0 auto;
    perspective: 1200px;
  }

  .about-logo-inner {
    position: relative;
    width: 100%; height: 100%;
    transform-style: preserve-3d;
  }
  .about-glow {
    position: absolute;
    inset: -15%;
    background: radial-gradient(
      circle at center,
      var(--ac-glow) 0%,
      rgba(30, 200, 200, 0.08) 30%,
      transparent 65%
    );
    filter: blur(10px);
    pointer-events: none;
    transform: translateZ(-100px);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .about-logo-stage:hover .about-glow {
    transform: translateZ(-80px) scale(1.2);
  }
  .about-logo-svg-wrap {
    position: absolute;
    inset: 0;
    transform: translateZ(40px);
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.6));
  }
  .about-logo-svg-wrap svg {
    width: 100%; height: 100%;
    display: block;
    overflow: visible;
  }
  .about-logo-svg-wrap .seg {
    fill: var(--ac);
    transition:
      transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
      fill 0.4s ease;
  }
  .about-logo-stage:hover .seg {
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
    transition-delay: var(--delay);
    fill: var(--ac-2);
  }

  .about-text h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
  }
  .about-text p {
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 16px;
  }
  /* Чипы под текстом «О компании» — направления работы */
  .about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    transition: all 0.2s ease;
  }
  .chip:hover {
    border-color: var(--ac);
    background: var(--ac-tint);
  }
  .chip svg {
    width: 18px;
    height: 18px;
    stroke: var(--ac);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
  }

  /* ============================================================
     БЛОК — ЗАКАЗЧИКИ И ПАРТНЁРЫ
     ============================================================ */
  .clients-section h3.sub-h {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin: 0 0 18px;
    font-weight: 600;
  }
  .logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-2);
    margin-bottom: 40px;
  }
  .logo-cell {
    padding: 30px 16px;
    text-align: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
  }
  .logo-cell:nth-child(6n) { border-right: none; }
  .logo-cell:nth-last-child(-n+6) { border-bottom: none; }
  .logo-cell:hover {
    color: var(--ac);
    background: rgba(255, 255, 255, 0.02);
  }
  .logo-cell em {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: var(--ink-4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
    font-weight: 500;
  }

  /* ============================================================
     БЛОК — ЛИЦЕНЗИИ (вертикальный A4-формат под скан документа)
     ============================================================ */
  /* Лицензии — горизонтальный слайдер на 4 видимых карточки.
     Скрытые карточки доступны через прокрутку (snap-scroll) и стрелки. */
  .licenses-wrap {
    position: relative;
  }
  .licenses-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 20px) / 4);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* скрываем скроллбар — навигация через стрелки */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* запас сверху/снизу — чтобы hover-эффект приподнимания не обрезался */
    padding: 8px 0 12px;
    margin: -8px 0 -12px;
  }
  .licenses-grid::-webkit-scrollbar { display: none; }
  .license-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.25s ease;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
  }
  .license-card:hover {
    border-color: var(--ac);
    transform: translateY(-3px);
  }
  /* «Лист» А4 — показывает реальное превью документа */
  .license-sheet {
    width: 100%;
    padding-bottom: 141.4%;
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }
  .license-sheet img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }
  .license-text {
    flex: 1 1 auto;
    min-height: 70px;
  }
  /* Кнопки навигации слайдера */
  .licenses-nav {
    position: absolute;
    top: -52px;
    right: 0;
    display: flex;
    gap: 8px;
  }
  .licenses-nav button {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.2s;
  }
  .licenses-nav button:hover { border-color: var(--ac); color: var(--ac); }
  .licenses-nav button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .license-card .name {
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    letter-spacing: -0.005em;
  }
  .license-card .desc {
    font-size: 12px;
    color: var(--ink-3);
    margin-top: 2px;
  }

  /* ============================================================
     БЛОК — КОНТАКТЫ И ФОРМА (по референсу)
     Слева — большие info-блоки с квадратной иконкой,
     снизу — ссылки на документы.
     Справа — форма в скруглённой панели.
     ============================================================ */
  .contacts-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 60px;
    align-items: stretch;
  }
  /* Обе колонки явно растягиваются на полную высоту строки grid */
  .contacts-grid > * { align-self: stretch; }
  /* Левая колонка — flex с justify-content space-between:
     info-блоки сверху, документы внизу, между ними auto-space.
     Этот паттерн работает железно во всех браузерах. */
  .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
  }
  .info-rows-wrap {
    display: flex;
    flex-direction: column;
  }
  /* Большой info-блок: иконка-плашка + label/значение справа */
  .info-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .info-row:first-child { padding-top: 0; }
  .info-row .info-ico {
    width: 56px; height: 56px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .info-row .info-ico svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .info-row .info-content { flex: 1; min-width: 0; }
  .info-row .info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin-bottom: 4px;
    font-weight: 600;
  }
  .info-row .info-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.005em;
    line-height: 1.35;
  }
  .info-row .info-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
  }
  .info-row .info-value a:hover { color: var(--ac); }

  /* Ссылки на документы — отделены от info-блоков таким же отступом,
     как и между другими разделами (≈ как между info-row). */
  .contact-docs {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .contact-docs .docs-title {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 600;
    margin: 0 0 6px;
  }
  .doc-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    text-decoration: none;
    color: var(--ink-2);
    font-size: 15px;
    transition: color 0.2s ease;
  }
  .doc-link:hover { color: var(--ac); }
  .doc-link .doc-ico {
    width: 22px; height: 22px;
    color: var(--ac);
    flex-shrink: 0;
  }
  .doc-link .doc-ico svg {
    width: 100%; height: 100%;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
  }
  .doc-link .doc-name { flex: 1; }
  /* Кнопка-стрелка скачать справа — отдельный «кнопочный» элемент */
  .doc-link .doc-dl {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .doc-link:hover .doc-dl {
    color: var(--ac);
    border-color: var(--ac);
    background: var(--ac-tint);
  }
  .doc-link .doc-dl svg {
    width: 16px; height: 16px;
  }

  .contact-form {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 36px;
    display: flex;
    flex-direction: column;
  }
  /* Поле с textarea растягивается чтобы заполнить остаток высоты —
     кнопка submit всегда прижата к низу панели */
  .contact-form .field-grow { flex: 1; display: flex; flex-direction: column; }
  .contact-form .field-grow textarea { flex: 1; min-height: 100px; }
  .contact-form h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }
  .contact-form > p {
    color: var(--ink-3);
    margin-bottom: 24px;
    font-size: 15px;
  }
  .field { margin-bottom: 16px; }
  .field label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-4);
    margin-bottom: 6px;
  }
  .field input, .field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    color: var(--ink);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
  }
  .field input:focus, .field textarea:focus { border-color: var(--ac); }
  .field textarea { resize: vertical; min-height: 100px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .field-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--ink-3);
    margin: 6px 0 18px;
    cursor: pointer;
  }
  .field-check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--ac); }
  .field-check a { color: var(--ink-2); }

  /* ============================================================
     ПОДВАЛ
     ============================================================ */
  footer {
    background: #06090c;
    padding: 60px 0 32px;
    color: var(--ink-3);
    font-size: 14px;
    border-top: 1px solid var(--line);
  }
  .footer-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
  }
  .footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-4);
    margin-bottom: 16px;
    font-weight: 600;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
  }
  .footer-col a:hover { color: var(--ac); }
  .footer-brand {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
  }
  .footer-brand .mark {
    width: 40px; height: 40px;
    background: var(--ac);
    -webkit-mask: url('logo_silhouette.svg') center / contain no-repeat;
            mask: url('logo_silhouette.svg') center / contain no-repeat;
  }
  .footer-brand .name { font-weight: 700; color: var(--ink); font-size: 17px; }
  .footer-tagline {
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.55;
    max-width: 320px;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-4);
  }
  .footer-bottom a { color: var(--ink-4); text-decoration: none; }
  .footer-bottom a:hover { color: var(--ac); }

  /* ============================================================
     АДАПТИВ
     ============================================================ */
  @media (max-width: 1100px) {
    :root { --grid-px: 24px; }
    nav.main-nav { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .logos-grid { grid-template-columns: 1fr 1fr 1fr; }
    .logo-cell:nth-child(6n) { border-right: 1px solid var(--line); }
    .logo-cell:nth-child(3n) { border-right: none; }
    .licenses-grid { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
    .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 700px) {
    .header-right .header-phone { display: none; }
    .services-grid, .projects-grid { grid-template-columns: 1fr; }
    .licenses-grid { grid-auto-columns: calc((100% - 20px) / 2); }
    .logos-grid { grid-template-columns: 1fr 1fr; }
    .logo-cell:nth-child(3n) { border-right: 1px solid var(--line); }
    .logo-cell:nth-child(2n) { border-right: none; }
    .hero-stats-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-item { padding: 0; border-left: none; }
    .stat-item:nth-child(n+3) { padding-top: 20px; border-top: 1px solid var(--line); }
    .about-numbers { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .map-cta { padding: 24px; flex-direction: column; align-items: flex-start; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
  }

/* ============================================================
   CSS из contacts.html (блок #1)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    /* Тёмная палитра */
    --bg: #0a1216;
    --bg-2: #0f1820;
    --bg-3: #16222b;

    /* Текст */
    --ink: #f4f6f7;
    --ink-2: #b8c4ca;
    --ink-3: #7a8a92;
    --ink-4: #4d5a62;

    /* ============================================================
       ГЛАВНЫЙ АКЦЕНТНЫЙ ЦВЕТ САЙТА — управляется одной переменной.
       Сейчас бирюзовый (по итогам обсуждения с Ильёй 18.05.2026).
       Если руководство СТК захочет вернуть фирменный синий —
       поменяйте значение ниже на #07579D (или любое другое).
       ============================================================ */
    --ac: #1ec8c8;
    --ac-2: #2dd9d9;          /* hover-вариант, чуть ярче */
    --ac-glow: rgba(30, 200, 200, 0.35);
    --ac-tint: rgba(30, 200, 200, 0.10);

    /* Фирменные цвета — оставлены на случай вторичных акцентов */
    --brand: #07579D;
    --accent-green: #ABC45E;

    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);

    /* Сетка контента — фиксированная как в первоначальном V1 */
    --grid-max: 1320px;
    --grid-px: 40px;
    --section-py: clamp(64px, 7vw, 110px);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
  }

  /* ============================================================
     HEADER
     ============================================================ */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 12px 0 4px;   /* асимметрично: сверху обычный, снизу почти 0 */
    transition: all 0.3s ease;
  }
  header.scrolled {
    background: rgba(10, 18, 22, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 10px 0 4px;
  }
  /* Лого чуть меньше — но шрифт меню оставлен оригинальный */
  .logo-mark { width: 36px; height: 36px; }
  .logo-name { font-size: 16px; }
  .header-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
  }
  .logo-mark {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background-color: var(--ac);
    -webkit-mask: url('logo_silhouette.svg') center / contain no-repeat;
            mask: url('logo_silhouette.svg') center / contain no-repeat;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: filter 0.25s ease, background-color 0.25s ease;
  }
  .logo:hover .logo-mark {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 16px var(--ac-glow));
  }
  .logo-name {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.015em;
  }

  nav.main-nav { display: flex; gap: 4px; }
  nav.main-nav a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
  }
  nav.main-nav a:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
  }

  /* Правая часть шапки — телефон + кнопка */
  .header-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .header-phone {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: color 0.2s;
    white-space: nowrap;
  }
  .header-phone:hover { color: var(--ac); }
  /* Кнопка в шапке — чуть ниже по высоте, компактнее */
  .header-right .btn { padding: 9px 20px; font-size: 13.5px; }

  /* ============================================================
     КНОПКИ
     ============================================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--ac);
    color: #051517;
  }
  .btn-primary:hover {
    background: var(--ac-2);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px var(--ac-glow);
  }
  .btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
  }
  .btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.5);
  }
  .btn-ghost {
    background: transparent;
    color: var(--ac);
    border: 1.5px solid transparent;
    padding: 8px 0;
  }
  .btn-ghost:hover { color: var(--ac-2); }
  .btn-lg { padding: 16px 30px; font-size: 15px; }
  .btn .arrow { transition: transform 0.2s; }
  .btn:hover .arrow { transform: translateX(3px); }

  /* ============================================================
     HERO — полный экран с фоновым видео (4 видео сменяются)
     ============================================================ */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(180deg, rgba(10, 18, 22, 0.80) 0%, rgba(10, 18, 22, 0.50) 50%, rgba(10, 18, 22, 0.95) 100%),
      linear-gradient(90deg, rgba(10, 18, 22, 0.65) 0%, rgba(10, 18, 22, 0.20) 60%, rgba(10, 18, 22, 0.40) 100%),
      rgba(10, 18, 22, 0.20);
  }
  .hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 18, 22, 0.6) 100%);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 100px var(--grid-px) 160px;
  }
  .hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.02em;
    max-width: 980px;
    margin-bottom: 28px;
  }
  .hero-title .accent { color: var(--ac); }
  .hero-sub {
    font-size: clamp(16px, 1.3vw, 19px);
    color: var(--ink-2);
    line-height: 1.55;
    max-width: 640px;
    margin-bottom: 44px;
  }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

  .hero-stats {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 3;
    padding: 32px 0;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent 0%, rgba(10, 18, 22, 0.6) 100%);
    backdrop-filter: blur(10px);
  }
  .hero-stats-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stat-item {
    padding: 0 24px;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .stat-item:first-child { border-left: none; padding-left: 0; }
  .stat-item .stat-value {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .stat-item .stat-value .plus { color: var(--ac); margin-left: 2px; }
  .stat-item .stat-label {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
  }

  /* ============================================================
     ОБЩИЕ СЕКЦИИ
     ============================================================ */
  section.block {
    padding: var(--section-py) 0;
    position: relative;
  }
  section.block.alt { background: var(--bg-2); }
  .block-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
  }
  .section-head {
    margin-bottom: 48px;
    max-width: 760px;
  }
  .section-title {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .section-title .accent { color: var(--ac); }
  .section-sub {
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--ink-2);
    line-height: 1.6;
    max-width: 640px;
  }

  /* ============================================================
     БЛОК — КЛЮЧЕВЫЕ КОМПЕТЕНЦИИ
     6 карточек в сетке 3×2 с line-style SVG-иконками
     ============================================================ */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .service-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px 32px 32px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
  }
  .service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color 0.25s ease;
    pointer-events: none;
  }
  .service-card:hover {
    background: var(--bg-3);
    transform: translateY(-3px);
  }
  .service-card:hover::after { border-color: var(--ac); }
  .service-card .ico {
    width: 64px; height: 64px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    transition: background 0.25s ease;
  }
  .service-card:hover .ico { background: rgba(30, 200, 200, 0.18); }
  .service-card .ico svg {
    width: 32px; height: 32px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.005em;
  }
  .service-card p {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.6;
  }

  /* ============================================================
     БЛОК — ПРОЕКТЫ
     ============================================================ */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .project-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
    cursor: pointer;
  }
  .project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(30, 200, 200, 0.4);
  }
  .project-photo {
    aspect-ratio: 16/10;
    background-color: var(--bg-3);
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
  }
  .project-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 18, 22, 0.10) 0%, rgba(10, 18, 22, 0.55) 100%);
    transition: background 0.3s ease;
  }
  .project-card:hover .project-photo {
    transform: scale(1.04);
  }
  .project-card:hover .project-photo::after {
    background: linear-gradient(180deg, rgba(10, 18, 22, 0) 0%, rgba(10, 18, 22, 0.4) 100%);
  }
  .project-body { padding: 20px 24px 24px; }
  .project-meta {
    font-size: 12px;
    color: var(--ac);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  .project-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.005em;
  }
  .project-body p {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.5;
  }

  /* ============================================================
     CTA-БАННЕР С DOT-КАРТОЙ РОССИИ
     Карта живёт по центру/справа как фоновая графика,
     текст слева и кнопка справа лежат поверх неё.
     ============================================================ */
  .map-cta {
    margin-top: 48px;
    background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 40px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    /* Явно задаём цвет ссылки белым (включая :visited), чтобы заголовок
       внутри не уходил в дефолтный фиолетовый «нажатой ссылки». */
    color: var(--ink);
  }
  .map-cta:visited,
  .map-cta:active,
  .map-cta:focus { color: var(--ink); }
  .map-cta-img {
    position: absolute;
    right: -4%;
    top: 50%;
    transform: translateY(-50%);
    width: 62%;
    max-width: 780px;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    z-index: 0;
    /* screen "выбивает" тёмный фон исходного PNG — остаются только
       светящиеся бирюзовые контуры карты, точки и линии сети. */
    mix-blend-mode: screen;
    opacity: 0.95;
    mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
  }

  .map-cta .text {
    position: relative;
    z-index: 2;
    max-width: 540px;
  }
  .map-cta .text small {
    font-size: 12px;
    color: var(--ac);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
  }
  .map-cta .text h3 {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: var(--ink);
  }

  /* Кнопка карты — бирюзовая полупрозрачная заливка + обводка (по референсу) */
  .map-cta-btn {
    position: relative;
    z-index: 2;
    padding: 16px 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    background: rgba(30, 200, 200, 0.15);
    border: 1.5px solid var(--ac);
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .map-cta-btn:hover {
    background: rgba(30, 200, 200, 0.28);
    box-shadow: 0 8px 24px rgba(30, 200, 200, 0.25);
  }
  .map-cta-btn .arrow { transition: transform 0.2s; }
  .map-cta-btn:hover .arrow { transform: translateX(3px); }

  /* ============================================================
     БЛОК — О КОМПАНИИ (3D-логотип + текст + цифры)
     ============================================================ */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
  }
  .about-logo-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 460px;
    margin: 0 auto;
    perspective: 1200px;
  }

  .about-logo-inner {
    position: relative;
    width: 100%; height: 100%;
    transform-style: preserve-3d;
  }
  .about-glow {
    position: absolute;
    inset: -15%;
    background: radial-gradient(
      circle at center,
      var(--ac-glow) 0%,
      rgba(30, 200, 200, 0.08) 30%,
      transparent 65%
    );
    filter: blur(10px);
    pointer-events: none;
    transform: translateZ(-100px);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .about-logo-stage:hover .about-glow {
    transform: translateZ(-80px) scale(1.2);
  }
  .about-logo-svg-wrap {
    position: absolute;
    inset: 0;
    transform: translateZ(40px);
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.6));
  }
  .about-logo-svg-wrap svg {
    width: 100%; height: 100%;
    display: block;
    overflow: visible;
  }
  .about-logo-svg-wrap .seg {
    fill: var(--ac);
    transition:
      transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
      fill 0.4s ease;
  }
  .about-logo-stage:hover .seg {
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
    transition-delay: var(--delay);
    fill: var(--ac-2);
  }

  .about-text h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
  }
  .about-text p {
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 16px;
  }
  /* Чипы под текстом «О компании» — направления работы */
  .about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    transition: all 0.2s ease;
  }
  .chip:hover {
    border-color: var(--ac);
    background: var(--ac-tint);
  }
  .chip svg {
    width: 18px;
    height: 18px;
    stroke: var(--ac);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
  }

  /* ============================================================
     БЛОК — ЗАКАЗЧИКИ И ПАРТНЁРЫ
     ============================================================ */
  .clients-section h3.sub-h {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin: 0 0 18px;
    font-weight: 600;
  }
  .logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-2);
    margin-bottom: 40px;
  }
  .logo-cell {
    padding: 30px 16px;
    text-align: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
  }
  .logo-cell:nth-child(6n) { border-right: none; }
  .logo-cell:nth-last-child(-n+6) { border-bottom: none; }
  .logo-cell:hover {
    color: var(--ac);
    background: rgba(255, 255, 255, 0.02);
  }
  .logo-cell em {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: var(--ink-4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
    font-weight: 500;
  }

  /* ============================================================
     БЛОК — ЛИЦЕНЗИИ (вертикальный A4-формат под скан документа)
     ============================================================ */
  .licenses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .license-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.25s ease;
  }
  .license-card:hover {
    border-color: var(--ac);
    transform: translateY(-3px);
  }
  /* «Лист» А4 — вертикальная ориентация, пропорции близкие к 1:1.414.
     Используем padding-bottom-хак для надёжного aspect-ratio в Grid.
     Контент позиционируется через абсолютные ::before/::after. */
  .license-sheet {
    width: 100%;
    padding-bottom: 141.4%; /* A4 portrait 1:√2 */
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%),
      var(--bg-3);
    border: 1px solid var(--line-2);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }
  /* Текстовая часть забирает остаток высоты карточки — все карточки
     выровнены и низом, и положением листа. */
  .license-text {
    flex: 1 1 auto;
    min-height: 70px;
  }
  /* Имитация шапки документа сверху */
  .license-sheet::before {
    content: '';
    position: absolute;
    top: 10%; left: 14%; right: 14%;
    height: 2px;
    background: var(--ink-4);
    opacity: 0.4;
    box-shadow:
      0 8px 0 0 rgba(122, 138, 146, 0.28),
      0 16px 0 0 rgba(122, 138, 146, 0.28),
      0 32px 0 0 rgba(122, 138, 146, 0.18),
      0 40px 0 0 rgba(122, 138, 146, 0.18);
  }
  /* Круглая печать в углу — намёк на гербовую печать */
  .license-sheet::after {
    content: '';
    position: absolute;
    bottom: 12%; right: 16%;
    width: 30px; height: 30px;
    border: 1.5px solid var(--ac);
    border-radius: 50%;
    opacity: 0.55;
    background: radial-gradient(circle, transparent 50%, var(--ac-tint) 60%);
  }
  .license-card .name {
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    letter-spacing: -0.005em;
  }
  .license-card .desc {
    font-size: 12px;
    color: var(--ink-3);
    margin-top: 2px;
  }

  /* ============================================================
     БЛОК — КОНТАКТЫ И ФОРМА (по референсу)
     Слева — большие info-блоки с квадратной иконкой,
     снизу — ссылки на документы.
     Справа — форма в скруглённой панели.
     ============================================================ */
  .contacts-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 60px;
    align-items: stretch;
  }
  /* Обе колонки явно растягиваются на полную высоту строки grid */
  .contacts-grid > * { align-self: stretch; }
  /* Левая колонка — flex с justify-content space-between:
     info-блоки сверху, документы внизу, между ними auto-space.
     Этот паттерн работает железно во всех браузерах. */
  .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
  }
  .info-rows-wrap {
    display: flex;
    flex-direction: column;
  }
  /* Большой info-блок: иконка-плашка + label/значение справа */
  .info-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .info-row:first-child { padding-top: 0; }
  .info-row .info-ico {
    width: 56px; height: 56px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .info-row .info-ico svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .info-row .info-content { flex: 1; min-width: 0; }
  .info-row .info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin-bottom: 4px;
    font-weight: 600;
  }
  .info-row .info-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.005em;
    line-height: 1.35;
  }
  .info-row .info-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
  }
  .info-row .info-value a:hover { color: var(--ac); }

  /* Ссылки на документы — отделены от info-блоков таким же отступом,
     как и между другими разделами (≈ как между info-row). */
  .contact-docs {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .contact-docs .docs-title {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 600;
    margin: 0 0 6px;
  }
  .doc-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    text-decoration: none;
    color: var(--ink-2);
    font-size: 15px;
    transition: color 0.2s ease;
  }
  .doc-link:hover { color: var(--ac); }
  .doc-link .doc-ico {
    width: 22px; height: 22px;
    color: var(--ac);
    flex-shrink: 0;
  }
  .doc-link .doc-ico svg {
    width: 100%; height: 100%;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
  }
  .doc-link .doc-name { flex: 1; }
  /* Кнопка-стрелка скачать справа — отдельный «кнопочный» элемент */
  .doc-link .doc-dl {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .doc-link:hover .doc-dl {
    color: var(--ac);
    border-color: var(--ac);
    background: var(--ac-tint);
  }
  .doc-link .doc-dl svg {
    width: 16px; height: 16px;
  }

  .contact-form {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 36px;
    display: flex;
    flex-direction: column;
  }
  /* Поле с textarea растягивается чтобы заполнить остаток высоты —
     кнопка submit всегда прижата к низу панели */
  .contact-form .field-grow { flex: 1; display: flex; flex-direction: column; }
  .contact-form .field-grow textarea { flex: 1; min-height: 100px; }
  .contact-form h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }
  .contact-form > p {
    color: var(--ink-3);
    margin-bottom: 24px;
    font-size: 15px;
  }
  .field { margin-bottom: 16px; }
  .field label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-4);
    margin-bottom: 6px;
  }
  .field input, .field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    color: var(--ink);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
  }
  .field input:focus, .field textarea:focus { border-color: var(--ac); }
  .field textarea { resize: vertical; min-height: 100px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .field-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--ink-3);
    margin: 6px 0 18px;
    cursor: pointer;
  }
  .field-check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--ac); }
  .field-check a { color: var(--ink-2); }

  /* ============================================================
     ПОДВАЛ
     ============================================================ */
  footer {
    background: #06090c;
    padding: 60px 0 32px;
    color: var(--ink-3);
    font-size: 14px;
    border-top: 1px solid var(--line);
  }
  .footer-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
  }
  .footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-4);
    margin-bottom: 16px;
    font-weight: 600;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
  }
  .footer-col a:hover { color: var(--ac); }
  .footer-brand {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
  }
  .footer-brand .mark {
    width: 40px; height: 40px;
    background: var(--ac);
    -webkit-mask: url('logo_silhouette.svg') center / contain no-repeat;
            mask: url('logo_silhouette.svg') center / contain no-repeat;
  }
  .footer-brand .name { font-weight: 700; color: var(--ink); font-size: 17px; }
  .footer-tagline {
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.55;
    max-width: 320px;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-4);
  }
  .footer-bottom a { color: var(--ink-4); text-decoration: none; }
  .footer-bottom a:hover { color: var(--ac); }

  /* ============================================================
     АДАПТИВ
     ============================================================ */
  @media (max-width: 1100px) {
    :root { --grid-px: 24px; }
    nav.main-nav { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .logos-grid { grid-template-columns: 1fr 1fr 1fr; }
    .logo-cell:nth-child(6n) { border-right: 1px solid var(--line); }
    .logo-cell:nth-child(3n) { border-right: none; }
    .licenses-grid { grid-template-columns: repeat(3, 1fr); }
    .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 700px) {
    .header-right .header-phone { display: none; }
    .services-grid, .projects-grid { grid-template-columns: 1fr; }
    .licenses-grid { grid-template-columns: 1fr 1fr; }
    .logos-grid { grid-template-columns: 1fr 1fr; }
    .logo-cell:nth-child(3n) { border-right: 1px solid var(--line); }
    .logo-cell:nth-child(2n) { border-right: none; }
    .hero-stats-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-item { padding: 0; border-left: none; }
    .stat-item:nth-child(n+3) { padding-top: 20px; border-top: 1px solid var(--line); }
    .about-numbers { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .map-cta { padding: 24px; flex-direction: column; align-items: flex-start; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
  }

  /* ============================================================
     СТРАНИЦА «КОНТАКТЫ» — специфичные стили
     ============================================================ */
  /* Активный пункт меню */
  nav.main-nav a.active {
    color: var(--ac);
    background: var(--ac-tint);
  }

  /* Компактный hero страницы (без видео) */
  .page-hero {
    position: relative;
    padding: 180px 0 80px;
    background:
      radial-gradient(ellipse at top right, rgba(30, 200, 200, 0.08) 0%, transparent 55%),
      radial-gradient(ellipse at bottom left, rgba(30, 200, 200, 0.05) 0%, transparent 50%),
      var(--bg);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
  }
  .page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    pointer-events: none;
  }
  .page-hero-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    position: relative;
    z-index: 2;
  }
  .page-hero .crumbs {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin-bottom: 24px;
    font-weight: 600;
  }
  .page-hero .crumbs a {
    color: var(--ink-3);
    text-decoration: none;
    transition: color 0.2s;
  }
  .page-hero .crumbs a:hover { color: var(--ac); }
  .page-hero .crumbs span { color: var(--ink); }
  .page-hero h1 {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.04;
    margin-bottom: 20px;
    max-width: 900px;
  }
  .page-hero h1 .accent { color: var(--ac); }
  .page-hero .lead {
    font-size: clamp(16px, 1.3vw, 20px);
    color: var(--ink-2);
    max-width: 640px;
    line-height: 1.55;
  }

  /* Большие info-карточки (4 в ряд) для блока «Как нас найти» */
  .contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .contact-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px 28px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 220px;
  }
  .contact-card:hover {
    border-color: var(--ac);
    transform: translateY(-3px);
  }
  .contact-card .cc-ico {
    width: 52px; height: 52px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .contact-card .cc-ico svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .contact-card .cc-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    font-weight: 600;
  }
  .contact-card .cc-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
    letter-spacing: -0.005em;
    margin-top: -8px;
  }
  .contact-card .cc-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
  }
  .contact-card .cc-value a:hover { color: var(--ac); }
  .contact-card .cc-extra {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: -10px;
  }

  /* Блок формы + сайдбар */
  .form-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
  }
  .form-aside {
    background: linear-gradient(135deg, rgba(30, 200, 200, 0.10), rgba(30, 200, 200, 0.02));
    border: 1px solid var(--ac);
    border-radius: 14px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .form-aside h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }
  .form-aside p {
    color: var(--ink-2);
    line-height: 1.6;
    font-size: 15px;
  }
  .form-aside-quick {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }
  .form-aside-quick .row {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
  }
  .form-aside-quick .row:hover { color: var(--ac); }
  .form-aside-quick .row svg {
    width: 22px; height: 22px;
    stroke: var(--ac);
    stroke-width: 1.8;
    fill: none;
    flex-shrink: 0;
  }
  .form-aside-quick .row .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-3);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
  }
  .form-aside-quick .row .val {
    font-size: 16px;
    letter-spacing: -0.005em;
  }

  /* Реквизиты компании */
  .requisites {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 40px 44px;
  }
  .requisites-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .requisites-head h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  .requisites-head .sub {
    font-size: 14px;
    color: var(--ink-3);
    margin-top: 4px;
  }
  .req-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 40px;
  }
  .req-item .req-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    font-weight: 600;
    margin-bottom: 8px;
  }
  .req-item .req-value {
    font-size: 16px;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.45;
    word-break: break-word;
  }
  .req-item.wide { grid-column: span 3; }
  .req-item.wide2 { grid-column: span 2; }

  /* Соцсети — иконки в ряд */
  .socials-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .social-link {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .social-link:hover {
    color: var(--ac);
    border-color: var(--ac);
    background: var(--ac-tint);
    transform: translateY(-2px);
  }
  .social-link svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Блок «Где мы находимся» — 2 колонки: текст+адрес слева, карта справа */
  .where-block {
    padding: 60px 0 80px;
  }
  .where-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 60px;
    align-items: stretch;
  }
  .where-title {
    font-size: clamp(36px, 4.6vw, 64px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    margin-bottom: 36px;
    max-width: 520px;
  }
  .where-title .accent { color: var(--ac); }
  .where-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
  }
  .where-lead {
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.6;
    max-width: 420px;
    margin-bottom: 36px;
  }
  .where-address {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.4;
    color: var(--ink);
    margin: 0 0 36px;
    max-width: 380px;
  }
  .where-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ink);
    transition: all 0.2s ease;
  }
  .arrow-link:hover {
    color: var(--ac);
    border-bottom-color: var(--ac);
    transform: translateX(2px);
  }
  .arrow-link svg {
    width: 16px; height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .where-map {
    position: relative;
    width: 100%;
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line);
    filter: invert(0.92) hue-rotate(180deg) saturate(0.85) brightness(0.95);
  }
  .where-map iframe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: 0;
  }

  /* Крупный блок «Звоните / Пишите / Соцсети» — 3 колонки.
     Горизонтальная черта снизу — отделяет контакты от реквизитов. */
  .big-contacts {
    padding: 60px 0 80px;
    border-bottom: 1px solid var(--line);
  }
  .big-contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .bc-item {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .bc-label {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
    font-weight: 500;
  }
  .bc-value {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.05;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
  }
  .bc-value:hover { color: var(--ac); }
  .bc-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .bc-socials .social-link {
    width: 56px; height: 56px;
    border-radius: 12px;
  }

  /* Адаптив страницы контактов */
  @media (max-width: 1100px) {
    .where-grid { grid-template-columns: 1fr; gap: 40px; }
    .where-map { min-height: 380px; }
    .big-contacts-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-grid { grid-template-columns: 1fr; }
    .req-grid { grid-template-columns: 1fr 1fr; }
    .req-item.wide { grid-column: span 2; }
    .req-item.wide2 { grid-column: span 2; }
  }
  @media (max-width: 700px) {
    .page-hero { padding: 130px 0 30px; }
    .where-block { padding: 30px 0 40px; }
    .where-title { font-size: 36px; }
    .where-address { font-size: 17px; }
    .where-map { min-height: 320px; }
    .big-contacts { padding: 50px 0; }
    .requisites { padding: 28px 22px; }
    .req-grid { grid-template-columns: 1fr; }
    .req-item.wide, .req-item.wide2 { grid-column: span 1; }
  }

/* ============================================================
   CSS из about.html (блок #1)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    /* Тёмная палитра */
    --bg: #0a1216;
    --bg-2: #0f1820;
    --bg-3: #16222b;

    /* Текст */
    --ink: #f4f6f7;
    --ink-2: #b8c4ca;
    --ink-3: #7a8a92;
    --ink-4: #4d5a62;

    /* ============================================================
       ГЛАВНЫЙ АКЦЕНТНЫЙ ЦВЕТ САЙТА — управляется одной переменной.
       Сейчас бирюзовый (по итогам обсуждения с Ильёй 18.05.2026).
       Если руководство СТК захочет вернуть фирменный синий —
       поменяйте значение ниже на #07579D (или любое другое).
       ============================================================ */
    --ac: #1ec8c8;
    --ac-2: #2dd9d9;          /* hover-вариант, чуть ярче */
    --ac-glow: rgba(30, 200, 200, 0.35);
    --ac-tint: rgba(30, 200, 200, 0.10);

    /* Фирменные цвета — оставлены на случай вторичных акцентов */
    --brand: #07579D;
    --accent-green: #ABC45E;

    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);

    /* Сетка контента — фиксированная как в первоначальном V1 */
    --grid-max: 1320px;
    --grid-px: 40px;
    --section-py: clamp(64px, 7vw, 110px);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
  }

  /* ============================================================
     HEADER
     ============================================================ */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 12px 0 4px;   /* асимметрично: сверху обычный, снизу почти 0 */
    transition: all 0.3s ease;
  }
  header.scrolled {
    background: rgba(10, 18, 22, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 10px 0 4px;
  }
  /* Лого чуть меньше — но шрифт меню оставлен оригинальный */
  .logo-mark { width: 36px; height: 36px; }
  .logo-name { font-size: 16px; }
  .header-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
  }
  .logo-mark {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background-color: var(--ac);
    -webkit-mask: url('logo_silhouette.svg') center / contain no-repeat;
            mask: url('logo_silhouette.svg') center / contain no-repeat;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: filter 0.25s ease, background-color 0.25s ease;
  }
  .logo:hover .logo-mark {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 16px var(--ac-glow));
  }
  .logo-name {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.015em;
  }

  nav.main-nav { display: flex; gap: 4px; }
  nav.main-nav a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
  }
  nav.main-nav a:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
  }

  /* Правая часть шапки — телефон + кнопка */
  .header-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .header-phone {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: color 0.2s;
    white-space: nowrap;
  }
  .header-phone:hover { color: var(--ac); }
  /* Кнопка в шапке — чуть ниже по высоте, компактнее */
  .header-right .btn { padding: 9px 20px; font-size: 13.5px; }

  /* ============================================================
     КНОПКИ
     ============================================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--ac);
    color: #051517;
  }
  .btn-primary:hover {
    background: var(--ac-2);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px var(--ac-glow);
  }
  .btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
  }
  .btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.5);
  }
  .btn-ghost {
    background: transparent;
    color: var(--ac);
    border: 1.5px solid transparent;
    padding: 8px 0;
  }
  .btn-ghost:hover { color: var(--ac-2); }
  .btn-lg { padding: 16px 30px; font-size: 15px; }
  .btn .arrow { transition: transform 0.2s; }
  .btn:hover .arrow { transform: translateX(3px); }

  /* ============================================================
     HERO — полный экран с фоновым видео (4 видео сменяются)
     ============================================================ */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(180deg, rgba(10, 18, 22, 0.80) 0%, rgba(10, 18, 22, 0.50) 50%, rgba(10, 18, 22, 0.95) 100%),
      linear-gradient(90deg, rgba(10, 18, 22, 0.65) 0%, rgba(10, 18, 22, 0.20) 60%, rgba(10, 18, 22, 0.40) 100%),
      rgba(10, 18, 22, 0.20);
  }
  .hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 18, 22, 0.6) 100%);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 100px var(--grid-px) 160px;
  }
  .hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.02em;
    max-width: 980px;
    margin-bottom: 28px;
  }
  .hero-title .accent { color: var(--ac); }
  .hero-sub {
    font-size: clamp(16px, 1.3vw, 19px);
    color: var(--ink-2);
    line-height: 1.55;
    max-width: 640px;
    margin-bottom: 44px;
  }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

  .hero-stats {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 3;
    padding: 32px 0;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent 0%, rgba(10, 18, 22, 0.6) 100%);
    backdrop-filter: blur(10px);
  }
  .hero-stats-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stat-item {
    padding: 0 24px;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .stat-item:first-child { border-left: none; padding-left: 0; }
  .stat-item .stat-value {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .stat-item .stat-value .plus { color: var(--ac); margin-left: 2px; }
  .stat-item .stat-label {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
  }

  /* ============================================================
     ОБЩИЕ СЕКЦИИ
     ============================================================ */
  section.block {
    padding: var(--section-py) 0;
    position: relative;
  }
  section.block.alt { background: var(--bg-2); }
  .block-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
  }
  .section-head {
    margin-bottom: 48px;
    max-width: 760px;
  }
  .section-title {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .section-title .accent { color: var(--ac); }
  .section-sub {
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--ink-2);
    line-height: 1.6;
    max-width: 640px;
  }

  /* ============================================================
     БЛОК — КЛЮЧЕВЫЕ КОМПЕТЕНЦИИ
     6 карточек в сетке 3×2 с line-style SVG-иконками
     ============================================================ */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .service-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px 32px 32px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
  }
  .service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color 0.25s ease;
    pointer-events: none;
  }
  .service-card:hover {
    background: var(--bg-3);
    transform: translateY(-3px);
  }
  .service-card:hover::after { border-color: var(--ac); }
  .service-card .ico {
    width: 64px; height: 64px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    transition: background 0.25s ease;
  }
  .service-card:hover .ico { background: rgba(30, 200, 200, 0.18); }
  .service-card .ico svg {
    width: 32px; height: 32px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.005em;
  }
  .service-card p {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.6;
  }

  /* ============================================================
     БЛОК — ПРОЕКТЫ
     ============================================================ */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .project-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
    cursor: pointer;
  }
  .project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(30, 200, 200, 0.4);
  }
  .project-photo {
    aspect-ratio: 16/10;
    background-color: var(--bg-3);
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
  }
  .project-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 18, 22, 0.10) 0%, rgba(10, 18, 22, 0.55) 100%);
    transition: background 0.3s ease;
  }
  .project-card:hover .project-photo {
    transform: scale(1.04);
  }
  .project-card:hover .project-photo::after {
    background: linear-gradient(180deg, rgba(10, 18, 22, 0) 0%, rgba(10, 18, 22, 0.4) 100%);
  }
  .project-body { padding: 20px 24px 24px; }
  .project-meta {
    font-size: 12px;
    color: var(--ac);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  .project-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.005em;
  }
  .project-body p {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.5;
  }

  /* ============================================================
     CTA-БАННЕР С DOT-КАРТОЙ РОССИИ
     Карта живёт по центру/справа как фоновая графика,
     текст слева и кнопка справа лежат поверх неё.
     ============================================================ */
  .map-cta {
    margin-top: 48px;
    background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 40px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    /* Явно задаём цвет ссылки белым (включая :visited), чтобы заголовок
       внутри не уходил в дефолтный фиолетовый «нажатой ссылки». */
    color: var(--ink);
  }
  .map-cta:visited,
  .map-cta:active,
  .map-cta:focus { color: var(--ink); }
  .map-cta-img {
    position: absolute;
    right: -4%;
    top: 50%;
    transform: translateY(-50%);
    width: 62%;
    max-width: 780px;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    z-index: 0;
    /* screen "выбивает" тёмный фон исходного PNG — остаются только
       светящиеся бирюзовые контуры карты, точки и линии сети. */
    mix-blend-mode: screen;
    opacity: 0.95;
    mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
  }

  .map-cta .text {
    position: relative;
    z-index: 2;
    max-width: 540px;
  }
  .map-cta .text small {
    font-size: 12px;
    color: var(--ac);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
  }
  .map-cta .text h3 {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: var(--ink);
  }

  /* Кнопка карты — бирюзовая полупрозрачная заливка + обводка (по референсу) */
  .map-cta-btn {
    position: relative;
    z-index: 2;
    padding: 16px 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    background: rgba(30, 200, 200, 0.15);
    border: 1.5px solid var(--ac);
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .map-cta-btn:hover {
    background: rgba(30, 200, 200, 0.28);
    box-shadow: 0 8px 24px rgba(30, 200, 200, 0.25);
  }
  .map-cta-btn .arrow { transition: transform 0.2s; }
  .map-cta-btn:hover .arrow { transform: translateX(3px); }

  /* ============================================================
     БЛОК — О КОМПАНИИ (3D-логотип + текст + цифры)
     ============================================================ */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
  }
  .about-logo-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 460px;
    margin: 0 auto;
    perspective: 1200px;
  }

  .about-logo-inner {
    position: relative;
    width: 100%; height: 100%;
    transform-style: preserve-3d;
  }
  .about-glow {
    position: absolute;
    inset: -15%;
    background: radial-gradient(
      circle at center,
      var(--ac-glow) 0%,
      rgba(30, 200, 200, 0.08) 30%,
      transparent 65%
    );
    filter: blur(10px);
    pointer-events: none;
    transform: translateZ(-100px);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .about-logo-stage:hover .about-glow {
    transform: translateZ(-80px) scale(1.2);
  }
  .about-logo-svg-wrap {
    position: absolute;
    inset: 0;
    transform: translateZ(40px);
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.6));
  }
  .about-logo-svg-wrap svg {
    width: 100%; height: 100%;
    display: block;
    overflow: visible;
  }
  .about-logo-svg-wrap .seg {
    fill: var(--ac);
    transition:
      transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
      fill 0.4s ease;
  }
  .about-logo-stage:hover .seg {
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
    transition-delay: var(--delay);
    fill: var(--ac-2);
  }

  .about-text h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
  }
  .about-text p {
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 16px;
  }
  /* Чипы под текстом «О компании» — направления работы */
  .about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    transition: all 0.2s ease;
  }
  .chip:hover {
    border-color: var(--ac);
    background: var(--ac-tint);
  }
  .chip svg {
    width: 18px;
    height: 18px;
    stroke: var(--ac);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
  }

  /* ============================================================
     БЛОК — ЗАКАЗЧИКИ И ПАРТНЁРЫ
     ============================================================ */
  .clients-section h3.sub-h {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin: 0 0 18px;
    font-weight: 600;
  }
  .logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-2);
    margin-bottom: 40px;
  }
  .logo-cell {
    padding: 30px 16px;
    text-align: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
  }
  .logo-cell:nth-child(6n) { border-right: none; }
  .logo-cell:nth-last-child(-n+6) { border-bottom: none; }
  .logo-cell:hover {
    color: var(--ac);
    background: rgba(255, 255, 255, 0.02);
  }
  .logo-cell em {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: var(--ink-4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
    font-weight: 500;
  }

  /* ============================================================
     БЛОК — ЛИЦЕНЗИИ (вертикальный A4-формат под скан документа)
     ============================================================ */
  /* Слайдер лицензий — 4 видимых, остальные скроллятся */
  .licenses-wrap {
    position: relative;
  }
  .licenses-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 20px) / 4);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* скрываем скроллбар — навигация через стрелки */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* запас сверху/снизу — чтобы hover-эффект приподнимания не обрезался */
    padding: 8px 0 12px;
    margin: -8px 0 -12px;
  }
  .licenses-grid::-webkit-scrollbar { display: none; }
  .license-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
  }
  .license-card:hover {
    border-color: var(--ac);
    transform: translateY(-3px);
  }
  .license-sheet {
    width: 100%;
    padding-bottom: 141.4%;
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }
  .license-sheet img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }
  .license-text {
    flex: 1 1 auto;
    min-height: 70px;
  }
  .licenses-nav {
    position: absolute;
    top: -52px;
    right: 0;
    display: flex;
    gap: 8px;
  }
  .licenses-nav button {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.2s;
  }
  .licenses-nav button:hover { border-color: var(--ac); color: var(--ac); }
  .licenses-nav button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .license-card .name {
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    letter-spacing: -0.005em;
  }
  .license-card .desc {
    font-size: 12px;
    color: var(--ink-3);
    margin-top: 2px;
  }

  /* ============================================================
     БЛОК — КОНТАКТЫ И ФОРМА (по референсу)
     Слева — большие info-блоки с квадратной иконкой,
     снизу — ссылки на документы.
     Справа — форма в скруглённой панели.
     ============================================================ */
  .contacts-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 60px;
    align-items: stretch;
  }
  /* Обе колонки явно растягиваются на полную высоту строки grid */
  .contacts-grid > * { align-self: stretch; }
  /* Левая колонка — flex с justify-content space-between:
     info-блоки сверху, документы внизу, между ними auto-space.
     Этот паттерн работает железно во всех браузерах. */
  .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
  }
  .info-rows-wrap {
    display: flex;
    flex-direction: column;
  }
  /* Большой info-блок: иконка-плашка + label/значение справа */
  .info-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .info-row:first-child { padding-top: 0; }
  .info-row .info-ico {
    width: 56px; height: 56px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .info-row .info-ico svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .info-row .info-content { flex: 1; min-width: 0; }
  .info-row .info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin-bottom: 4px;
    font-weight: 600;
  }
  .info-row .info-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.005em;
    line-height: 1.35;
  }
  .info-row .info-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
  }
  .info-row .info-value a:hover { color: var(--ac); }

  /* Ссылки на документы — отделены от info-блоков таким же отступом,
     как и между другими разделами (≈ как между info-row). */
  .contact-docs {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .contact-docs .docs-title {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 600;
    margin: 0 0 6px;
  }
  .doc-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    text-decoration: none;
    color: var(--ink-2);
    font-size: 15px;
    transition: color 0.2s ease;
  }
  .doc-link:hover { color: var(--ac); }
  .doc-link .doc-ico {
    width: 22px; height: 22px;
    color: var(--ac);
    flex-shrink: 0;
  }
  .doc-link .doc-ico svg {
    width: 100%; height: 100%;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
  }
  .doc-link .doc-name { flex: 1; }
  /* Кнопка-стрелка скачать справа — отдельный «кнопочный» элемент */
  .doc-link .doc-dl {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .doc-link:hover .doc-dl {
    color: var(--ac);
    border-color: var(--ac);
    background: var(--ac-tint);
  }
  .doc-link .doc-dl svg {
    width: 16px; height: 16px;
  }

  .contact-form {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 36px;
    display: flex;
    flex-direction: column;
  }
  /* Поле с textarea растягивается чтобы заполнить остаток высоты —
     кнопка submit всегда прижата к низу панели */
  .contact-form .field-grow { flex: 1; display: flex; flex-direction: column; }
  .contact-form .field-grow textarea { flex: 1; min-height: 100px; }
  .contact-form h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }
  .contact-form > p {
    color: var(--ink-3);
    margin-bottom: 24px;
    font-size: 15px;
  }
  .field { margin-bottom: 16px; }
  .field label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-4);
    margin-bottom: 6px;
  }
  .field input, .field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    color: var(--ink);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
  }
  .field input:focus, .field textarea:focus { border-color: var(--ac); }
  .field textarea { resize: vertical; min-height: 100px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .field-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--ink-3);
    margin: 6px 0 18px;
    cursor: pointer;
  }
  .field-check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--ac); }
  .field-check a { color: var(--ink-2); }

  /* ============================================================
     ПОДВАЛ
     ============================================================ */
  footer {
    background: #06090c;
    padding: 60px 0 32px;
    color: var(--ink-3);
    font-size: 14px;
    border-top: 1px solid var(--line);
  }
  .footer-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
  }
  .footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-4);
    margin-bottom: 16px;
    font-weight: 600;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
  }
  .footer-col a:hover { color: var(--ac); }
  .footer-brand {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
  }
  .footer-brand .mark {
    width: 40px; height: 40px;
    background: var(--ac);
    -webkit-mask: url('logo_silhouette.svg') center / contain no-repeat;
            mask: url('logo_silhouette.svg') center / contain no-repeat;
  }
  .footer-brand .name { font-weight: 700; color: var(--ink); font-size: 17px; }
  .footer-tagline {
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.55;
    max-width: 320px;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-4);
  }
  .footer-bottom a { color: var(--ink-4); text-decoration: none; }
  .footer-bottom a:hover { color: var(--ac); }

  /* ============================================================
     АДАПТИВ
     ============================================================ */
  @media (max-width: 1100px) {
    :root { --grid-px: 24px; }
    nav.main-nav { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .logos-grid { grid-template-columns: 1fr 1fr 1fr; }
    .logo-cell:nth-child(6n) { border-right: 1px solid var(--line); }
    .logo-cell:nth-child(3n) { border-right: none; }
    .licenses-grid { grid-template-columns: repeat(3, 1fr); }
    .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 700px) {
    .header-right .header-phone { display: none; }
    .services-grid, .projects-grid { grid-template-columns: 1fr; }
    .licenses-grid { grid-template-columns: 1fr 1fr; }
    .logos-grid { grid-template-columns: 1fr 1fr; }
    .logo-cell:nth-child(3n) { border-right: 1px solid var(--line); }
    .logo-cell:nth-child(2n) { border-right: none; }
    .hero-stats-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-item { padding: 0; border-left: none; }
    .stat-item:nth-child(n+3) { padding-top: 20px; border-top: 1px solid var(--line); }
    .about-numbers { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .map-cta { padding: 24px; flex-direction: column; align-items: flex-start; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
  }

  /* ============================================================
     СТРАНИЦА «КОНТАКТЫ» — специфичные стили
     ============================================================ */
  /* Активный пункт меню */
  nav.main-nav a.active {
    color: var(--ac);
    background: var(--ac-tint);
  }

  /* Компактный hero страницы (без видео) */
  .page-hero {
    position: relative;
    padding: 180px 0 80px;
    background:
      radial-gradient(ellipse at top right, rgba(30, 200, 200, 0.08) 0%, transparent 55%),
      radial-gradient(ellipse at bottom left, rgba(30, 200, 200, 0.05) 0%, transparent 50%),
      var(--bg);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
  }
  .page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    pointer-events: none;
  }
  .page-hero-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    position: relative;
    z-index: 2;
  }
  .page-hero .crumbs {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin-bottom: 24px;
    font-weight: 600;
  }
  .page-hero .crumbs a {
    color: var(--ink-3);
    text-decoration: none;
    transition: color 0.2s;
  }
  .page-hero .crumbs a:hover { color: var(--ac); }
  .page-hero .crumbs span { color: var(--ink); }
  .page-hero h1 {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.04;
    margin-bottom: 20px;
    max-width: 900px;
  }
  .page-hero h1 .accent { color: var(--ac); }
  .page-hero .lead {
    font-size: clamp(16px, 1.3vw, 20px);
    color: var(--ink-2);
    max-width: 640px;
    line-height: 1.55;
  }

  /* Большие info-карточки (4 в ряд) для блока «Как нас найти» */
  .contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .contact-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px 28px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 220px;
  }
  .contact-card:hover {
    border-color: var(--ac);
    transform: translateY(-3px);
  }
  .contact-card .cc-ico {
    width: 52px; height: 52px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .contact-card .cc-ico svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .contact-card .cc-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    font-weight: 600;
  }
  .contact-card .cc-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
    letter-spacing: -0.005em;
    margin-top: -8px;
  }
  .contact-card .cc-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
  }
  .contact-card .cc-value a:hover { color: var(--ac); }
  .contact-card .cc-extra {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: -10px;
  }

  /* Блок формы + сайдбар */
  .form-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
  }
  .form-aside {
    background: linear-gradient(135deg, rgba(30, 200, 200, 0.10), rgba(30, 200, 200, 0.02));
    border: 1px solid var(--ac);
    border-radius: 14px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .form-aside h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }
  .form-aside p {
    color: var(--ink-2);
    line-height: 1.6;
    font-size: 15px;
  }
  .form-aside-quick {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }
  .form-aside-quick .row {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
  }
  .form-aside-quick .row:hover { color: var(--ac); }
  .form-aside-quick .row svg {
    width: 22px; height: 22px;
    stroke: var(--ac);
    stroke-width: 1.8;
    fill: none;
    flex-shrink: 0;
  }
  .form-aside-quick .row .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-3);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
  }
  .form-aside-quick .row .val {
    font-size: 16px;
    letter-spacing: -0.005em;
  }

  /* Реквизиты компании */
  .requisites {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 40px 44px;
  }
  .requisites-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .requisites-head h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  .requisites-head .sub {
    font-size: 14px;
    color: var(--ink-3);
    margin-top: 4px;
  }
  .req-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 40px;
  }
  .req-item .req-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    font-weight: 600;
    margin-bottom: 8px;
  }
  .req-item .req-value {
    font-size: 16px;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.45;
    word-break: break-word;
  }
  .req-item.wide { grid-column: span 3; }
  .req-item.wide2 { grid-column: span 2; }

  /* Соцсети — иконки в ряд */
  .socials-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .social-link {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .social-link:hover {
    color: var(--ac);
    border-color: var(--ac);
    background: var(--ac-tint);
    transform: translateY(-2px);
  }
  .social-link svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Блок «Где мы находимся» — 2 колонки: текст+адрес слева, карта справа */
  .where-block {
    padding: 60px 0 80px;
  }
  .where-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 60px;
    align-items: stretch;
  }
  .where-title {
    font-size: clamp(36px, 4.6vw, 64px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    margin-bottom: 36px;
    max-width: 520px;
  }
  .where-title .accent { color: var(--ac); }
  .where-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
  }
  .where-lead {
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.6;
    max-width: 420px;
    margin-bottom: 36px;
  }
  .where-address {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.4;
    color: var(--ink);
    margin: 0 0 36px;
    max-width: 380px;
  }
  .where-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ink);
    transition: all 0.2s ease;
  }
  .arrow-link:hover {
    color: var(--ac);
    border-bottom-color: var(--ac);
    transform: translateX(2px);
  }
  .arrow-link svg {
    width: 16px; height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .where-map {
    position: relative;
    width: 100%;
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line);
    filter: invert(0.92) hue-rotate(180deg) saturate(0.85) brightness(0.95);
  }
  .where-map iframe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: 0;
  }

  /* Крупный блок «Звоните / Пишите / Соцсети» — 3 колонки.
     Горизонтальная черта снизу — отделяет контакты от реквизитов. */
  .big-contacts {
    padding: 60px 0 80px;
    border-bottom: 1px solid var(--line);
  }
  .big-contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .bc-item {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .bc-label {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
    font-weight: 500;
  }
  .bc-value {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.05;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
  }
  .bc-value:hover { color: var(--ac); }
  .bc-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .bc-socials .social-link {
    width: 56px; height: 56px;
    border-radius: 12px;
  }

  /* Адаптив страницы контактов */
  @media (max-width: 1100px) {
    .where-grid { grid-template-columns: 1fr; gap: 40px; }
    .where-map { min-height: 380px; }
    .big-contacts-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-grid { grid-template-columns: 1fr; }
    .req-grid { grid-template-columns: 1fr 1fr; }
    .req-item.wide { grid-column: span 2; }
    .req-item.wide2 { grid-column: span 2; }
  }
  @media (max-width: 700px) {
    .page-hero { padding: 130px 0 30px; }
    .where-block { padding: 30px 0 40px; }
    .where-title { font-size: 36px; }
    .where-address { font-size: 17px; }
    .where-map { min-height: 320px; }
    .big-contacts { padding: 50px 0; }
    .requisites { padding: 28px 22px; }
    .req-grid { grid-template-columns: 1fr; }
    .req-item.wide, .req-item.wide2 { grid-column: span 1; }
  }

  /* ============================================================
     СТРАНИЦА «О КОМПАНИИ» — специфичные стили
     ============================================================ */
  /* Мелкий kicker «о компании» — просто текст бирюзовым, без рамки */
  .ap-kicker {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ac);
    font-weight: 700;
    margin-bottom: 36px;
  }

  /* Hero страницы «О компании»: левый столбец с текстом и фичами,
     правый — фото с плавным затуханием левого края в тёмный фон.
     Фото начинается НИЖЕ шапки (top отступ под фиксированной шапкой). */
  .ap-hero {
    position: relative;
    padding: 140px 0 70px;
    overflow: hidden;
    min-height: 620px;
  }
  .ap-hero-photo {
    position: absolute;
    top: 110px;        /* не заходит под шапку */
    right: 0;
    bottom: 70px;      /* по нижнему краю контента */
    width: 52%;
    background-image: url('office.png');
    background-size: cover;
    background-position: center;
    border-radius: 6px 0 0 6px;
    /* Подгоняем цветовую температуру фото к тёмно-бирюзовому фону секции —
       чуть приглушаем насыщенность и смещаем оттенок в холодный сине-зелёный. */
    filter: brightness(0.88) saturate(0.78) hue-rotate(-8deg);
    /* Плавное исчезновение левого края + лёгкая виньетка справа,
       чтобы фото мягко сливалось с тёмной стеной. */
    mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
  }
  /* Тонировочный слой поверх фото — окрашивает фото в цвет фона,
     левый край сильнее (под цвет стены), правый — почти прозрачный. */
  .ap-hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(10, 18, 22, 0.55) 25%, rgba(10, 18, 22, 0.12) 100%),
      linear-gradient(180deg, rgba(10, 18, 22, 0.20), rgba(10, 18, 22, 0.30));
    pointer-events: none;
  }
  .ap-hero-text {
    position: relative;
    z-index: 2;
    /* Без max-width — отдельные дочерние элементы (h1, lead, features)
       сами задают свои ограничения. Это нужно, чтобы блок фич мог быть
       шире текстовой колонки и заходил на фото. */
  }
  .ap-hero h1 {
    font-size: clamp(36px, 4.6vw, 60px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.04;
    margin-bottom: 28px;
    max-width: 540px;
  }
  .ap-hero h1 .accent { color: var(--ac); }
  .ap-hero .lead {
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.65;
    max-width: 470px;
  }

  /* 3 фичи внутри hero — inline в один ряд, без карточек.
     Зона шире текстовой колонки и слегка заходит на фото справа —
     заголовки идут в 2 строки, перекрытие с фото даёт красивый эффект. */
  .ap-features-inline {
    display: flex;
    gap: 36px;
    margin-top: 56px;
    flex-wrap: nowrap;
    max-width: 820px;     /* шире, чем текстовая колонка (470px) */
    position: relative;
    z-index: 3;            /* поверх фото */
  }
  .ap-fi {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1 1 0;
    min-width: 0;
    max-width: 240px;
  }
  .ap-fi-ico {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--ac-tint);
    border: 1px solid var(--ac);
    color: var(--ac);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .ap-fi-ico svg {
    width: 18px; height: 18px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .ap-fi-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: -0.005em;
    white-space: nowrap;     /* заголовок строго в одну строку */
  }
  .ap-fi-text p {
    font-size: 12.5px;
    color: var(--ink-3);
    line-height: 1.5;
    margin: 0;
    max-width: 170px;        /* описание переносится на 2 строки */
  }

  /* «О компании» — фото слева + текст и цифры справа */
  .ap-about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
  }
  .ap-about-photo {
    aspect-ratio: 4/3;
    width: 100%;
    border-radius: 16px;
    background-image: url('company.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
  }
  /* Никаких декоративных рамок и градиентных «виньеток» — фото идёт чисто. */
  .ap-about-text h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }
  .ap-about-text p {
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 14px;
  }
  .ap-stats {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .ap-stat .v {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: var(--ac);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
  }
  .ap-stat .l {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
  }

  /* Компетенции и отрасли — сетка 4 кол × 2 ряда с областями.
     Высокие карточки (dev, ind, cta) растягиваются на 2 ряда. */
  .ap-comp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.15fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
      "dev sys ind cta"
      "dev cons ind cta";
    gap: 16px;
    min-height: 440px;
  }
  .ac-dev  { grid-area: dev; }
  .ac-sys  { grid-area: sys; }
  .ac-cons { grid-area: cons; }
  .ac-ind  { grid-area: ind; }
  .ac-cta  { grid-area: cta; }
  .ap-comp-card {
    background: var(--bg-2);
    border-radius: 14px;
    padding: 26px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .ap-comp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  }
  .ap-comp-card.span2 { grid-column: span 2; }
  .ap-comp-card.bg-photo {
    background-size: cover;
    background-position: center;
  }
  .ap-comp-card.bg-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(10,18,22,0.55) 0%, rgba(10,18,22,0.92) 100%);
    z-index: 1;
  }
  .ap-comp-card > * { position: relative; z-index: 2; }
  .ap-comp-card h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }
  .ap-comp-card .arrow-circle {
    width: 36px; height: 36px;
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    border-radius: 50%;
    display: grid;
    place-items: center;
    align-self: flex-start;     /* стрелка внизу СЛЕВА, как в референсе */
    transition: all 0.2s ease;
  }
  .ap-comp-card:hover .arrow-circle {
    border-color: var(--ac);
    color: var(--ac);
    background: var(--ac-tint);
  }
  .ap-comp-card .arrow-circle svg {
    width: 16px; height: 16px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Карточка «Отрасли» — на собственной тёмной подложке */
  .ap-industry-card {
    background: #181F25;
    border-radius: 14px;
    padding: 26px;
    display: flex;
    flex-direction: column;
  }
  .ap-industry-card .head {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    font-weight: 600;
    margin-bottom: 22px;
  }
  .ap-industry-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .ap-industry-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
  }
  .ap-industry-card li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--ac);
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* Производство — фото слева + панель справа */
  .ap-prod-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
  }
  .ap-prod-photo {
    border-radius: 14px;
    background-image: url('https://images.unsplash.com/photo-1565514020179-026b92b84bb6?w=1600&q=80');
    background-size: cover;
    background-position: center;
    min-height: 340px;
    position: relative;
    overflow: hidden;
  }
  .ap-prod-panel {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }
  .ap-prod-panel .kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ac);
    font-weight: 600;
  }
  .ap-prod-panel h3 {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.15;
  }
  .ap-prod-panel p {
    color: var(--ink-2);
    line-height: 1.6;
    margin-bottom: 8px;
  }

  /* CTA-баннер с 3D логотипом справа */
  /* CTA-баннер перед футером — компактный (320px), картинка-подложка
     заполняет полотно через cover. object-position сдвинут так, чтобы
     логотип внутри картинки попадал в видимый центр баннера. */
  .ap-cta {
    background-color: #060a0d;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    height: 320px;
  }
  .ap-cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right 30%;   /* по горизонтали — справа, по вертикали — выше середины (видим верх лого) */
    display: block;
  }
  .ap-cta-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    padding: 4% 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .ap-cta h2 {
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
    color: var(--ink);
  }
  .ap-cta .lead {
    color: var(--ink-2);
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.55;
    margin-bottom: 22px;
  }

  /* Адаптив страницы «О компании» */
  @media (max-width: 1100px) {
    .ap-hero { min-height: auto; padding: 130px 0 60px; }
    .ap-hero-photo {
      position: relative;
      width: 100%;
      height: 320px;
      margin-top: 40px;
    }
    .ap-features-inline { gap: 24px; }
    .ap-about-grid { grid-template-columns: 1fr; gap: 40px; }
    .ap-stats { grid-template-columns: 1fr 1fr; }
    .ap-comp-grid {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto;
      grid-template-areas:
        "dev cta"
        "sys ind"
        "cons ind";
      min-height: auto;
    }
    .ap-prod-grid { grid-template-columns: 1fr; }
    .ap-cta-text { width: 55%; padding: 3% 4%; }
  }
  @media (max-width: 700px) {
    .ap-hero { padding: 110px 0 30px; }
    .ap-hero-photo { height: 220px; }
    .ap-features-inline { flex-direction: column; gap: 18px; }
    .ap-fi { max-width: 100%; }
    .ap-comp-grid {
      grid-template-columns: 1fr;
      grid-template-areas:
        "dev"
        "sys"
        "cons"
        "ind"
        "cta";
    }
    .ap-comp-card { min-height: 200px; }
    .ap-prod-panel { padding: 32px 24px; }
    .ap-cta-text { width: 65%; padding: 3% 4%; }
    .ap-cta h2 { font-size: 16px; margin-bottom: 8px; }
    .ap-cta .lead { display: none; }
  }

/* ============================================================
   CSS из projects.html (блок #1)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    /* Тёмная палитра */
    --bg: #0a1216;
    --bg-2: #0f1820;
    --bg-3: #16222b;

    /* Текст */
    --ink: #f4f6f7;
    --ink-2: #b8c4ca;
    --ink-3: #7a8a92;
    --ink-4: #4d5a62;

    /* ============================================================
       ГЛАВНЫЙ АКЦЕНТНЫЙ ЦВЕТ САЙТА — управляется одной переменной.
       Сейчас бирюзовый (по итогам обсуждения с Ильёй 18.05.2026).
       Если руководство СТК захочет вернуть фирменный синий —
       поменяйте значение ниже на #07579D (или любое другое).
       ============================================================ */
    --ac: #1ec8c8;
    --ac-2: #2dd9d9;          /* hover-вариант, чуть ярче */
    --ac-glow: rgba(30, 200, 200, 0.35);
    --ac-tint: rgba(30, 200, 200, 0.10);

    /* Фирменные цвета — оставлены на случай вторичных акцентов */
    --brand: #07579D;
    --accent-green: #ABC45E;

    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);

    /* Сетка контента — фиксированная как в первоначальном V1 */
    --grid-max: 1320px;
    --grid-px: 40px;
    --section-py: clamp(64px, 7vw, 110px);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
  }

  /* ============================================================
     HEADER
     ============================================================ */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;         /* гарантированно выше всех элементов Leaflet */
    padding: 12px 0 4px;
    /* На странице с картой шапка ВСЕГДА с тёмным фоном (карта не должна
       просвечивать), а не только при скролле. */
    background: rgba(10, 18, 22, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
  }
  header.scrolled {
    background: rgba(10, 18, 22, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 10px 0 4px;
  }
  /* Лого чуть меньше — но шрифт меню оставлен оригинальный */
  .logo-mark { width: 36px; height: 36px; }
  .logo-name { font-size: 16px; }
  .header-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
  }
  .logo-mark {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background-color: var(--ac);
    -webkit-mask: url('logo_silhouette.svg') center / contain no-repeat;
            mask: url('logo_silhouette.svg') center / contain no-repeat;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: filter 0.25s ease, background-color 0.25s ease;
  }
  .logo:hover .logo-mark {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 16px var(--ac-glow));
  }
  .logo-name {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.015em;
  }

  nav.main-nav { display: flex; gap: 4px; }
  nav.main-nav a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
  }
  nav.main-nav a:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
  }

  /* Правая часть шапки — телефон + кнопка */
  .header-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .header-phone {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: color 0.2s;
    white-space: nowrap;
  }
  .header-phone:hover { color: var(--ac); }
  /* Кнопка в шапке — чуть ниже по высоте, компактнее */
  .header-right .btn { padding: 9px 20px; font-size: 13.5px; }

  /* ============================================================
     КНОПКИ
     ============================================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--ac);
    color: #051517;
  }
  .btn-primary:hover {
    background: var(--ac-2);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px var(--ac-glow);
  }
  .btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
  }
  .btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.5);
  }
  .btn-ghost {
    background: transparent;
    color: var(--ac);
    border: 1.5px solid transparent;
    padding: 8px 0;
  }
  .btn-ghost:hover { color: var(--ac-2); }
  .btn-lg { padding: 16px 30px; font-size: 15px; }
  .btn .arrow { transition: transform 0.2s; }
  .btn:hover .arrow { transform: translateX(3px); }

  /* ============================================================
     HERO — полный экран с фоновым видео (4 видео сменяются)
     ============================================================ */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(180deg, rgba(10, 18, 22, 0.80) 0%, rgba(10, 18, 22, 0.50) 50%, rgba(10, 18, 22, 0.95) 100%),
      linear-gradient(90deg, rgba(10, 18, 22, 0.65) 0%, rgba(10, 18, 22, 0.20) 60%, rgba(10, 18, 22, 0.40) 100%),
      rgba(10, 18, 22, 0.20);
  }
  .hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 18, 22, 0.6) 100%);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 100px var(--grid-px) 160px;
  }
  .hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.02em;
    max-width: 980px;
    margin-bottom: 28px;
  }
  .hero-title .accent { color: var(--ac); }
  .hero-sub {
    font-size: clamp(16px, 1.3vw, 19px);
    color: var(--ink-2);
    line-height: 1.55;
    max-width: 640px;
    margin-bottom: 44px;
  }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

  .hero-stats {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 3;
    padding: 32px 0;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent 0%, rgba(10, 18, 22, 0.6) 100%);
    backdrop-filter: blur(10px);
  }
  .hero-stats-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stat-item {
    padding: 0 24px;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .stat-item:first-child { border-left: none; padding-left: 0; }
  .stat-item .stat-value {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .stat-item .stat-value .plus { color: var(--ac); margin-left: 2px; }
  .stat-item .stat-label {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
  }

  /* ============================================================
     ОБЩИЕ СЕКЦИИ
     ============================================================ */
  section.block {
    padding: var(--section-py) 0;
    position: relative;
  }
  section.block.alt { background: var(--bg-2); }
  .block-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
  }
  .section-head {
    margin-bottom: 48px;
    max-width: 760px;
  }
  .section-title {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .section-title .accent { color: var(--ac); }
  .section-sub {
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--ink-2);
    line-height: 1.6;
    max-width: 640px;
  }

  /* ============================================================
     БЛОК — КЛЮЧЕВЫЕ КОМПЕТЕНЦИИ
     6 карточек в сетке 3×2 с line-style SVG-иконками
     ============================================================ */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .service-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px 32px 32px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
  }
  .service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color 0.25s ease;
    pointer-events: none;
  }
  .service-card:hover {
    background: var(--bg-3);
    transform: translateY(-3px);
  }
  .service-card:hover::after { border-color: var(--ac); }
  .service-card .ico {
    width: 64px; height: 64px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    transition: background 0.25s ease;
  }
  .service-card:hover .ico { background: rgba(30, 200, 200, 0.18); }
  .service-card .ico svg {
    width: 32px; height: 32px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.005em;
  }
  .service-card p {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.6;
  }

  /* ============================================================
     БЛОК — ПРОЕКТЫ
     ============================================================ */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .project-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
    cursor: pointer;
  }
  .project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(30, 200, 200, 0.4);
  }
  .project-photo {
    aspect-ratio: 16/10;
    background-color: var(--bg-3);
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
  }
  .project-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 18, 22, 0.10) 0%, rgba(10, 18, 22, 0.55) 100%);
    transition: background 0.3s ease;
  }
  .project-card:hover .project-photo {
    transform: scale(1.04);
  }
  .project-card:hover .project-photo::after {
    background: linear-gradient(180deg, rgba(10, 18, 22, 0) 0%, rgba(10, 18, 22, 0.4) 100%);
  }
  .project-body { padding: 20px 24px 24px; }
  .project-meta {
    font-size: 12px;
    color: var(--ac);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  .project-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.005em;
  }
  .project-body p {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.5;
  }

  /* ============================================================
     CTA-БАННЕР С DOT-КАРТОЙ РОССИИ
     Карта живёт по центру/справа как фоновая графика,
     текст слева и кнопка справа лежат поверх неё.
     ============================================================ */
  .map-cta {
    margin-top: 48px;
    background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 40px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    /* Явно задаём цвет ссылки белым (включая :visited), чтобы заголовок
       внутри не уходил в дефолтный фиолетовый «нажатой ссылки». */
    color: var(--ink);
  }
  .map-cta:visited,
  .map-cta:active,
  .map-cta:focus { color: var(--ink); }
  .map-cta-img {
    position: absolute;
    right: -4%;
    top: 50%;
    transform: translateY(-50%);
    width: 62%;
    max-width: 780px;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    z-index: 0;
    /* screen "выбивает" тёмный фон исходного PNG — остаются только
       светящиеся бирюзовые контуры карты, точки и линии сети. */
    mix-blend-mode: screen;
    opacity: 0.95;
    mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
  }

  .map-cta .text {
    position: relative;
    z-index: 2;
    max-width: 540px;
  }
  .map-cta .text small {
    font-size: 12px;
    color: var(--ac);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
  }
  .map-cta .text h3 {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: var(--ink);
  }

  /* Кнопка карты — бирюзовая полупрозрачная заливка + обводка (по референсу) */
  .map-cta-btn {
    position: relative;
    z-index: 2;
    padding: 16px 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    background: rgba(30, 200, 200, 0.15);
    border: 1.5px solid var(--ac);
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .map-cta-btn:hover {
    background: rgba(30, 200, 200, 0.28);
    box-shadow: 0 8px 24px rgba(30, 200, 200, 0.25);
  }
  .map-cta-btn .arrow { transition: transform 0.2s; }
  .map-cta-btn:hover .arrow { transform: translateX(3px); }

  /* ============================================================
     БЛОК — О КОМПАНИИ (3D-логотип + текст + цифры)
     ============================================================ */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
  }
  .about-logo-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 460px;
    margin: 0 auto;
    perspective: 1200px;
  }

  .about-logo-inner {
    position: relative;
    width: 100%; height: 100%;
    transform-style: preserve-3d;
  }
  .about-glow {
    position: absolute;
    inset: -15%;
    background: radial-gradient(
      circle at center,
      var(--ac-glow) 0%,
      rgba(30, 200, 200, 0.08) 30%,
      transparent 65%
    );
    filter: blur(10px);
    pointer-events: none;
    transform: translateZ(-100px);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .about-logo-stage:hover .about-glow {
    transform: translateZ(-80px) scale(1.2);
  }
  .about-logo-svg-wrap {
    position: absolute;
    inset: 0;
    transform: translateZ(40px);
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.6));
  }
  .about-logo-svg-wrap svg {
    width: 100%; height: 100%;
    display: block;
    overflow: visible;
  }
  .about-logo-svg-wrap .seg {
    fill: var(--ac);
    transition:
      transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
      fill 0.4s ease;
  }
  .about-logo-stage:hover .seg {
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
    transition-delay: var(--delay);
    fill: var(--ac-2);
  }

  .about-text h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
  }
  .about-text p {
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 16px;
  }
  /* Чипы под текстом «О компании» — направления работы */
  .about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    transition: all 0.2s ease;
  }
  .chip:hover {
    border-color: var(--ac);
    background: var(--ac-tint);
  }
  .chip svg {
    width: 18px;
    height: 18px;
    stroke: var(--ac);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
  }

  /* ============================================================
     БЛОК — ЗАКАЗЧИКИ И ПАРТНЁРЫ
     ============================================================ */
  .clients-section h3.sub-h {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin: 0 0 18px;
    font-weight: 600;
  }
  .logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-2);
    margin-bottom: 40px;
  }
  .logo-cell {
    padding: 30px 16px;
    text-align: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
  }
  .logo-cell:nth-child(6n) { border-right: none; }
  .logo-cell:nth-last-child(-n+6) { border-bottom: none; }
  .logo-cell:hover {
    color: var(--ac);
    background: rgba(255, 255, 255, 0.02);
  }
  .logo-cell em {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: var(--ink-4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
    font-weight: 500;
  }

  /* ============================================================
     БЛОК — ЛИЦЕНЗИИ (вертикальный A4-формат под скан документа)
     ============================================================ */
  .licenses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .license-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.25s ease;
  }
  .license-card:hover {
    border-color: var(--ac);
    transform: translateY(-3px);
  }
  /* «Лист» А4 — вертикальная ориентация, пропорции близкие к 1:1.414.
     Используем padding-bottom-хак для надёжного aspect-ratio в Grid.
     Контент позиционируется через абсолютные ::before/::after. */
  .license-sheet {
    width: 100%;
    padding-bottom: 141.4%; /* A4 portrait 1:√2 */
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%),
      var(--bg-3);
    border: 1px solid var(--line-2);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }
  /* Текстовая часть забирает остаток высоты карточки — все карточки
     выровнены и низом, и положением листа. */
  .license-text {
    flex: 1 1 auto;
    min-height: 70px;
  }
  /* Имитация шапки документа сверху */
  .license-sheet::before {
    content: '';
    position: absolute;
    top: 10%; left: 14%; right: 14%;
    height: 2px;
    background: var(--ink-4);
    opacity: 0.4;
    box-shadow:
      0 8px 0 0 rgba(122, 138, 146, 0.28),
      0 16px 0 0 rgba(122, 138, 146, 0.28),
      0 32px 0 0 rgba(122, 138, 146, 0.18),
      0 40px 0 0 rgba(122, 138, 146, 0.18);
  }
  /* Круглая печать в углу — намёк на гербовую печать */
  .license-sheet::after {
    content: '';
    position: absolute;
    bottom: 12%; right: 16%;
    width: 30px; height: 30px;
    border: 1.5px solid var(--ac);
    border-radius: 50%;
    opacity: 0.55;
    background: radial-gradient(circle, transparent 50%, var(--ac-tint) 60%);
  }
  .license-card .name {
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    letter-spacing: -0.005em;
  }
  .license-card .desc {
    font-size: 12px;
    color: var(--ink-3);
    margin-top: 2px;
  }

  /* ============================================================
     БЛОК — КОНТАКТЫ И ФОРМА (по референсу)
     Слева — большие info-блоки с квадратной иконкой,
     снизу — ссылки на документы.
     Справа — форма в скруглённой панели.
     ============================================================ */
  .contacts-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 60px;
    align-items: stretch;
  }
  /* Обе колонки явно растягиваются на полную высоту строки grid */
  .contacts-grid > * { align-self: stretch; }
  /* Левая колонка — flex с justify-content space-between:
     info-блоки сверху, документы внизу, между ними auto-space.
     Этот паттерн работает железно во всех браузерах. */
  .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
  }
  .info-rows-wrap {
    display: flex;
    flex-direction: column;
  }
  /* Большой info-блок: иконка-плашка + label/значение справа */
  .info-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .info-row:first-child { padding-top: 0; }
  .info-row .info-ico {
    width: 56px; height: 56px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .info-row .info-ico svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .info-row .info-content { flex: 1; min-width: 0; }
  .info-row .info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin-bottom: 4px;
    font-weight: 600;
  }
  .info-row .info-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.005em;
    line-height: 1.35;
  }
  .info-row .info-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
  }
  .info-row .info-value a:hover { color: var(--ac); }

  /* Ссылки на документы — отделены от info-блоков таким же отступом,
     как и между другими разделами (≈ как между info-row). */
  .contact-docs {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .contact-docs .docs-title {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 600;
    margin: 0 0 6px;
  }
  .doc-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    text-decoration: none;
    color: var(--ink-2);
    font-size: 15px;
    transition: color 0.2s ease;
  }
  .doc-link:hover { color: var(--ac); }
  .doc-link .doc-ico {
    width: 22px; height: 22px;
    color: var(--ac);
    flex-shrink: 0;
  }
  .doc-link .doc-ico svg {
    width: 100%; height: 100%;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
  }
  .doc-link .doc-name { flex: 1; }
  /* Кнопка-стрелка скачать справа — отдельный «кнопочный» элемент */
  .doc-link .doc-dl {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .doc-link:hover .doc-dl {
    color: var(--ac);
    border-color: var(--ac);
    background: var(--ac-tint);
  }
  .doc-link .doc-dl svg {
    width: 16px; height: 16px;
  }

  .contact-form {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 36px;
    display: flex;
    flex-direction: column;
  }
  /* Поле с textarea растягивается чтобы заполнить остаток высоты —
     кнопка submit всегда прижата к низу панели */
  .contact-form .field-grow { flex: 1; display: flex; flex-direction: column; }
  .contact-form .field-grow textarea { flex: 1; min-height: 100px; }
  .contact-form h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }
  .contact-form > p {
    color: var(--ink-3);
    margin-bottom: 24px;
    font-size: 15px;
  }
  .field { margin-bottom: 16px; }
  .field label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-4);
    margin-bottom: 6px;
  }
  .field input, .field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    color: var(--ink);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
  }
  .field input:focus, .field textarea:focus { border-color: var(--ac); }
  .field textarea { resize: vertical; min-height: 100px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .field-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--ink-3);
    margin: 6px 0 18px;
    cursor: pointer;
  }
  .field-check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--ac); }
  .field-check a { color: var(--ink-2); }

  /* ============================================================
     ПОДВАЛ
     ============================================================ */
  footer {
    background: #06090c;
    padding: 60px 0 32px;
    color: var(--ink-3);
    font-size: 14px;
    border-top: 1px solid var(--line);
  }
  .footer-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
  }
  .footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-4);
    margin-bottom: 16px;
    font-weight: 600;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
  }
  .footer-col a:hover { color: var(--ac); }
  .footer-brand {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
  }
  .footer-brand .mark {
    width: 40px; height: 40px;
    background: var(--ac);
    -webkit-mask: url('logo_silhouette.svg') center / contain no-repeat;
            mask: url('logo_silhouette.svg') center / contain no-repeat;
  }
  .footer-brand .name { font-weight: 700; color: var(--ink); font-size: 17px; }
  .footer-tagline {
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.55;
    max-width: 320px;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-4);
  }
  .footer-bottom a { color: var(--ink-4); text-decoration: none; }
  .footer-bottom a:hover { color: var(--ac); }

  /* ============================================================
     АДАПТИВ
     ============================================================ */
  @media (max-width: 1100px) {
    :root { --grid-px: 24px; }
    nav.main-nav { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .logos-grid { grid-template-columns: 1fr 1fr 1fr; }
    .logo-cell:nth-child(6n) { border-right: 1px solid var(--line); }
    .logo-cell:nth-child(3n) { border-right: none; }
    .licenses-grid { grid-template-columns: repeat(3, 1fr); }
    .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 700px) {
    .header-right .header-phone { display: none; }
    .services-grid, .projects-grid { grid-template-columns: 1fr; }
    .licenses-grid { grid-template-columns: 1fr 1fr; }
    .logos-grid { grid-template-columns: 1fr 1fr; }
    .logo-cell:nth-child(3n) { border-right: 1px solid var(--line); }
    .logo-cell:nth-child(2n) { border-right: none; }
    .hero-stats-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-item { padding: 0; border-left: none; }
    .stat-item:nth-child(n+3) { padding-top: 20px; border-top: 1px solid var(--line); }
    .about-numbers { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .map-cta { padding: 24px; flex-direction: column; align-items: flex-start; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
  }

  /* ============================================================
     СТРАНИЦА «КОНТАКТЫ» — специфичные стили
     ============================================================ */
  /* Активный пункт меню */
  nav.main-nav a.active {
    color: var(--ac);
    background: var(--ac-tint);
  }

  /* Компактный hero страницы (без видео) */
  .page-hero {
    position: relative;
    padding: 180px 0 80px;
    background:
      radial-gradient(ellipse at top right, rgba(30, 200, 200, 0.08) 0%, transparent 55%),
      radial-gradient(ellipse at bottom left, rgba(30, 200, 200, 0.05) 0%, transparent 50%),
      var(--bg);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
  }
  .page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    pointer-events: none;
  }
  .page-hero-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    position: relative;
    z-index: 2;
  }
  .page-hero .crumbs {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin-bottom: 24px;
    font-weight: 600;
  }
  .page-hero .crumbs a {
    color: var(--ink-3);
    text-decoration: none;
    transition: color 0.2s;
  }
  .page-hero .crumbs a:hover { color: var(--ac); }
  .page-hero .crumbs span { color: var(--ink); }
  .page-hero h1 {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.04;
    margin-bottom: 20px;
    max-width: 900px;
  }
  .page-hero h1 .accent { color: var(--ac); }
  .page-hero .lead {
    font-size: clamp(16px, 1.3vw, 20px);
    color: var(--ink-2);
    max-width: 640px;
    line-height: 1.55;
  }

  /* Большие info-карточки (4 в ряд) для блока «Как нас найти» */
  .contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .contact-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px 28px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 220px;
  }
  .contact-card:hover {
    border-color: var(--ac);
    transform: translateY(-3px);
  }
  .contact-card .cc-ico {
    width: 52px; height: 52px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .contact-card .cc-ico svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .contact-card .cc-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    font-weight: 600;
  }
  .contact-card .cc-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
    letter-spacing: -0.005em;
    margin-top: -8px;
  }
  .contact-card .cc-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
  }
  .contact-card .cc-value a:hover { color: var(--ac); }
  .contact-card .cc-extra {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: -10px;
  }

  /* Блок формы + сайдбар */
  .form-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
  }
  .form-aside {
    background: linear-gradient(135deg, rgba(30, 200, 200, 0.10), rgba(30, 200, 200, 0.02));
    border: 1px solid var(--ac);
    border-radius: 14px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .form-aside h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }
  .form-aside p {
    color: var(--ink-2);
    line-height: 1.6;
    font-size: 15px;
  }
  .form-aside-quick {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }
  .form-aside-quick .row {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
  }
  .form-aside-quick .row:hover { color: var(--ac); }
  .form-aside-quick .row svg {
    width: 22px; height: 22px;
    stroke: var(--ac);
    stroke-width: 1.8;
    fill: none;
    flex-shrink: 0;
  }
  .form-aside-quick .row .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-3);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
  }
  .form-aside-quick .row .val {
    font-size: 16px;
    letter-spacing: -0.005em;
  }

  /* Реквизиты компании */
  .requisites {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 40px 44px;
  }
  .requisites-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .requisites-head h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  .requisites-head .sub {
    font-size: 14px;
    color: var(--ink-3);
    margin-top: 4px;
  }
  .req-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 40px;
  }
  .req-item .req-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    font-weight: 600;
    margin-bottom: 8px;
  }
  .req-item .req-value {
    font-size: 16px;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.45;
    word-break: break-word;
  }
  .req-item.wide { grid-column: span 3; }
  .req-item.wide2 { grid-column: span 2; }

  /* Соцсети — иконки в ряд */
  .socials-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .social-link {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .social-link:hover {
    color: var(--ac);
    border-color: var(--ac);
    background: var(--ac-tint);
    transform: translateY(-2px);
  }
  .social-link svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Блок «Где мы находимся» — 2 колонки: текст+адрес слева, карта справа */
  .where-block {
    padding: 60px 0 80px;
  }
  .where-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 60px;
    align-items: stretch;
  }
  .where-title {
    font-size: clamp(36px, 4.6vw, 64px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    margin-bottom: 36px;
    max-width: 520px;
  }
  .where-title .accent { color: var(--ac); }
  .where-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
  }
  .where-lead {
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.6;
    max-width: 420px;
    margin-bottom: 36px;
  }
  .where-address {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.4;
    color: var(--ink);
    margin: 0 0 36px;
    max-width: 380px;
  }
  .where-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ink);
    transition: all 0.2s ease;
  }
  .arrow-link:hover {
    color: var(--ac);
    border-bottom-color: var(--ac);
    transform: translateX(2px);
  }
  .arrow-link svg {
    width: 16px; height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .where-map {
    position: relative;
    width: 100%;
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line);
    filter: invert(0.92) hue-rotate(180deg) saturate(0.85) brightness(0.95);
  }
  .where-map iframe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: 0;
  }

  /* Крупный блок «Звоните / Пишите / Соцсети» — 3 колонки.
     Горизонтальная черта снизу — отделяет контакты от реквизитов. */
  .big-contacts {
    padding: 60px 0 80px;
    border-bottom: 1px solid var(--line);
  }
  .big-contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .bc-item {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .bc-label {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
    font-weight: 500;
  }
  .bc-value {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.05;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
  }
  .bc-value:hover { color: var(--ac); }
  .bc-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .bc-socials .social-link {
    width: 56px; height: 56px;
    border-radius: 12px;
  }

  /* Адаптив страницы контактов */
  @media (max-width: 1100px) {
    .where-grid { grid-template-columns: 1fr; gap: 40px; }
    .where-map { min-height: 380px; }
    .big-contacts-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-grid { grid-template-columns: 1fr; }
    .req-grid { grid-template-columns: 1fr 1fr; }
    .req-item.wide { grid-column: span 2; }
    .req-item.wide2 { grid-column: span 2; }
  }
  @media (max-width: 700px) {
    .page-hero { padding: 130px 0 30px; }
    .where-block { padding: 30px 0 40px; }
    .where-title { font-size: 36px; }
    .where-address { font-size: 17px; }
    .where-map { min-height: 320px; }
    .big-contacts { padding: 50px 0; }
    .requisites { padding: 28px 22px; }
    .req-grid { grid-template-columns: 1fr; }
    .req-item.wide, .req-item.wide2 { grid-column: span 1; }
  }

  /* ============================================================
     СТРАНИЦА «ПРОЕКТЫ» (projects.html)
     ============================================================ */
  /* Hero — крупный заголовок над панелью фильтров */
  .pr-hero {
    padding: 140px 0 24px;
  }
  .pr-head h1 {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.04;
    margin-bottom: 26px;
  }
  .pr-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
    min-width: 0;
  }
  /* Пилюля-фильтр: контейнер с иконкой слева, нативный select без стилей,
     стрелка-шеврон справа отдельной svg-иконкой */
  /* Кастомный дропдаун — полный контроль над видом и анимацией */
  .pr-dd {
    position: relative;
    min-width: 200px;
  }
  .pr-dd-trigger {
    width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 36px 11px 14px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    font-size: 13.5px;
    color: var(--ink-2);
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
    text-align: left;
    position: relative;
  }
  .pr-dd-trigger:hover {
    border-color: var(--line-2);
    color: var(--ink);
  }
  .pr-dd.open .pr-dd-trigger {
    border-color: var(--ac);
    color: var(--ink);
    background: var(--bg-3);
  }
  /* Иконка слева */
  .pr-dd-ico {
    width: 16px; height: 16px;
    color: var(--ink-3);
    flex-shrink: 0;
    display: grid;
    place-items: center;
    transition: color 0.18s ease;
  }
  .pr-dd-trigger:hover .pr-dd-ico,
  .pr-dd.open .pr-dd-ico { color: var(--ac); }
  .pr-dd-ico svg {
    width: 100%; height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  /* Лейбл — занимает оставшуюся ширину, обрезается с многоточием */
  .pr-dd-label {
    flex: 1;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }
  /* Стрелка-шеврон справа */
  .pr-dd-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px; height: 12px;
    color: var(--ink-3);
    transition: transform 0.2s ease, color 0.18s ease;
    pointer-events: none;
  }
  .pr-dd-arrow svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .pr-dd.open .pr-dd-arrow { transform: translateY(-50%) rotate(180deg); color: var(--ac); }
  /* Меню */
  .pr-dd-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 10px;
    padding: 6px;
    z-index: 1000;
    max-height: 320px;
    overflow-y: auto;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .pr-dd.open .pr-dd-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  /* Пункт меню */
  .pr-dd-item {
    display: block;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--ink-2);
    font: inherit;
    font-size: 13.5px;
    text-align: left;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
  }
  .pr-dd-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--ink);
  }
  .pr-dd-item.active {
    background: var(--ac-tint);
    color: var(--ac);
    font-weight: 600;
  }
  /* Тонкий скроллбар у меню */
  .pr-dd-menu::-webkit-scrollbar { width: 6px; }
  .pr-dd-menu::-webkit-scrollbar-track { background: transparent; }
  .pr-dd-menu::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

  /* Кнопка сброса фильтров */
  .pr-filter-reset {
    color: var(--ac);
    font-size: 13px;
    background: transparent;
    border: none;
    padding: 11px 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    transition: color 0.2s;
  }
  .pr-filter-reset:hover { color: var(--ac-2); }
  .pr-filter-reset svg {
    width: 14px; height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* SVG-карта России */
  .pr-map-wrap {
    margin: 0 0 40px;
    position: relative;
    z-index: 1;
  }
  .pr-svg-map {
    width: 100vw;                                /* full-bleed — карта на всю ширину окна */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    aspect-ratio: 11 / 6;                        /* aspect карты после обрезки */
    max-height: 820px;
    background-color: #0a1216;
    border-radius: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: none;
  }
  .pr-svg-map.is-dragging { cursor: grabbing; }
  /* Внутренний холст с картой и точками — на нём применяется transform */
  .pr-svg-canvas {
    position: absolute;
    inset: 0;
    background-image: url('russia-map-cropped.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform-origin: 0 0;
    transition: transform 0.18s ease;
  }
  .pr-svg-canvas.no-anim { transition: none; }
  /* Кнопки управления зумом */
  .pr-svg-controls {
    position: absolute;
    top: 16px; right: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 30;
  }
  .pr-svg-controls button {
    width: 38px; height: 38px;
    background: rgba(15, 24, 32, 0.85);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.18s;
  }
  .pr-svg-controls button:hover {
    border-color: var(--ac);
    color: var(--ac);
  }
  /* Точки на SVG — позиционируются абсолютно через inline-style left/top в % */
  .pr-svg-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;       /* центрируем по точке */
    background: var(--ac);
    border-radius: 50%;
    box-shadow:
      0 0 0 4px rgba(30, 200, 200, 0.20),
      0 0 16px rgba(30, 200, 200, 0.55);
    cursor: pointer;
    border: 0;
    padding: 0;
    transition: transform 0.2s ease;
    z-index: 5;
  }
  .pr-svg-dot::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(30, 200, 200, 0.18);
    animation: pr-pulse 2.8s ease-in-out infinite;
  }
  .pr-svg-dot:hover {
    transform: scale(1.3);
    z-index: 10;
  }
  /* Попап при клике на точку */
  .pr-svg-popup {
    position: absolute;
    width: 320px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(0,0,0,0.55);
    z-index: 20;
    transform: translate(-50%, calc(-100% - 20px));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
  }
  .pr-svg-popup.show {
    opacity: 1;
    pointer-events: auto;
  }
  .pr-svg-popup-close {
    position: absolute;
    top: 8px; right: 8px;
    width: 28px; height: 28px;
    background: transparent;
    border: 0;
    color: var(--ink-2);
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    display: grid;
    place-items: center;
    border-radius: 6px;
  }
  .pr-svg-popup-close:hover { color: var(--ac); background: rgba(255,255,255,0.05); }
  /* Стилизация Leaflet под фирменную палитру */
  .leaflet-container {
    /* Тёмно-синий «холст» — задаёт основной цвет карты */
    background: #0e1f3a !important;
    font-family: inherit;
  }
  /* Тайлы серовато-чёрные. Применяем blend-mode напрямую к <img>:
     режим «lighten» сравнивает каждый пиксель тайла с синим фоном
     и оставляет светлейший. Тёмные пятна тайла → синий фон, светлые
     контуры/границы → серо-белый. В сумме: синяя карта с проступающей
     географией. Плюс лёгкий filter для насыщенности. */
  .leaflet-tile-pane img.leaflet-tile {
    mix-blend-mode: lighten;
    filter: saturate(1.4) brightness(1.15) contrast(1.05);
  }
  .leaflet-control-zoom a {
    background: var(--bg-2) !important;
    color: var(--ink) !important;
    border-color: var(--line-2) !important;
  }
  .leaflet-control-zoom a:hover {
    background: var(--bg-3) !important;
    color: var(--ac) !important;
  }
  .leaflet-control-attribution {
    background: rgba(10,18,22,0.65) !important;
    color: var(--ink-4) !important;
    font-size: 10px !important;
  }
  .leaflet-control-attribution a { color: var(--ink-3) !important; }

  /* Маркер-точка: бирюзовая со свечением */
  .pr-marker {
    width: 14px;
    height: 14px;
    background: var(--ac);
    border-radius: 50%;
    box-shadow:
      0 0 0 4px rgba(30, 200, 200, 0.20),
      0 0 16px rgba(30, 200, 200, 0.55);
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
  }
  .pr-marker::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(30, 200, 200, 0.18);
    animation: pr-pulse 2.8s ease-in-out infinite;
  }
  @keyframes pr-pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.6; }
    50%      { transform: scale(1.4); opacity: 0; }
  }
  .pr-marker:hover {
    transform: scale(1.3);
  }
  /* Большой пин для активного/выделенного маркера */
  .pr-marker-big {
    width: 32px;
    height: 44px;
    cursor: pointer;
  }
  .pr-marker-big svg {
    width: 100%; height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.55))
            drop-shadow(0 0 12px rgba(30,200,200,0.65));
  }

  /* Попап Leaflet — наш дизайн */
  .leaflet-popup-content-wrapper {
    background: var(--bg-2) !important;
    color: var(--ink) !important;
    border: 1px solid var(--line-2) !important;
    border-radius: 14px !important;
    padding: 0 !important;
    box-shadow: 0 14px 32px rgba(0,0,0,0.55) !important;
    overflow: hidden;
  }
  .leaflet-popup-tip { background: var(--bg-2) !important; }
  .leaflet-popup-content {
    margin: 0 !important;
    width: 360px !important;
    font-family: inherit;
  }
  .leaflet-popup-close-button {
    color: var(--ink-2) !important;
    padding: 10px !important;
    font-size: 22px !important;
    width: 32px !important;
    height: 32px !important;
  }
  .leaflet-popup-close-button:hover { color: var(--ac) !important; background: transparent !important; }

  .pr-popup {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0;
  }
  .pr-popup-photo {
    background-size: cover;
    background-position: center;
    background-color: var(--bg-3);
  }
  .pr-popup-body {
    padding: 16px 20px 16px 18px;
  }
  .pr-popup-body h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.005em;
    color: var(--ink);
  }
  .pr-popup-body .cat {
    font-size: 12px;
    color: var(--ac);
    margin-bottom: 10px;
  }
  .pr-popup-body .meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--ink-3);
    margin-bottom: 12px;
  }
  .pr-popup-body .meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .pr-popup-body .meta svg {
    width: 12px; height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
  }
  .pr-popup-body .more {
    color: var(--ac);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .pr-popup-body .more:hover { color: var(--ac-2); }

  /* Шапка «Все проекты» + панель фильтров справа */
  .pr-list-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 22px;
  }
  .pr-list-head h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  .pr-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .pr-card {
    background: var(--bg-2);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 220px;
  }
  .pr-card:hover { transform: translateY(-3px); }
  .pr-card-photo {
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-3);
    position: relative;
  }
  .pr-card-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,18,22,0.20), rgba(10,18,22,0.70));
  }
  .pr-card-chip {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    background: rgba(15, 24, 32, 0.85);
    border: 1px solid var(--line-2);
    border-radius: 100px;
    font-size: 11px;
    color: var(--ink);
    font-weight: 500;
    backdrop-filter: blur(6px);
  }
  .pr-card-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .pr-card-body h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    letter-spacing: -0.005em;
    margin-bottom: 10px;
  }
  .pr-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--ink-3);
  }
  .pr-card-meta .arrow {
    color: var(--ac);
    font-size: 16px;
    line-height: 1;
    transition: transform 0.2s;
  }
  .pr-card:hover .pr-card-meta .arrow { transform: translateX(3px); }

  /* Адаптив */
  @media (max-width: 1100px) {
    .pr-cards { grid-template-columns: repeat(2, 1fr); }
    .pr-filter { min-width: 0; flex: 1 1 calc(50% - 12px); }
    #pr-map { height: 440px; }
    .leaflet-popup-content { width: 280px !important; }
    .pr-popup { grid-template-columns: 90px 1fr; }
  }
  @media (max-width: 700px) {
    .pr-hero { padding: 100px 0 16px; }
    .pr-head { gap: 18px; }
    .pr-cards { grid-template-columns: 1fr; }
    #pr-map { height: 380px; }
    .leaflet-popup-content { width: 240px !important; }
    .pr-popup { grid-template-columns: 1fr; }
    .pr-popup-photo { height: 120px; }
  }

/* ============================================================
   CSS из project.html (блок #1)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    /* Тёмная палитра */
    --bg: #0a1216;
    --bg-2: #0f1820;
    --bg-3: #16222b;

    /* Текст */
    --ink: #f4f6f7;
    --ink-2: #b8c4ca;
    --ink-3: #7a8a92;
    --ink-4: #4d5a62;

    /* ============================================================
       ГЛАВНЫЙ АКЦЕНТНЫЙ ЦВЕТ САЙТА — управляется одной переменной.
       Сейчас бирюзовый (по итогам обсуждения с Ильёй 18.05.2026).
       Если руководство СТК захочет вернуть фирменный синий —
       поменяйте значение ниже на #07579D (или любое другое).
       ============================================================ */
    --ac: #1ec8c8;
    --ac-2: #2dd9d9;          /* hover-вариант, чуть ярче */
    --ac-glow: rgba(30, 200, 200, 0.35);
    --ac-tint: rgba(30, 200, 200, 0.10);

    /* Фирменные цвета — оставлены на случай вторичных акцентов */
    --brand: #07579D;
    --accent-green: #ABC45E;

    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);

    /* Сетка контента — фиксированная как в первоначальном V1 */
    --grid-max: 1320px;
    --grid-px: 40px;
    --section-py: clamp(64px, 7vw, 110px);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
  }

  /* ============================================================
     HEADER
     ============================================================ */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 12px 0 4px;   /* асимметрично: сверху обычный, снизу почти 0 */
    transition: all 0.3s ease;
  }
  header.scrolled {
    background: rgba(10, 18, 22, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 10px 0 4px;
  }
  /* Лого чуть меньше — но шрифт меню оставлен оригинальный */
  .logo-mark { width: 36px; height: 36px; }
  .logo-name { font-size: 16px; }
  .header-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
  }
  .logo-mark {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background-color: var(--ac);
    -webkit-mask: url('logo_silhouette.svg') center / contain no-repeat;
            mask: url('logo_silhouette.svg') center / contain no-repeat;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: filter 0.25s ease, background-color 0.25s ease;
  }
  .logo:hover .logo-mark {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 16px var(--ac-glow));
  }
  .logo-name {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.015em;
  }

  nav.main-nav { display: flex; gap: 4px; }
  nav.main-nav a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
  }
  nav.main-nav a:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
  }

  /* Правая часть шапки — телефон + кнопка */
  .header-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .header-phone {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: color 0.2s;
    white-space: nowrap;
  }
  .header-phone:hover { color: var(--ac); }
  /* Кнопка в шапке — чуть ниже по высоте, компактнее */
  .header-right .btn { padding: 9px 20px; font-size: 13.5px; }

  /* ============================================================
     КНОПКИ
     ============================================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--ac);
    color: #051517;
  }
  .btn-primary:hover {
    background: var(--ac-2);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px var(--ac-glow);
  }
  .btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
  }
  .btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.5);
  }
  .btn-ghost {
    background: transparent;
    color: var(--ac);
    border: 1.5px solid transparent;
    padding: 8px 0;
  }
  .btn-ghost:hover { color: var(--ac-2); }
  .btn-lg { padding: 16px 30px; font-size: 15px; }
  .btn .arrow { transition: transform 0.2s; }
  .btn:hover .arrow { transform: translateX(3px); }

  /* ============================================================
     HERO — полный экран с фоновым видео (4 видео сменяются)
     ============================================================ */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(180deg, rgba(10, 18, 22, 0.80) 0%, rgba(10, 18, 22, 0.50) 50%, rgba(10, 18, 22, 0.95) 100%),
      linear-gradient(90deg, rgba(10, 18, 22, 0.65) 0%, rgba(10, 18, 22, 0.20) 60%, rgba(10, 18, 22, 0.40) 100%),
      rgba(10, 18, 22, 0.20);
  }
  .hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 18, 22, 0.6) 100%);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 100px var(--grid-px) 160px;
  }
  .hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.02em;
    max-width: 980px;
    margin-bottom: 28px;
  }
  .hero-title .accent { color: var(--ac); }
  .hero-sub {
    font-size: clamp(16px, 1.3vw, 19px);
    color: var(--ink-2);
    line-height: 1.55;
    max-width: 640px;
    margin-bottom: 44px;
  }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

  .hero-stats {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 3;
    padding: 32px 0;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent 0%, rgba(10, 18, 22, 0.6) 100%);
    backdrop-filter: blur(10px);
  }
  .hero-stats-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stat-item {
    padding: 0 24px;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .stat-item:first-child { border-left: none; padding-left: 0; }
  .stat-item .stat-value {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .stat-item .stat-value .plus { color: var(--ac); margin-left: 2px; }
  .stat-item .stat-label {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
  }

  /* ============================================================
     ОБЩИЕ СЕКЦИИ
     ============================================================ */
  section.block {
    padding: var(--section-py) 0;
    position: relative;
  }
  section.block.alt { background: var(--bg-2); }
  .block-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
  }
  .section-head {
    margin-bottom: 48px;
    max-width: 760px;
  }
  .section-title {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .section-title .accent { color: var(--ac); }
  .section-sub {
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--ink-2);
    line-height: 1.6;
    max-width: 640px;
  }

  /* ============================================================
     БЛОК — КЛЮЧЕВЫЕ КОМПЕТЕНЦИИ
     6 карточек в сетке 3×2 с line-style SVG-иконками
     ============================================================ */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .service-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px 32px 32px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
  }
  .service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color 0.25s ease;
    pointer-events: none;
  }
  .service-card:hover {
    background: var(--bg-3);
    transform: translateY(-3px);
  }
  .service-card:hover::after { border-color: var(--ac); }
  .service-card .ico {
    width: 64px; height: 64px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    transition: background 0.25s ease;
  }
  .service-card:hover .ico { background: rgba(30, 200, 200, 0.18); }
  .service-card .ico svg {
    width: 32px; height: 32px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.005em;
  }
  .service-card p {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.6;
  }

  /* ============================================================
     БЛОК — ПРОЕКТЫ
     ============================================================ */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .project-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
    cursor: pointer;
  }
  .project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(30, 200, 200, 0.4);
  }
  .project-photo {
    aspect-ratio: 16/10;
    background-color: var(--bg-3);
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
  }
  .project-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 18, 22, 0.10) 0%, rgba(10, 18, 22, 0.55) 100%);
    transition: background 0.3s ease;
  }
  .project-card:hover .project-photo {
    transform: scale(1.04);
  }
  .project-card:hover .project-photo::after {
    background: linear-gradient(180deg, rgba(10, 18, 22, 0) 0%, rgba(10, 18, 22, 0.4) 100%);
  }
  .project-body { padding: 20px 24px 24px; }
  .project-meta {
    font-size: 12px;
    color: var(--ac);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  .project-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.005em;
  }
  .project-body p {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.5;
  }

  /* ============================================================
     CTA-БАННЕР С DOT-КАРТОЙ РОССИИ
     Карта живёт по центру/справа как фоновая графика,
     текст слева и кнопка справа лежат поверх неё.
     ============================================================ */
  .map-cta {
    margin-top: 48px;
    background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 40px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    /* Явно задаём цвет ссылки белым (включая :visited), чтобы заголовок
       внутри не уходил в дефолтный фиолетовый «нажатой ссылки». */
    color: var(--ink);
  }
  .map-cta:visited,
  .map-cta:active,
  .map-cta:focus { color: var(--ink); }
  .map-cta-img {
    position: absolute;
    right: -4%;
    top: 50%;
    transform: translateY(-50%);
    width: 62%;
    max-width: 780px;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    z-index: 0;
    /* screen "выбивает" тёмный фон исходного PNG — остаются только
       светящиеся бирюзовые контуры карты, точки и линии сети. */
    mix-blend-mode: screen;
    opacity: 0.95;
    mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
  }

  .map-cta .text {
    position: relative;
    z-index: 2;
    max-width: 540px;
  }
  .map-cta .text small {
    font-size: 12px;
    color: var(--ac);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
  }
  .map-cta .text h3 {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: var(--ink);
  }

  /* Кнопка карты — бирюзовая полупрозрачная заливка + обводка (по референсу) */
  .map-cta-btn {
    position: relative;
    z-index: 2;
    padding: 16px 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    background: rgba(30, 200, 200, 0.15);
    border: 1.5px solid var(--ac);
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .map-cta-btn:hover {
    background: rgba(30, 200, 200, 0.28);
    box-shadow: 0 8px 24px rgba(30, 200, 200, 0.25);
  }
  .map-cta-btn .arrow { transition: transform 0.2s; }
  .map-cta-btn:hover .arrow { transform: translateX(3px); }

  /* ============================================================
     БЛОК — О КОМПАНИИ (3D-логотип + текст + цифры)
     ============================================================ */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
  }
  .about-logo-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 460px;
    margin: 0 auto;
    perspective: 1200px;
  }

  .about-logo-inner {
    position: relative;
    width: 100%; height: 100%;
    transform-style: preserve-3d;
  }
  .about-glow {
    position: absolute;
    inset: -15%;
    background: radial-gradient(
      circle at center,
      var(--ac-glow) 0%,
      rgba(30, 200, 200, 0.08) 30%,
      transparent 65%
    );
    filter: blur(10px);
    pointer-events: none;
    transform: translateZ(-100px);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .about-logo-stage:hover .about-glow {
    transform: translateZ(-80px) scale(1.2);
  }
  .about-logo-svg-wrap {
    position: absolute;
    inset: 0;
    transform: translateZ(40px);
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.6));
  }
  .about-logo-svg-wrap svg {
    width: 100%; height: 100%;
    display: block;
    overflow: visible;
  }
  .about-logo-svg-wrap .seg {
    fill: var(--ac);
    transition:
      transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
      fill 0.4s ease;
  }
  .about-logo-stage:hover .seg {
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
    transition-delay: var(--delay);
    fill: var(--ac-2);
  }

  .about-text h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
  }
  .about-text p {
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 16px;
  }
  /* Чипы под текстом «О компании» — направления работы */
  .about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    transition: all 0.2s ease;
  }
  .chip:hover {
    border-color: var(--ac);
    background: var(--ac-tint);
  }
  .chip svg {
    width: 18px;
    height: 18px;
    stroke: var(--ac);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
  }

  /* ============================================================
     БЛОК — ЗАКАЗЧИКИ И ПАРТНЁРЫ
     ============================================================ */
  .clients-section h3.sub-h {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin: 0 0 18px;
    font-weight: 600;
  }
  .logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-2);
    margin-bottom: 40px;
  }
  .logo-cell {
    padding: 30px 16px;
    text-align: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
  }
  .logo-cell:nth-child(6n) { border-right: none; }
  .logo-cell:nth-last-child(-n+6) { border-bottom: none; }
  .logo-cell:hover {
    color: var(--ac);
    background: rgba(255, 255, 255, 0.02);
  }
  .logo-cell em {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: var(--ink-4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
    font-weight: 500;
  }

  /* ============================================================
     БЛОК — ЛИЦЕНЗИИ (вертикальный A4-формат под скан документа)
     ============================================================ */
  /* Слайдер лицензий — 4 видимых, остальные скроллятся */
  .licenses-wrap {
    position: relative;
  }
  .licenses-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * 20px) / 4);
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* скрываем скроллбар — навигация через стрелки */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* запас сверху/снизу — чтобы hover-эффект приподнимания не обрезался */
    padding: 8px 0 12px;
    margin: -8px 0 -12px;
  }
  .licenses-grid::-webkit-scrollbar { display: none; }
  .license-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
  }
  .license-card:hover {
    border-color: var(--ac);
    transform: translateY(-3px);
  }
  .license-sheet {
    width: 100%;
    padding-bottom: 141.4%;
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }
  .license-sheet img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }
  .license-text {
    flex: 1 1 auto;
    min-height: 70px;
  }
  .licenses-nav {
    position: absolute;
    top: -52px;
    right: 0;
    display: flex;
    gap: 8px;
  }
  .licenses-nav button {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.2s;
  }
  .licenses-nav button:hover { border-color: var(--ac); color: var(--ac); }
  .licenses-nav button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .license-card .name {
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    letter-spacing: -0.005em;
  }
  .license-card .desc {
    font-size: 12px;
    color: var(--ink-3);
    margin-top: 2px;
  }

  /* ============================================================
     БЛОК — КОНТАКТЫ И ФОРМА (по референсу)
     Слева — большие info-блоки с квадратной иконкой,
     снизу — ссылки на документы.
     Справа — форма в скруглённой панели.
     ============================================================ */
  .contacts-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 60px;
    align-items: stretch;
  }
  /* Обе колонки явно растягиваются на полную высоту строки grid */
  .contacts-grid > * { align-self: stretch; }
  /* Левая колонка — flex с justify-content space-between:
     info-блоки сверху, документы внизу, между ними auto-space.
     Этот паттерн работает железно во всех браузерах. */
  .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
  }
  .info-rows-wrap {
    display: flex;
    flex-direction: column;
  }
  /* Большой info-блок: иконка-плашка + label/значение справа */
  .info-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .info-row:first-child { padding-top: 0; }
  .info-row .info-ico {
    width: 56px; height: 56px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .info-row .info-ico svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .info-row .info-content { flex: 1; min-width: 0; }
  .info-row .info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin-bottom: 4px;
    font-weight: 600;
  }
  .info-row .info-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.005em;
    line-height: 1.35;
  }
  .info-row .info-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
  }
  .info-row .info-value a:hover { color: var(--ac); }

  /* Ссылки на документы — отделены от info-блоков таким же отступом,
     как и между другими разделами (≈ как между info-row). */
  .contact-docs {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .contact-docs .docs-title {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 600;
    margin: 0 0 6px;
  }
  .doc-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    text-decoration: none;
    color: var(--ink-2);
    font-size: 15px;
    transition: color 0.2s ease;
  }
  .doc-link:hover { color: var(--ac); }
  .doc-link .doc-ico {
    width: 22px; height: 22px;
    color: var(--ac);
    flex-shrink: 0;
  }
  .doc-link .doc-ico svg {
    width: 100%; height: 100%;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
  }
  .doc-link .doc-name { flex: 1; }
  /* Кнопка-стрелка скачать справа — отдельный «кнопочный» элемент */
  .doc-link .doc-dl {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .doc-link:hover .doc-dl {
    color: var(--ac);
    border-color: var(--ac);
    background: var(--ac-tint);
  }
  .doc-link .doc-dl svg {
    width: 16px; height: 16px;
  }

  .contact-form {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 36px;
    display: flex;
    flex-direction: column;
  }
  /* Поле с textarea растягивается чтобы заполнить остаток высоты —
     кнопка submit всегда прижата к низу панели */
  .contact-form .field-grow { flex: 1; display: flex; flex-direction: column; }
  .contact-form .field-grow textarea { flex: 1; min-height: 100px; }
  .contact-form h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }
  .contact-form > p {
    color: var(--ink-3);
    margin-bottom: 24px;
    font-size: 15px;
  }
  .field { margin-bottom: 16px; }
  .field label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-4);
    margin-bottom: 6px;
  }
  .field input, .field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    color: var(--ink);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
  }
  .field input:focus, .field textarea:focus { border-color: var(--ac); }
  .field textarea { resize: vertical; min-height: 100px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .field-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--ink-3);
    margin: 6px 0 18px;
    cursor: pointer;
  }
  .field-check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--ac); }
  .field-check a { color: var(--ink-2); }

  /* ============================================================
     ПОДВАЛ
     ============================================================ */
  footer {
    background: #06090c;
    padding: 60px 0 32px;
    color: var(--ink-3);
    font-size: 14px;
    border-top: 1px solid var(--line);
  }
  .footer-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
  }
  .footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-4);
    margin-bottom: 16px;
    font-weight: 600;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
  }
  .footer-col a:hover { color: var(--ac); }
  .footer-brand {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
  }
  .footer-brand .mark {
    width: 40px; height: 40px;
    background: var(--ac);
    -webkit-mask: url('logo_silhouette.svg') center / contain no-repeat;
            mask: url('logo_silhouette.svg') center / contain no-repeat;
  }
  .footer-brand .name { font-weight: 700; color: var(--ink); font-size: 17px; }
  .footer-tagline {
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.55;
    max-width: 320px;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-4);
  }
  .footer-bottom a { color: var(--ink-4); text-decoration: none; }
  .footer-bottom a:hover { color: var(--ac); }

  /* ============================================================
     АДАПТИВ
     ============================================================ */
  @media (max-width: 1100px) {
    :root { --grid-px: 24px; }
    nav.main-nav { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .logos-grid { grid-template-columns: 1fr 1fr 1fr; }
    .logo-cell:nth-child(6n) { border-right: 1px solid var(--line); }
    .logo-cell:nth-child(3n) { border-right: none; }
    .licenses-grid { grid-template-columns: repeat(3, 1fr); }
    .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 700px) {
    .header-right .header-phone { display: none; }
    .services-grid, .projects-grid { grid-template-columns: 1fr; }
    .licenses-grid { grid-template-columns: 1fr 1fr; }
    .logos-grid { grid-template-columns: 1fr 1fr; }
    .logo-cell:nth-child(3n) { border-right: 1px solid var(--line); }
    .logo-cell:nth-child(2n) { border-right: none; }
    .hero-stats-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-item { padding: 0; border-left: none; }
    .stat-item:nth-child(n+3) { padding-top: 20px; border-top: 1px solid var(--line); }
    .about-numbers { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .map-cta { padding: 24px; flex-direction: column; align-items: flex-start; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
  }

  /* ============================================================
     СТРАНИЦА «КОНТАКТЫ» — специфичные стили
     ============================================================ */
  /* Активный пункт меню */
  nav.main-nav a.active {
    color: var(--ac);
    background: var(--ac-tint);
  }

  /* Компактный hero страницы (без видео) */
  .page-hero {
    position: relative;
    padding: 180px 0 80px;
    background:
      radial-gradient(ellipse at top right, rgba(30, 200, 200, 0.08) 0%, transparent 55%),
      radial-gradient(ellipse at bottom left, rgba(30, 200, 200, 0.05) 0%, transparent 50%),
      var(--bg);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
  }
  .page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    pointer-events: none;
  }
  .page-hero-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    position: relative;
    z-index: 2;
  }
  .page-hero .crumbs {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin-bottom: 24px;
    font-weight: 600;
  }
  .page-hero .crumbs a {
    color: var(--ink-3);
    text-decoration: none;
    transition: color 0.2s;
  }
  .page-hero .crumbs a:hover { color: var(--ac); }
  .page-hero .crumbs span { color: var(--ink); }
  .page-hero h1 {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.04;
    margin-bottom: 20px;
    max-width: 900px;
  }
  .page-hero h1 .accent { color: var(--ac); }
  .page-hero .lead {
    font-size: clamp(16px, 1.3vw, 20px);
    color: var(--ink-2);
    max-width: 640px;
    line-height: 1.55;
  }

  /* Большие info-карточки (4 в ряд) для блока «Как нас найти» */
  .contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .contact-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px 28px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 220px;
  }
  .contact-card:hover {
    border-color: var(--ac);
    transform: translateY(-3px);
  }
  .contact-card .cc-ico {
    width: 52px; height: 52px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .contact-card .cc-ico svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .contact-card .cc-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    font-weight: 600;
  }
  .contact-card .cc-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
    letter-spacing: -0.005em;
    margin-top: -8px;
  }
  .contact-card .cc-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
  }
  .contact-card .cc-value a:hover { color: var(--ac); }
  .contact-card .cc-extra {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: -10px;
  }

  /* Блок формы + сайдбар */
  .form-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
  }
  .form-aside {
    background: linear-gradient(135deg, rgba(30, 200, 200, 0.10), rgba(30, 200, 200, 0.02));
    border: 1px solid var(--ac);
    border-radius: 14px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .form-aside h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }
  .form-aside p {
    color: var(--ink-2);
    line-height: 1.6;
    font-size: 15px;
  }
  .form-aside-quick {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }
  .form-aside-quick .row {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
  }
  .form-aside-quick .row:hover { color: var(--ac); }
  .form-aside-quick .row svg {
    width: 22px; height: 22px;
    stroke: var(--ac);
    stroke-width: 1.8;
    fill: none;
    flex-shrink: 0;
  }
  .form-aside-quick .row .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-3);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
  }
  .form-aside-quick .row .val {
    font-size: 16px;
    letter-spacing: -0.005em;
  }

  /* Реквизиты компании */
  .requisites {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 40px 44px;
  }
  .requisites-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .requisites-head h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  .requisites-head .sub {
    font-size: 14px;
    color: var(--ink-3);
    margin-top: 4px;
  }
  .req-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 40px;
  }
  .req-item .req-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    font-weight: 600;
    margin-bottom: 8px;
  }
  .req-item .req-value {
    font-size: 16px;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.45;
    word-break: break-word;
  }
  .req-item.wide { grid-column: span 3; }
  .req-item.wide2 { grid-column: span 2; }

  /* Соцсети — иконки в ряд */
  .socials-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .social-link {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .social-link:hover {
    color: var(--ac);
    border-color: var(--ac);
    background: var(--ac-tint);
    transform: translateY(-2px);
  }
  .social-link svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Блок «Где мы находимся» — 2 колонки: текст+адрес слева, карта справа */
  .where-block {
    padding: 60px 0 80px;
  }
  .where-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 60px;
    align-items: stretch;
  }
  .where-title {
    font-size: clamp(36px, 4.6vw, 64px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    margin-bottom: 36px;
    max-width: 520px;
  }
  .where-title .accent { color: var(--ac); }
  .where-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
  }
  .where-lead {
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.6;
    max-width: 420px;
    margin-bottom: 36px;
  }
  .where-address {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.4;
    color: var(--ink);
    margin: 0 0 36px;
    max-width: 380px;
  }
  .where-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ink);
    transition: all 0.2s ease;
  }
  .arrow-link:hover {
    color: var(--ac);
    border-bottom-color: var(--ac);
    transform: translateX(2px);
  }
  .arrow-link svg {
    width: 16px; height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .where-map {
    position: relative;
    width: 100%;
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line);
    filter: invert(0.92) hue-rotate(180deg) saturate(0.85) brightness(0.95);
  }
  .where-map iframe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: 0;
  }

  /* Крупный блок «Звоните / Пишите / Соцсети» — 3 колонки.
     Горизонтальная черта снизу — отделяет контакты от реквизитов. */
  .big-contacts {
    padding: 60px 0 80px;
    border-bottom: 1px solid var(--line);
  }
  .big-contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .bc-item {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .bc-label {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
    font-weight: 500;
  }
  .bc-value {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.05;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
  }
  .bc-value:hover { color: var(--ac); }
  .bc-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .bc-socials .social-link {
    width: 56px; height: 56px;
    border-radius: 12px;
  }

  /* Адаптив страницы контактов */
  @media (max-width: 1100px) {
    .where-grid { grid-template-columns: 1fr; gap: 40px; }
    .where-map { min-height: 380px; }
    .big-contacts-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-grid { grid-template-columns: 1fr; }
    .req-grid { grid-template-columns: 1fr 1fr; }
    .req-item.wide { grid-column: span 2; }
    .req-item.wide2 { grid-column: span 2; }
  }
  @media (max-width: 700px) {
    .page-hero { padding: 130px 0 30px; }
    .where-block { padding: 30px 0 40px; }
    .where-title { font-size: 36px; }
    .where-address { font-size: 17px; }
    .where-map { min-height: 320px; }
    .big-contacts { padding: 50px 0; }
    .requisites { padding: 28px 22px; }
    .req-grid { grid-template-columns: 1fr; }
    .req-item.wide, .req-item.wide2 { grid-column: span 1; }
  }

  /* ============================================================
     СТРАНИЦА «О КОМПАНИИ» — специфичные стили
     ============================================================ */
  /* Мелкий kicker «о компании» — просто текст бирюзовым, без рамки */
  .ap-kicker {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ac);
    font-weight: 700;
    margin-bottom: 36px;
  }

  /* Hero страницы «О компании»: левый столбец с текстом и фичами,
     правый — фото с плавным затуханием левого края в тёмный фон.
     Фото начинается НИЖЕ шапки (top отступ под фиксированной шапкой). */
  .ap-hero {
    position: relative;
    padding: 140px 0 70px;
    overflow: hidden;
    min-height: 620px;
  }
  .ap-hero-photo {
    position: absolute;
    top: 110px;        /* не заходит под шапку */
    right: 0;
    bottom: 70px;      /* по нижнему краю контента */
    width: 52%;
    background-image: url('office.png');
    background-size: cover;
    background-position: center;
    border-radius: 6px 0 0 6px;
    /* Подгоняем цветовую температуру фото к тёмно-бирюзовому фону секции —
       чуть приглушаем насыщенность и смещаем оттенок в холодный сине-зелёный. */
    filter: brightness(0.88) saturate(0.78) hue-rotate(-8deg);
    /* Плавное исчезновение левого края + лёгкая виньетка справа,
       чтобы фото мягко сливалось с тёмной стеной. */
    mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
  }
  /* Тонировочный слой поверх фото — окрашивает фото в цвет фона,
     левый край сильнее (под цвет стены), правый — почти прозрачный. */
  .ap-hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(10, 18, 22, 0.55) 25%, rgba(10, 18, 22, 0.12) 100%),
      linear-gradient(180deg, rgba(10, 18, 22, 0.20), rgba(10, 18, 22, 0.30));
    pointer-events: none;
  }
  .ap-hero-text {
    position: relative;
    z-index: 2;
    /* Без max-width — отдельные дочерние элементы (h1, lead, features)
       сами задают свои ограничения. Это нужно, чтобы блок фич мог быть
       шире текстовой колонки и заходил на фото. */
  }
  .ap-hero h1 {
    font-size: clamp(36px, 4.6vw, 60px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.04;
    margin-bottom: 28px;
    max-width: 540px;
  }
  .ap-hero h1 .accent { color: var(--ac); }
  .ap-hero .lead {
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.65;
    max-width: 470px;
  }

  /* 3 фичи внутри hero — inline в один ряд, без карточек.
     Зона шире текстовой колонки и слегка заходит на фото справа —
     заголовки идут в 2 строки, перекрытие с фото даёт красивый эффект. */
  .ap-features-inline {
    display: flex;
    gap: 36px;
    margin-top: 56px;
    flex-wrap: nowrap;
    max-width: 820px;     /* шире, чем текстовая колонка (470px) */
    position: relative;
    z-index: 3;            /* поверх фото */
  }
  .ap-fi {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1 1 0;
    min-width: 0;
    max-width: 240px;
  }
  .ap-fi-ico {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--ac-tint);
    border: 1px solid var(--ac);
    color: var(--ac);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .ap-fi-ico svg {
    width: 18px; height: 18px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .ap-fi-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: -0.005em;
    white-space: nowrap;     /* заголовок строго в одну строку */
  }
  .ap-fi-text p {
    font-size: 12.5px;
    color: var(--ink-3);
    line-height: 1.5;
    margin: 0;
    max-width: 170px;        /* описание переносится на 2 строки */
  }

  /* «О компании» — фото слева + текст и цифры справа */
  .ap-about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
  }
  .ap-about-photo {
    aspect-ratio: 4/3;
    width: 100%;
    border-radius: 16px;
    background-image: url('company.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
  }
  /* Никаких декоративных рамок и градиентных «виньеток» — фото идёт чисто. */
  .ap-about-text h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }
  .ap-about-text p {
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 14px;
  }
  .ap-stats {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .ap-stat .v {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: var(--ac);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
  }
  .ap-stat .l {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
  }

  /* Компетенции и отрасли — сетка 4 кол × 2 ряда с областями.
     Высокие карточки (dev, ind, cta) растягиваются на 2 ряда. */
  .ap-comp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.15fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
      "dev sys ind cta"
      "dev cons ind cta";
    gap: 16px;
    min-height: 440px;
  }
  .ac-dev  { grid-area: dev; }
  .ac-sys  { grid-area: sys; }
  .ac-cons { grid-area: cons; }
  .ac-ind  { grid-area: ind; }
  .ac-cta  { grid-area: cta; }
  .ap-comp-card {
    background: var(--bg-2);
    border-radius: 14px;
    padding: 26px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .ap-comp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  }
  .ap-comp-card.span2 { grid-column: span 2; }
  .ap-comp-card.bg-photo {
    background-size: cover;
    background-position: center;
  }
  .ap-comp-card.bg-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(10,18,22,0.55) 0%, rgba(10,18,22,0.92) 100%);
    z-index: 1;
  }
  .ap-comp-card > * { position: relative; z-index: 2; }
  .ap-comp-card h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }
  .ap-comp-card .arrow-circle {
    width: 36px; height: 36px;
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    border-radius: 50%;
    display: grid;
    place-items: center;
    align-self: flex-start;     /* стрелка внизу СЛЕВА, как в референсе */
    transition: all 0.2s ease;
  }
  .ap-comp-card:hover .arrow-circle {
    border-color: var(--ac);
    color: var(--ac);
    background: var(--ac-tint);
  }
  .ap-comp-card .arrow-circle svg {
    width: 16px; height: 16px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Карточка «Отрасли» — на собственной тёмной подложке */
  .ap-industry-card {
    background: #181F25;
    border-radius: 14px;
    padding: 26px;
    display: flex;
    flex-direction: column;
  }
  .ap-industry-card .head {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    font-weight: 600;
    margin-bottom: 22px;
  }
  .ap-industry-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .ap-industry-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
  }
  .ap-industry-card li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--ac);
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* Производство — фото слева + панель справа */
  .ap-prod-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
  }
  .ap-prod-photo {
    border-radius: 14px;
    background-image: url('https://images.unsplash.com/photo-1565514020179-026b92b84bb6?w=1600&q=80');
    background-size: cover;
    background-position: center;
    min-height: 340px;
    position: relative;
    overflow: hidden;
  }
  .ap-prod-panel {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }
  .ap-prod-panel .kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ac);
    font-weight: 600;
  }
  .ap-prod-panel h3 {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.15;
  }
  .ap-prod-panel p {
    color: var(--ink-2);
    line-height: 1.6;
    margin-bottom: 8px;
  }

  /* CTA-баннер с 3D логотипом справа */
  /* CTA-баннер перед футером — компактный (320px), картинка-подложка
     заполняет полотно через cover. object-position сдвинут так, чтобы
     логотип внутри картинки попадал в видимый центр баннера. */
  .ap-cta {
    background-color: #060a0d;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    height: 320px;
  }
  .ap-cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right 30%;   /* по горизонтали — справа, по вертикали — выше середины (видим верх лого) */
    display: block;
  }
  .ap-cta-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    padding: 4% 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .ap-cta h2 {
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
    color: var(--ink);
  }
  .ap-cta .lead {
    color: var(--ink-2);
    font-size: clamp(13px, 1.05vw, 15px);
    line-height: 1.55;
    margin-bottom: 22px;
  }

  /* Адаптив страницы «О компании» */
  @media (max-width: 1100px) {
    .ap-hero { min-height: auto; padding: 130px 0 60px; }
    .ap-hero-photo {
      position: relative;
      width: 100%;
      height: 320px;
      margin-top: 40px;
    }
    .ap-features-inline { gap: 24px; }
    .ap-about-grid { grid-template-columns: 1fr; gap: 40px; }
    .ap-stats { grid-template-columns: 1fr 1fr; }
    .ap-comp-grid {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto;
      grid-template-areas:
        "dev cta"
        "sys ind"
        "cons ind";
      min-height: auto;
    }
    .ap-prod-grid { grid-template-columns: 1fr; }
    .ap-cta-text { width: 55%; padding: 3% 4%; }
  }
  @media (max-width: 700px) {
    .ap-hero { padding: 110px 0 30px; }
    .ap-hero-photo { height: 220px; }
    .ap-features-inline { flex-direction: column; gap: 18px; }
    .ap-fi { max-width: 100%; }
    .ap-comp-grid {
      grid-template-columns: 1fr;
      grid-template-areas:
        "dev"
        "sys"
        "cons"
        "ind"
        "cta";
    }
    .ap-comp-card { min-height: 200px; }
    .ap-prod-panel { padding: 32px 24px; }
    .ap-cta-text { width: 65%; padding: 3% 4%; }
    .ap-cta h2 { font-size: 16px; margin-bottom: 8px; }
    .ap-cta .lead { display: none; }
  }
/* ============================================================
   СТРАНИЦА ПРОЕКТА (шаблон) — project.html
   ============================================================ */
  /* Хлебные крошки */
  .prj-crumbs {
    margin-top: 110px;            /* отступ от фикс-шапки */
    padding: 0 var(--grid-px);
    max-width: var(--grid-max);
    margin-left: auto; margin-right: auto;
    color: var(--ink-3);
    font-size: 13px;
  }
  .prj-crumbs a { color: var(--ink-3); text-decoration: none; transition: color 0.2s; }
  .prj-crumbs a:hover { color: var(--ac); }
  .prj-crumbs .sep { margin: 0 8px; color: var(--ink-4); }
  .prj-crumbs .current { color: var(--ink-2); }

  /* HERO-баннер проекта */
  .prj-hero {
    margin-top: 20px;
    padding: 50px 0 60px;
    border-bottom: 1px solid var(--line);
  }
  .prj-hero .block-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
  }
  .prj-hero-text .kicker {
    color: var(--ac);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    margin-bottom: 20px;
  }
  .prj-hero-text h1 {
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
  }
  .prj-hero-text .lead {
    color: var(--ink-2);
    font-size: 17px;
    line-height: 1.55;
    max-width: 540px;
  }
  .prj-hero-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-3);
    border-radius: 16px;
    border: 1px solid var(--line);
  }

  /* ОСНОВНОЙ КОНТЕНТ + САЙДБАР */
  .prj-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 56px;
    align-items: start;
  }
  .prj-content h2 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.015em;
    margin-bottom: 18px;
    margin-top: 44px;
  }
  .prj-content h2:first-child { margin-top: 0; }
  .prj-content p {
    color: var(--ink-2);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 14px;
  }
  .prj-tasks {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 8px;
  }
  .prj-tasks li {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.55;
  }
  .prj-tasks li .ic {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .prj-tasks li svg {
    width: 16px; height: 16px;
    stroke: currentColor; fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Результат — крупные цифры */
  .prj-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
  }
  .prj-result-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px 22px;
  }
  .prj-result-card .num {
    font-size: 38px;
    font-weight: 800;
    color: var(--ac);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 6px;
  }
  .prj-result-card .label {
    color: var(--ink-3);
    font-size: 13px;
    line-height: 1.4;
  }

  /* Использованное оборудование */
  .prj-equipment {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
  }
  .prj-equip-tag {
    padding: 10px 16px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 100px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
  }

  /* САЙДБАР */
  .prj-sidebar {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px 26px 24px;
    position: sticky;
    top: 100px;
  }
  .prj-customer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
  }
  .prj-customer .logo {
    width: 52px; height: 52px;
    border-radius: 10px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--ac);
    font-weight: 800;
  }
  .prj-customer .info { min-width: 0; }
  .prj-customer .info .label {
    color: var(--ink-3);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 4px;
  }
  .prj-customer .info .name {
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
  }
  .prj-fact {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }
  .prj-fact:last-of-type { border-bottom: 0; padding-bottom: 18px; }
  .prj-fact .k {
    color: var(--ink-3);
  }
  .prj-fact .v {
    color: var(--ink);
    font-weight: 500;
  }
  .prj-tags-list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .prj-tags-list span {
    padding: 4px 10px;
    background: var(--ac-tint);
    border: 1px solid rgba(30, 200, 200, 0.30);
    border-radius: 100px;
    color: var(--ac);
    font-size: 11px;
    font-weight: 600;
  }
  .prj-sidebar-cta {
    display: block;
    margin-top: 18px;
    padding: 14px 20px;
    text-align: center;
    background: var(--ac);
    color: #0a1216;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
  }
  .prj-sidebar-cta:hover {
    background: var(--ac-2);
    box-shadow: 0 8px 20px rgba(30, 200, 200, 0.30);
  }

  /* ГАЛЕРЕЯ ФОТО ОБЪЕКТА */
  .prj-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    height: 540px;
  }
  .prj-gallery-item {
    background-size: cover;
    background-position: center;
    background-color: var(--bg-3);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
  }
  .prj-gallery-item.big {
    grid-row: 1 / span 2;
  }

  /* ДРУГИЕ ПРОЕКТЫ */
  .prj-other-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .prj-other-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.25s;
    display: block;
  }
  .prj-other-card:hover {
    border-color: var(--ac);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  }
  .prj-other-card .photo {
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-3);
  }
  .prj-other-card .body {
    padding: 18px 20px 20px;
  }
  .prj-other-card .chip {
    display: inline-block;
    font-size: 11px;
    color: var(--ac);
    background: var(--ac-tint);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
  }
  .prj-other-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .prj-other-card .meta {
    color: var(--ink-3);
    font-size: 12px;
  }

  /* CTA-баннер */
  .prj-cta {
    background:
      linear-gradient(135deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
  }
  .prj-cta h3 {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.015em;
  }
  .prj-cta p {
    color: var(--ink-3);
    font-size: 14px;
    line-height: 1.55;
    max-width: 540px;
  }
  .prj-cta .btn {
    padding: 16px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    background: var(--ac);
    color: #0a1216;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
  }
  .prj-cta .btn:hover {
    background: var(--ac-2);
    box-shadow: 0 10px 26px rgba(30, 200, 200, 0.35);
  }

  /* === Адаптив === */
  @media (max-width: 1100px) {
    .prj-hero .block-inner { grid-template-columns: 1fr; }
    .prj-grid { grid-template-columns: 1fr; }
    .prj-sidebar { position: static; }
    .prj-gallery { grid-template-columns: 1fr 1fr; height: auto; aspect-ratio: 1; }
    .prj-gallery-item.big { grid-row: auto; aspect-ratio: 16/10; }
    .prj-other-grid { grid-template-columns: 1fr 1fr; }
    .prj-cta { padding: 32px; }
  }
  @media (max-width: 720px) {
    .prj-other-grid { grid-template-columns: 1fr; }
    .prj-results { grid-template-columns: 1fr; }
  }

/* ============================================================
   CSS из catalog.html (блок #1)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    /* Тёмная палитра */
    --bg: #0a1216;
    --bg-2: #0f1820;
    --bg-3: #16222b;

    /* Текст */
    --ink: #f4f6f7;
    --ink-2: #b8c4ca;
    --ink-3: #7a8a92;
    --ink-4: #4d5a62;

    /* ============================================================
       ГЛАВНЫЙ АКЦЕНТНЫЙ ЦВЕТ САЙТА — управляется одной переменной.
       Сейчас бирюзовый (по итогам обсуждения с Ильёй 18.05.2026).
       Если руководство СТК захочет вернуть фирменный синий —
       поменяйте значение ниже на #07579D (или любое другое).
       ============================================================ */
    --ac: #1ec8c8;
    --ac-2: #2dd9d9;          /* hover-вариант, чуть ярче */
    --ac-glow: rgba(30, 200, 200, 0.35);
    --ac-tint: rgba(30, 200, 200, 0.10);

    /* Фирменные цвета — оставлены на случай вторичных акцентов */
    --brand: #07579D;
    --accent-green: #ABC45E;

    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);

    /* Сетка контента — фиксированная как в первоначальном V1 */
    --grid-max: 1320px;
    --grid-px: 40px;
    --section-py: clamp(64px, 7vw, 110px);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
  }

  /* ============================================================
     HEADER
     ============================================================ */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 12px 0 4px;   /* асимметрично: сверху обычный, снизу почти 0 */
    transition: all 0.3s ease;
  }
  header.scrolled {
    background: rgba(10, 18, 22, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 10px 0 4px;
  }
  /* Лого чуть меньше — но шрифт меню оставлен оригинальный */
  .logo-mark { width: 36px; height: 36px; }
  .logo-name { font-size: 16px; }
  .header-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
  }
  .logo-mark {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background-color: var(--ac);
    -webkit-mask: url('logo_silhouette.svg') center / contain no-repeat;
            mask: url('logo_silhouette.svg') center / contain no-repeat;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: filter 0.25s ease, background-color 0.25s ease;
  }
  .logo:hover .logo-mark {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 16px var(--ac-glow));
  }
  .logo-name {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.015em;
  }

  nav.main-nav { display: flex; gap: 4px; }
  nav.main-nav a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
  }
  nav.main-nav a:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
  }

  /* Правая часть шапки — телефон + кнопка */
  .header-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .header-phone {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    transition: color 0.2s;
    white-space: nowrap;
  }
  .header-phone:hover { color: var(--ac); }
  /* Кнопка в шапке — чуть ниже по высоте, компактнее */
  .header-right .btn { padding: 9px 20px; font-size: 13.5px; }

  /* ============================================================
     КНОПКИ
     ============================================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--ac);
    color: #051517;
  }
  .btn-primary:hover {
    background: var(--ac-2);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px var(--ac-glow);
  }
  .btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
  }
  .btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.5);
  }
  .btn-ghost {
    background: transparent;
    color: var(--ac);
    border: 1.5px solid transparent;
    padding: 8px 0;
  }
  .btn-ghost:hover { color: var(--ac-2); }
  .btn-lg { padding: 16px 30px; font-size: 15px; }
  .btn .arrow { transition: transform 0.2s; }
  .btn:hover .arrow { transform: translateX(3px); }

  /* ============================================================
     HERO — полный экран с фоновым видео (4 видео сменяются)
     ============================================================ */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(180deg, rgba(10, 18, 22, 0.80) 0%, rgba(10, 18, 22, 0.50) 50%, rgba(10, 18, 22, 0.95) 100%),
      linear-gradient(90deg, rgba(10, 18, 22, 0.65) 0%, rgba(10, 18, 22, 0.20) 60%, rgba(10, 18, 22, 0.40) 100%),
      rgba(10, 18, 22, 0.20);
  }
  .hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(10, 18, 22, 0.6) 100%);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 100px var(--grid-px) 160px;
  }
  .hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.02em;
    max-width: 980px;
    margin-bottom: 28px;
  }
  .hero-title .accent { color: var(--ac); }
  .hero-sub {
    font-size: clamp(16px, 1.3vw, 19px);
    color: var(--ink-2);
    line-height: 1.55;
    max-width: 640px;
    margin-bottom: 44px;
  }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

  .hero-stats {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 3;
    padding: 32px 0;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent 0%, rgba(10, 18, 22, 0.6) 100%);
    backdrop-filter: blur(10px);
  }
  .hero-stats-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stat-item {
    padding: 0 24px;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .stat-item:first-child { border-left: none; padding-left: 0; }
  .stat-item .stat-value {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .stat-item .stat-value .plus { color: var(--ac); margin-left: 2px; }
  .stat-item .stat-label {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
  }

  /* ============================================================
     ОБЩИЕ СЕКЦИИ
     ============================================================ */
  section.block {
    padding: var(--section-py) 0;
    position: relative;
  }
  section.block.alt { background: var(--bg-2); }
  .block-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
  }
  .section-head {
    margin-bottom: 48px;
    max-width: 760px;
  }
  .section-title {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .section-title .accent { color: var(--ac); }
  .section-sub {
    font-size: clamp(15px, 1.2vw, 18px);
    color: var(--ink-2);
    line-height: 1.6;
    max-width: 640px;
  }

  /* ============================================================
     БЛОК — КЛЮЧЕВЫЕ КОМПЕТЕНЦИИ
     6 карточек в сетке 3×2 с line-style SVG-иконками
     ============================================================ */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .service-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px 32px 32px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
  }
  .service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color 0.25s ease;
    pointer-events: none;
  }
  .service-card:hover {
    background: var(--bg-3);
    transform: translateY(-3px);
  }
  .service-card:hover::after { border-color: var(--ac); }
  .service-card .ico {
    width: 64px; height: 64px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    transition: background 0.25s ease;
  }
  .service-card:hover .ico { background: rgba(30, 200, 200, 0.18); }
  .service-card .ico svg {
    width: 32px; height: 32px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.005em;
  }
  .service-card p {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.6;
  }

  /* ============================================================
     БЛОК — ПРОЕКТЫ
     ============================================================ */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .project-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.25s ease;
    cursor: pointer;
  }
  .project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(30, 200, 200, 0.4);
  }
  .project-photo {
    aspect-ratio: 16/10;
    background-color: var(--bg-3);
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
  }
  .project-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 18, 22, 0.10) 0%, rgba(10, 18, 22, 0.55) 100%);
    transition: background 0.3s ease;
  }
  .project-card:hover .project-photo {
    transform: scale(1.04);
  }
  .project-card:hover .project-photo::after {
    background: linear-gradient(180deg, rgba(10, 18, 22, 0) 0%, rgba(10, 18, 22, 0.4) 100%);
  }
  .project-body { padding: 20px 24px 24px; }
  .project-meta {
    font-size: 12px;
    color: var(--ac);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }
  .project-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.005em;
  }
  .project-body p {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.5;
  }

  /* ============================================================
     CTA-БАННЕР С DOT-КАРТОЙ РОССИИ
     Карта живёт по центру/справа как фоновая графика,
     текст слева и кнопка справа лежат поверх неё.
     ============================================================ */
  .map-cta {
    margin-top: 48px;
    background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 40px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    /* Явно задаём цвет ссылки белым (включая :visited), чтобы заголовок
       внутри не уходил в дефолтный фиолетовый «нажатой ссылки». */
    color: var(--ink);
  }
  .map-cta:visited,
  .map-cta:active,
  .map-cta:focus { color: var(--ink); }
  .map-cta-img {
    position: absolute;
    right: -4%;
    top: 50%;
    transform: translateY(-50%);
    width: 62%;
    max-width: 780px;
    height: auto;
    object-fit: contain;
    pointer-events: none;
    z-index: 0;
    /* screen "выбивает" тёмный фон исходного PNG — остаются только
       светящиеся бирюзовые контуры карты, точки и линии сети. */
    mix-blend-mode: screen;
    opacity: 0.95;
    mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
  }

  .map-cta .text {
    position: relative;
    z-index: 2;
    max-width: 540px;
  }
  .map-cta .text small {
    font-size: 12px;
    color: var(--ac);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
  }
  .map-cta .text h3 {
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: var(--ink);
  }

  /* Кнопка карты — бирюзовая полупрозрачная заливка + обводка (по референсу) */
  .map-cta-btn {
    position: relative;
    z-index: 2;
    padding: 16px 30px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    background: rgba(30, 200, 200, 0.15);
    border: 1.5px solid var(--ac);
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .map-cta-btn:hover {
    background: rgba(30, 200, 200, 0.28);
    box-shadow: 0 8px 24px rgba(30, 200, 200, 0.25);
  }
  .map-cta-btn .arrow { transition: transform 0.2s; }
  .map-cta-btn:hover .arrow { transform: translateX(3px); }

  /* ============================================================
     БЛОК — О КОМПАНИИ (3D-логотип + текст + цифры)
     ============================================================ */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
  }
  .about-logo-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 460px;
    margin: 0 auto;
    perspective: 1200px;
  }

  .about-logo-inner {
    position: relative;
    width: 100%; height: 100%;
    transform-style: preserve-3d;
  }
  .about-glow {
    position: absolute;
    inset: -15%;
    background: radial-gradient(
      circle at center,
      var(--ac-glow) 0%,
      rgba(30, 200, 200, 0.08) 30%,
      transparent 65%
    );
    filter: blur(10px);
    pointer-events: none;
    transform: translateZ(-100px);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .about-logo-stage:hover .about-glow {
    transform: translateZ(-80px) scale(1.2);
  }
  .about-logo-svg-wrap {
    position: absolute;
    inset: 0;
    transform: translateZ(40px);
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.6));
  }
  .about-logo-svg-wrap svg {
    width: 100%; height: 100%;
    display: block;
    overflow: visible;
  }
  .about-logo-svg-wrap .seg {
    fill: var(--ac);
    transition:
      transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
      fill 0.4s ease;
  }
  .about-logo-stage:hover .seg {
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot));
    transition-delay: var(--delay);
    fill: var(--ac-2);
  }

  .about-text h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
  }
  .about-text p {
    color: var(--ink-2);
    line-height: 1.7;
    margin-bottom: 16px;
  }
  /* Чипы под текстом «О компании» — направления работы */
  .about-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
    transition: all 0.2s ease;
  }
  .chip:hover {
    border-color: var(--ac);
    background: var(--ac-tint);
  }
  .chip svg {
    width: 18px;
    height: 18px;
    stroke: var(--ac);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
  }

  /* ============================================================
     БЛОК — ЗАКАЗЧИКИ И ПАРТНЁРЫ
     ============================================================ */
  .clients-section h3.sub-h {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin: 0 0 18px;
    font-weight: 600;
  }
  .logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-2);
    margin-bottom: 40px;
  }
  .logo-cell {
    padding: 30px 16px;
    text-align: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
  }
  .logo-cell:nth-child(6n) { border-right: none; }
  .logo-cell:nth-last-child(-n+6) { border-bottom: none; }
  .logo-cell:hover {
    color: var(--ac);
    background: rgba(255, 255, 255, 0.02);
  }
  .logo-cell em {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: var(--ink-4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
    font-weight: 500;
  }

  /* ============================================================
     БЛОК — ЛИЦЕНЗИИ (вертикальный A4-формат под скан документа)
     ============================================================ */
  .licenses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .license-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.25s ease;
  }
  .license-card:hover {
    border-color: var(--ac);
    transform: translateY(-3px);
  }
  /* «Лист» А4 — вертикальная ориентация, пропорции близкие к 1:1.414.
     Используем padding-bottom-хак для надёжного aspect-ratio в Grid.
     Контент позиционируется через абсолютные ::before/::after. */
  .license-sheet {
    width: 100%;
    padding-bottom: 141.4%; /* A4 portrait 1:√2 */
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%),
      var(--bg-3);
    border: 1px solid var(--line-2);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }
  /* Текстовая часть забирает остаток высоты карточки — все карточки
     выровнены и низом, и положением листа. */
  .license-text {
    flex: 1 1 auto;
    min-height: 70px;
  }
  /* Имитация шапки документа сверху */
  .license-sheet::before {
    content: '';
    position: absolute;
    top: 10%; left: 14%; right: 14%;
    height: 2px;
    background: var(--ink-4);
    opacity: 0.4;
    box-shadow:
      0 8px 0 0 rgba(122, 138, 146, 0.28),
      0 16px 0 0 rgba(122, 138, 146, 0.28),
      0 32px 0 0 rgba(122, 138, 146, 0.18),
      0 40px 0 0 rgba(122, 138, 146, 0.18);
  }
  /* Круглая печать в углу — намёк на гербовую печать */
  .license-sheet::after {
    content: '';
    position: absolute;
    bottom: 12%; right: 16%;
    width: 30px; height: 30px;
    border: 1.5px solid var(--ac);
    border-radius: 50%;
    opacity: 0.55;
    background: radial-gradient(circle, transparent 50%, var(--ac-tint) 60%);
  }
  .license-card .name {
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    letter-spacing: -0.005em;
  }
  .license-card .desc {
    font-size: 12px;
    color: var(--ink-3);
    margin-top: 2px;
  }

  /* ============================================================
     БЛОК — КОНТАКТЫ И ФОРМА (по референсу)
     Слева — большие info-блоки с квадратной иконкой,
     снизу — ссылки на документы.
     Справа — форма в скруглённой панели.
     ============================================================ */
  .contacts-grid {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: 60px;
    align-items: stretch;
  }
  /* Обе колонки явно растягиваются на полную высоту строки grid */
  .contacts-grid > * { align-self: stretch; }
  /* Левая колонка — flex с justify-content space-between:
     info-блоки сверху, документы внизу, между ними auto-space.
     Этот паттерн работает железно во всех браузерах. */
  .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
  }
  .info-rows-wrap {
    display: flex;
    flex-direction: column;
  }
  /* Большой info-блок: иконка-плашка + label/значение справа */
  .info-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .info-row:first-child { padding-top: 0; }
  .info-row .info-ico {
    width: 56px; height: 56px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .info-row .info-ico svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .info-row .info-content { flex: 1; min-width: 0; }
  .info-row .info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin-bottom: 4px;
    font-weight: 600;
  }
  .info-row .info-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.005em;
    line-height: 1.35;
  }
  .info-row .info-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
  }
  .info-row .info-value a:hover { color: var(--ac); }

  /* Ссылки на документы — отделены от info-блоков таким же отступом,
     как и между другими разделами (≈ как между info-row). */
  .contact-docs {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .contact-docs .docs-title {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 600;
    margin: 0 0 6px;
  }
  .doc-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    text-decoration: none;
    color: var(--ink-2);
    font-size: 15px;
    transition: color 0.2s ease;
  }
  .doc-link:hover { color: var(--ac); }
  .doc-link .doc-ico {
    width: 22px; height: 22px;
    color: var(--ac);
    flex-shrink: 0;
  }
  .doc-link .doc-ico svg {
    width: 100%; height: 100%;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
  }
  .doc-link .doc-name { flex: 1; }
  /* Кнопка-стрелка скачать справа — отдельный «кнопочный» элемент */
  .doc-link .doc-dl {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .doc-link:hover .doc-dl {
    color: var(--ac);
    border-color: var(--ac);
    background: var(--ac-tint);
  }
  .doc-link .doc-dl svg {
    width: 16px; height: 16px;
  }

  .contact-form {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 36px;
    display: flex;
    flex-direction: column;
  }
  /* Поле с textarea растягивается чтобы заполнить остаток высоты —
     кнопка submit всегда прижата к низу панели */
  .contact-form .field-grow { flex: 1; display: flex; flex-direction: column; }
  .contact-form .field-grow textarea { flex: 1; min-height: 100px; }
  .contact-form h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }
  .contact-form > p {
    color: var(--ink-3);
    margin-bottom: 24px;
    font-size: 15px;
  }
  .field { margin-bottom: 16px; }
  .field label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-4);
    margin-bottom: 6px;
  }
  .field input, .field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--line-2);
    border-radius: 8px;
    color: var(--ink);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
  }
  .field input:focus, .field textarea:focus { border-color: var(--ac); }
  .field textarea { resize: vertical; min-height: 100px; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .field-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--ink-3);
    margin: 6px 0 18px;
    cursor: pointer;
  }
  .field-check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--ac); }
  .field-check a { color: var(--ink-2); }

  /* ============================================================
     ПОДВАЛ
     ============================================================ */
  footer {
    background: #06090c;
    padding: 60px 0 32px;
    color: var(--ink-3);
    font-size: 14px;
    border-top: 1px solid var(--line);
  }
  .footer-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
  }
  .footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-4);
    margin-bottom: 16px;
    font-weight: 600;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 14px;
  }
  .footer-col a:hover { color: var(--ac); }
  .footer-brand {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
  }
  .footer-brand .mark {
    width: 40px; height: 40px;
    background: var(--ac);
    -webkit-mask: url('logo_silhouette.svg') center / contain no-repeat;
            mask: url('logo_silhouette.svg') center / contain no-repeat;
  }
  .footer-brand .name { font-weight: 700; color: var(--ink); font-size: 17px; }
  .footer-tagline {
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.55;
    max-width: 320px;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-4);
  }
  .footer-bottom a { color: var(--ink-4); text-decoration: none; }
  .footer-bottom a:hover { color: var(--ac); }

  /* ============================================================
     АДАПТИВ
     ============================================================ */
  @media (max-width: 1100px) {
    :root { --grid-px: 24px; }
    nav.main-nav { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .logos-grid { grid-template-columns: 1fr 1fr 1fr; }
    .logo-cell:nth-child(6n) { border-right: 1px solid var(--line); }
    .logo-cell:nth-child(3n) { border-right: none; }
    .licenses-grid { grid-template-columns: repeat(3, 1fr); }
    .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 700px) {
    .header-right .header-phone { display: none; }
    .services-grid, .projects-grid { grid-template-columns: 1fr; }
    .licenses-grid { grid-template-columns: 1fr 1fr; }
    .logos-grid { grid-template-columns: 1fr 1fr; }
    .logo-cell:nth-child(3n) { border-right: 1px solid var(--line); }
    .logo-cell:nth-child(2n) { border-right: none; }
    .hero-stats-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-item { padding: 0; border-left: none; }
    .stat-item:nth-child(n+3) { padding-top: 20px; border-top: 1px solid var(--line); }
    .about-numbers { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .map-cta { padding: 24px; flex-direction: column; align-items: flex-start; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
  }

  /* ============================================================
     СТРАНИЦА «КОНТАКТЫ» — специфичные стили
     ============================================================ */
  /* Активный пункт меню */
  nav.main-nav a.active {
    color: var(--ac);
    background: var(--ac-tint);
  }

  /* Компактный hero страницы (без видео) */
  .page-hero {
    position: relative;
    padding: 180px 0 80px;
    background:
      radial-gradient(ellipse at top right, rgba(30, 200, 200, 0.08) 0%, transparent 55%),
      radial-gradient(ellipse at bottom left, rgba(30, 200, 200, 0.05) 0%, transparent 50%),
      var(--bg);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
  }
  .page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    pointer-events: none;
  }
  .page-hero-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    position: relative;
    z-index: 2;
  }
  .page-hero .crumbs {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    margin-bottom: 24px;
    font-weight: 600;
  }
  .page-hero .crumbs a {
    color: var(--ink-3);
    text-decoration: none;
    transition: color 0.2s;
  }
  .page-hero .crumbs a:hover { color: var(--ac); }
  .page-hero .crumbs span { color: var(--ink); }
  .page-hero h1 {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.04;
    margin-bottom: 20px;
    max-width: 900px;
  }
  .page-hero h1 .accent { color: var(--ac); }
  .page-hero .lead {
    font-size: clamp(16px, 1.3vw, 20px);
    color: var(--ink-2);
    max-width: 640px;
    line-height: 1.55;
  }

  /* Большие info-карточки (4 в ряд) для блока «Как нас найти» */
  .contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .contact-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px 28px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 220px;
  }
  .contact-card:hover {
    border-color: var(--ac);
    transform: translateY(-3px);
  }
  .contact-card .cc-ico {
    width: 52px; height: 52px;
    border-radius: 12px;
    border: 1.5px solid var(--ac);
    background: var(--ac-tint);
    color: var(--ac);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .contact-card .cc-ico svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  .contact-card .cc-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    font-weight: 600;
  }
  .contact-card .cc-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
    letter-spacing: -0.005em;
    margin-top: -8px;
  }
  .contact-card .cc-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
  }
  .contact-card .cc-value a:hover { color: var(--ac); }
  .contact-card .cc-extra {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: -10px;
  }

  /* Блок формы + сайдбар */
  .form-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
  }
  .form-aside {
    background: linear-gradient(135deg, rgba(30, 200, 200, 0.10), rgba(30, 200, 200, 0.02));
    border: 1px solid var(--ac);
    border-radius: 14px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .form-aside h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }
  .form-aside p {
    color: var(--ink-2);
    line-height: 1.6;
    font-size: 15px;
  }
  .form-aside-quick {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }
  .form-aside-quick .row {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
  }
  .form-aside-quick .row:hover { color: var(--ac); }
  .form-aside-quick .row svg {
    width: 22px; height: 22px;
    stroke: var(--ac);
    stroke-width: 1.8;
    fill: none;
    flex-shrink: 0;
  }
  .form-aside-quick .row .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-3);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
  }
  .form-aside-quick .row .val {
    font-size: 16px;
    letter-spacing: -0.005em;
  }

  /* Реквизиты компании */
  .requisites {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 40px 44px;
  }
  .requisites-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
  .requisites-head h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  .requisites-head .sub {
    font-size: 14px;
    color: var(--ink-3);
    margin-top: 4px;
  }
  .req-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 40px;
  }
  .req-item .req-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    font-weight: 600;
    margin-bottom: 8px;
  }
  .req-item .req-value {
    font-size: 16px;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.45;
    word-break: break-word;
  }
  .req-item.wide { grid-column: span 3; }
  .req-item.wide2 { grid-column: span 2; }

  /* Соцсети — иконки в ряд */
  .socials-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .social-link {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: var(--bg-2);
    border: 1px solid var(--line-2);
    color: var(--ink-2);
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .social-link:hover {
    color: var(--ac);
    border-color: var(--ac);
    background: var(--ac-tint);
    transform: translateY(-2px);
  }
  .social-link svg {
    width: 24px; height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Блок «Где мы находимся» — 2 колонки: текст+адрес слева, карта справа */
  .where-block {
    padding: 60px 0 80px;
  }
  .where-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 60px;
    align-items: stretch;
  }
  .where-title {
    font-size: clamp(36px, 4.6vw, 64px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    margin-bottom: 36px;
    max-width: 520px;
  }
  .where-title .accent { color: var(--ac); }
  .where-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
  }
  .where-lead {
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.6;
    max-width: 420px;
    margin-bottom: 36px;
  }
  .where-address {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.4;
    color: var(--ink);
    margin: 0 0 36px;
    max-width: 380px;
  }
  .where-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ink);
    transition: all 0.2s ease;
  }
  .arrow-link:hover {
    color: var(--ac);
    border-bottom-color: var(--ac);
    transform: translateX(2px);
  }
  .arrow-link svg {
    width: 16px; height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .where-map {
    position: relative;
    width: 100%;
    min-height: 520px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line);
    filter: invert(0.92) hue-rotate(180deg) saturate(0.85) brightness(0.95);
  }
  .where-map iframe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: 0;
  }

  /* Крупный блок «Звоните / Пишите / Соцсети» — 3 колонки.
     Горизонтальная черта снизу — отделяет контакты от реквизитов. */
  .big-contacts {
    padding: 60px 0 80px;
    border-bottom: 1px solid var(--line);
  }
  .big-contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  .bc-item {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .bc-label {
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: 0.02em;
    font-weight: 500;
  }
  .bc-value {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.05;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
  }
  .bc-value:hover { color: var(--ac); }
  .bc-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  .bc-socials .social-link {
    width: 56px; height: 56px;
    border-radius: 12px;
  }

  /* Адаптив страницы контактов */
  @media (max-width: 1100px) {
    .where-grid { grid-template-columns: 1fr; gap: 40px; }
    .where-map { min-height: 380px; }
    .big-contacts-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-grid { grid-template-columns: 1fr; }
    .req-grid { grid-template-columns: 1fr 1fr; }
    .req-item.wide { grid-column: span 2; }
    .req-item.wide2 { grid-column: span 2; }
  }
  @media (max-width: 700px) {
    .page-hero { padding: 130px 0 30px; }
    .where-block { padding: 30px 0 40px; }
    .where-title { font-size: 36px; }
    .where-address { font-size: 17px; }
    .where-map { min-height: 320px; }
    .big-contacts { padding: 50px 0; }
    .requisites { padding: 28px 22px; }
    .req-grid { grid-template-columns: 1fr; }
    .req-item.wide, .req-item.wide2 { grid-column: span 1; }
  }

  /* ============================================================
     СТРАНИЦА «ОБОРУДОВАНИЕ» (catalog.html)
     ============================================================ */
  /* Hero страницы — полноширинный баннер с оригинальным bg.png.
     max-height ограничивает высоту от вытягивания. */
  .cat-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);   /* выводим за границы родительских ограничений если есть */
    aspect-ratio: 1672 / 941;
    max-height: 760px;
    min-height: 520px;
    overflow: hidden;
    background-image: url('kk-photos/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    margin-top: 0;
    box-sizing: border-box;
  }
  /* Прибор — позиционируется относительно секции. Базовое значение —
     для самых узких экранов (<1120px). Дальше брейкпоинты понижают bottom. */
  .cat-hero::after {
    content: '';
    position: absolute;
    bottom: 30%;
    left: 67%;
    transform: translateX(-50%);
    width: 17%;
    aspect-ratio: 1122 / 1402;
    background: url('kk-photos/konnektor-cutout.png') center/contain no-repeat;
    filter:
      drop-shadow(0 18px 14px rgba(0,0,0,0.9))
      drop-shadow(0 0 30px rgba(30,200,200,0.10));
    z-index: 2;
    pointer-events: none;
  }
  /* ============================================================
     ПОЗИЦИЯ ПРИБОРА НА КАМНЕ — БРЕЙКПОИНТЫ КАЖДЫЕ 100PX
     ------------------------------------------------------------
     На узких экранах прибор сильно поднят (большой bottom%),
     на широких — сильно опущен. Шаг резкий, чтобы не уходил под камень.
     ============================================================ */
  /* Очень узкие — большой подъём (базовое значение, до 1020) */
  @media (min-width: 1120px) { .cat-hero::after { bottom: 28%; } }
  @media (min-width: 1220px) { .cat-hero::after { bottom: 26%; } }
  @media (min-width: 1320px) { .cat-hero::after { bottom: 24%; } }
  @media (min-width: 1420px) { .cat-hero::after { bottom: 22%; } }
  @media (min-width: 1520px) { .cat-hero::after { bottom: 20%; } }
  @media (min-width: 1620px) { .cat-hero::after { bottom: 18%; } }
  @media (min-width: 1720px) { .cat-hero::after { bottom: 16%; } }
  @media (min-width: 1820px) { .cat-hero::after { bottom: 14%; } }
  /* 1920 — базовая «правильная» точка */
  @media (min-width: 1920px) { .cat-hero::after { bottom: 12%; } }
  /* После 1920 — резко вниз */
  @media (min-width: 2020px) { .cat-hero::after { bottom:  9%; } }
  @media (min-width: 2120px) { .cat-hero::after { bottom:  7%; } }
  @media (min-width: 2220px) { .cat-hero::after { bottom:  5%; } }
  @media (min-width: 2320px) { .cat-hero::after { bottom:  4%; } }
  @media (min-width: 2420px) { .cat-hero::after { bottom:  3%; } }
  @media (min-width: 2520px) { .cat-hero::after { bottom:  2%; } }
  @media (min-width: 2560px) { .cat-hero::after { bottom:  1%; } }
  /* Тёмный градиент слева (для текста) + плавный fade снизу в цвет фона */
  .cat-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(5,10,16,0.85) 0%, rgba(5,10,16,0.45) 35%, rgba(5,10,16,0) 60%),
      linear-gradient(180deg, rgba(10,18,22,0) 60%, rgba(10,18,22,0.6) 85%, var(--bg) 100%);
    pointer-events: none;
    z-index: 2;
  }
  /* Контейнер с текстом — позиционируется внутри hero сверху-слева */
  .cat-hero .block-inner {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;        /* отступ под фиксированной шапкой */
  }
  .cat-hero h1 { color: var(--ink); }
  .cat-crumbs {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    font-weight: 600;
    margin-bottom: 24px;
  }
  .cat-crumbs a {
    color: var(--ink-3);
    text-decoration: none;
    transition: color 0.2s;
  }
  .cat-crumbs a:hover { color: var(--ac); }
  .cat-crumbs span { color: var(--ink); }
  .cat-hero-grid {
    /* Текст в одну колонку, занимает левую половину; правая половина
       пустая — там видим прибор на камне через bg-баннер. */
    max-width: 580px;
  }
  /* Kicker — бирюзовый мини-заголовок над h1 */
  .cat-hero-kicker {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--ac);
    font-weight: 700;
    margin-bottom: 18px;
  }
  /* Иерархия: kicker → огромный заголовок → бирюзовый subtitle → описание */
  .cat-hero h1 {
    font-size: clamp(38px, 4.4vw, 58px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.04;
    margin-bottom: 16px;
  }
  .cat-hero .sub {
    font-size: clamp(16px, 1.25vw, 19px);
    color: var(--ac);
    font-weight: 600;
    margin-bottom: 18px;
    line-height: 1.4;
    max-width: 540px;
  }
  .cat-hero .lead {
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.6;
    max-width: 520px;
    margin-bottom: 38px;          /* больше воздуха перед кнопками */
  }
  /* CTA-кнопки в баннере — больше дыхания вокруг */
  .cat-hero-cta {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 42px;           /* больше отступ до чипсов снизу */
  }
  /* Сами кнопки в баннере крупнее по padding */
  .cat-hero-cta .btn {
    padding: 16px 28px;            /* больше внутреннего воздуха в кнопках */
    font-size: 15px;
  }
  .cat-hero-dl {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
  }
  .cat-hero-dl:hover { color: var(--ac); }
  .cat-hero-dl svg {
    width: 18px; height: 18px;
    color: var(--ac);
  }
  /* Чипы-фичи: 3 пилюли с иконками */
  .cat-hero-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .cat-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(15, 24, 32, 0.65);
    border: 1px solid var(--line-2);
    border-radius: 100px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .cat-hero-chip svg {
    width: 16px; height: 16px;
    stroke: var(--ac);
    fill: none;
    stroke-width: 1.8;
    flex-shrink: 0;
  }
  /* Hero-сцена: bg.png карьерный фон + прибор стоит на камне */
  .cat-hero-photo {
    position: relative;
    aspect-ratio: 1672/941;
    width: 100%;
    background-image: url('kk-photos/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 14px;
    overflow: hidden;
  }
  /* Сам прибор — позиционируется так, чтобы низ касался верха камня */
  .cat-hero-photo::after {
    content: '';
    position: absolute;
    bottom: 24%;       /* верхняя плоскость камня в bg.png */
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    aspect-ratio: 1122/1402;
    background: url('kk-photos/konnektor-cutout.png') center/contain no-repeat;
    filter:
      drop-shadow(0 22px 18px rgba(0,0,0,0.85))
      drop-shadow(0 0 30px rgba(30,200,200,0.08));
  }

  /* Табы-фильтры */
  .cat-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
  }
  .cat-tab {
    padding: 11px 22px;
    border: 1px solid var(--line-2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
  }
  .cat-tab:hover {
    color: var(--ink);
    border-color: var(--ac);
  }
  .cat-tab.active {
    background: var(--ac-tint);
    border-color: var(--ac);
    color: var(--ac);
  }

  /* Бейдж «Вариант 1» (если будут варианты) */
  .cat-variant-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: var(--ac-tint);
    border: 1px solid var(--ac);
    border-radius: 100px;
    color: var(--ac);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 28px;
  }

  /* Витрина продукта — 2 колонки: слайдер фото слева, характеристики справа */
  .cat-product {
    background: var(--bg-2);
    border-radius: 18px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;        /* обе колонки одинаковой высоты */
    margin-bottom: 28px;
  }
  /* Слайдер фото + 3D-модель */
  .cat-slider {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .cat-slider-main {
    width: 100%;
    background: transparent;
    border-radius: 12px;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
    flex: 1 1 0;            /* растягивается до высоты колонки */
    min-height: 380px;       /* минимум для нормального отображения */
  }
  /* 3D canvas — занимает весь main, более тёмный фон для эффекта */
  #kk-3d-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(135deg, #1a2530, #0a1216);
  }
  /* Фото-слой (показывается, когда выбран фото-слайд) */
  .cat-slider-photo {
    position: absolute;
    inset: 0;
    background-color: transparent;        /* поля прозрачные — поля contain сольются с фоном */
    background-size: contain;             /* фото вписывается без обрезки */
    background-repeat: no-repeat;
    background-position: center;
    display: none;
  }
  .cat-slider-main.is-photo .cat-slider-photo { display: block; }
  .cat-slider-main.is-photo #kk-3d-canvas { display: none; }
  /* Бейдж «3D» на первой миниатюре */
  .cat-slider-thumb.thumb-3d {
    background: linear-gradient(135deg, #1a2530, #0a1216);
    display: grid;
    place-items: center;
    color: var(--ac);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    position: relative;
  }
  .cat-slider-thumb.thumb-3d::before {
    content: '3D';
    z-index: 1;
  }
  .cat-slider-thumb.thumb-3d::after {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid var(--ac);
    border-radius: 4px;
    opacity: 0.5;
  }
  /* Подсказка «покрутите модель» — только в 3D-режиме */
  .cat-3d-hint {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    padding: 6px 14px;
    background: rgba(10, 18, 22, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    letter-spacing: 0.02em;
    pointer-events: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2;
    opacity: 1;
    transition: opacity 0.4s;
  }
  .cat-slider-main.is-photo .cat-3d-hint { display: none; }
  .cat-slider-main.user-rotated .cat-3d-hint { opacity: 0; }
  .cat-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(10, 18, 22, 0.65);
    border: 1px solid var(--line-2);
    color: var(--ink);
    cursor: pointer;
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s;
  }
  .cat-slider-arrow:hover {
    background: var(--ac);
    color: #051517;
    border-color: var(--ac);
  }
  .cat-slider-arrow.prev { left: 14px; }
  .cat-slider-arrow.next { right: 14px; }
  .cat-slider-arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .cat-slider-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    /* Полностью скрыть scrollbar (прокрутка через drag) */
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
  }
  .cat-slider-thumbs::-webkit-scrollbar { display: none; }
  .cat-slider-thumbs.is-dragging { cursor: grabbing; scroll-behavior: auto; }
  .cat-slider-thumb {
    flex: 0 0 calc(20% - 6.4px); /* 5 миниатюр одновременно в видимой области, остальные доступны через drag */
    aspect-ratio: 1;
    background: #f4f4f4;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: opacity 0.18s, border-color 0.18s;
  }
  .cat-slider-thumbs.is-dragging .cat-slider-thumb { cursor: grabbing; }
  .cat-slider-thumb:hover { opacity: 0.85; }
  .cat-slider-thumb.active { opacity: 1; border-color: var(--ac); }
  /* Правая колонка — характеристики */
  .cat-specs {
    padding-top: 4px;
  }
  .cat-specs h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.005em;
    margin-bottom: 22px;
  }
  .cat-specs-table {
    width: 100%;
    border-collapse: collapse;
  }
  .cat-specs-table tr {
    border-bottom: 1px solid var(--line);
  }
  .cat-specs-table tr:last-child { border-bottom: none; }
  .cat-specs-table td {
    padding: 13px 0;
    font-size: 14px;
    vertical-align: top;
  }
  .cat-specs-table td:first-child {
    width: 42%;
    color: var(--ink-3);
    padding-right: 16px;
  }
  .cat-specs-table td:last-child {
    color: var(--ink);
    font-weight: 500;
  }
  .cat-product-info { padding: 0; }

  /* Правая колонка — описание */
  .cat-product-kicker {
    display: inline-block;
    padding: 6px 16px;
    background: var(--ac-tint);
    border: 1px solid var(--ac);
    border-radius: 100px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ac);
    font-weight: 700;
    margin-bottom: 18px;
  }
  .cat-product h2 {
    font-size: clamp(40px, 4.8vw, 64px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1;
    margin-bottom: 18px;
  }
  .cat-product .intro {
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 28px;
    max-width: 520px;
  }

  /* Конфигурации (1 SIM / 2 SIM) — большие плашки */
  .cat-config {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
  }
  .cat-config-opt {
    padding: 22px 24px;
    background: rgba(15, 24, 32, 0.5);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .cat-config-opt:hover { border-color: var(--ac); }
  .cat-config-opt.active {
    border-color: var(--ac);
    background: var(--ac-tint);
    box-shadow: 0 0 0 1px var(--ac), 0 8px 24px rgba(30,200,200,0.15);
  }
  .cat-config-opt .opt-icon {
    width: 32px; height: 32px;
    color: var(--ac);
  }
  .cat-config-opt .opt-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .cat-config-opt .opt-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-3);
    font-weight: 600;
  }
  .cat-config-opt.active .opt-label { color: var(--ink-2); }
  .cat-config-opt .opt-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .cat-config-opt .opt-desc {
    font-size: 12.5px;
    color: var(--ink-3);
    line-height: 1.5;
    margin-top: auto;
  }
  .cat-config-opt.active .opt-desc { color: var(--ink-2); }

  /* Преимущества — иконка + заголовок + описание */
  .cat-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
  }
  .cat-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .cat-feature .f-ico {
    width: 36px; height: 36px;
    flex-shrink: 0;
    color: var(--ac);
    border-radius: 8px;
    background: var(--ac-tint);
    border: 1px solid var(--ac);
    display: grid;
    place-items: center;
  }
  .cat-feature .f-ico svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .cat-feature .f-text { flex: 1; }
  .cat-feature h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
    letter-spacing: -0.005em;
  }
  .cat-feature p {
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.5;
    margin: 0;
  }

  /* CTA-кнопки в карточке продукта */
  .cat-product-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }

  /* Нижние 3 информационные панели */
  .cat-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    gap: 20px;
  }
  .cat-info-card {
    background: var(--bg-2);
    border-radius: 16px;
    padding: 28px 28px 26px;
    position: relative;
    overflow: hidden;
  }
  /* Карточка «Сферы применения» — с подложкой-карьером */
  .cat-info-card.has-bg {
    background:
      linear-gradient(180deg, rgba(13,18,24,0.85) 0%, rgba(13,18,24,0.6) 45%, rgba(13,18,24,0.15) 100%),
      url('kk-photos/mining-bg-v2.jpg') center bottom / cover no-repeat,
      var(--bg-2);
  }
  .cat-info-card .info-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
  }
  .cat-info-card .info-head .ic {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--ac-tint);
    border: 1px solid var(--ac);
    color: var(--ac);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .cat-info-card .info-head .ic svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .cat-info-card .info-head h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  .cat-info-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .cat-info-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--ink-2);
  }
  .cat-info-card li svg.bullet-ico {
    width: 18px; height: 18px;
    stroke: var(--ink-3);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
  }
  .cat-info-card li.check svg.bullet-ico { stroke: var(--ac); }
  .cat-info-card li .li-name { flex: 1; }
  .cat-info-card li.doc-li {
    cursor: pointer;
    padding: 8px 0;
    border-radius: 6px;
    transition: color 0.18s;
  }
  .cat-info-card li.doc-li:hover { color: var(--ink); }
  .cat-info-card a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .cat-info-card .dl-ico {
    width: 18px; height: 18px;
    color: var(--ink-3);
    transition: color 0.18s;
  }
  .cat-info-card .dl-ico svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .cat-info-card li.doc-li:hover .dl-ico { color: var(--ac); }
  /* Карточка «Комплектация» — с мини-фото справа */
  .cat-info-card.with-thumb {
    display: grid;
    grid-template-columns: 1fr 80px;
    gap: 20px;
    align-items: start;
  }
  .cat-info-card.with-thumb .thumb {
    width: 80px;
    height: 110px;
    background-image: url('kk-photos/kk-top-2.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f4f4f4;
    border-radius: 8px;
    align-self: end;
  }
  .cat-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 12px;
    background: var(--ac-tint);
    color: var(--ac);
    border: 1px solid var(--ac);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 2;
  }
  .cat-badge.new { background: rgba(171, 196, 94, 0.15); border-color: var(--accent-green); color: var(--accent-green); }
  .cat-photo {
    aspect-ratio: 16/10;
    background: var(--bg-3);
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    margin-bottom: 26px;
  }
  .cat-card h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
  }
  .cat-card .desc {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.55;
    margin-bottom: 22px;
    min-height: 60px;
  }

  /* Галерея «На объекте» — 3 фото с реальных карьеров */
  .cat-onsite {
    margin-top: 48px;
  }
  .cat-onsite-head {
    margin-bottom: 24px;
  }
  .cat-onsite-head h2 {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
  }
  .cat-onsite-head h2 .accent { color: var(--ac); }
  .cat-onsite-head p {
    color: var(--ink-3);
    font-size: 15px;
    line-height: 1.6;
    max-width: 720px;
  }
  .cat-onsite-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;     /* три равные колонки */
    gap: 16px;
  }
  .cat-onsite-photo {
    height: 280px;                          /* единая высота — компактный ряд */
    background-size: cover;
    background-position: center;
    background-color: var(--bg-3);
    border-radius: 12px;
  }
  .cat-onsite-photo.tall {
    height: 280px;                          /* одинаковая высота для всех */
  }
  .cat-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
    flex: 1;
  }
  .cat-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--ink-2);
  }
  .cat-specs li svg {
    width: 16px; height: 16px;
    stroke: var(--ac);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
  }
  .cat-card .btn {
    align-self: flex-start;
  }

  /* Большой блок «Индивидуальная сборка» */
  .cat-custom {
    background: var(--bg-2);
    border-radius: 18px;
    padding: 44px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr 0.7fr;
    gap: 40px;
    align-items: center;
    margin-top: 48px;
  }
  .cat-custom-text h3 {
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 800;
    letter-spacing: -0.015em;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .cat-custom-text .lead {
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .cat-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .cat-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--ink-2);
  }
  .cat-features li svg {
    width: 18px; height: 18px;
    color: var(--ac);
    flex-shrink: 0;
  }
  .cat-custom-photo {
    aspect-ratio: 1;
    background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=900&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    height: 100%;
    min-height: 220px;
  }
  .cat-custom-aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .cat-custom-aside h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
  }
  .cat-custom-aside p {
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.55;
    margin-bottom: 8px;
  }

  /* Партнёрский баннер «Эксклюзивный дистрибьютор» */
  .cat-distributor {
    margin-top: 24px;
    background:
      linear-gradient(90deg, rgba(13,18,24,0.85) 0%, rgba(13,18,24,0.55) 50%, rgba(13,18,24,0.85) 100%),
      url('kk-photos/distributor-bg.png') center / cover no-repeat,
      var(--bg-2);
    border-radius: 14px;
    padding: 22px 32px;
    display: grid;
    grid-template-columns: auto auto 1fr;     /* убрана колонка под кнопку */
    gap: 28px;
    align-items: center;
  }
  .cat-distributor .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-3);
    font-weight: 600;
    max-width: 140px;
    line-height: 1.4;
  }
  .cat-distributor .partner-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .cat-distributor .partner-logo span { color: var(--ac); }
  .cat-distributor .partner-text {
    font-size: 13px;
    color: var(--ink-3);
    line-height: 1.5;
  }

  /* Адаптив */
  @media (max-width: 1100px) {
    .cat-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .cat-product { grid-template-columns: 1fr; gap: 0; min-height: auto; }
    .cat-product-scene { min-height: 420px; }
    .cat-product-info { padding: 32px 28px; }
    .cat-info-row { grid-template-columns: 1fr; }
    .cat-custom { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
    .cat-distributor { grid-template-columns: 1fr; gap: 16px; text-align: center; }
    .cat-onsite-grid { grid-template-columns: 1fr 1fr; }
    .cat-onsite-photo.tall { aspect-ratio: 4/3; }
  }
  @media (max-width: 700px) {
    .cat-hero { padding: 110px 0 30px; }
    .cat-product-info { padding: 24px 18px; }
    .cat-product-scene { min-height: 320px; }
    .cat-product h2 { font-size: 36px; }
    .cat-config { grid-template-columns: 1fr; }
    .cat-tabs { gap: 8px; }
    .cat-tab { font-size: 13px; padding: 9px 18px; }
    .cat-onsite-grid { grid-template-columns: 1fr; }
  }