/* ============================================================
   StrongOwl — AI Agent для 1С
   Дизайн-система: светлый деловой стиль
   ============================================================ */

:root {
  /* Палитра */
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-tint: #eef2f9;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;

  --primary: #1e40af;
  --primary-600: #2563eb;
  --primary-soft: #eff4ff;
  --accent: #0ea5e9;
  --accent-soft: #e0f2fe;

  --success: #047857;
  --success-soft: #ecfdf5;
  --warn: #b45309;
  --warn-soft: #fffbeb;

  /* Оформление */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 16px 40px rgba(30, 64, 175, 0.14);
  --container: 1160px;
  --header-h: 68px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

/* ---------- База ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
}

h1 { font-size: clamp(30px, 4.6vw, 46px); }
h2 { font-size: clamp(24px, 3.2vw, 34px); }
h3 { font-size: 19px; }

p {
  margin: 0 0 1em;
}

a {
  color: var(--primary-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

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

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.28);
}

.btn--primary:hover {
  background: var(--primary-600);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.btn--secondary {
  background: #fff;
  color: var(--primary);
  border-color: var(--line-strong);
}

.btn--secondary:hover {
  border-color: var(--primary-600);
  background: var(--primary-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--primary-600);
  padding: 10px 14px;
}

.btn--ghost:hover {
  background: var(--primary-soft);
}

.btn--lg {
  padding: 15px 30px;
  font-size: 16.5px;
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 9px 18px;
  font-size: 14.5px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ---------- Бейджи ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.badge--free {
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid #a7f3d0;
}

.badge--soft {
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid #dbeafe;
}

.badge--soon {
  background: var(--bg-tint);
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 12.5px;
  padding: 4px 12px;
}

.badge svg {
  width: 16px;
  height: 16px;
}

/* ---------- Шапка ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none !important;
  color: var(--ink);
}

.logo__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo__tag {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s;
}

.nav__link:hover {
  background: var(--bg-tint);
  color: var(--ink);
}

.nav__link.is-active {
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 600;
}

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

/* Бургер */

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 9px;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.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);
}

/* Мобильное меню */

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 49;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  padding: 12px 20px 20px;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav .nav__link {
  padding: 13px 14px;
  font-size: 16px;
}

.mobile-nav .btn {
  margin-top: 12px;
}

body.nav-locked {
  overflow: hidden;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(14, 165, 233, 0.10), transparent 65%),
    radial-gradient(760px 420px at 0% 0%, rgba(37, 99, 235, 0.10), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 84px 0 92px;
}

.hero__content .badge {
  margin-bottom: 22px;
}

.hero__title {
  margin-bottom: 18px;
}

.hero__title em {
  font-style: normal;
  color: var(--primary-600);
}

.hero__text {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.hero__note {
  font-size: 13.5px;
  color: var(--muted);
}

.hero__visual {
  position: relative;
}

/* Плавающие бейджи на hero-иллюстрации */
.hero__visual .float {
  animation: floatY 6s ease-in-out infinite;
}

.hero__visual .float--delay {
  animation-delay: 3s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__visual .float {
    animation: none;
  }
}

/* ---------- Карточки ---------- */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 16px;
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* Сетка кейсов */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.case-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.case-card .card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.case-card__body h3 {
  font-size: 17.5px;
}

.cases-note {
  margin-top: 22px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

/* Сетка возможностей (компактная) */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 22px;
}

.feature-card .card__icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
}

.feature-card .card__icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 16.5px;
}

.feature-card p {
  font-size: 14.5px;
}

/* ---------- Шаги ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 17.5px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 12px;
}

.step__link {
  font-size: 14.5px;
  font-weight: 600;
}

/* ---------- Услуги / прайсинг ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.service-card h3 {
  font-size: 20px;
}

.service-card > p {
  color: var(--muted);
  font-size: 15px;
  flex-grow: 0;
}

.service-card ul {
  margin: 14px 0 22px;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 14.5px;
}

.service-card ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
}

.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}

.service-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.service-card__price {
  font-size: 14px;
  color: var(--muted);
}

.service-card__price strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

/* ---------- Формы ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 34px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.form-field label .req {
  color: #dc2626;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

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

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.input.is-invalid,
.select.is-invalid,
.textarea.is-invalid {
  border-color: #dc2626;
}

.field-error {
  font-size: 12.5px;
  color: #dc2626;
  min-height: 16px;
}

.form-consent {
  font-size: 12.5px;
  color: var(--muted);
  margin: 4px 0 0;
}

/* Успех отправки */

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.form-success.is-visible {
  display: block;
}

