/* ========================================
   ИЖПЛАСТЭКО — B2B сайт технической ПЭ трубы
   Версия: 4.0 | Апрель 2026 — Industrial Blue
   Палитра: тёмно-синий #1a2744 + синий #0077b6 + зелёный сигнальный
   ======================================== */

/* --- Сброс и базовые стили --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* --- Основная палитра: Industrial Blue --- */
  --color-dark:       #1a2744;   /* тёмно-синий — шапка, hero, тёмные блоки */
  --color-navy:       #223060;   /* чуть светлее тёмного */
  --color-navy-2:     #2c3d75;   /* hover для тёмных элементов */

  /* Основной акцент — насыщенный синий (primary CTA) */
  --color-cyan:       #0077b6;
  --color-cyan-hov:   #005f8e;
  --color-cyan-lt:    rgba(0,119,182,.10);
  --color-cyan-dark:  #004f78;

  /* Вторичный акцент — светлее (secondary CTA, иконки) */
  --color-blue-sec:   #0096c7;
  --color-blue-sec-hov: #007aaa;

  /* Обратная совместимость */
  --color-orange:     #0077b6;
  --color-orange-hov: #005f8e;

  /* Зелёный — только сигнальный (активный пункт меню) */
  --color-green:      #1e7e34;
  --color-green-lt:   #e6f4ea;

  /* Контент */
  --color-bg:         #f4f5f7;
  --color-bg-2:       #eaecf0;
  --color-white:      #ffffff;
  --color-text:       #1a2030;
  --color-text-muted: #5c6475;
  --color-border:     #d6dae4;

  /* Типографика */
  --font-main:        'Inter', Arial, sans-serif;
  --max-w:            1240px;
  --header-h:         80px;

  /* Радиусы и тени */
  --radius:           6px;
  --radius-lg:        12px;
  --shadow-sm:        0 1px 4px rgba(0,0,0,.06);
  --shadow:           0 4px 16px rgba(0,0,0,.08);
  --shadow-card:      0 4px 24px rgba(0,0,0,.09);
  --shadow-lg:        0 12px 48px rgba(0,0,0,.14);
  --transition:       .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: var(--color-cyan); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--color-cyan-hov); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* =================== PREVIEW BAR =================== */
/* ===========================================
   HEADER — двухуровневый как на референсе
   =========================================== */

/* Верхняя полоса: логотип + контакты */
.header-top {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 0;
}

.header-top-inner {
  display: flex;
  align-items: center;
  height: 90px;
  padding: 12px 0;
}

/* Логотип */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 0;
}
.logo:hover { text-decoration: none; opacity: .88; }

.logo-img {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Режим работы — внутри contacts-bar, перед телефоном */
.header-workhours {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  margin-right: 8px;
  border-radius: var(--radius);
  background: transparent;
}

.header-workhours-icon {
  font-size: 1.1rem;
  color: var(--color-cyan);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.header-workhours-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.workhours-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1;
}

.workhours-time {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -.01em;
  line-height: 1.2;
}

.workhours-days {
  font-size: .68rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: .04em;
  line-height: 1;
  margin-top: 1px;
}

/* Контактная полоса справа — голубой блок как в оригинале */
.header-contacts-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.header-contact-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  margin: 0 8px;
}

.header-contact-block.accent {
  background: var(--color-dark);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(26,39,68,.25);
  transition: all var(--transition);
  cursor: default;
}
.header-contact-block.accent:hover {
  background: var(--color-navy);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26,39,68,.35);
}

.header-contact-icon {
  font-size: 1.1rem;
  opacity: .85;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.header-contact-block.accent .header-contact-icon { color: var(--color-blue-sec); }
.header-contact-block:not(.accent) .header-contact-icon { color: var(--color-cyan); }

.header-contact-text { display: flex; flex-direction: column; }

.header-contact-block.accent .header-contact-text a,
.header-contact-block.accent .header-contact-text span {
  color: #fff;
}

.hct-main {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--color-dark);
  text-decoration: none;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.hct-main:hover { color: var(--color-cyan); text-decoration: none; }

.hct-sub {
  font-size: .72rem;
  color: var(--color-text-muted);
  text-decoration: underline;
  cursor: pointer;
  line-height: 1;
  margin-top: 2px;
}

.hct-addr {
  font-size: .82rem;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.3;
}

.hct-map {
  font-size: .72rem;
  color: var(--color-cyan);
  text-decoration: underline;
}
.hct-map:hover { color: var(--color-cyan-hov); }

/* CTA-кнопка в шапке */
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-cyan);
  color: #fff !important;
  font-size: .88rem;
  font-weight: 700;
  padding: 11px 22px;
  margin: 0 16px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
  letter-spacing: .02em;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,119,182,.30);
}
.btn-header-cta:hover {
  background: var(--color-cyan-hov);
  text-decoration: none;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,119,182,.45);
}
.btn-callback { background: var(--color-cyan) !important; }
.btn-callback:hover { background: var(--color-cyan-hov) !important; }

