/* css/fonts.css */
/* ==========================================================================
   Montserrat — фирменный шрифт (айдентика IT-Balance plus).
   Локально, а не с fonts.googleapis.com: внешний запрос в критическом пути
   замедляет первую отрисовку и передаёт IP посетителя третьей стороне.
   Начертания: 400 Regular, 500 Medium, 600 SemiBold, 700 Bold —
   ровно те, что перечислены в гайдлайне.

   Подмножества разделены по unicode-range: браузер скачивает только нужное.
   Для узбекской латиницы (o‘, g‘) важен latin-ext.
   ФАЙЛ СГЕНЕРИРОВАН скриптом — правки вносить в генератор.
   ========================================================================== */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/montserrat-500-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/montserrat-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/montserrat-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/montserrat-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* css/material-symbols.css */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('../fonts/material-symbols-outlined.woff2') format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'liga';
}

/* css/variables.css */
/* ==========================================================================
   CSS Variables / Design Tokens
   Палитра — из фирменной айдентики IT-Balance plus:
     #0D1B3D  тёмно-синий  — основной текст на светлой теме
                             (в айдентике он же фон; на сайте фон тёмной темы
                              оставлен почти чёрным #050A12 — так решил заказчик)
     #1565C0  синий        — акцент (кнопки, ссылки, активные состояния)
     #00B4A6  бирюзовый    — второй фирменный цвет (как «plus» в логотипе)
     #E6EBF1  светло-серый — границы и подложки на светлой теме
   Шрифт — Montserrat, подключается локально в css/fonts.css.
   ========================================================================== */

:root {
  --bg-primary: #050A12;
  --bg-secondary: #0A1020;
  --bg-card: #0D1424;
  --bg-card-hover: #111b30;
  --text-primary: #FFFFFF;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --text-card-body: #8892A5;
  --text-faq-body: #9AABB8;
  --accent: #1565C0;
  --accent-hover: #1976D2;
  --accent-bg: rgba(21, 101, 192, 0.12);
  --accent-bg-strong: rgba(21, 101, 192, 0.2);
  /* Второй фирменный цвет: бейджи, иконки, вторичные акценты. */
  --brand-teal: #00B4A6;
  --brand-teal-soft: #2BD9C9;
  --brand-teal-bg: rgba(0, 180, 166, 0.12);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-tag: rgba(255, 255, 255, 0.12);
  --hero-gradient-mid: rgba(5, 10, 18, 0.8);
  --hero-gradient-end: #050A12;
  --hero-bg-opacity: 0.4;
  --marquee-bg: #0A1020;
  --marquee-border: rgba(255, 255, 255, 0.05);
  --btn-secondary-bg: rgba(255, 255, 255, 0.04);
  --btn-secondary-border: rgba(255, 255, 255, 0.1);
  --btn-secondary-text: #FFFFFF;
  --step-highlight-bg: rgba(21, 101, 192, 0.12);
  --step-highlight-border: rgba(21, 101, 192, 0.3);
  --step-arrow-bg: rgba(255, 255, 255, 0.03);
  --step-arrow-border: rgba(255, 255, 255, 0.07);
  --step-arrow-color: rgba(255, 255, 255, 0.25);
  --footer-line: rgba(255, 255, 255, 0.05);
  --copyright-color: rgba(107, 114, 128, 0.5);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.06);
  --container-max: 1440px;
  --section-padding: 80px 48px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 100px;
}

[data-theme="light"] {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-card: #F8FAFC;
  --bg-card-hover: #f1f5f9;
  --text-primary: #0D1B3D;
  --text-secondary: #2B3A57;
  --text-muted: #5A6B85;
  --text-card-body: #64748B;
  --text-faq-body: #64748B;
  --accent: #1565C0;
  --accent-hover: #0D47A1;
  --accent-bg: rgba(21, 101, 192, 0.07);
  --accent-bg-strong: rgba(21, 101, 192, 0.12);
  --brand-teal: #00B4A6;
  --brand-teal-soft: #7FD8D1;
  --brand-teal-bg: rgba(0, 180, 166, 0.08);
  --border-color: #E6EBF1;
  --border-card: #E6EBF1;
  --border-tag: #C9D4E6;
  --hero-gradient-mid: rgba(255, 255, 255, 0.87);
  --hero-gradient-end: #FFFFFF;
  --hero-bg-opacity: 0.2;
  --marquee-bg: #F8FAFC;
  --marquee-border: #E6EBF1;
  --btn-secondary-bg: rgba(0, 0, 0, 0.04);
  --btn-secondary-border: #C9D4E6;
  --btn-secondary-text: #0D1B3D;
  --step-highlight-bg: #EFF6FF;
  --step-highlight-border: #BBDEFB;
  --step-arrow-bg: #F1F5F9;
  --step-arrow-border: #E6EBF1;
  --step-arrow-color: #94A3B8;
  --footer-line: rgba(230, 235, 241, 0.14);
  --copyright-color: rgba(100, 116, 139, 0.5);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* css/base.css */
/* ==========================================================================
   Base / Reset
   Source: globals.css + resets
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
}

/* ==========================================================================
   Reveal Animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* css/components.css */
/* ==========================================================================
   Components — BEM
   Sources: Button, Badge, Card, Accordion, Input, Modal, Header, Footer,
            Breadcrumbs, Section, Container
   ========================================================================== */

/* ==========================================================================
   Button
   Source: src/components/ui/Button.module.css
   ========================================================================== */

.btn {
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn--primary { background: var(--accent); color: #FFFFFF; }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4); }

.btn--secondary { background: var(--btn-secondary-bg); color: var(--btn-secondary-text); border: 1px solid var(--btn-secondary-border); font-weight: 500; }
.btn--secondary:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border-tag); font-weight: 500; }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--ghost { background: transparent; color: var(--text-primary); border: none; font-weight: 500; }
.btn--ghost:hover { color: var(--accent); }

.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--md { padding: 10px 24px; font-size: 14px; }
.btn--lg { padding: 14px 28px; font-size: 15px; }

.btn--circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-tag);
  background: transparent;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.btn--circle:hover { border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   Badge
   Source: src/components/ui/Badge.module.css
   ========================================================================== */

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--accent-bg-strong);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
}

.badge--with-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--accent-bg-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ==========================================================================
   Card
   Source: src/components/ui/Card.module.css
   ========================================================================== */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.card__label { font-size: 13px; color: var(--text-muted); }
.card__title { font-size: 24px; font-weight: 700; color: var(--text-primary); }
.card__description { font-size: 15px; color: var(--text-card-body); line-height: 1.7; }