.form-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  margin-bottom: 18px;
}

.form-success__icon svg {
  width: 30px;
  height: 30px;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 14px no-repeat;
  border-radius: 50%;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq details .faq__body {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Процесс ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: proc;
}

.process__item {
  position: relative;
  padding: 0 22px 0 0;
  margin: 0 22px 0 0;
}

.process__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -2px;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-600), var(--accent));
  opacity: 0.35;
}

.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 14px;
}

.process h3 {
  font-size: 16.5px;
}

.process p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
}

/* ---------- CTA-блок ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--primary) 0%, #1d3a8f 55%, #16307c 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 220px at 90% 10%, rgba(14, 165, 233, 0.25), transparent 70%),
    radial-gradient(300px 200px at 5% 95%, rgba(255, 255, 255, 0.10), transparent 70%);
  pointer-events: none;
}

.cta-band__text {
  position: relative;
}

.cta-band__text h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-band__text p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16.5px;
  margin: 0;
  max-width: 560px;
}

.cta-band__actions {
  position: relative;
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cta-band .btn--primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.cta-band .btn--primary:hover {
  background: #eff4ff;
}

.cta-band .btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-band .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.65);
}

/* ---------- Документация ---------- */

.page-head-section {
  padding-top: 48px;
}

.page-head {
  max-width: 780px;
}

.page-head h1 {
  margin-bottom: 14px;
}

.page-head p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 26px;
}

.crumbs a {
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--primary-600);
}

.crumbs .sep {
  opacity: 0.55;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.doc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: inherit;
  text-decoration: none !important;
}

.doc-card:hover {
  border-color: var(--primary-600);
}

.doc-card h3 {
  font-size: 17px;
}

.doc-card p {
  font-size: 14.5px;
  flex-grow: 1;
}

.doc-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.doc-card--soon {
  opacity: 0.72;
}

.doc-card--soon:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

/* Статья */

.article {
  max-width: 800px;
}

.article h1 {
  margin-bottom: 10px;
}

.article .lead {
  font-size: 17.5px;
  color: var(--muted);
  margin-bottom: 34px;
}

.article h2 {
  font-size: 22px;
  margin-top: 44px;
}

.article h3 {
  font-size: 18px;
  margin-top: 30px;
}

.article ul,
.article ol {
  color: var(--ink-2);
  padding-left: 24px;
}

.article li {
  margin-bottom: 8px;
}

.article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--ink-2);
}

.article pre {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.55;
}

.article pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.callout {
  display: flex;
  gap: 14px;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 20px 0;
  font-size: 15px;
  border: 1px solid;
}

.callout svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.callout--info {
  background: var(--primary-soft);
  border-color: #bfdbfe;
  color: var(--primary);
}

.callout--warn {
  background: var(--warn-soft);
  border-color: #fde68a;
  color: var(--warn);
}

.callout--tip {
  background: var(--success-soft);
  border-color: #a7f3d0;
  color: var(--success);
}

.doc-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ---------- Контакты ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h1 {
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--muted);
  font-size: 16.5px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

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

.contact-item .card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0;
}

.contact-item strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.contact-item span,
.contact-item a {
  font-size: 14.5px;
  color: var(--muted);
}

.contact-note {
  margin-top: 26px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Футер ---------- */

.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 52px 0 28px;
  margin-top: 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer__about p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
  max-width: 300px;
}

.footer h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer ul li {
  margin-bottom: 9px;
}

.footer ul a {
  color: var(--ink-2);
  font-size: 14.5px;
}

.footer ul a:hover {
  color: var(--primary-600);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- 404 ---------- */

.errpage {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.errpage__code {
  font-size: clamp(64px, 12vw, 110px);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

/* ---------- Reveal-анимации ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .card {
    transition: none;
  }
}

/* ---------- Адаптив ---------- */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 56px 0 64px;
  }
  .hero__content {
    text-align: center;
  }
  .hero__text {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__visual {
    max-width: 560px;
    margin: 0 auto;
  }
  .features-grid,
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .process__item:not(:last-child)::after {
    display: none;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 52px 0;
  }
  .nav,
  .header__cta .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
  .cases-grid,
  .features-grid,
  .steps,
  .docs-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 26px;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .form-card {
    padding: 24px 20px;
  }
}

@media (min-width: 761px) {
  .mobile-nav {
    display: none !important;
  }
}