/* Кнопка звонка внутри страниц — единый стиль с шапкой */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-cyan);
  color: #fff !important;
  font-size: .92rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
  letter-spacing: .02em;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,119,182,.30);
}
.btn-call:hover {
  background: var(--color-cyan-hov);
  text-decoration: none;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,119,182,.45);
}

/* Навигационная полоса — тёмная как в оригинале */
.site-nav-bar {
  background: var(--color-dark);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.site-nav {
  display: flex;
  align-items: center;
  height: 44px;
  gap: 0;
}

.site-nav a {
  color: rgba(255,255,255,.78);
  font-size: .875rem;
  font-weight: 500;
  padding: 10px 18px;
  height: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  letter-spacing: .01em;
  white-space: nowrap;
}

.site-nav a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  text-decoration: none;
}

/* Активный пункт — зелёный как в оригинале */
.site-nav a.active {
  background: var(--color-green);
  color: #fff;
  font-weight: 600;
}

/* Бургер мобильный */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

/* =================== HERO =================== */
.hero {
  /* fallback (старые браузеры): jpg */
  background:
    linear-gradient(135deg,
      rgba(11,18,34,.6) 0%,
      rgba(17,28,52,.5) 50%,
      rgba(8,15,30,.68)  100%),
    url('../images/hero-pipes.jpg') center center / cover no-repeat fixed;
  /* современные: webp с откатом на jpg */
  background:
    linear-gradient(135deg,
      rgba(11,18,34,.6) 0%,
      rgba(17,28,52,.5) 50%,
      rgba(8,15,30,.68)  100%),
    image-set(url('../images/hero-pipes.webp') type('image/webp'),
              url('../images/hero-pipes.jpg') type('image/jpeg')) center center / cover no-repeat fixed;
  padding: 88px 0 80px;
  position: relative;
  overflow: hidden;
}
/* Fallback для мобильных — background-attachment:fixed не работает на iOS */
@media (max-width: 768px) {
  .hero {
    background:
      linear-gradient(135deg,
        rgba(11,18,34,.66) 0%,
        rgba(17,28,52,.58) 50%,
        rgba(8,15,30,.72)  100%),
      url('../images/hero-pipes.jpg') center center / cover no-repeat scroll;
    background:
      linear-gradient(135deg,
        rgba(11,18,34,.66) 0%,
        rgba(17,28,52,.58) 50%,
        rgba(8,15,30,.72)  100%),
      image-set(url('../images/hero-pipes.webp') type('image/webp'),
                url('../images/hero-pipes.jpg') type('image/jpeg')) center center / cover no-repeat scroll;
  }
}

/* Декоративные кольца */
.hero-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,119,182,.10);
  animation: ringPulse 7s ease-in-out infinite;
}
.hero-ring:nth-child(1) { width:700px;height:700px;right:-220px;top:-220px;animation-delay:0s; }
.hero-ring:nth-child(2) { width:480px;height:480px;right:-100px;top:-100px;border-color:rgba(0,119,182,.16);animation-delay:1s; }
.hero-ring:nth-child(3) { width:280px;height:280px;right:30px;top:30px;border-color:rgba(0,119,182,.22);animation-delay:2s; }
.hero-ring:nth-child(4) { width:900px;height:900px;left:-350px;bottom:-400px;border-color:rgba(26,39,68,.7);animation-delay:2.5s; }

@keyframes ringPulse {
  0%,100% { transform:scale(1); opacity:.6; }
  50% { transform:scale(1.04); opacity:1; }
}

/* Голубая черта под hero — детал референса */
.hero::after {
  content:'';
  position:absolute;
  bottom:0; left:0; right:0;
  height:4px;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-blue-sec), var(--color-cyan));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,150,199,.12);
  border: 1px solid rgba(0,150,199,.30);
  color: var(--color-blue-sec);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.16;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-cyan);
}

.hero-lead {
  font-size: 1rem;
  color: rgba(255,255,255,.62);
  margin-bottom: 28px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.chip {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.76);
  font-size: .78rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 3px;
  letter-spacing: .02em;
}

.chip.chip-accent {
  background: rgba(0,119,182,.12);
  border-color: rgba(0,119,182,.28);
  color: var(--color-blue-sec);
}