.card__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.card__tag {
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-tag);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-faq-body);
  transition: all 0.3s ease;
}
.card__tag:hover { border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   Accordion
   Source: src/components/ui/Accordion.module.css
   ========================================================================== */

.accordion__item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.accordion__item:hover { border-color: var(--accent); }

.accordion__item--open { /* active state handled via JS */ }

.accordion__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion__question {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.accordion__chevron {
  color: var(--text-faq-body);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.accordion__item--open .accordion__chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.accordion__answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.accordion__item--open .accordion__answer-wrap {
  grid-template-rows: 1fr;
}

.accordion__answer-inner {
  overflow: hidden;
}

.accordion__answer {
  padding-top: 16px;
  font-size: 15px;
  color: var(--text-faq-body);
  line-height: 1.6;
}

/* ==========================================================================
   Form Input
   Source: src/components/ui/Input.module.css
   ========================================================================== */

.form-input {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-input__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input__field {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
}
.form-input__field:focus { border-color: var(--accent); }

.form-input__textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   Modal
   Source: src/components/ui/Modal.module.css
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modalFadeIn 0.2s ease;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.modal-overlay--open {
  visibility: visible;
  opacity: 1;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-tag);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.modal__close:hover { border-color: var(--accent); color: var(--accent); }

@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   Site Header
   Source: src/components/layout/Header.module.css
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 48px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header--scrolled {
  background: color-mix(in srgb, var(--bg-primary) 85%, transparent);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 48px;
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Логотип — единое изображение (знак + надпись), пропорции 1200×336.
   Высота 40px: при меньшей подпись «IT PARK UZBEKISTAN RESIDENT» под
   надписью становится нечитаемой. Ширину не задаём — считается от высоты,
   вёрстка не поедет при замене файла. */
.site-header__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

@media (max-width: 640px) {
  /* На узких экранах логотип занимал бы половину строки и вытеснял бургер. */
  .site-header__logo-img { height: 26px; }
}

.site-header__nav { display: flex; gap: 32px; }

.site-header__nav-link {
  font-size: 14px;
  color: var(--text-primary);
  opacity: 0.7;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.site-header__nav-link:hover { opacity: 1; }

.site-header__nav-icon {
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}
.site-header__nav-link--disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.site-header__mobile-link--disabled { opacity: 0.35; cursor: default; pointer-events: none; }

.site-header__cta { font-size: 14px; padding: 10px 24px; }

.site-header__actions { display: flex; gap: 12px; align-items: center; }

/* Дубль lang + theme внутри бургер-меню; виден только на <=480px (см. responsive.css) */
.site-header__mobile-actions { display: none; }

.site-header__burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-tag);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile menu - hidden by default */
.site-header__mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: color-mix(in srgb, var(--bg-primary) 95%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  flex-direction: column;
  gap: 16px;
}
.site-header__mobile-menu--open {
  display: flex;
}
.site-header__mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-header__mobile-link {
  font-size: 15px;
  color: var(--text-primary);
  opacity: 0.8;
  padding: 8px 0;
  transition: opacity 0.2s;
}
.site-header__mobile-link:hover {
  opacity: 1;
}

/* WP Admin Bar offset */
.admin-bar .site-header { top: 32px; }
.admin-bar main { padding-top: 112px !important; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar main { padding-top: 126px !important; }
}

/* Dropdown */
.site-header__dropdown-wrap { position: relative; }

.site-header__nav-link--dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.site-header__chevron {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header__chevron--open { transform: rotate(180deg); }

.site-header__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 320px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}
.site-header__dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.site-header__dropdown--open,
.site-header__dropdown-wrap--open .site-header__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.site-header__dropdown-inner {
  background: color-mix(in srgb, var(--bg-primary) 90%, transparent);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-card), 0 16px 48px rgba(0, 0, 0, 0.15);
}

.site-header__dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s;
}
.site-header__dropdown-item:hover { background: var(--accent-bg); }

.site-header__dropdown-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.2px;
}

.site-header__dropdown-item-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.site-header__dropdown-all {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  margin-top: 4px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
.site-header__dropdown-all:hover { color: var(--accent-hover); }

.site-header__dropdown-loading {
  display: flex;
  justify-content: center;
  padding: 20px;
}
.site-header__dropdown-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-card);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Site Footer
   Source: src/components/layout/Footer.module.css
   ========================================================================== */

.site-footer {
  padding: 48px 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.site-footer__top { display: flex; gap: 64px; }

.site-footer__brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Логотип подвала — то же изображение, что в шапке, но крупнее:
   в подвале он самостоятельный элемент, а не сосед навигации. */
.site-footer__logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.site-footer__brand-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.site-footer__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer__col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.site-footer__col a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.site-footer__col a:hover { color: var(--text-primary); }

.site-footer__col--it-park { align-items: flex-start; }
.site-footer__it-park-logo {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
}

.site-footer__line { height: 1px; background: var(--footer-line); }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer__copyright {
  font-size: 12px;
  color: var(--copyright-color);
}

.site-footer__legal { display: flex; gap: 24px; }

.site-footer__legal a {
  font-size: 12px;
  color: var(--copyright-color);
  transition: color 0.3s ease;
}
.site-footer__legal a:hover { color: var(--text-primary); }

/* ==========================================================================
   Breadcrumbs
   Source: src/components/layout/Breadcrumbs.module.css
   ========================================================================== */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 16px 0;
}

.breadcrumbs__link {
  color: var(--text-muted);
  transition: color 0.2s;
}
.breadcrumbs__link:hover { color: var(--accent); }

.breadcrumbs__separator { color: var(--border-tag); }

.breadcrumbs__current { color: var(--text-primary); }

/* ==========================================================================
   Section
   Source: src/components/layout/Section.module.css
   ========================================================================== */

.section { padding: 80px 0; scroll-margin-top: 80px; }

/* ==========================================================================
   Container
   Source: src/components/layout/Container.module.css
   ========================================================================== */

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

/* ==========================================================================
   Theme-aware Logo & Icons
   ========================================================================== */

/* Logo visibility by theme */
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: inline-block; }
[data-theme="light"] .logo-dark { display: none; }
[data-theme="light"] .logo-light { display: inline-block; }

/* Theme toggle icons */
[data-theme="dark"] .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: inline-block; }
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: inline-block; }

/* Main content
   ========================================================================== */
.site-main {
  padding-top: 80px;
}

.admin-bar .site-main {
  padding-top: 80px;
}

.site-main > .section:first-child {
  padding-top: 0;
}

/* Hero Media Background
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
}

.site-main > .hero-section:first-child,
.site-main > .hero.hero-section:first-child,
.site-main > .dev-hero--with-media:first-child {
  margin-top: -80px;
}

.hero.hero-section {
  min-height: 100vh;
  max-height: 100vh;
  padding-top: 120px;
}

.site-main > .bz:first-child {
  margin-top: -80px;
}

.site-main > .bz:first-child .bz__hero {
  padding-top: 80px;
}

.hero-media__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-media__poster {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 0;
}

.hero-media__poster > img.hero-media__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Видео и постер живут на одном z-index (0 от .hero-media__bg).
   Видео идёт позже в DOM, поэтому при play() кадры закрывают картинку.
   Overlay рендерится последним и затемняет оба слоя — иначе mp4
   выглядит «слишком ярко» без маски (см. ST-30). */

/* На десктопе постер не показываем — пока грузится mp4, фон остаётся
   пустым (контент сверху виден). Параллель с .bz__hero-poster в sections.css. */
@media (min-width: 769px) {
  .hero-media__poster {
    display: none;
  }
}

/* На <=768px видео не подключается (js/hero-media.js пропускает мобильные).
   Скрываем сам элемент, чтобы он не съедал лейаут и не загружал постер дважды. */
@media (max-width: 768px) {
  video.hero-media__video,
  video.bz__hero-video {
    display: none;
  }
}

.hero-media__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.75) 40%,
    rgba(0, 0, 0, 0.92) 100%
  );
}

[data-theme="light"] .hero-media__overlay {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.75) 40%,
    rgba(255, 255, 255, 0.95) 100%
  );
}

[data-theme="light"] .hero-media__bg {
  opacity: 0.5;
}

.hero.hero-section {
  position: relative;
  overflow: hidden;
}

.hero.hero-section .hero__bg {
  display: none;
}

.hero.hero-section .hero__content {
  position: relative;
  z-index: 1;
}

/* Form
   ========================================================================== */
