/* ============================================================
   БАЗЫ ЛПР — стили (обновлено 27.10.2026)
   Палитра: тёмно-синяя, без свечений и размытых градиентов.
   Оранжевый — только маленький акцент в логотипе.
   ============================================================ */

:root {
  /* Фоны */
  --bg:            #0B1220;
  --bg-alt:        #101A2E;
  --surface:       #16223B;
  --surface-2:     #1B2949;

  /* Акцент */
  --accent:        #3D7DFC;
  --accent-hover:  #2E6AE6;
  --accent-soft:   rgba(61, 125, 252, 0.12);
  --accent-border: rgba(61, 125, 252, 0.35);

  /* Бренд-акцент (только логотип) */
  --brand-mark:    #FF8A18;

  /* Текст */
  --text:          #EAF0FB;
  --text-muted:    #9FB0CC;
  --text-dim:      #6B7A94;
  --text-dark:     #0B1220;

  /* Границы */
  --border:        rgba(159, 176, 204, 0.12);
  --border-strong: rgba(159, 176, 204, 0.22);

  /* Радиусы */
  --radius:    16px;
  --radius-sm: 10px;
  --radius-xs: 8px;

  /* Тени — только мягкие, без цветных */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.28);

  /* Переходы */
  --t: 0.22s ease;
}

/* ===== БАЗА ===== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent-hover); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== ТИПОГРАФИКА ===== */
h1, h2, h3, h4, h5 {
  margin: 0 0 16px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--text);
}
h1 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
p  { margin: 0 0 14px; }

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

/* ===== КНОПКИ ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
  white-space: nowrap;
  min-height: 46px;
  cursor: pointer;
}
.btn--primary {
  background: var(--accent);
  color: #FFFFFF;
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--sm   { padding: 10px 18px; font-size: 14px; min-height: 40px; }
.btn--lg   { padding: 16px 30px; font-size: 16px; min-height: 54px; }
.btn--block { width: 100%; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(11, 18, 32, 0.96);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--text);
}
.logo:hover { color: var(--text); }
.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  background: var(--brand-mark);
  color: var(--text-dark);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.logo__text {
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav__link {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--t);
}
.nav__link:hover { color: var(--text); }

.header__cta { margin-left: 4px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform var(--t), opacity var(--t);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  padding: 128px 0 72px;
  background: var(--bg);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero__content { max-width: 620px; }
.hero__title  { margin-bottom: 20px; }
.hero__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.hero__note {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 24px;
  max-width: 520px;
}
.hero__marks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}
.hero__marks li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__marks li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Карточка с образцом в первом экране */
.filecard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-md);
}
.filecard__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.filecard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  background: rgba(52, 168, 83, 0.15);
  color: #34A853;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.filecard__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.filecard__foot {
  font-size: 12px;
  color: var(--text-dim);
  margin: 12px 0 0;
  text-align: center;
}

/* Таблица образца */
.sample-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.sample-table th {
  text-align: left;
  padding: 8px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.sample-table td {
  padding: 10px 6px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
}
.sample-table tr:last-child td { border-bottom: none; }

/* Строка отраслей под первым экраном */
.industries-line {
  margin: 44px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.industries-line__label {
  font-weight: 600;
  color: var(--text);
  margin-right: 6px;
}

/* ===== СЕКЦИИ ===== */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 760px; margin-bottom: 40px; }
.section__title { margin-bottom: 14px; }
.section__lead  { font-size: 17px; color: var(--text-muted); }
.section__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  text-align: center;
}

/* ===== СЕТКИ ===== */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ===== КАРТОЧКИ УСЛУГ ===== */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t), background var(--t);
}
.service-card:hover { border-color: var(--border-strong); background: var(--surface-2); }
.service-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.service-card__text {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
  flex: 1;
}

.services-note {
  margin-top: 28px;
  padding: 14px 18px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-xs);
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== СРАВНЕНИЕ (первичный / вторичный) ===== */
.compare {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare__table th {
  text-align: left;
  padding: 16px 18px;
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.compare__table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.compare__table td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 26%;
}
.compare__table tr:last-child td { border-bottom: none; }

/* ===== РАСКРЫВАЕМЫЙ БЛОК ФИЛЬТРОВ ===== */
.filters {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.filters summary {
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: background var(--t);
}
.filters summary:hover { background: var(--surface-2); }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after {
  content: '+';
  font-size: 22px;
  color: var(--accent);
  transition: transform var(--t);
  flex-shrink: 0;
  margin-left: 12px;
}
.filters[open] summary::after { transform: rotate(45deg); }
.filters__body {
  padding: 0 22px 22px;
  border-top: 1px solid var(--border);
}
.filter-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.filter-group:last-of-type { border-bottom: none; padding-bottom: 8px; }
.filter-group h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.filter-group ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 14px;
}
.filter-group li { margin-bottom: 4px; }

.filters__note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== ТАРИФЫ ===== */
.pricing-grid {
  gap: 20px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t);
}
.price-card:hover { border-color: var(--accent-border); }
.price-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
  min-height: 48px;
}
.price-card__price {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-weight: 600;
}
.price-card__num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  margin-right: 6px;
  vertical-align: middle;
}
.price-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}
.price-card__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.price-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.price-note {
  margin-top: 32px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.price-note__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.price-note p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== ДЕМО ===== */
.demo-rule {
  padding: 18px 22px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-xs);
  margin-bottom: 28px;
}
.demo-rule p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}
.demo-rule strong { color: var(--text); }