/* Чип-новинка — жёлтый акцент */
.chip--new {
  background: rgba(245,158,11,.18);
  border-color: rgba(245,158,11,.45);
  color: #f59e0b;
  font-weight: 700;
  animation: pulse-new 2.5s ease-in-out infinite;
}
@keyframes pulse-new {
  0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
  50%      { box-shadow: 0 0 0 5px rgba(245,158,11,.18); }
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Кнопка «Написать в МАКС» — фон в стиле логотипа мессенджера MAX */
.btn-call.js-max-link {
  background: linear-gradient(135deg, #2ba8ff 0%, #7c5cfc 100%);
  box-shadow: 0 4px 14px rgba(124, 92, 252, .35);
}
.btn-call.js-max-link:hover {
  background: linear-gradient(135deg, #3fb4ff 0%, #8b6bff 100%);
  box-shadow: 0 10px 26px rgba(124, 92, 252, .48);
}

/* =================== КНОПКИ =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  text-align: center;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* Тёмно-синий — главный CTA (самый весомый) */
.btn-cyan {
  background: var(--color-cyan);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,119,182,.30);
}
.btn-cyan:hover {
  background: var(--color-cyan-hov);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,119,182,.45);
}

/* Голубой — вторичный CTA (чуть легче) */
.btn-primary {
  background: var(--color-blue-sec);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,150,199,.25);
}
.btn-primary:hover {
  background: var(--color-blue-sec-hov);
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,150,199,.40);
}

/* Outline на тёмном фоне */
.btn-outline {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.30);
}
.btn-outline:hover {
  border-color: var(--color-blue-sec);
  color: var(--color-blue-sec);
  text-decoration: none;
}

/* Outline на светлом фоне */
.btn-outline-dark {
  background: transparent;
  color: var(--color-dark);
  border: 1.5px solid var(--color-border);
  font-weight: 600;
}
.btn-outline-dark:hover {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Зелёный */
.btn-green {
  background: var(--color-green);
  color: #fff;
}
.btn-green:hover {
  background: #226b33;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* =================== HERO FORM CARD =================== */
.hero-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 0 0 1.5px rgba(0,168,204,.55), 0 0 48px rgba(0,168,204,.30), 0 20px 60px rgba(0,0,0,.38);
  position: relative;
  border-top: 4px solid var(--color-cyan);
}

/* Плашка «Член ТПП» в шапке */
.header-tpp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 16px;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color .15s, box-shadow .15s;
}
.header-tpp:hover { border-color: var(--color-cyan); box-shadow: 0 4px 14px -6px rgba(0,119,182,.4); }
.header-tpp-emblem { width: 32px; height: 32px; flex-shrink: 0; object-fit: contain; }
.header-tpp-text {
  font-size: .74rem;
  line-height: 1.18;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: .01em;
  max-width: 150px;
}

.form-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: var(--color-cyan);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,168,204,.5);
}

.hero-form-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}

.hero-form-card .form-note {
  font-size: .78rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* =================== ФОРМЫ =================== */
.form-group { margin-bottom: 14px; }

.form-group label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 5px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: var(--font-main);
  color: var(--color-text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(0,168,204,.12);
}

.form-group textarea { resize: vertical; min-height: 88px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-hint {
  font-size: .72rem;
  color: var(--color-text-muted);
  margin-top: 10px;
  line-height: 1.5;
}

.form-step-label {
  display: inline-block;
  background: var(--color-cyan);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.btn-form-next {
  background: var(--color-cyan);
  color: #fff;
  padding: 13px 28px;
  border: none;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
  margin-top: 8px;
  letter-spacing: .02em;
  font-family: var(--font-main);
}
.btn-form-next:hover {
  background: var(--color-cyan-hov);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,168,204,.30);
}

.btn-form-back {
  background: transparent;
  color: var(--color-text-muted);
  border: none;
  font-size: .86rem;
  cursor: pointer;
  margin-top: 10px;
  display: block;
  text-align: center;
  width: 100%;
  transition: color var(--transition);
  font-family: var(--font-main);
}
.btn-form-back:hover { color: var(--color-text); }

/* Form steps nav */
.form-steps-nav {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--color-border);
}
.form-step-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: #f5f6f8;
  border-right: 1px solid var(--color-border);
  cursor: default;
  letter-spacing: .02em;
}
.form-step-tab:last-child { border-right: none; }
.form-step-tab.active { background: var(--color-cyan); color: #fff; }
.form-step-tab.done { background: var(--color-green-lt); color: var(--color-green); }

.form-page { display: none; }
.form-page.active { display: block; }

/* =================== СЕКЦИИ =================== */
section { padding: 80px 0; }

.section-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--color-cyan);
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--color-cyan);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}

.section-lead {
  font-size: .98rem;
  color: var(--color-text-muted);
  max-width: 620px;
  margin-bottom: 44px;
  line-height: 1.7;
}