.itb-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.itb-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.itb-form__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.itb-form__input {
  padding: 12px 16px;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.itb-form__input:focus {
  border-color: var(--accent);
}

.itb-form__input::placeholder {
  color: var(--text-muted);
}

.itb-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.itb-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.itb-form__file {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.itb-form__file input[type="file"] {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

.itb-form__file input[type="file"]::file-selector-button {
  padding: 8px 16px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm, 8px);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  margin-right: 12px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.itb-form__file input[type="file"]::file-selector-button:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.itb-form__checkboxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Honeypot: поле-приманка для ботов.
   Человек его не видит и не заполняет, бот заполняет — заявка отбраковывается
   в inc/lead.php. Прячем без display:none и visibility:hidden: часть ботов
   такие поля распознаёт и пропускает. Из потока выводим абсолютным
   позиционированием за пределы экрана. */
.itb-form__hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Чекбоксы согласий. Раньше эти правила висели на обёртках Contact Form 7
   (.wpcf7-acceptance, .wpcf7-list-item), но форма своя — селекторы стали
   мёртвыми, а чекбоксы отображались браузерным дефолтом. */
.itb-form__check-row label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.itb-form__check-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: 0;
  border: 1.5px solid var(--border-tag);
  border-radius: 6px;
  background: var(--bg-card);
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.itb-form__check-row input[type="checkbox"]:hover {
  border-color: var(--accent);
}

.itb-form__check-row input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.itb-form__check-row input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

/* Галочка рисуется бордюрами повёрнутого блока — не тянем иконочный шрифт
   ради одного элемента. */
.itb-form__check-row input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Загрузка файла */
.itb-form__file input[type="file"] {
  display: block;
  width: 100%;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

/* Результат отправки — заполняется из js/contact-form.js */
.itb-form__response {
  border: none;
  padding: 12px 16px;
  margin: 0;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

/* Переменных статусных цветов в теме нет — задаём значения здесь.
   Оттенки подобраны так, чтобы читаться и в тёмной, и в светлой теме. */
.itb-form__response--error {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

.itb-form__response--success {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
}

/* После успешной отправки JS скрывает поля и оставляет только сообщение —
   тогда ему нужен вид самостоятельного блока, а не узкой плашки. */
.itb-form__response--success:only-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 64px 32px;
  font-size: 16px;
}


.itb-form__check-link {
  color: var(--accent);
  text-decoration-line: underline;
}

.itb-form__check-row > p > span {
  vertical-align: middle;
}

@media (max-width: 640px) {
  .itb-form__row {
    grid-template-columns: 1fr;
  }
}

/* General
   ========================================================================== */
.page-h1__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 12px;
  margin-bottom: 24px;
}

.pb-32 {
  padding-bottom: 32px;
}

/* ─── Language Switcher ───────────────────────────────────── */

.site-header__lang {
    position: relative;
}
.site-header__lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}
.site-header__lang-toggle:hover,
.site-header__lang-toggle[aria-expanded="true"] {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}
.site-header__lang-icon,
.site-header__lang-chevron {
    flex: 0 0 auto;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header__lang-toggle[aria-expanded="true"] .site-header__lang-chevron {
    transform: rotate(180deg);
}
.site-header__lang-current {
    text-transform: uppercase;
}
.site-header__lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 72px;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    z-index: 1000;
}
.site-header__lang-menu[hidden] {
    display: none;
}
.site-header__lang-item {
    display: block;
    padding: 6px 12px;
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}
.site-header__lang-item:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}
.site-header__lang-item--active {
    color: var(--text-primary);
    background: var(--bg-card-hover);
    cursor: default;
}
/* css/sections.css */
/* ==========================================================================
   Sections — Page-specific BEM styles
   ========================================================================== */

/* ==========================================================================
   Homepage
   Source: src/app/(frontend)/page.module.css
   ========================================================================== */

.hero {
  min-height: calc(100vh - 140px);
  max-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 24px 40px;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-bg-strong) 0%, transparent 70%);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Marquee */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--marquee-border);
  border-bottom: 1px solid var(--marquee-border);
  background: var(--marquee-bg);
}

.marquee__track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee__item {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Homepage — New Sections
   ========================================================================== */

/* ---------- 1. Solutions Bento Grid ---------- */

.hp-solutions__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 48px;
}

.hp-solutions__card:nth-child(1) { grid-column: span 7; }
.hp-solutions__card:nth-child(2) { grid-column: span 5; }
.hp-solutions__card:nth-child(3) { grid-column: span 4; }
.hp-solutions__card:nth-child(4) { grid-column: span 4; }
.hp-solutions__card:nth-child(5) { grid-column: span 4; }
.hp-solutions__card:nth-child(6) { grid-column: span 5; }
.hp-solutions__card:nth-child(7) { grid-column: span 7; }

.hp-solutions__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  min-height: 200px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-solutions__card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

/* Accent variant (2nd card) */
.hp-solutions__card--accent {
  background: var(--accent);
  border-color: var(--accent);
}

.hp-solutions__card--accent .hp-solutions__card-icon span {
  color: var(--bg-primary);
}

.hp-solutions__card--accent .hp-solutions__card-icon {
  background: rgba(0, 0, 0, 0.15);
}

.hp-solutions__card--accent .hp-solutions__card-title,
.hp-solutions__card--accent .hp-solutions__card-desc {
  color: var(--bg-primary);
}

.hp-solutions__card--accent .hp-solutions__card-link,
.hp-solutions__card--accent .hp-solutions__card-arrow {
  color: var(--bg-primary);
}

.hp-solutions__card--accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.hp-solutions__card-body {
  flex: 1;
}

.hp-solutions__card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.hp-solutions__card-icon span {
  font-size: 24px;
  color: var(--accent);
}

.hp-solutions__card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.hp-solutions__card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hp-solutions__card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-card);
}

.hp-solutions__card--accent .hp-solutions__card-footer {
  border-top-color: rgba(0, 0, 0, 0.15);
}

.hp-solutions__card-link {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.hp-solutions__card-arrow {
  color: var(--accent);
  font-size: 18px;
}

/* ---------- 2. Products Showcase ---------- */

.hp-products__layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}

.hp-products__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hp-products__item {
  padding: 24px;
  border-left: 4px solid transparent;
  background: var(--bg-card);
  border-radius: var(--radius-md, 8px);
  cursor: pointer;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-products__item:hover {
  background: var(--bg-card-hover);
}

.hp-products__item--active {
  border-left-color: var(--accent);
  background: var(--bg-card);
}

.hp-products__item-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.hp-products__item-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.5;
}

.hp-products__item-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.hp-products__item-link:hover {
  gap: 8px;
}

.hp-products__item-link .material-symbols-outlined {
  font-size: 18px;
}

.hp-products__preview {
  position: relative;
}

.hp-products__preview-frame {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: none;
}

.hp-products__preview-frame--active {
  display: block;
}

.hp-products__preview-img {
  width: 100%;
  display: block;
}

.hp-products__preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
  pointer-events: none;
}

.hp-products__preview-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.hp-products__preview-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  pointer-events: auto;
  transition: gap 0.2s ease;
}

.hp-products__preview-link:hover {
  gap: 8px;
}

.hp-products__preview-link .material-symbols-outlined {
  font-size: 18px;
}

/* ---------- 3. Services Grid ---------- */

.hp-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.hp-services__card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 40px;
  border-radius: var(--radius-md);
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-services__card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

.hp-services__card-icon {
  display: block;
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 20px;
}

.hp-services__card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.hp-services__card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- 4. Cases Grid ---------- */

.hp-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.hp-cases__card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.hp-cases__card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
  background: var(--bg-card);
  margin-bottom: 20px;
}

.hp-cases__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-cases__card:hover .hp-cases__card-img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

.hp-cases__card-tags {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.hp-cases__card-tag {
  background: rgba(13, 20, 36, 0.9);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.hp-cases__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-cases__card:hover .hp-cases__card-title {
  color: var(--accent);
}

.hp-cases__card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.6;
}

.hp-cases__card-link {
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Section description ---------- */

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
  margin: 0.5rem auto 2rem;
  text-align: center;
}

.hp-products .section-desc {
  text-align: left;
  margin-left: 0;
}

/* ---------- 5. AI Section ---------- */

.hp-ai {
  background: var(--bg-secondary);
}

.hp-ai__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.hp-ai__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.hp-ai__desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
}

.hp-ai__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.hp-ai__card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.hp-ai__card-icon {
  color: var(--accent);
  font-size: 28px;
  flex-shrink: 0;
}

.hp-ai__card-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.hp-ai__orb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hp-ai__orb::before {
  content: "";
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent-bg);
  animation: hp-ai-pulse 3s ease-in-out infinite;
}

.hp-ai__visual {
  position: relative;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
}

.hp-ai__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hp-ai__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

@keyframes hp-ai-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* ---------- 6. Contact Section ---------- */

.hp-contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.hp-contact__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hp-contact__desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Responsive: 768px ---------- */