.sample-file {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.sample-table--full th { padding: 12px 10px; }
.sample-table--full td { padding: 14px 10px; font-size: 14px; }
.sample-file__foot {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

.inn-note {
  margin-top: 32px;
  padding: 22px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.inn-note h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.inn-note p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== ШАГИ ===== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.step {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t);
}
.step:hover { border-color: var(--border-strong); }
.step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  font-weight: 800;
  font-size: 16px;
}
.step__body h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.step__body p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== FAQ ===== */
.accordion {
  display: grid;
  gap: 10px;
  max-width: 900px;
}
.accordion__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--t);
}
.accordion__item[open] { border-color: var(--accent-border); }
.accordion__item summary {
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--t);
}
.accordion__item[open] summary::after { transform: rotate(45deg); }
.accordion__item p {
  padding: 0 20px 16px;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== ФИНАЛЬНЫЙ CTA + КОНТАКТЫ ===== */
.cta-final { background: var(--bg-alt); }
.cta-final__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.cta-final__title { margin-bottom: 12px; }
.cta-final__text {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 16px;
}
.cta-final__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-block {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-block__col h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.contact-block__col p {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.contact-block__col a { color: var(--text); }
.contact-block__col a:hover { color: var(--accent); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 90;
  padding: 15px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(140%);
  transition: transform var(--t), opacity var(--t);
  opacity: 0;
  pointer-events: none;
  display: none;
}
.floating-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal__window {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 32px 32px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(16px);
  transition: transform var(--t);
}
.modal.is-open .modal__window { transform: translateY(0); }
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-muted);
  transition: color var(--t), background var(--t);
}
.modal__close:hover { color: var(--text); background: var(--surface); }
.modal__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 22px;
  padding-right: 40px;
}

/* ===== ФОРМА ===== */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.form__row { grid-column: 1 / -1; }
.form__row--half { grid-column: span 1; }
.form__row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form input[type="text"],
.form input[type="email"],
.form textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color var(--t), background var(--t);
}
.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
}
.form input::placeholder,
.form textarea::placeholder { color: var(--text-dim); }
.form textarea {
  resize: vertical;
  min-height: 80px;
}

.form__hint {
  font-size: 12px;
  color: var(--text-dim);
  margin: 6px 0 0;
  line-height: 1.5;
}

.form__error {
  display: block;
  font-size: 12px;
  color: #FF6B6B;
  margin-top: 4px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}
.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox a {
  color: var(--accent);
  text-decoration: underline;
}
.checkbox--consent {
  grid-column: 1 / -1;
  margin-top: 4px;
}
/* Галочка внутри строки формы — без жирного мелкого стиля подписей полей */
.form__row label.checkbox {
  display: flex;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
  color: var(--text-muted);
}

/* Ловушка для спам-роботов: поле есть в форме, но человеку не видно */
.form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-dim);
  margin: 4px 0 4px;
  line-height: 1.55;
}

.form > button[type="submit"] {
  grid-column: 1 / -1;
}

.form__status {
  grid-column: 1 / -1;
  font-size: 14px;
  text-align: center;
  margin-top: 4px;
  min-height: 20px;
}
.form__status.is-success { color: #4ADE80; }
.form__status.is-error   { color: #FF6B6B; }

/* ===== REVEAL-АНИМАЦИИ ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__card { max-width: 620px; }
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; margin-left: auto; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px;
    gap: 4px;
  }
  .nav.is-open .nav__link {
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav.is-open .nav__link:last-child { border-bottom: none; }

  .grid--2 { grid-template-columns: 1fr; }
  .contact-block { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }

  .section { padding: 48px 0; }
  .hero { padding: 100px 0 48px; }
  .hero__subtitle { font-size: 16px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .industries-line { font-size: 13px; margin-top: 32px; }

  .section__head { margin-bottom: 28px; }
  .section__title { font-size: 24px; }

  .sample-table { font-size: 12px; }
  .sample-table th, .sample-table td { padding: 8px 4px; }

  /* Сравнительная таблица → карточки */
  .compare { background: transparent; border: none; }
  .compare__table thead { display: none; }
  .compare__table,
  .compare__table tbody,
  .compare__table tr,
  .compare__table td { display: block; width: 100%; }
  .compare__table tr {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 10px;
  }
  .compare__table td {
    padding: 6px 0;
    border: none;
    font-size: 14px;
  }
  .compare__table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    margin-bottom: 2px;
    font-weight: 600;
  }
  .compare__table td:first-child {
    width: auto;
    font-size: 15px;
    color: var(--accent);
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
  }
  .compare__table td:first-child::before { color: var(--text-dim); }

  /* Образец файла → карточки */
  .sample-file { background: transparent; border: none; padding: 0; }
  .sample-table--full thead { display: none; }
  .sample-table--full,
  .sample-table--full tbody,
  .sample-table--full tr,
  .sample-table--full td { display: block; width: 100%; }
  .sample-table--full tr {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 10px;
  }
  .sample-table--full td {
    padding: 6px 0;
    border: none;
    font-size: 14px;
  }
  .sample-table--full td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    margin-bottom: 2px;
    font-weight: 600;
  }

  .step { padding: 16px 18px; gap: 14px; }
  .step__num { width: 34px; height: 34px; font-size: 14px; }

  .modal__window { padding: 24px 20px; }
  .form { grid-template-columns: 1fr; }
  .form__row--half { grid-column: 1 / -1; }
  .modal__title { font-size: 19px; }

  .cta-final__inner { padding: 40px 22px; }
  .cta-final__actions { flex-direction: column; }
  .cta-final__actions .btn { width: 100%; }

  .contact-block { padding: 22px; }

  .floating-cta { display: block; }
  .footer__bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 400px) {
  .hero__marks { gap: 12px; font-size: 13px; }
}