/* =================== TRUST / ФАКТЫ =================== */
.trust-section {
  background: linear-gradient(135deg, #111d36 0%, #1a2744 100%);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content:'';
  position:absolute;
  inset:0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='28' fill='none' stroke='rgba(0,168,204,0.04)' stroke-width='1'/%3E%3C/svg%3E") repeat;
  pointer-events:none;
}

/* Голубая полоса сверху */
.trust-section::after {
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background: var(--color-cyan);
}

.trust-section .section-tag { color: var(--color-cyan); border-left-color: var(--color-cyan); }
.trust-section .section-title { color: #fff; }
.trust-section .section-lead { color: rgba(255,255,255,.58); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 40px;
  border: 1px solid rgba(255,255,255,.06);
}

.trust-card {
  background: rgba(255,255,255,.03);
  padding: 32px 24px;
  text-align: center;
  transition: background var(--transition);
}
.trust-card:hover { background: rgba(0,168,204,.08); }

.trust-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-cyan);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}

.trust-label {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
}

/* Блок стандартов и документов */
.trust-docs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.trust-docs-label {
  font-size: .78rem;
  color: rgba(255,255,255,.62);
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 4px;
}
.trust-docs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.trust-doc-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0,168,204,.35);
  background: rgba(0,168,204,.08);
  color: rgba(255,255,255,.7);
  font-size: .73rem;
  font-weight: 500;
  white-space: nowrap;
}

/* =================== НАПРАВЛЕНИЯ =================== */
.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-border);
}

.direction-card {
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  transition: background var(--transition);
}
.direction-card:hover {
  background: #f8f9fc;
}