@media (max-width: 768px) {
  .hp-solutions__grid {
    grid-template-columns: 1fr;
  }

  .hp-solutions__card:nth-child(n) {
    grid-column: span 1;
  }

  .hp-products__layout {
    grid-template-columns: 1fr;
  }

  .hp-products__preview-frame {
    display: none;
  }

  .hp-cases__grid {
    grid-template-columns: 1fr;
  }

  .hp-ai__inner {
    grid-template-columns: 1fr;
  }

  .hp-ai__orb {
    display: none;
  }

  .hp-contact__inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- Responsive: 480px ---------- */

@media (max-width: 480px) {
  .hp-solutions__card {
    padding: 24px;
  }

  .hp-services__card {
    padding: 28px;
  }

  .hp-ai__cards {
    grid-template-columns: 1fr;
  }

  .hp-contact__inner {
    gap: 32px;
  }

  .hp-ai__inner {
    gap: 32px;
  }
}

/* Common section headers */
.section-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  background: var(--accent-bg);
  border-radius: var(--radius-lg);
}

.cta-section__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cta-section__text {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ==========================================================================
   About Page
   Source: src/app/(frontend)/about/page.module.css
   ========================================================================== */

.page-about__hero {
  margin-top: 24px;
}

.page-template-template-about .section-title {
  margin-top: 0;
  line-height: 1.2;
}

.page-about__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-about__subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-about__section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-about__section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.page-about__mission-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-about__mission-section {
  background: var(--bg-secondary);
}

.page-about__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.page-about__cta {
  text-align: center;
  padding: 64px 24px;
  background: var(--accent-bg);
  border-radius: var(--radius-lg);
}

.page-about__cta-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.page-about__cta-text {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ==========================================================================
   Contacts Page
   Source: src/app/(frontend)/contacts/page.module.css
   ========================================================================== */

.page-contacts__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.page-contacts__subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 520px;
}

.page-contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.page-contacts__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-contacts__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.page-contacts__info-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.page-contacts__info-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.page-contacts__info-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
}
.page-contacts__info-value:hover { color: var(--accent); }

.page-contacts__form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.page-contacts__form-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.page-contacts__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-contacts__error-text {
  color: #ef4444;
  font-size: 14px;
}

.page-contacts__success {
  text-align: center;
  padding: 32px 0;
}

.page-contacts__success h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.page-contacts__success p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-contacts__requisites {
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-contacts__requisites-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.page-contacts__requisites-company {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
}

.page-contacts__requisites-item {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   Products List Page
   Source: src/app/(frontend)/products/page.module.css
   ========================================================================== */

.page-products__title {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-products__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.page-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* ==========================================================================
   Product Detail Page
   Source: src/app/(frontend)/products/[slug]/page.module.css
   ========================================================================== */

.page-product__title {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-product__description {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.6;
}

.page-product__section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.page-product__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* How it works */
.page-product__steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
}

.page-product__step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.page-product__step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.page-product__step-content {
  flex: 1;
  min-width: 0;
}

.page-product__step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.page-product__step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.page-product__feature-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 16px;
}

/* FAQ */
.page-product__faq-container {
  max-width: 700px;
}

/* CTA */
.page-product__cta {
  text-align: center;
  padding: 60px 24px;
  background: var(--accent-bg);
  border-radius: var(--radius-lg);
}

.page-product__cta-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.page-product__cta-text {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ==========================================================================
   Services List Page
   Source: src/app/(frontend)/services/page.module.css
   ========================================================================== */

.page-services__title {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-services__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.page-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* ==========================================================================
   Service Detail Page
   Source: src/app/(frontend)/services/[slug]/page.module.css
   ========================================================================== */

.page-service__title {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-service__description {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.6;
}

.page-service__section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.page-service__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.page-service__cta {
  text-align: center;
  padding: 60px 24px;
  background: var(--accent-bg);
  border-radius: var(--radius-lg);
}

.page-service__cta-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.page-service__cta-text {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ==========================================================================
   Solutions List Page
   Source: src/app/(frontend)/solutions/page.module.css
   ========================================================================== */

.page-solutions__title {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-solutions__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.page-solutions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* ==========================================================================
   Solution Detail Page
   ========================================================================== */

/* Hero */
.page-solution__hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.page-solution__hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--hero-bg-opacity);
}

.page-solution__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--hero-gradient-mid) 50%,
    var(--hero-gradient-end) 100%
  );
}

.page-solution__hero-content {
  position: relative;
  z-index: 1;
}

.page-solution__hero-subtitle {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--accent-bg-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.page-solution__hero-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.1;
}

.page-solution__hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Intro */
.page-solution__intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-solution__intro-text {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Value Proposition */
/* Value Proposition — sol-vp */
.sol-vp {
  background: var(--bg-secondary);
}

.sol-vp__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sol-vp__badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.sol-vp__title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0 0 40px;
}

.sol-vp__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}

.sol-vp__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.sol-vp__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.sol-vp__item-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
  line-height: 1.3;
}

.sol-vp__item-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.sol-vp__document {
  margin-top: 36px;
}

.sol-vp__document-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--border-tag, rgba(255,255,255,0.12));
  border-radius: var(--radius-md, 8px);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.sol-vp__document-link:hover {
  background: var(--accent-bg-strong, rgba(37, 99, 235, 0.1));
  border-color: var(--accent);
}

.sol-vp__right {
  display: flex;
  justify-content: center;
}

.sol-vp__image-wrap {
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.sol-vp__image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

/* Target Audience */
/* Target Audience — sol-ta (bento grid) */
.sol-ta__container {
  margin-top: 40px;
  background: var(--bg-secondary);
  border-radius: var(--radius-xl, 16px);
  padding: 24px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
}

.sol-ta__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sol-ta__card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg, 12px);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sol-ta__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.sol-ta__card--wide {
  grid-column: span 2;
  flex-direction: row;
  gap: 32px;
  align-items: stretch;
}

.sol-ta__card-image {
  flex: 0 0 220px;
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  background: var(--bg-secondary);
}

.sol-ta__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sol-ta__card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sol-ta__card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-bg-strong, rgba(37, 99, 235, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.sol-ta__card-icon .material-symbols-outlined {
  font-size: 24px;
  color: var(--accent);
}

.sol-ta__card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px;
  line-height: 1.3;
}

.sol-ta__card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.sol-ta__card-cta {
  margin-top: 24px;
}

.sol-ta__card-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Timeline / Stepper */
.page-solution__stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0 40px;
  margin-top: 40px;
}

.page-solution__stepper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: var(--border-color);
}

.page-solution__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.page-solution__step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.page-solution__step-label {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 120px;
}

/* Quote */
.page-solution__quote {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
}

.page-solution__quote-mark {
  font-size: 64px;
  color: var(--accent);
  line-height: 1;
  font-family: Georgia, serif;
  display: block;
  margin-bottom: 8px;
}

.page-solution__quote-text {
  font-size: 18px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}

.page-solution__quote-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.page-solution__quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.page-solution__quote-author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

/* Features */
.page-solution__features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.page-solution__feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.page-solution__feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
}

.page-solution__feature-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.page-solution__feature-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-solution__feature-items li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.page-solution__feature-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Extras */
.page-solution__extras {
  background: var(--accent-bg);
  border-radius: var(--radius-lg);
}

.page-solution__extras-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.page-solution__extras-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-solution__extras-item {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  color: var(--text-primary);
}

/* Industries */
.page-solution__industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.page-solution__industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.page-solution__industry-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-solution__industry-subtitle {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.page-solution__industry-divider {
  height: 1px;
  background: var(--border-color);
  margin: 16px 0;
}

.page-solution__industry-problems,
.page-solution__industry-solutions {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-solution__industry-problems li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.page-solution__industry-problems li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
}

.page-solution__industry-solutions li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.page-solution__industry-solutions li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Cases */
.page-solution__cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

/* Comparison Table */
.page-solution__comp-wrap {
  overflow-x: auto;
  margin-top: 32px;
}

.page-solution__comp-table {
  width: 100%;
  border-collapse: collapse;
}

.page-solution__comp-table th {
  padding: 16px;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid var(--border-color);
  text-align: left;
}

.page-solution__comp-th-param {
  color: var(--text-secondary);
  width: 30%;
}

.page-solution__comp-th-ours {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.page-solution__comp-th-theirs {
  color: var(--text-muted);
}

.page-solution__comp-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}

.page-solution__comp-td-param {
  font-weight: 500;
  color: var(--text-primary);
}

.page-solution__comp-td-ours {
  color: var(--accent);
  font-weight: 500;
}

.page-solution__comp-td-theirs {
  color: var(--text-muted);
}

.page-solution__comp-table tr:hover {
  background: var(--bg-card-hover);
}

.page-solution__comp-conclusion {
  margin-top: 24px;
  padding: 24px;
  background: var(--accent-bg);
  border-radius: var(--radius-md);
}

.page-solution__comp-conclusion p {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
  margin: 0;
}

/* Advantages */
/* Advantages — sol-adv */
.sol-adv {
  background: var(--bg-secondary);
}

.sol-adv__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.sol-adv__title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 0 0 24px;
}

.sol-adv__desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 32px;
}

.sol-adv__image {
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.sol-adv__image img {
  display: block;
  width: 100%;
  height: auto;
}

.sol-adv__right {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.sol-adv__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.sol-adv__num {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
  flex-shrink: 0;
  min-width: 52px;
}

.sol-adv__item-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: 1.3;
}

.sol-adv__item-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Pricing Options */
.page-solution__pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.page-solution__pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-solution__pricing-card--highlight {
  border-color: var(--accent);
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.15);
}

.page-solution__pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.page-solution__pricing-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.page-solution__pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-solution__pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.page-solution__pricing-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-secondary);
}

/* CTA Form */
.page-solution__cta-section {
  background: var(--accent-bg);
  border-radius: var(--radius-lg);
}

.page-solution__cta-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-solution__cta-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 12px;
}

/* FAQ */
.page-solution__faq {
  max-width: 800px;
  margin: 0 auto;
}

/* ==========================================================================
   Cases List Page
   Source: src/app/(frontend)/cases/page.module.css
   ========================================================================== */

.page-cases__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.page-cases__title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 16px;
}

.page-cases__subtitle {
  color: var(--text-secondary);
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.6;
}

.page-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.page-cases__card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-cases__case-card { height: 100%; }

.page-cases__cover-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-cases__cover-image { object-fit: cover; }

.page-cases__client {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-cases__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.page-cases__empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  padding: 48px 0;
}

/* ==========================================================================
   Case Detail Page
   Source: src/app/(frontend)/cases/[slug]/page.module.css
   ========================================================================== */

.page-case__hero { margin-top: 32px; }

.page-case__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.page-case__title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 16px;
  line-height: 1.15;
}

.page-case__cover-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 40px;
}

.page-case__cover-image { object-fit: cover; }

.page-case__block { max-width: 800px; }

.page-case__block-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.page-case__rich-text {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.page-case__rich-text h2,
.page-case__rich-text h3 {
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

.page-case__rich-text p { margin-bottom: 16px; }

.page-case__rich-text ul,
.page-case__rich-text ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-case__rich-text li { margin-bottom: 8px; }

/* ==========================================================================
   Blog List Page — horizontal card layout
   ========================================================================== */

.page-blog__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 16px;
}

.page-blog__subtitle {
  color: var(--text-secondary);
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.6;
}

.page-blog__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 32px 0;
}

.page-blog__filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-tag);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
  cursor: pointer;
}
.page-blog__filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-blog__filter-btn--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.page-blog__filter-btn--active:hover {
  color: #fff;
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.page-blog__articles {
  display: flex;
  flex-direction: column;
}

.page-blog__pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.page-blog__empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  padding: 48px 0;
}

/* ── Article card (horizontal) ── */

.blog-card {
  display: flex;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-card);
}

.blog-card:first-child { padding-top: 0; }
.blog-card:last-child { border-bottom: none; }

.blog-card__image {
  flex: 0 0 300px;
  max-width: 300px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

.blog-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.blog-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}

.blog-card__title a {
  color: var(--text-primary);
  text-decoration: none;
}
.blog-card__title a:hover { color: var(--accent); }

.blog-card__chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.blog-card__chip {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.1);
  text-decoration: none;
  transition: background 0.2s;
}
.blog-card__chip:hover { background: rgba(37, 99, 235, 0.2); }

.blog-card__excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.blog-card__meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.blog-card__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-card__read-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s;
}
.blog-card__read-btn:hover { gap: 10px; }

/* ==========================================================================
   Blog Article Page — single post with TOC, author, related
   ========================================================================== */

.page-article__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 16px;
  line-height: 1.2;
  max-width: 800px;
}

.page-article__meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-card);
}

.page-article__meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-muted);
}

.page-article__cover-wrapper {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 32px;
}

.page-article__cover-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Table of Contents ── */

.page-article__toc {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 32px 0;
}

.page-article__toc-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.page-article__toc-list a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}
.page-article__toc-list a:hover { color: var(--accent); }
.page-article__toc-list a.toc-h3 { padding-left: 16px; }

/* ── Article content ── */

.page-article__content {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.page-article__content h2 {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.page-article__content h3 {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 10px;
}

.page-article__content p { margin-bottom: 16px; }

.page-article__content ul,
.page-article__content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-article__content li { margin-bottom: 8px; }

.page-article__content img {
  border-radius: var(--radius-md);
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}

.page-article__content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--text-muted);
  font-style: italic;
}

.page-article__content a { color: var(--accent); text-decoration: underline; }
.page-article__content a:hover { color: var(--accent-hover); }

/* ── Author block ── */

.page-article__author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
}

.page-article__author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.page-article__author-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-article__author-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2px;
}

.page-article__author-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.page-article__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ── Related articles ── */

.page-article__related {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-card);
}

.page-article__related-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.page-article__related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.page-article__related-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.2s, box-shadow 0.2s;
}
.page-article__related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.page-article__related-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.page-article__related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-article__related-body {
  padding: 16px;
}

.page-article__related-body h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}

.page-article__related-body h3 a {
  color: var(--text-primary);
  text-decoration: none;
}
.page-article__related-body h3 a:hover { color: var(--accent); }

.page-article__related-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.page-article__related-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.page-article__related-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Balance-Zakupki — Main page
   Source: src/app/(frontend)/products/balance-zakupki/page.module.css
   ========================================================================== */

.bz__page {
  display: flex;
  flex-direction: column;
  margin-top: -80px;
}

/* ── Hero ── */
.bz__hero {
  position: relative;
  min-height: calc(100vh - 60px);
  max-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 80px 40px;
  width: 100%;
  overflow: hidden;
}

.bz__hero--no-media {
  min-height: auto;
  max-height: none;
  justify-content: flex-start;
  padding: 160px 80px 60px;
}

.bz__hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

.bz__hero-poster {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.bz__hero-poster > img.bz__hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* На BZ-странице у .bz__hero-media есть opacity: 0.45, и через
   полупрозрачный постер на десктопе просвечивает --bg-primary —
   картинка визуально «сливается с фоном». До оптимизации постера
   там не было вовсе (только видео), так что прячем постер на
   десктопе и возвращаем pre-optimization поведение. На <=768px
   видео скрыто через CSS, поэтому постер остаётся как fallback. */
@media (min-width: 769px) {
  .bz__hero-poster {
    display: none;
  }
}

/* video и постер — на одном z-index (0). Видео позже в DOM, кадры закроют
   картинку при play(); overlay идёт ещё позже и затемняет оба слоя. */

.bz__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(5, 10, 18, 0.3) 0%,
    rgba(5, 10, 18, 0.6) 50%,
    rgba(5, 10, 18, 0.9) 75%,
    var(--bg-primary) 100%
  );
  z-index: 0;
  pointer-events: none;
}