/* Цветная левая полоса по направлению */
.direction-card--cable  { border-left: 4px solid var(--color-cyan); }
.direction-card--gnb    { border-left: 4px solid #3a7bd5; }
.direction-card--sleeve { border-left: 4px solid #2e8b4a; }

/* Лейбл-строка (заменяет шапку с фото) */
.dir-card-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.direction-card--cable  .dir-card-label { color: var(--color-cyan); }
.direction-card--gnb    .dir-card-label { color: #3a7bd5; }
.direction-card--sleeve .dir-card-label { color: #2e8b4a; }

.direction-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.35;
  letter-spacing: -.01em;
  margin: 0 0 12px;
}

.dir-card-body {
  padding: 28px 24px 28px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dir-card-body p {
  color: var(--color-text-muted);
  font-size: .87rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.direction-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.direction-features li {
  font-size: .83rem;
  color: var(--color-text);
  padding: 7px 0;
  position: relative;
  padding-left: 16px;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.4;
}
.direction-features li:last-child { border-bottom: none; }
.direction-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-cyan);
}
.direction-card--gnb    .direction-features li::before { background: #3a7bd5; }
.direction-card--sleeve .direction-features li::before { background: #2e8b4a; }

/* Ссылка-кнопка внутри карточки */
.dir-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--color-cyan);
  text-decoration: none;
  letter-spacing: .02em;
  margin-top: auto;
  padding-top: 4px;
  transition: gap var(--transition), opacity var(--transition);
}
.dir-link:hover { gap: 10px; opacity: .8; }
.direction-card--gnb    .dir-link { color: #3a7bd5; }
.direction-card--sleeve .dir-link { color: #2e8b4a; }

/* =================== АССОРТИМЕНТ =================== */
.assortment-section { background: #fff; }

.assortment-section .section-lead { margin-bottom: 32px; }

/* =================== ПРЕИМУЩЕСТВА =================== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.adv-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-top-color var(--transition);
  border: 1px solid var(--color-border);
  border-top: 3px solid transparent;
}
.adv-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--color-cyan);
}

.adv-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--color-cyan-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-cyan);
  margin-bottom: 14px;
}
.adv-icon i { color: var(--color-cyan); }

.adv-card h4 {
  font-size: .94rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
  letter-spacing: -.01em;
  line-height: 1.3;
}

.adv-card p {
  font-size: .84rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =================== CASES + ADV-PILLS =================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.case-card {
  background: #f8fafd;
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--color-cyan);
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-cyan);
}

.case-quote {
  font-size: .88rem;
  color: var(--color-dark);
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}

.case-meta {
  font-size: .74rem;
  color: #6b7280;
  padding-top: 8px;
  border-top: 1px solid #e8edf5;
}

/* Тёмный фон секции «Клиенты и проекты» — светлые карточки не сливаются */
.cases-section {
  background: linear-gradient(135deg, #1a2744 0%, #0d1a36 100%);
}
.cases-section .section-tag { color: var(--color-cyan); }
.cases-section .section-title { color: #fff; }
.cases-section .case-card {
  background: #fff;
  border: 1px solid rgba(255,255,255,.06);
  border-left: 3px solid var(--color-cyan);
  box-shadow: 0 24px 50px -26px rgba(0,0,0,.6);
}

/* Пилюли-факты под кейсами */
.adv-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.adv-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: #f0f7ff;
  border: 1px solid #c8ddf5;
  border-radius: 24px;
  font-size: .82rem;
  font-weight: 600;
  color: #1a4a78;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .cases-grid { grid-template-columns: 1fr; }
}

/* =================== TABLE =================== */
.range-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.range-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.range-table th {
  background: var(--color-dark);
  color: rgba(255,255,255,.85);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 14px 18px;
  text-align: left;
  white-space: nowrap;
}

.range-table td {
  padding: 11px 18px;
  border-bottom: 1px solid var(--color-border);
  font-size: .88rem;
  color: var(--color-text);
}
.range-table tr:last-child td { border-bottom: none; }
.range-table tr:hover td { background: #f5f8fb; }

.range-table .td-cta { text-align: center; }
.range-table .link-cta {
  font-size: .8rem;
  font-weight: 700;
  color: var(--color-cyan);
}
.range-table .link-cta:hover { text-decoration: underline; }

/* =================== STEPS =================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  padding-top: 52px;
  border: 1px solid var(--color-border);
}

.step-num {
  position: absolute;
  top: -18px; left: 24px;
  width: 40px; height: 40px;
  background: var(--color-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,168,204,.35);
}

.step-card h4 {
  font-size: .94rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}
.step-card p {
  font-size: .84rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* =================== CTA SECTION =================== */
.cta-section {
  background: linear-gradient(135deg, #111d36 0%, #1a2744 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background: var(--color-cyan);
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}

.cta-section p {
  color: rgba(255,255,255,.60);
  font-size: .98rem;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* =================== ФОРМА (полная) =================== */
.form-section { background: var(--color-bg); padding: 88px 0; }

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  box-shadow: var(--shadow-lg);
  max-width: 860px;
  margin: 0 auto;
  border-top: 4px solid var(--color-cyan);
}

.form-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 6px;
  letter-spacing: -.02em;
}

.form-card .form-subtitle {
  font-size: .88rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* =================== PAGE HERO (внутренние) =================== */
.page-hero {
  background: linear-gradient(135deg, #0f1a32 0%, #1a2744 100%);
  padding: 60px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content:'';
  position:absolute;
  bottom:0; left:0; right:0;
  height:3px;
  background: var(--color-cyan);
}

.page-hero .hero-kicker { margin-bottom: 14px; }

.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -.02em;
  position: relative;
}

.page-hero p {
  font-size: .98rem;
  color: rgba(255,255,255,.62);
  max-width: 580px;
  margin-bottom: 28px;
  line-height: 1.7;
  position: relative;
}

.breadcrumb {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: .75rem;
  color: rgba(255,255,255,.62);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-cyan); }
.breadcrumb span { opacity: .35; }

/* =================== APPLICATIONS =================== */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.app-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-cyan);
}
.app-card:hover { transform: translateY(-3px); }
.app-card-icon { font-size: 1.6rem; margin-bottom: 10px; }
.app-card-icon svg { width: 30px; height: 30px; color: #0077b6; display: inline-block; }
.app-card h4 { font-size: .9rem; font-weight: 700; color: var(--color-dark); margin-bottom: 6px; }
.app-card p { font-size: .82rem; color: var(--color-text-muted); line-height: 1.55; }

/* =================== FAQ =================== */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 6px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  text-align: left;
  gap: 12px;
  font-family: var(--font-main);
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-cyan);
  flex-shrink: 0;
  transition: transform .25s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 20px 16px;
  font-size: .88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.faq-item.open .faq-answer { display: block; }

/* =================== PRODUCTION =================== */
.prod-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.spec-list { list-style: none; }
.spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: .88rem;
  gap: 12px;
}
.spec-list li:last-child { border-bottom: none; }
.spec-key { color: var(--color-text-muted); flex-shrink: 0; }
.spec-val { font-weight: 700; color: var(--color-dark); text-align: right; }

.stages-list { display: flex; flex-direction: column; gap: 20px; max-width: 680px; }
.stage-item { display: flex; gap: 20px; align-items: flex-start; }

.stage-num {
  min-width: 40px; height: 40px;
  background: var(--color-cyan);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,168,204,.3);
}

.stage-text h4 { font-size: .9rem; font-weight: 700; color: var(--color-dark); margin-bottom: 4px; }
.stage-text p { font-size: .84rem; color: var(--color-text-muted); line-height: 1.55; }

/* =================== CONTACTS =================== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-cyan);
  display: inline-block;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.contact-item-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.contact-item-text strong {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}
.contact-item-text a,
.contact-item-text span {
  font-size: .96rem;
  color: var(--color-text);
  font-weight: 500;
}
.contact-item-text a:hover { color: var(--color-cyan); text-decoration: none; }

.map-placeholder {
  background: var(--color-bg-2);
  border-radius: var(--radius);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: .86rem;
  margin-top: 20px;
  text-align: center;
  padding: 20px;
  border: 1px solid var(--color-border);
}

/* =================== FOOTER =================== */
.site-footer {
  background: #090e18;
  color: rgba(255,255,255,.50);
  padding: 52px 0 28px;
  border-top: 3px solid var(--color-cyan);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}

.footer-logo { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: .02em; }
.footer-desc { font-size: .8rem; line-height: 1.65; color: rgba(255,255,255,.6); }

.footer-col h4 {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .10em;
  color: var(--color-cyan);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
  font-size: .86rem;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--color-cyan); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: .75rem;
  color: rgba(255,255,255,.6);
}
.footer-requisites {
  flex-basis: 100%;
  margin: 0 0 12px;
  font-size: .72rem;
  line-height: 1.6;
  color: rgba(255,255,255,.38);
}

/* ===== Блок реквизитов (контакты / производство) ===== */
.req-grid {
  max-width: 780px;
  margin-top: 26px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 28px -10px rgba(16,38,76,.12);
}
.req-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  padding: 13px 24px;
  border-bottom: 1px solid #eef1f5;
  font-size: .9rem;
  line-height: 1.45;
}
.req-row:last-child { border-bottom: none; }
.req-row:nth-child(even) { background: #fafbfc; }
.req-k { color: #6b7280; }
.req-v { color: var(--color-dark); font-weight: 600; }
@media (max-width: 560px) {
  .req-row { grid-template-columns: 1fr; gap: 2px; padding: 11px 16px; }
}

/* =================== UTILITIES =================== */
.bg-white  { background: #fff; }
.bg-grey   { background: var(--color-bg); }
.bg-grey2  { background: var(--color-bg-2); }
.bg-dark   { background: var(--color-dark); }
.text-center { text-align: center; }
.section-lead.centered { margin-left: auto; margin-right: auto; text-align: center; }

.tag-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.badge-cable  { background: rgba(0,168,204,.12); color: var(--color-cyan); }
.badge-gnb    { background: rgba(0,168,204,.12); color: var(--color-cyan); }
.badge-sleeve { background: rgba(42,140,63,.12); color: var(--color-green); }

/* =================== RESPONSIVE =================== */
@media (max-width: 1100px) {
  .trust-grid   { grid-template-columns: repeat(2, 1fr); }
  .adv-grid     { grid-template-columns: repeat(2, 1fr); }
  .hero-grid    { grid-template-columns: 1fr; }
  .hero-form-card { max-width: 500px; }
  .container { padding: 0 20px; }
  .directions-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
  .header-contact-block { padding: 0 18px; }
}

@media (max-width: 768px) {
  .header-top-inner { flex-wrap: wrap; }
  .header-contacts-bar { display: none; }
  /* На мобиле nav скрыт целиком — открывается бургером */
  .site-nav { display: none; }
  /* Бургер: видимый (тёмный на белой шапке) и прижат вправо от лого */
  .burger { display: flex; margin-left: auto !important; }
  .burger span { background: var(--color-dark) !important; }

  .site-nav.open {
    display: flex;
    flex-direction: column;
    height: auto;
    position: absolute;
    top: 44px;
    left: 0; right: 0;
    background: var(--color-dark);
    padding: 8px 0 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    z-index: 100;
  }
  .site-nav.open a {
    display: flex;
    align-items: flex-start;
    padding: 10px 20px;
    height: auto;
  }

  .hero { padding: 52px 0 44px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }

  /* Мобайл: hero-кнопки «Написать в МАКС» и «Выбрать трубу» — на всю ширину, единый размер */
  .hero-btns { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-btns > a { width: 100%; justify-content: center; box-sizing: border-box; text-align: center; }

  .directions-grid  { grid-template-columns: 1fr !important; }
  .trust-grid       { grid-template-columns: repeat(2, 1fr); }
  .trust-card       { padding: 20px 14px; }
  .trust-num        { font-size: 1.7rem; }
  .trust-docs       { flex-direction: column; align-items: flex-start; gap: 8px; }
  .trust-docs-list  { gap: 6px; }
  .adv-grid         { grid-template-columns: 1fr; }
  .steps-grid       { grid-template-columns: 1fr; }
  .app-grid         { grid-template-columns: 1fr; }
  .prod-specs-grid  { grid-template-columns: 1fr; }
  .contacts-grid    { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr; gap: 28px; }
  .form-row         { grid-template-columns: 1fr; }

  .section-title { font-size: 1.5rem; }
  section { padding: 52px 0; }

  .form-card { padding: 28px 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .wiz-dir-grid { grid-template-columns: 1fr; }
}

/* ===== Сворачиваемый блок «Уточнить параметры» в форме ===== */
.form-more { margin: 2px 0 14px; }
.form-more > summary {
  cursor: pointer;
  color: #0077b6;
  font-size: .9rem;
  font-weight: 600;
  list-style: none;
  user-select: none;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.form-more > summary::-webkit-details-marker { display: none; }
.form-more > summary::before { content: "＋"; font-weight: 700; }
.form-more[open] > summary::before { content: "–"; }
.form-more[open] > summary { margin-bottom: 10px; }

/* ===== a11y: main-landmark + анти-зум iOS на инпутах формы ===== */
main { display: block; }
@media (max-width: 768px) {
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }
}




/* ===== Модалка «Заказать звонок» ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(12,35,64,.6); display: flex; align-items: center; justify-content: center; z-index: 2000; padding: 20px; }
.modal-overlay[hidden] { display: none; }
.modal-box { background: #fff; border-radius: 14px; padding: 28px 26px; max-width: 420px; width: 100%; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal-close { position: absolute; top: 8px; right: 12px; background: none; border: none; font-size: 28px; line-height: 1; color: #98a2b3; cursor: pointer; padding: 4px 8px; }
.modal-close:hover { color: #1a2744; }
.modal-title { font-size: 1.35rem; font-weight: 800; color: #1a2744; margin: 0 0 6px; }
.modal-sub { font-size: .9rem; color: #5c6475; margin: 0 0 18px; line-height: 1.5; }

/* ===== Чекбокс согласия на обработку ПД ===== */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
  font-size: .78rem;
  line-height: 1.45;
  color: #5c6475;
  margin: 8px 0 14px;
  cursor: pointer;
  text-align: left;
}
.form-consent input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  padding: 0;
  -webkit-appearance: checkbox;
  appearance: checkbox;
  cursor: pointer;
}
.form-consent .form-consent-text { flex: 1 1 auto; min-width: 0; }
.form-consent a { color: #0077b6; text-decoration: underline; }

/* ===== Виджет мессенджера MAX (лого + разворот по наведению) ===== */
#max-widget {
  position: fixed; right: 20px; bottom: 20px; z-index: 1500;
  display: inline-flex; align-items: center; gap: 0; overflow: hidden;
  width: 58px; height: 58px; padding: 0; border-radius: 16px;
  background: #fff; color: #1a2744 !important; font-weight: 700; font-size: .92rem;
  text-decoration: none; box-shadow: 0 8px 24px rgba(26,39,68,.22);
  transition: width .38s cubic-bezier(.25,.8,.25,1), box-shadow .18s ease, transform .15s ease;
}
#max-widget .max-widget-logo { width: 58px; height: 58px; flex-shrink: 0; display: block; }
#max-widget .max-widget-text {
  max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; margin: 0;
  transition: max-width .38s cubic-bezier(.25,.8,.25,1), opacity .22s ease, margin .3s ease;
}
#max-widget:hover {
  width: 228px; color: #1a2744 !important; text-decoration: none;
  transform: translateY(-2px); box-shadow: 0 12px 30px rgba(26,39,68,.30);
}
#max-widget:hover .max-widget-text { max-width: 162px; opacity: 1; margin: 0 18px 0 10px; }
@media (max-width: 768px) {
  #max-widget { right: 14px; bottom: 14px; height: 54px; width: 54px; border-radius: 15px; transform: none;
    animation: maxAuto 8s ease-in-out 2.5s infinite; }
  #max-widget:hover { transform: none; }
  #max-widget .max-widget-logo { width: 54px; height: 54px; }
  #max-widget .max-widget-text { display: block; max-width: 0; opacity: 0; margin: 0; white-space: nowrap;
    animation: maxAutoText 8s ease-in-out 2.5s infinite; }
  @keyframes maxAuto {
    0%, 66%, 100% { width: 54px; box-shadow: 0 8px 24px rgba(26,39,68,.22); }
    74%, 90%      { width: 212px; box-shadow: 0 12px 30px rgba(124,92,252,.38); }
  }
  @keyframes maxAutoText {
    0%, 66%, 100% { max-width: 0; opacity: 0; margin: 0; }
    78%, 88%      { max-width: 152px; opacity: 1; margin: 0 16px 0 8px; }
  }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  #max-widget { animation: none; }
  #max-widget .max-widget-text { animation: none; display: none; }
}

/* ===== Плавающий мобильный CTA-бар ===== */
.mobile-cta { display: none; }
@media (max-width: 768px) {
  .mobile-cta {
    display: flex; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1400;
    padding: 8px 10px;
    background: #fff;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  }
  .mcta-btn {
    flex: 1 1 0; min-width: 0;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 46px; border-radius: 8px;
    font-weight: 700; font-size: .82rem; white-space: nowrap;
    text-decoration: none; border: none; cursor: pointer;
    font-family: var(--font-main);
  }
  .mcta-call {
    background: #eaf3fb; color: var(--color-cyan) !important;
    border: 1.5px solid var(--color-cyan);
  }
  .mcta-call::before {
    content: ''; width: 15px; height: 15px; flex-shrink: 0;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.7 21 3 13.3 3 3.9c0-.6.4-1 1-1h3.4c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .8-.3 1l-2.1 2.3z'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.7 21 3 13.3 3 3.9c0-.6.4-1 1-1h3.4c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .8-.3 1l-2.1 2.3z'/></svg>") center/contain no-repeat;
  }
  .mcta-cb { background: var(--color-cyan); color: #fff; }
  body { padding-bottom: 64px; }
  #max-widget { bottom: 76px; }   /* поднять круглую кнопку MAX над баром */
}

/* ===== Реассуранс под формой ===== */
.form-reassure {
  margin-top: 12px; font-size: .76rem; line-height: 1.5;
  color: var(--color-text-muted); text-align: center;
}
.form-reassure a { color: var(--color-cyan); text-decoration: underline; }
.reassure-ic { width: 13px; height: 13px; vertical-align: -2px; color: var(--color-cyan); margin-right: 3px; }

/* ===== Сводка расчёта в форме КП (приходит из калькулятора) ===== */
.kp-spec-summary { display:none; background:#eaf3fb; border:1px solid #b8d4ec; border-left:4px solid #0077b6; border-radius:10px; padding:14px 16px; margin-bottom:18px; }
.kp-spec-title { font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:#0077b6; margin-bottom:4px; }
.kp-spec-main { font-size:1rem; font-weight:700; color:#1a2744; line-height:1.35; }
.kp-spec-price { font-size:.92rem; color:#1a2744; margin-top:3px; }
.kp-spec-note { font-size:.8rem; color:#5c6475; margin-top:7px; line-height:1.45; }

/* ===== Hero-конфигуратор: живая цена ===== */
.hero-price { background:#eaf3fb; border:1px solid #b8d4ec; border-radius:10px; padding:12px 14px; margin:2px 0 14px; }
.hero-price-m { font-size:1.02rem; color:#1a2744; font-weight:500; }
.hero-price-m b { color:#0077b6; font-weight:800; }
.hero-price-sub { font-size:.78rem; color:#5c6475; font-weight:500; }
.hero-price-total { font-size:.92rem; color:#1a2744; margin-top:5px; }
.hero-price-total b { color:#0077b6; }
.hero-price-note { font-size:.77rem; color:#5c6475; margin-top:7px; line-height:1.4; }

/* ===== Hero: ориентир цены за метр (price-strip) ===== */
.hero-priceline { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 18px; }
.hero-priceline .hpl-label { font-size:.78rem; color:rgba(255,255,255,.7); font-weight:600; width:100%; margin-bottom:2px; }
.hero-priceline .hpl-chip { font-size:.84rem; color:#fff; background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.22); border-radius:7px; padding:4px 11px; white-space:nowrap; }
.hero-priceline .hpl-chip b { color:#9ef3ff; font-weight:800; }
.hero-priceline .hpl-chip--alt { background:transparent; border-style:dashed; color:rgba(255,255,255,.7); }
.hero-priceline .hpl-chip--pop { background:rgba(0,168,204,.28); border-color:#0096c7; color:#fff; font-weight:600; }
.hero-priceline .hpl-chip--pop b { color:#bdf5ff; }

/* ===== Прайс-лист CTA: исходный градиент + скользящий блеск (без узора) ===== */
.pricelist-cta { position: relative; overflow: hidden; isolation: isolate; }
.pricelist-cta > .container { position: relative; z-index: 2; }

/* Глянцевый блик, скользящий по блоку */
.pricelist-cta::after {
  content: '';
  position: absolute;
  top: -20%; bottom: -20%;
  left: -45%; width: 45%;
  background: linear-gradient(100deg,
    transparent 0%, rgba(255,255,255,.16) 48%, rgba(255,255,255,.22) 52%, transparent 100%);
  transform: skewX(-14deg);
  animation: pipesSheen 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes pipesSheen {
  0%       { left: -45%; }
  60%,100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .pricelist-cta::after { animation: none; }
}