[data-theme="light"] .bz__hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.6) 40%,
    rgba(255, 255, 255, 0.9) 70%,
    var(--bg-primary) 100%
  );
}

[data-theme="light"] .bz__hero-media {
  opacity: 0.45;
}

.bz__hero-content {
  position: relative;
  z-index: 1;
}

.bz__hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bz__hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--accent-bg);
  border: 1px solid var(--border-card);
  width: fit-content;
}

.bz__hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.bz__hero-badge-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.bz__hero-title {
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1;
  color: var(--text-primary);
  margin-top: 32px;
}

.bz__hero-title-accent {
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1;
  color: var(--accent);
  font-style: italic;
}

.bz__hero-title-end {
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1;
  color: var(--text-primary);
  font-style: italic;
}

.bz__hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin-top: 24px;
}

.bz__hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
}

/* ── Marquee ── */
.bz__marquee {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  overflow: hidden;
}

.bz__marquee-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: bzMarqueeScroll 40s linear infinite;
  width: fit-content;
}

.bz__marquee-item {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.bz__marquee-diamond {
  font-size: 10px;
  color: var(--accent);
}

@keyframes bzMarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ── Section Alt Background ── */
.bz__section-alt {
  background: var(--bg-secondary);
}

/* ── Common section header ── */
.bz__section-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--text-primary);
}

.bz__section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
}

.bz__section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

/* ── About Platform ── */
.bz__about-platform {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bz__about-platform-desc {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 800px;
}

/* ── Overpay / Don't Overpay ── */
.bz__overpay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.bz__overpay-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bz__overpay-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.12);
}

/* ── Audience / For Whom ── */
.bz__dot-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.bz__dot-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 16px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}
.bz__dot-item:last-child { border-bottom: none; }
.bz__dot-item:hover {
  padding-left: 12px;
  color: var(--accent);
}

.bz__dot-blue {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Launch Steps ── */
.bz__steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.bz__step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bz__step-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.12);
}

.bz__step-num {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
}

.bz__step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* ── Quote ── */
.bz__quote-section {
  position: relative;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.bz__quote-block {
  display: flex;
  align-items: center;
  gap: 64px;
}

.bz__quote-content {
  position: relative;
  border-left: 4px solid var(--accent);
  padding: 0 0 0 32px;
  flex: 1;
}

.bz__quote-mark {
  font-size: 120px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: -40px;
  left: 0;
  font-family: Georgia, serif;
  pointer-events: none;
}

.bz__quote-text {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.bz__quote-author-block {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.bz__quote-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-bg), 0 8px 32px rgba(37, 99, 235, 0.15);
}

.bz__quote-author-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.bz__quote-author-role {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 200px;
}

/* ── Modules / Bento Grid ── */
.bz__bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 16px;
  margin-top: 40px;
}

.bz__bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
}
.bz__bento-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
}

.bz__bento-card--large { grid-row: 1 / 3; }
.bz__bento-card--wide { grid-column: 1 / -1; }

.bz__bento-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.bz__bento-card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.bz__bento-action { margin-top: 32px; }

/* ── Industries ── */
.bz__industries-section {
  background: var(--bg-secondary);
}

.bz__industries-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 0 0 80px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.bz__industries-left {
  flex: 0 0 400px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.bz__industries-badge {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--accent-bg);
  width: fit-content;
}

.bz__industries-badge-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.bz__industries-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -2px;
  color: var(--text-primary);
  white-space: pre-line;
}

.bz__industries-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Cases ── */
.bz__case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bz__case-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
}

.bz__case-card--accent { /* reserved for CMS */ }

.bz__case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.bz__case-tag {
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.bz__case-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.bz__case-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

.bz__case-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.bz__case-col-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Comparison ── */
/* See bz-comparison__* below */

/* ── Advantages ── */
.bz__adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bz__adv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bz__adv-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.12);
}

.bz__adv-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.bz__adv-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bz__adv-card-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bz__adv-card-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ── Pricing / Start Options ── */
.bz__start-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bz__start-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
}

.bz__start-card--highlighted { /* reserved for CMS */ }

.bz__start-card-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
  text-transform: uppercase;
}

.bz__start-card-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
}

.bz__start-card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.bz__start-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bz__start-card-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bz__start-card-item-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}

.bz__start-card-note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Support Levels ── */
.bz__support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.bz__support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bz__support-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.12);
}

.bz__support-card--highlighted { /* reserved for CMS */ }

.bz__support-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.bz__support-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bz__support-card-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bz__support-card-item-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ── Info Cards (Dev & Security) ── */
.bz__two-cols-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bz__info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bz__info-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.12);
}

.bz__info-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.bz__info-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bz__info-card-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bz__info-card-item-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ── CTA + Form ── */
.bz__cta-form-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.bz__cta-form-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.bz__cta-form-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bz__cta-form-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text-primary);
  line-height: 1.2;
}

.bz__cta-form-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bz__cta-form-contact {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 12px;
}

.bz__cta-form-contact a { color: var(--accent); text-decoration: none; }
.bz__cta-form-contact a:hover { text-decoration: underline; }

/* ── FAQ ── */
.bz__faq {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.bz__faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.bz__faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bz__faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}
.bz__faq-item:hover { border-color: var(--accent); }

.bz__faq-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bz__faq-question {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.bz__faq-chevron {
  color: var(--text-muted);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  flex-shrink: 0;
}

.bz__faq-item--open .bz__faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.bz__faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bz__faq-item--open .bz__faq-answer-wrap {
  max-height: 300px;
}

.bz__faq-answer {
  padding-top: 16px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Balance-Zakupki — Roles Accordion
   Source: RolesAccordion.module.css
   ========================================================================== */

.bz-roles__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bz-roles__card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.bz-roles__card:hover { border-color: var(--accent); }

.bz-roles__card--open {
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(37, 99, 235, 0.08);
}

.bz-roles__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bz-roles__head-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bz-roles__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.4s ease;
}

.bz-roles__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--accent-bg-strong);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.bz-roles__chevron {
  color: var(--text-muted);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
  flex-shrink: 0;
}

.bz-roles__card--open .bz-roles__chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.bz-roles__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bz-roles__card--open .bz-roles__body {
  max-height: 500px;
}

.bz-roles__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  padding-top: 20px;
}

.bz-roles__func-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  transition: background 0.3s ease;
}
.bz-roles__func-item:hover { background: var(--accent-bg-strong); }

.bz-roles__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ==========================================================================
   Balance-Zakupki — Industry Carousel
   Source: IndustryCarousel.module.css
   ========================================================================== */

.bz-industry__wrapper {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: visible;
}

.bz-industry__swiper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 0%, black 100%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 0%, black 100%, transparent 100%);
  transition: -webkit-mask-image 0.3s ease, mask-image 0.3s ease;
  padding: 8px 0;
  margin: -8px 0;
}

.bz-industry__wrapper--scrolled .bz-industry__swiper {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 100%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 100%, transparent 100%);
}

.bz-industry__wrapper:not(.bz-industry__wrapper--end) .bz-industry__swiper {
  -webkit-mask-image: linear-gradient(to right, black 0%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black 92%, transparent 100%);
}

.bz-industry__wrapper--scrolled:not(.bz-industry__wrapper--end) .bz-industry__swiper {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.bz-industry__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 80px 4px 0;
}
.bz-industry__track::-webkit-scrollbar { display: none; }

.bz-industry__swiper .swiper-slide {
  width: 300px;
}

.bz-industry__card {
  flex: 0 0 300px;
  min-width: 300px;
  height: 380px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bz-industry__card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
}

.bz-industry__card-accent {
  height: 4px;
  width: 100%;
  flex-shrink: 0;
}

.bz-industry__card-body {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.bz-industry__card-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bz-industry__card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.bz-industry__card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bz-industry__card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bz-industry__card-tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent-bg);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Arrows */
.bz-industry__arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 24px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
}
.bz-industry__wrapper:hover .bz-industry__arrow-btn { opacity: 1; }

.bz-industry__arrow-left {
  left: 16px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  color: #fff;
}
.bz-industry__arrow-left:hover { background: rgba(0, 0, 0, 0.95); }

.bz-industry__arrow-right {
  right: 16px;
  background: rgba(255, 255, 255, 0.93);
  color: #000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.bz-industry__arrow-right:hover { background: #fff; }

[data-theme="light"] .bz-industry__arrow-left {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .bz-industry__arrow-left:hover { background: var(--bg-card-hover); }

[data-theme="light"] .bz-industry__arrow-right {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.25);
}
[data-theme="light"] .bz-industry__arrow-right:hover { background: var(--accent-hover); }

/* ==========================================================================
   Balance-Zakupki — Comparison Table
   Source: ComparisonTable.module.css
   ========================================================================== */

.bz-comparison {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bz-comparison__toggle {
  display: flex;
  width: fit-content;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 4px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  align-self: center;
}

.bz-comparison__pill {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.bz-comparison__pill:hover { color: var(--text-primary); }

.bz-comparison__pill--active,
.bz-comparison__pill.tabs__btn--active {
  background: var(--accent);
  color: #fff;
}

.bz-comparison__table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
}

.bz-comparison__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.bz-comparison__table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-card);
}

.bz-comparison__th-param {
  color: var(--text-muted);
  background: var(--bg-card);
  width: 25%;
}

.bz-comparison__th-ours {
  color: var(--accent);
  background: var(--accent-bg);
  width: 37.5%;
}

.bz-comparison__th-theirs {
  color: var(--text-muted);
  background: var(--bg-card);
  width: 37.5%;
}

.bz-comparison__row { transition: background 0.2s ease; }
.bz-comparison__row:hover { background: var(--bg-card-hover); }

.bz-comparison__table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.5;
}
.bz-comparison__row:last-child td { border-bottom: none; }

.bz-comparison__td-param {
  color: var(--text-primary);
  font-weight: 500;
  background: var(--bg-card);
}

.bz-comparison__td-ours {
  color: var(--text-secondary);
  background: var(--accent-bg);
}

.bz-comparison__td-theirs {
  color: var(--text-muted);
  background: var(--bg-card);
}

.bz-comparison__positive { color: #22c55e; }
.bz-comparison__negative { color: var(--text-muted); opacity: 0.7; }

.bz-comparison__conclusion {
  padding: 20px 24px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--accent-bg);
  margin-top: 24px;
}

.bz-comparison__conclusion-text {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

/* ==========================================================================
   Balance-Zakupki — Contact Form
   Source: ContactForm.module.css
   ========================================================================== */

.bz-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bz-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bz-contact-form__checkboxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bz-contact-form__check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.bz-contact-form__check-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.bz-contact-form__check-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--border-tag);
  background: var(--bg-card);
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
  margin-top: 1px;
}

.bz-contact-form__check-input:checked + .bz-contact-form__check-box {
  background: var(--accent);
  border-color: var(--accent);
}

.bz-contact-form__check-input:checked + .bz-contact-form__check-box::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.bz-contact-form__check-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bz-contact-form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 64px 32px;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius-xl);
  text-align: center;
}

.bz-contact-form__success-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

.bz-contact-form__success-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   Listing Pages — Steps Section
   ========================================================================== */

.listing-steps__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.listing-steps__card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.listing-steps__card:hover {
  border-color: var(--accent);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.12);
}

.listing-steps__label {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
}

.listing-steps__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.listing-steps__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.listing-steps__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.listing-steps__link:hover {
  gap: 10px;
  text-decoration: underline;
}

/* === Development Landing — Hero === */
.dev-hero {
    position: relative;
    padding: clamp(64px, 10vw, 140px) 0 clamp(48px, 8vw, 100px);
    overflow: hidden;
}
.dev-hero__content {
    position: relative;
    z-index: 2;
    max-width: 920px;
}
.dev-hero__badge {
    display: inline-block;
    margin-bottom: 24px;
}
.dev-hero__title {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    margin: 0 0 24px;
    font-weight: 600;
    color: var(--text-primary);
}
.dev-hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.5;
    margin: 0 0 32px;
    color: var(--text-secondary);
    max-width: 720px;
}
.dev-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.dev-hero--with-media {
    padding-top: clamp(144px, 12vw, 220px);
}
.dev-hero--with-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}
.dev-hero--with-media .dev-hero__title,
.dev-hero--with-media .dev-hero__subtitle {
    color: #fff;
}

/* === Development Landing — Shared grid/card === */
.dev-needs,
.dev-accelerators {
    padding: clamp(48px, 8vw, 96px) 0;
}
.dev-needs__title,
.dev-accelerators__title {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    margin: 0 0 40px;
    font-weight: 600;
    color: var(--text-primary);
}
.dev-grid {
    display: grid;
    gap: 24px;
}
.dev-grid--2col {
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
.dev-card {
    padding: 28px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
}
.dev-card__num {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}
.dev-card__title {
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 12px;
    font-weight: 600;
    color: var(--text-primary);
}
.dev-card__desc {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    color: var(--text-secondary);
}

/* === Development Landing — Quote === */
.dev-quote {
    padding: clamp(48px, 8vw, 96px) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.dev-quote__inner {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 32px;
    align-items: center;
}
@media (max-width: 640px) {
    .dev-quote__inner { grid-template-columns: 80px 1fr; gap: 20px; }
}
.dev-quote__photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}
.dev-quote__body { margin: 0; }
.dev-quote__text {
    font-size: clamp(20px, 2.5vw, 28px);
    line-height: 1.35;
    margin: 0 0 16px;
    font-weight: 500;
    color: var(--text-primary);
}
.dev-quote__author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 15px;
}
.dev-quote__name { font-weight: 600; }
.dev-quote__role { color: var(--text-secondary); }

/* === Development Landing — Chip-list (shared by solutions/why) === */
.dev-chips-section {
    padding: clamp(48px, 8vw, 96px) 0;
}
.dev-chips-section__title {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    margin: 0 0 32px;
    font-weight: 600;
    color: var(--text-primary);
}
.dev-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.dev-chips__item {
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

/* === Development Landing — Process steps === */
.dev-process {
    padding: clamp(48px, 8vw, 96px) 0;
}
.dev-process__title {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    margin: 0 0 40px;
    font-weight: 600;
    color: var(--text-primary);
}
.dev-process__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: dev-process;
}
.dev-process__step {
    padding: 24px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dev-process__num {
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    color: var(--accent);
}
.dev-process__label {
    font-size: 17px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--text-primary);
}

/* === Development Landing — FAQ === */
.dev-faq {
    padding: clamp(48px, 8vw, 96px) 0;
}
.dev-faq__title {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    margin: 0 0 32px;
    font-weight: 600;
    color: var(--text-primary);
}
.dev-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 920px;
}
.dev-faq__item {
    border: 1px solid var(--border-card);
    border-radius: 12px;
    background: var(--bg-card);
}
.dev-faq__question {
    cursor: pointer;
    list-style: none;
    padding: 18px 24px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.dev-faq__question::-webkit-details-marker { display: none; }
.dev-faq__question::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 22px;
    line-height: 1;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.2s;
}
.dev-faq__item[open] .dev-faq__question::after {
    content: '−';
}
.dev-faq__answer {
    padding: 0 24px 20px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* css/responsive.css */
/* ==========================================================================
   Responsive — All media queries consolidated
   ========================================================================== */

/* ==========================================================================
   @media (max-width: 1024px) — Tablet
   ========================================================================== */

@media (max-width: 1024px) {

  /* Section & Container */
  .section { padding: 60px 0; }
  .container-main { padding: 0 24px; }

  /* Header */
  .site-header { padding: 16px 24px; }
  .site-header--scrolled { padding: 12px 24px; }
  .site-header__nav { display: none; }
  .site-header__cta { display: none; }
  .site-header__burger { display: flex; }

  /* Footer */
  .site-footer { padding: 32px 24px 16px; }
  .site-footer__top { flex-direction: column; gap: 32px; }
  .site-footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }

  /* Blog card — stack on tablet */
  .blog-card__image { flex: 0 0 240px; max-width: 240px; height: 160px; }

  /* Related articles */
  .page-article__related-grid { grid-template-columns: repeat(2, 1fr); }

  /* Balance-Zakupki Hero */
  .bz__hero {
    padding: 120px 32px 60px;
    min-height: auto;
  }
  .bz__hero-title,
  .bz__hero-title-accent,
  .bz__hero-title-end {
    font-size: 48px;
    letter-spacing: -2px;
  }

  /* BZ section titles */
  .bz__section-title { font-size: 36px; }

  /* BZ grids -> single column.
     Имена должны соответствовать классам в template-parts/bz/*.php — иначе
     правила не сработают и на мобилке появится горизонтальный скролл,
     потому что многоколонные сетки не схлопываются (см. ST-31). */
  .bz__overpay-grid { grid-template-columns: 1fr; }
  .bz__steps-grid { grid-template-columns: 1fr; }
  .bz__bento-grid { grid-template-columns: 1fr; }
  .bz__bento-card--large { grid-row: auto; }
  .bz__case-cols { grid-template-columns: 1fr; gap: 20px; }
  .bz__adv-grid { grid-template-columns: 1fr; }
  .bz__start-grid { grid-template-columns: 1fr; }
  .bz__support-grid { grid-template-columns: 1fr; }
  .bz__two-cols-grid { grid-template-columns: 1fr; }

  /* BZ CTA */
  .bz__cta-form-inner { grid-template-columns: 1fr; gap: 40px; }

  /* BZ FAQ */
  .bz__faq-header { flex-direction: column; align-items: flex-start; }

  /* BZ Quote */
  .bz__quote-text { font-size: 20px; }
  .bz__quote-block { flex-direction: column; gap: 32px; }

  /* BZ Industries */
  .bz__industries-inner {
    flex-direction: column;
    /* align-items: center от desktop-правила не работает в column flex —
       дочерние элементы не растягиваются и берут intrinsic width.
       Swiper-карусель внутри .bz-industry__wrapper раздувается до ширины
       всех слайдов (~1600px), это ломает горизонтальный лейаут страницы
       и уводит бургер за правый край viewport. */
    align-items: stretch;
    padding: 0 32px;
    gap: 32px;
  }
  .bz__industries-left {
    flex: none;
    width: 100%;
  }
  .bz-industry__wrapper {
    width: 100%;
    min-width: 0;
  }
  .bz__industries-title { font-size: 32px; }

  /* BZ Industry Carousel */
  .bz-industry__track { padding-right: 32px; }

  /* Solution Detail */
  .page-solution__hero { min-height: auto; padding: 100px 0 60px; }
  .sol-vp__layout { grid-template-columns: 1fr; gap: 40px; }
  .sol-vp__title { font-size: 32px; }
  .page-solution__features-grid { grid-template-columns: repeat(2, 1fr); }
  .page-solution__pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .page-solution__extras-grid { grid-template-columns: 1fr; text-align: center; }
  .page-solution__stepper { flex-direction: column; gap: 24px; padding: 0; }
  .page-solution__stepper::before { width: 2px; height: 100%; left: 20px; top: 0; right: auto; }
  .page-solution__step { flex-direction: row; gap: 16px; }
  .page-solution__step-label { text-align: left; max-width: none; }

  /* Listing steps */
  .listing-steps__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   @media (max-width: 768px) — Mobile
   ========================================================================== */

@media (max-width: 768px) {

  /* Contacts */
  .page-contacts__grid { grid-template-columns: 1fr; gap: 32px; }

  /* Cases list */
  .page-cases__grid { grid-template-columns: 1fr; }
  .page-cases__title { font-size: 32px; }

  /* Case detail */
  .page-case__title { font-size: 32px; }
  .page-case__block-title { font-size: 24px; }

  /* Blog card — vertical on mobile */
  .blog-card { flex-direction: column; gap: 16px; }
  .blog-card__image { flex: none; max-width: 100%; height: 200px; }
  .blog-card__footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-blog__title { font-size: 28px; }

  /* Blog article */
  .page-article__title { font-size: 28px; }
  .page-article__meta { gap: 12px; flex-wrap: wrap; }
  .page-article__author { flex-direction: column; text-align: center; }
  .page-article__related-grid { grid-template-columns: 1fr; }

  /* BZ Roles Accordion */
  .bz-roles__card { padding: 20px 20px; }
  .bz-roles__grid { grid-template-columns: 1fr; }
  .bz-roles__title { font-size: 18px; }

  /* BZ Industry Carousel */
  .bz-industry__card {
    flex: 0 0 260px;
    min-width: 260px;
    height: 340px;
  }
  .bz-industry__arrow-btn { width: 40px; height: 40px; }
  .bz-industry__track { padding-right: 20px; }

  /* BZ Comparison Table */
  .bz-comparison__toggle { align-self: stretch; }
  .bz-comparison__pill {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    font-size: 13px;
  }
  .bz-comparison__table { font-size: 13px; }
  .bz-comparison__table th,
  .bz-comparison__table td { padding: 10px 12px; }
}

/* ==========================================================================
   @media (max-width: 480px) — Narrow Mobile (header compaction)
   ========================================================================== */

@media (max-width: 480px) {
  /* Освобождаем место под лого: lang + theme прячутся в бургер-меню */
  .site-header__actions > .site-header__lang,
  .site-header__actions > .theme-toggle-btn {
    display: none;
  }
  .site-header__mobile-actions {
    display: flex;
    gap: 12px;
    align-items: center;
  }
}

/* ==========================================================================
   @media (max-width: 640px) — Small Mobile
   ========================================================================== */

@media (max-width: 640px) {

  /* Container */
  .container-main { padding: 0 20px; }

  /* BZ Hero */
  .bz__hero { padding: 100px 20px 40px; }
  .bz__hero-title,
  .bz__hero-title-accent,
  .bz__hero-title-end { font-size: 36px; }
  .bz__hero-desc { font-size: 16px; }

  /* BZ Section titles */
  .bz__section-title { font-size: 28px; }
  .bz__about-platform-desc { font-size: 17px; }

  /* BZ Quote */
  .bz__quote-text { font-size: 18px; }

  /* BZ CTA title */
  .bz__cta-form-title { font-size: 28px; }

  /* BZ Case card */
  .bz__case-card { padding: 24px; }

  /* BZ Pricing / Start card */
  .bz__start-card { padding: 24px; }

  /* BZ Industries */
  .bz__industries-inner { padding: 0 20px; }
  .bz__industries-title { font-size: 28px; }

  /* BZ Contact Form */
  .bz-contact-form__row { grid-template-columns: 1fr; }

  /* Solution Detail */
  .sol-ta__grid { grid-template-columns: 1fr 1fr; }
  .sol-ta__card--wide { grid-column: span 2; }
  .page-solution__features-grid { grid-template-columns: 1fr; }
  .page-solution__industries-grid { grid-template-columns: 1fr; }
  .page-solution__cases-grid { grid-template-columns: 1fr; }
  .page-solution__pricing-grid { grid-template-columns: 1fr; }
  .page-solution__pricing-card--highlight { transform: none; }
  .sol-adv__layout { grid-template-columns: 1fr; gap: 40px; }
  .sol-adv__title { font-size: 32px; }
  .sol-adv__image { max-width: 400px; }
  .page-solution__hero-title { font-size: clamp(28px, 6vw, 40px); }

  /* Value Proposition */
  .sol-vp__grid { grid-template-columns: 1fr; gap: 24px; }
  .sol-vp__title { font-size: 28px; margin-bottom: 28px; }

  /* Target Audience */
  .sol-ta__grid { grid-template-columns: 1fr; }
  .sol-ta__card--wide { grid-column: span 1; flex-direction: column; }
  .sol-ta__card-image { flex: none; height: 180px; }
  .sol-ta__card { padding: 24px; }
}

