/* ============================================================
   ДАТА / ГРЕЙД — ЕДИНЫЙ СТИЛЬ САЙТА
   Файл: css/style.css
   Фирменная палитра: оранжевый градиент #f2601a → #d13917 → #a01810
   Подключение на всех страницах: <link rel="stylesheet" href="css/style.css">
   ============================================================ */

/* ===== 1. ПЕРЕМЕННЫЕ / ПАЛИТРА ===== */
:root {
  --brand: #d13917;
  --brand-light: #f2601a;
  --brand-dark: #a01810;
  --accent: #ff9d5c;
  --text-w: 1000px; /* единая ширина текстовых блоков */

  --grad: linear-gradient(135deg, #f2601a 0%, #d13917 55%, #a01810 100%);
  --grad-h: linear-gradient(90deg, #f2601a, #d13917);
  --grad-soft: linear-gradient(135deg, rgba(242,96,26,.12), rgba(160,24,16,.12));

  /* Градиент для кнопок/тегов: затемнённый, чтобы белый текст проходил WCAG AA */
  --grad-btn: linear-gradient(135deg, #c94a0d 0%, #a83813 55%, #8e160e 100%);

  --shadow-brand: 0 4px 16px rgba(209,57,23,.30);
  --shadow-brand-lg: 0 10px 34px rgba(209,57,23,.42);

  --icon-light: #2E2E44;

  --dark: #1a1a2e;
  --text: #4a4a6a;
  --muted: #6e6e93;
  --line: rgba(0,0,0,.04);
  --line-2: #eaeef5;
  --bg-soft: #fdf1ea;
  --bg-light: #fdf6f1;
  --white: #fff;
}

/* ===== 2. БАЗОВЫЕ СБРОСЫ ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: #1a1a2e;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px;
}

.section {
  padding: 72px 0;
}

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

/* ===== 3. ШАПКА ===== */
header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

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

/* --- Логотип [ Дата / Грейд ] --- */
.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.logo-acc {
  display: inline-block;
  font-weight: 800;
  background: linear-gradient(135deg, #f2601a 0%, #d13917 55%, #a01810 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text small {
  display: block;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.logo img {
  max-height: 44px;
  width: auto;
}

/* --- Меню --- */
nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--grad-h);
  transition: 0.3s;
  border-radius: 4px;
}

nav a:hover {
  color: var(--dark);
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: var(--brand);
}

nav a.active::after {
  width: 100%;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--brand);
}

/* --- Иконка Telegram (соцсеть) --- */
.soc-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  transition: .2s;
}

.soc-ico:hover {
  background: var(--grad);
  color: #fff;
  transform: translateY(-2px);
}

.soc-ico svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

/* ===== 4. КНОПКИ ===== */
.btn-primary {
  background: var(--grad);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  color: #fff !important;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.95rem;
  display: inline-block;
  box-shadow: var(--shadow-brand);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-brand-lg);
  color: #fff !important;
}

.btn-primary::after {
  display: none !important;
}

.btn-outline {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--brand);
  border: 1.5px solid rgba(209,57,23,.4);
  background: transparent;
  transition: .3s;
}

.btn-outline:hover {
  background: var(--grad-soft);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1rem;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ===== 5. ГАМБУРГЕР ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--dark);
  border-radius: 4px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== 6. ОБЩИЕ БЛОКИ / ЗАГОЛОВКИ ===== */
.sec-head {
  max-width: var(--text-w);
  margin-bottom: 42px;
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sec-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--grad-soft);
  border: 1px solid rgba(209,57,23,.18);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.sec-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 12px;
}

.sec-text {
  max-width: var(--text-w);
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* В центрированных шапках отступ даёт сам .sec-head */
.sec-head .sec-text {
  margin-bottom: 0;
}

/* Если текст последний в секции — лишний отступ не нужен */
.sec-text:last-child {
  margin-bottom: 0;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

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

/* ===== 7. ОДНОТОННЫЕ SVG-ЗНАЧКИ ===== */
.icon-svg {
  width: 28px;
  height: 28px;
  display: block;
  color: var(--icon-light);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== 8. HERO — ТЁМНЫЙ СОВРЕМЕННЫЙ БЛОК ===== */
.hero {
  position: relative;
  padding: 120px 0 90px;
  overflow: hidden;
  background: linear-gradient(160deg, #12121f 0%, #1a1a2e 45%, #0f0f1c 100%);
  color: #fff;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: heroGlow 7s ease-in-out infinite;
}

.hero-glow-1 {
  width: 520px;
  height: 520px;
  top: -140px;
  right: -90px;
  background: radial-gradient(circle, rgba(242,96,26,.38), transparent 70%);
}

.hero-glow-2 {
  width: 460px;
  height: 460px;
  bottom: -160px;
  left: -70px;
  background: radial-gradient(circle, rgba(209,57,23,.28), transparent 70%);
  animation-delay: 2s;
}

@keyframes heroGlow {
  0%, 100% {
    transform: translate(0,0) scale(1);
    opacity: .5;
  }
  50% {
    transform: translate(0,-20px) scale(1.08);
    opacity: .72;
  }
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(760px 500px at 65% 35%, #000 25%, transparent 82%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  padding: 9px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}

.hero-title {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.12rem;
  color: #b9c1ea;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.hs-item {
  text-align: left;
}

.hs-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.hs-label {
  font-size: .86rem;
  color: #9aa3c7;
  margin-top: 4px;
}

/* Правая стеклянная карточка */
.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
  position: relative;
}

.hero-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(255,255,255,.14);
  margin-bottom: 16px;
}

.hero-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
  flex-shrink: 0;
}

.hero-card-head strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}

.hero-card-head span {
  font-size: .8rem;
  color: #9aa3c7;
}

.hero-status {
  margin-left: auto;
  font-size: .74rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(242,96,26,.16);
  border: 1px solid rgba(255,157,92,.22);
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.mini-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 0 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 6px;
}

.ms-item {
  text-align: center;
  flex: 1;
}

.ms-item + .ms-item {
  border-left: 1px solid rgba(255,255,255,.10);
}

.ms-num {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ms-label {
  display: block;
  font-size: .66rem;
  color: #9aa3c7;
  margin-top: 4px;
}

.hero-ticket {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,.10);
}

.hero-ticket:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.t-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(242,96,26,.15);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
  margin-right: 6px;
}

.t-ico .icon-svg {
  color: var(--accent);
  width: 22px;
  height: 22px;
}

.hero-ticket b {
  display: block;
  font-size: .92rem;
  color: #fff;
  margin-bottom: 3px;
}

.hero-ticket small {
  display: block;
  font-size: .78rem;
  color: #9aa3c7;
  line-height: 1.4;
}

.t-time {
  margin-left: auto;
  font-weight: 800;
  color: var(--accent);
}

.hero--contained {
  max-width: 1440px;
  margin: 28px auto;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(18, 18, 31, .35);
}

/* ===== 8б. CTA В КОНТЕЙНЕРЕ (карточка, как HERO) ===== */
.cta-block--contained {
  max-width: 1440px;
  margin: 28px auto;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(18, 18, 31, .35);
}

/* ===== 9. ЦИФРЫ / СТАТИСТИКА ===== */
.stats-section {
  padding: 44px 0;
  border-bottom: 1px solid var(--line-2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-num {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
}

.stat-label {
  color: var(--text);
  font-size: .95rem;
  margin-top: 6px;
}

/* ===== 10. КАРТОЧКИ НАПРАВЛЕНИЙ ===== */
.dir-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 28px 26px;
  transition: .25s;
}

.dir-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(26,26,46,.10);
  border-color: rgba(209,57,23,.3);
}

.dir-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.dir-icon .icon-svg {
  color: var(--icon-light);
}

.dir-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.dir-text {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.7;
}

.dir-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dir-list li {
  display: flex;
  gap: 8px;
  font-size: .9rem;
  color: var(--text);
}

.dir-list li::before {
  content: '✓';
  color: #2dd4a7;
  font-weight: 800;
}

/* ===== 11. КЕЙСЫ / ПРОЕКТЫ ===== */
.case-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .25s;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(26,26,46,.10);
}

.case-img {
  height: 190px;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #2a1a1a);
  display: block;
}

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

.case-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-tag {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brand);
  background: var(--grad-soft);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.case-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.case-text {
  color: var(--text);
  font-size: .93rem;
  flex: 1;
}

.case-link {
  margin-top: 16px;
  color: var(--brand);
  font-weight: 600;
  font-size: .92rem;
}

.case-link:hover {
  text-decoration: underline;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-chip {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
  transition: .2s;
}

.tech-chip:hover {
  background: var(--grad-soft);
  border-color: rgba(209,57,23,.4);
  color: var(--brand);
  transform: translateY(-2px);
}

/* ===== 12. ПРЕИМУЩЕСТВА («ПОЧЕМУ МЫ») ===== */
.feature-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 26px 24px;
  transition: .25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(26,26,46,.10);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature-icon .icon-svg {
  color: var(--icon-light);
}

.feature-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-text {
  color: var(--text);
  font-size: .93rem;
  line-height: 1.7;
}

/* ===== 13. FAQ ===== */
.faq {
  max-width: var(--text-w);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s;
}

.faq-item.open {
  box-shadow: 0 12px 32px rgba(26,26,46,.07);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q .chev {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  transition: transform .3s;
}

.faq-item.open .chev {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-a p {
  padding: 0 24px 22px;
  color: var(--text);
  font-size: .95rem;
}

/* ===== 13.5. ОБЫЧНАЯ ФОРМА (для страницы «Контакты») ===== */
.form-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 18px 50px rgba(41,37,36,.10);
  color: var(--dark);
}

.form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.form-card > p {
  color: var(--text);
  font-size: .92rem;
  margin-bottom: 22px;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  font-size: .95rem;
  background: #fbfcff;
  transition: .2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(209,57,23,.12);
  background: #fff;
}

.form-row textarea {
  resize: vertical;
  min-height: 90px;
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .8rem;
  color: var(--muted);
  margin: 14px 0;
}

.form-check input {
  width: auto;
  margin-top: 3px;
}

.form-check a {
  color: var(--brand);
  text-decoration: underline;
}

/* ===== 14. CTA + ФОРМА (как HERO: графит + сетка + стеклянная форма) ===== */
.cta-block {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background: linear-gradient(160deg, #12121f 0%, #1a1a2e 45%, #0f0f1c 100%);
  color: #fff;
}

.cta-block::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 620px at 88% -10%, rgba(242,96,26,.28), transparent 70%),
    radial-gradient(560px 560px at 4% 115%, rgba(209,57,23,.20), transparent 70%);
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(760px 500px at 65% 35%, #000 25%, transparent 82%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 18px;
}

.cta-text {
  color: #b9c1ea;
  margin-bottom: 26px;
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-contacts a,
.cta-contacts span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b9c1ea;
  font-weight: 600;
  font-size: .95rem;
}

.cta-contacts a:hover {
  color: #fff;
}

.cta-contacts .c-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cta-contacts .c-ico svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  display: block;
}

/* Стеклянная тёмная форма — как правый блок HERO */
.cta-block .form-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 34px 30px;
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
  color: #fff;
}

.cta-block .form-card h3 {
  color: #fff;
  margin-bottom: 6px;
}

.cta-block .form-card > p {
  color: #b9c1ea;
  margin-bottom: 24px;
}

.cta-block .form-row {
  margin-bottom: 16px;
}

.cta-block .form-row label {
  display: block;
  color: #b9c1ea;
  font-size: .85rem;
  margin-bottom: 8px;
}

.cta-block .form-row input,
.cta-block .form-row select,
.cta-block .form-row textarea {
  width: 100%;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-size: .95rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.cta-block .form-row input::placeholder,
.cta-block .form-row textarea::placeholder {
  color: rgba(255,255,255,.45);
}

.cta-block .form-row input:focus,
.cta-block .form-row select:focus,
.cta-block .form-row textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 4px rgba(209,57,23,.18);
}

.cta-block .form-row textarea {
  resize: vertical;
  min-height: 96px;
}

/* Чекбокс — кастомный */
.cta-block .form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #b9c1ea;
  font-size: .85rem;
  line-height: 1.5;
  cursor: pointer;
  margin: 18px 0;
}

.cta-block .form-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: .2s;
  position: relative;
  margin-top: 2px;
}

.cta-block .form-check input:checked {
  background: var(--grad);
  border-color: transparent;
}

.cta-block .form-check input:checked::after {
  content: '✓';
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.cta-block .form-check a {
  color: var(--accent);
}

/* ===== 15. ВНУТРЕННИЕ СТРАНИЦЫ: ОБЩЕЕ ===== */
.page-content {
  padding: 40px 0 80px;
}

.page-head {
  margin-bottom: 30px;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.breadcrumbs {
  font-size: 13px;
  color: #767676;
}

.breadcrumbs a:hover {
  color: var(--brand);
}

.breadcrumbs .sep {
  margin: 0 6px;
  color: #ccc;
}

.page-lead {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: var(--text-w);
  margin-bottom: 34px;
}

/* ===== 16. СТРАНИЦА УСЛУГ ===== */
.content-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}

.services-menu {
  border: 1px solid #eaeaea;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 35px;
  background: #fff;
}

.services-menu li {
  border-bottom: 1px solid #eaeaea;
}

.services-menu li:last-child {
  border-bottom: none;
}

.services-menu a {
  display: block;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text);
  position: relative;
  transition: .2s;
}

.services-menu a::after {
  content: '·';
  position: absolute;
  right: 20px;
  font-size: 24px;
  color: #ccc;
  top: 50%;
  transform: translateY(-50%);
}

.services-menu a:hover,
.services-menu a.active {
  background: var(--bg-soft);
  color: var(--brand);
}

.sidebar-banner {
  background: var(--grad-soft);
  border: 1px solid rgba(209,57,23,.2);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
}

.banner-tag {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.sidebar-banner h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
  color: var(--dark);
}

.banner-img-placeholder {
  font-size: 50px;
  color: rgba(209,57,23,.4);
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.service-card-aspro {
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 30px 25px 35px;
  background: #fff;
  transition: .25s;
}

.service-card-aspro:hover {
  box-shadow: 0 12px 34px rgba(209,57,23,.10);
  transform: translateY(-4px);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.avatar-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  margin-bottom: 0;
}

.avatar-icon .icon-svg {
  color: var(--icon-light);
  width: 30px;
  height: 30px;
}

.card-arrow {
  color: #ccc;
  font-size: 18px;
  margin-top: 5px;
}

.card-arrow:hover {
  color: var(--brand);
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
}

.card-tags {
  color: var(--brand);
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.7;
}

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

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

.card-list div,
.card-list li {
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.partner-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-soft);
  border: 1px dashed rgba(209,57,23,.4);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 20px;
  font-size: .88rem;
  color: var(--text);
}

.partner-note .pn-ico {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.partner-note b {
  color: var(--dark);
}

/* ===== 16а. ДАШБОРДЫ / ИНФОГРАФИКА ===== */
.dash-block {
  margin-top: 24px;
}

.dash-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dash-step {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 24px 22px;
  position: relative;
}

.dash-step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 12px;
}

.dash-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.dash-step p {
  color: var(--text);
  font-size: .92rem;
  line-height: 1.6;
}

.dash-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.dash-item {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 18px 20px;
  transition: .2s;
}

.dash-item:hover {
  border-color: rgba(209,57,23,.3);
  box-shadow: 0 8px 24px rgba(26,26,46,.06);
}

.dash-item b {
  display: block;
  font-size: .98rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.dash-item span {
  font-size: .86rem;
  color: var(--muted);
}

.compare-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-2);
  align-items: center;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row:nth-child(odd) {
  background: #fbfcfd;
}

.compare-label {
  font-weight: 600;
  color: var(--dark);
  font-size: .9rem;
}

.compare-val {
  font-size: .9rem;
  line-height: 1.5;
}

.compare-val.yes {
  color: var(--brand);
}

.compare-val.no {
  color: var(--muted);
}

.dash-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.db-label {
  min-width: 90px;
  font-weight: 600;
  color: var(--dark);
  font-size: .9rem;
}

.db-track {
  flex: 1;
  height: 14px;
  border-radius: 100px;
  background: var(--bg-soft);
  overflow: hidden;
}

.db-fill {
  display: block;
  height: 100%;
  border-radius: 100px;
  background: var(--grad);
}

.db-value {
  min-width: 60px;
  font-weight: 700;
  color: var(--dark);
  font-size: .9rem;
  text-align: right;
}

/* ===== 16б. ТАРИФЫ ===== */
.pricing-note {
  display: inline-block;
  background: var(--grad-soft);
  border: 1px solid rgba(209,57,23,.2);
  color: var(--brand);
  font-weight: 600;
  font-size: .9rem;
  padding: 10px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

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

.price-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: .25s;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(26,26,46,.10);
  border-color: rgba(209,57,23,.3);
}

.price-card--featured {
  border: 2px solid var(--brand);
  position: relative;
  box-shadow: 0 18px 44px rgba(209,57,23,.14);
}

.price-tag {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--grad);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
}

.price-header {
  margin-bottom: 18px;
}

.price-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.price-desc {
  font-size: .86rem;
  color: var(--muted);
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 22px;
  line-height: 1.1;
}

.price-amount span {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 26px;
  flex: 1;
}

.price-features li {
  display: flex;
  gap: 8px;
  font-size: .9rem;
  color: var(--text);
}

.price-features li::before {
  content: '✓';
  color: var(--brand);
  font-weight: 800;
  flex-shrink: 0;
}

.price-card .btn-primary {
  margin-top: auto;
}

/* Таблица «Прайс 1С» */
.price-table {
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-2);
  align-items: center;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row:nth-child(odd) {
  background: #fbfcfd;
}

.price-row span {
  font-size: .98rem;
  color: var(--dark);
  font-weight: 500;
}

.price-row b {
  font-size: 1.05rem;
  color: var(--brand);
  font-weight: 700;
  text-align: right;
}

.price-row small {
  display: block;
  font-size: .78rem;
  color: var(--muted);
}

/* ===== 16в. SEO-ТЕКСТ ===== */
.seo-block h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 12px;
}

.seo-block h3:first-child {
  margin-top: 0;
}

.seo-block p {
  max-width: var(--text-w);
  color: var(--text);
  font-size: .98rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.seo-block ul {
  margin: 0 0 18px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seo-block ul li {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.7;
  list-style: disc;
}

/* ===== 17. СТРАНИЦА «О КОМПАНИИ» ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 44px;
  align-items: center;
}

.photo-holder {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .92rem;
  text-align: center;
  gap: 10px;
  padding: 24px;
}

.photo-holder .ph-ico {
  font-size: 60px;
  color: rgba(209,57,23,.35);
}

.photo-holder img {
  border-radius: 16px;
}

.photo-holder-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
}

.adv-item {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 20px 22px;
  transition: .25s;
}

.adv-item:hover {
  box-shadow: 0 12px 32px rgba(26,26,46,.08);
}

.adv-item .adv-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
}

.adv-item .adv-icon .icon-svg {
  color: var(--icon-light);
  width: 24px;
  height: 24px;
}

.adv-item h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.adv-item p {
  color: var(--text);
  font-size: .92rem;
  line-height: 1.7;
}

.team-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  transition: .25s;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(26,26,46,.10);
}

.team-ava {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.team-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}

.team-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-role {
  color: var(--muted);
  font-size: .86rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.client-logo {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: .2s;
}

.client-logo:hover {
  border-color: rgba(209,57,23,.4);
}

.client-logo img {
  max-height: 44px;
  object-fit: contain;
}

.client-placeholder {
  border: 1px dashed rgba(209,57,23,.4);
  background: var(--bg-soft);
  color: #9c4b34;
  font-size: .78rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  border-radius: 10px;
  padding: 12px;
}

/* ===== 17а. БЛОК «НАМ ДОВЕРЯЮТ» (карточка-контейнер) ===== */
.clients-section {
  margin-top: 64px;
}

.clients-wrapper {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: 0 10px 30px rgba(26, 26, 46, .06);
  margin-top: 24px;
}

.clients-wrapper .clients-grid {
  margin-top: 12px;
}

/* ===== 18. СТРАНИЦА «КОНТАКТЫ» ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 24px 22px;
  transition: .25s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 38px rgba(26,26,46,.08);
}

.contact-card .cc-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.contact-card .cc-ico .icon-svg {
  color: var(--icon-light);
  width: 24px;
  height: 24px;
}

.contact-card .cc-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-card .cc-value {
  font-weight: 600;
  color: var(--dark);
  font-size: .98rem;
  line-height: 1.5;
}

.contact-card .cc-value a:hover {
  color: var(--brand);
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: stretch;
  margin-top: 40px;
}

.map-holder {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  min-height: 320px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .92rem;
  gap: 10px;
}

.map-holder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
  min-height: 320px;
}

.map-holder .mh-ico {
  font-size: 54px;
  color: rgba(209,57,23,.35);
}

/* ===== 18а. БЛОК «МЫ В СОЦСЕТЯХ» (страница контактов) ===== */
.contact-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.contact-socials-label {
  font-weight: 600;
  color: var(--dark);
  font-size: .9rem;
}

/* ===== 19. РЕКВИЗИТЫ ===== */
.req-section {
  margin-top: 60px;
}

/* Отступ между заголовком и сеткой, когда текста нет */
.req-section > .sec-title + .grid-3,
.req-section > .sec-title + .grid-4,
.req-section > .sec-title + .dash-list,
.req-section > .sec-title + .faq,
.req-section > .sec-title + .service-features {
  margin-top: 20px;
}

.req-block {
  margin-top: 24px;
}

.req-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.req-heading .rh-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
}

.req-heading .rh-ico .icon-svg {
  color: var(--icon-light);
  width: 20px;
  height: 20px;
}

.req-table {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(26,26,46,.05);
}

.req-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-2);
  transition: background .2s;
  align-items: center;
}

.req-row:last-child {
  border-bottom: none;
}

.req-row:hover {
  background: var(--bg-light);
}

.req-label {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.req-label .rl-ico {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
}

.req-label .rl-ico .icon-svg {
  color: var(--icon-light);
  width: 20px;
  height: 20px;
}

.req-value {
  font-weight: 600;
  color: var(--dark);
  font-size: .96rem;
  line-height: 1.5;
  word-break: break-word;
}

.req-value a {
  color: var(--brand);
}

.req-value a:hover {
  text-decoration: underline;
}

.req-accent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad-soft);
  border: 1px solid rgba(209,57,23,.18);
  color: var(--brand);
  padding: 3px 12px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
}

/* ===== 20. ПОДВАЛ (ТЁМНЫЙ) ===== */
footer {
  background: #12121f;
  color: #9aa3c7;
  padding: 56px 0 32px;
  text-align: center;
}

footer .logo {
  justify-content: center;
  margin-bottom: 8px;
  color: #fff;
}

footer p {
  color: #9aa3c7;
  font-size: .95rem;
}

footer .footer-desc {
  color: #9aa3c7;
  margin-top: 4px;
}

footer .footer-contacts {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

footer a {
  color: #b9c1ea;
}

footer a:hover {
  color: #fff;
}

footer .socials {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}

footer .socials a {
  color: #7f89b8;
  font-size: 1.4rem;
  transition: .3s;
}

footer .socials a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 24px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: #7f89b8;
}

/* Кнопка «наверх» */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: .3s;
  box-shadow: var(--shadow-brand);
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-3px);
}

/* ===== 21. АНИМАЦИЯ ПОЯВЛЕНИЯ ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

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

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== 22. АДАПТИВНОСТЬ ===== */
@media (max-width: 1200px) {
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-float-badge {
    display: none;
  }

  .content-wrapper {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  /* На мобильном: форма выше, карта после */
  .contact-row .form-card {
    order: -1;
  }

  .contact-row .map-holder {
    order: 1;
  }

  .dash-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-list {
    grid-template-columns: 1fr;
  }

  .compare-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 50px 0;
  }

  .hamburger {
    display: flex;
  }

  .header-inner .btn-primary {
    display: none;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 0 8px;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  nav.open {
    display: flex;
  }

  nav a {
    font-size: 1.1rem;
  }

  nav .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-banner {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-wrapper {
    padding: 22px 16px;
  }

  .page-title {
    font-size: 32px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .dash-steps {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
    .hero--contained {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .cta-block--contained {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 80px 0 60px;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-card {
    padding: 22px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    text-align: center;
  }

  .req-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 18px;
  }

  .req-label {
    margin-bottom: 2px;
  }
}

@media (max-width: 480px) {
  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
  }

  .header-phone {
    display: none;
  }
}

/* ===== 23. СТРАНИЦА ПОЛИТИКИ КОНФИДЕНЦИАЛЬНОСТИ ===== */
.legal {
  max-width: var(--text-w);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 40px 38px;
  box-shadow: 0 10px 30px rgba(26, 26, 46, .06);
}

.legal__meta {
  font-size: .88rem;
  color: var(--muted);
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-2);
}

.legal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 30px 0 12px;
  line-height: 1.35;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p {
  color: var(--text);
  font-size: .96rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal ul li {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.7;
  list-style: disc;
}

.legal a {
  color: var(--brand);
}

.legal a:hover {
  text-decoration: underline;
}

/* ===== 24. COOKIE-БАННЕР + МОДАЛЬНОЕ ОКНО НАСТРОЕК ===== */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: rgba(18, 18, 31, .97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding: 18px 0;
  transform: translateY(110%);
  transition: transform .35s ease;
}

.cookie-bar--show {
  transform: translateY(0);
}

.cookie-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-bar__text {
  color: #b9c1ea;
  font-size: .92rem;
  line-height: 1.6;
  max-width: 720px;
  margin: 0;
}

.cookie-bar__text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-bar__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-bar__actions .btn-primary,
.cookie-bar__actions .btn-outline {
  padding: 11px 26px;
  font-size: .9rem;
}

.cookie-bar .btn-outline {
  color: #e6e9f7;
  border-color: rgba(255, 255, 255, .35);
}

.cookie-bar .btn-outline:hover {
  background: rgba(255, 255, 255, .10);
  border-color: #fff;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal--show {
  display: flex;
}

.cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, .6);
}

.cookie-modal__dialog {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 32px 30px;
  max-width: 640px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
}

.cookie-modal__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.cookie-modal__lead {
  color: var(--text);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cookie-opt {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
}

.cookie-opt__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.cookie-opt__name {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
}

.cookie-opt__state {
  font-size: .74rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--grad-soft);
  border: 1px solid rgba(209, 57, 23, .18);
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.cookie-opt__desc {
  color: var(--text);
  font-size: .88rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch__slider {
  position: absolute;
  inset: 0;
  background: #d5d8e4;
  border-radius: 100px;
  transition: background .25s;
}

.cookie-switch__slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform .25s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.cookie-switch input:checked + .cookie-switch__slider {
  background: var(--brand);
}

.cookie-switch input:checked + .cookie-switch__slider::after {
  transform: translateX(22px);
}

.cookie-modal__dialog .btn-block {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .legal {
    padding: 26px 20px;
  }

  .cookie-bar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .cookie-bar__actions {
    justify-content: stretch;
  }

  .cookie-bar__actions .btn-primary,
  .cookie-bar__actions .btn-outline {
    flex: 1;
    text-align: center;
  }

  .cookie-modal__dialog {
    padding: 24px 20px;
  }
}

/* ===== 17б. СЕТКА ЛОГОТИПОВ (7 шт., flex-центрирование) ===== */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.clients-grid .client-logo {
  flex: 1 1 150px;
  max-width: 210px;
}

.client-logo img {
  max-width: 100%;
  object-fit: contain;
}

/* ===== 25. ССЫЛКИ НА ПОЛИТИКУ КОНФИДЕНЦИАЛЬНОСТИ ===== */
.form-check span {
display: block;
flex: 1;
min-width: 0;
}
.form-check a {
color: var(--brand);
text-decoration: underline;
text-underline-offset: 2px;
}
.cta-block .form-check a {
color: var(--accent);
}
.footer-bottom a {
color: #9aa3c7;
text-decoration: underline;
text-underline-offset: 3px;
text-decoration-color: rgba(154, 163, 199, .4);
transition: .25s;
}
.footer-bottom a:hover {
color: var(--accent);
text-decoration-color: var(--accent);
}


/* ===== 26. НОВЫЕ БЛОКИ (ревизия контента) ===== */

/* --- Карточки услуг «Маркировка» на главной --- */
.member-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 28px 26px;
  transition: .25s;
}

.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(26,26,46,.10);
  border-color: rgba(209,57,23,.3);
}

.member-card .dir-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.member-card .dir-icon .icon-svg {
  color: var(--icon-light);
}

/* --- Плашка-примечание про маркировку --- */
.markirovka-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--grad-soft);
  border: 1px dashed rgba(209,57,23,.4);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 24px;
  font-size: .93rem;
  color: var(--text);
  line-height: 1.7;
}

.markirovka-note .mn-ico {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1.3;
}

.markirovka-note b {
  color: var(--dark);
}

.markirovka-note a {
  color: var(--brand);
  font-weight: 600;
  white-space: nowrap;
}

.markirovka-note a:hover {
  text-decoration: underline;
}

/* --- Отрасли (чипы) --- */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: .98rem;
  color: var(--dark);
  transition: .22s;
}

.industry-chip span {
  font-size: 1.15rem;
  line-height: 1;
}

.industry-chip:hover {
  border-color: rgba(209,57,23,.4);
  box-shadow: 0 10px 26px rgba(209,57,23,.10);
  transform: translateY(-3px);
}

/* --- Цифры компании (about) --- */
.about-stats {
  margin-top: 54px;
  border-bottom: none;
  border-top: 1px solid var(--line-2);
}

/* --- Цифры по проектам (portfolio) --- */
.result-grid {
  margin-top: 10px;
}

.result-item {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 26px 20px;
  text-align: center;
  transition: .25s;
}

.result-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(26,26,46,.09);
  border-color: rgba(209,57,23,.25);
}

.result-item .stat-num {
  font-size: 2.1rem;
}

/* ===== АДАПТИВ ДЛЯ НОВЫХ БЛОКОВ ===== */
@media (max-width: 992px) {
  .result-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .industry-chip {
    padding: 12px 18px;
    font-size: .9rem;
  }

  .markirovka-note {
    flex-direction: column;
    gap: 8px;
  }

  .markirovka-note a {
    white-space: normal;
  }
}

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


/* ===== 27. ПРАВКИ v10 ===== */

/* --- Портфолио: Задача / Решение / Результат в один столбик --- */
.case-text .ct-item {
  display: block;
}

.case-text .ct-item + .ct-item {
  margin-top: 6px;
}

.case-text .ct-item b {
  color: var(--dark);
}

/* --- Отрасли на главной: однотонные иконки --- */
.industry-chip .industry-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
}

.industry-chip .industry-ico svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry-chip:hover .industry-ico {
  color: #fff;
}


/* ===== 28. ПРАВКИ v12: контраст, формы, доступность ===== */

/* Honeypot — скрытое поле-ловушка для ботов */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Заголовок карточки формы (на контактах — h2) */
.form-card__title {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--dark);
}

/* Промо-заголовок боковой панели услуг (h3 → div) */
.sidebar-banner .banner-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
  color: var(--dark);
}

/* Кнопки и теги — затемнённый градиент (белый текст ≥ 4.5:1) */
.btn-primary,
.price-tag,
.banner-tag,
.to-top {
  background: var(--grad-btn);
}

/* Видимый фокус для навигации с клавиатуры */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.hamburger:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Модалка настроек cookie: заголовок больше не h2 (был ложный уровень) */
.cookie-modal__title {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

/* Текст только для скринридеров */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== 29. ПРАВКИ v13: раскрытие FAQ, отступы секций ===== */

/* Раскрытие ответа FAQ (было: .faq-a всегда max-height:0 — правило отсутствовало) */
.faq-item.open .faq-a {
  max-height: 1000px;
}

/* Плавность + отступ у последнего абзаца внутри ответа */
.faq-a p:last-child {
  margin-bottom: 0;
}


/* Явный отступ для вводного абзаца секции */
.sec-text--spaced {
  margin-bottom: 30px !important;
}


/* ===== 30. ЦИФРЫ НА МЯГКОМ ФОНЕ (v14, ритм выровнен в v17) ===== */
.stats-section.section--soft {
  padding: 64px 0;
  border-bottom: none;
}

/* Ритм «Цифр» на мобильных — как у остальных секций (.section -> 50px) */
@media (max-width: 768px) {
  .stats-section.section--soft {
    padding: 50px 0;
  }
}


/* ===== 31. МЕНЮ «ДРУГИЕ УСЛУГИ» (внутренние страницы услуг) ===== */
.services-menu.inline-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border: none;
  background: transparent;
  border-radius: 0;
  margin-bottom: 0;
}

.services-menu.inline-menu li {
  border-bottom: none;
}

.services-menu.inline-menu a {
  display: inline-block;
  padding: 11px 22px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: #fff;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
}

.services-menu.inline-menu a::after {
  content: '';
}

.services-menu.inline-menu a:hover {
  background: var(--grad-soft);
  border-color: rgba(209,57,23,.4);
  color: var(--brand);
  transform: translateY(-2px);
}

/* ===== 32. ССЫЛКИ НА УСЛУГИ В ФУТЕРЕ ===== */
.footer-services {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer-services h4 {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-services a {
  color: #9aa3c7;
  font-size: .9rem;
  transition: .2s;
}

.footer-services a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}


/* ===== 33. ВИЗУАЛЬНЫЕ БЛОКИ НА СТРАНИЦАХ УСЛУГ ===== */

/* Hero услуги: картинка + стеклянная карточка с показателями */
.service-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 300px;
  margin-bottom: 40px;
  background: linear-gradient(160deg, #12121f 0%, #1a1a2e 45%, #0f0f1c 100%);
  display: flex;
  align-items: flex-end;
}

.service-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .38;
}

.service-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,18,31,.35) 0%, rgba(18,18,31,.92) 100%);
}

.service-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 32px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.service-hero__head {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
}

.service-hero__icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: var(--grad);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 10px 28px rgba(209,57,23,.45);
}

.service-hero__icon .icon-svg {
  width: 32px;
  height: 32px;
  color: #fff;
}

.service-hero__head b {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.service-hero__head span {
  font-size: .9rem;
  color: #9aa3c7;
}

.service-hero__stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.service-hero__stat b {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.service-hero__stat span {
  font-size: .8rem;
  color: #9aa3c7;
}

/* Карточки-преимущества услуги с иконками */
.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.service-feature {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 24px 22px;
  transition: .25s;
}

.service-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(26,26,46,.09);
  border-color: rgba(209,57,23,.28);
}

.service-feature__ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.service-feature__ico .icon-svg {
  width: 24px;
  height: 24px;
  color: var(--icon-light);
}

.service-feature h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.service-feature p {
  color: var(--text);
  font-size: .9rem;
  line-height: 1.65;
}

/* Ссылка «Подробнее об услуге» в карточке */
.service-more {
  margin-top: 16px;
}

.service-more a {
  color: var(--brand);
  font-weight: 600;
  font-size: .92rem;
}

.service-more a:hover {
  text-decoration: underline;
}

/* Плашка с иконками-чипами (технологии/оборудование) */
.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 11px 20px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--dark);
  transition: .2s;
}

.service-chip:hover {
  border-color: rgba(209,57,23,.4);
  box-shadow: 0 8px 22px rgba(209,57,23,.09);
}

.service-chip .icon-svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

@media (max-width: 768px) {
  .service-hero__inner {
    padding: 24px 20px;
  }
  .service-hero__stats {
    gap: 22px;
  }
  .service-hero__icon {
    width: 54px;
    height: 54px;
  }
  .service-hero__head b {
    font-size: 1.1rem;
  }
}


/* ===== 34. ШАХМАТКА ФОНОВ НА ВНУТРЕННИХ СТРАНИЦАХ ===== */
/* Чётные секции внутри контейнера получают мягкий фон-карточку:
   чередование белый / мягкий без переделки структуры */

.page-content .container > section:nth-of-type(even) {
  background: var(--bg-light);
  border-radius: 24px;
  padding: 36px 32px;
}

/* Внутри мягкой карточки убираем внешние отступы, чтобы фон был аккуратным */
.page-content .container > section:nth-of-type(even) > .sec-title:first-child {
  margin-top: 0;
}

.page-content .container > section:nth-of-type(even) > .sec-text:last-child {
  margin-bottom: 0;
}

/* На страницах услуг hero-блок не трогаем (он и так тёмный) */
.page-content .container > section.service-hero {
  background: linear-gradient(160deg, #12121f 0%, #1a1a2e 45%, #0f0f1c 100%);
  padding: 0;
  border-radius: 24px;
}

@media (max-width: 768px) {
  .page-content .container > section:nth-of-type(even) {
    padding: 26px 20px;
    border-radius: 18px;
  }
}


/* ===== 35. ОТЗЫВЫ КЛИЕНТОВ (главная) ===== */
.reviews-grid {
  align-items: stretch;
}

.review-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: .25s;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(26,26,46,.10);
  border-color: rgba(209,57,23,.25);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-ava {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-brand);
}

.review-head div {
  min-width: 0;
}

.review-head b {
  display: block;
  font-size: .98rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
}

.review-head span:not(.review-ava) {
  display: block;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}

.review-text {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.review-stars {
  color: var(--brand);
  font-size: 1.05rem;
  letter-spacing: 3px;
  line-height: 1;
}

/* ===== 36. КОНТАКТЫ В МОБИЛЬНОМ МЕНЮ ===== */
.nav-contacts-mobile {
  display: none;
}

@media (max-width: 768px) {
  .nav-contacts-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid var(--line-2);
  }

  .nav-contacts-mobile .soc-ico {
    width: 46px;
    height: 46px;
  }

  .nav-contacts-mobile .soc-ico svg {
    width: 22px;
    height: 22px;
  }

  .nav-contacts-mobile .nav-phone {
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--dark);
  }

  .nav-contacts-mobile .nav-mail {
    font-size: .95rem;
    color: var(--brand);
  }
}

/* ===== Страница 404 ===== */
.error-404 {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0 60px;
}
.error-404__code {
  font-size: clamp(84px, 16vw, 140px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.error-404__text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 30px;
}
.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 46px;
}
.error-404__links {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 10px 30px rgba(26, 26, 46, .06);
}
.error-404__links-title {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.error-404__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.error-404__links-grid a {
  display: block;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: var(--dark);
  font-size: .95rem;
  text-decoration: none;
  transition: .2s;
}
.error-404__links-grid a:hover {
  border-color: rgba(209, 57, 23, .4);
  color: var(--brand);
  transform: translateY(-2px);
}
.error-404__contacts {
  margin-top: 30px;
  font-size: .95rem;
  color: var(--text);
}
.error-404__contacts a {
  color: var(--brand);
  font-weight: 600;
  margin-left: 8px;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .error-404__actions .btn-primary,
  .error-404__actions .btn-outline {
    width: 100%;
    text-align: center;
  }
}

/* ===== Оглавление правовых страниц ===== */
.legal-toc {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 22px 26px;
  margin: 26px 0 8px;
}
.legal-toc__title {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.legal-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 28px;
}
.legal-toc__list li {
  break-inside: avoid;
  margin-bottom: 8px;
  font-size: .93rem;
}
.legal-toc__list a {
  color: var(--dark);
  text-decoration: none;
  transition: color .2s;
}
.legal-toc__list a:hover {
  color: var(--brand);
  text-decoration: underline;
}
@media (max-width: 700px) {
  .legal-toc__list {
    columns: 1;
  }
}

/* ===== Ссылки-заголовки в карточках услуг ===== */
.service-feature h3 a {
  color: var(--dark);
  text-decoration: none;
  transition: color .2s;
}
.service-feature h3 a:hover {
  color: var(--brand);
}

/* ===== Инлайн-SVG вместо эмодзи (единый визуальный язык) ===== */
.ico-inline {
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}
.hero-pill .ico-inline {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.pn-ico .ico-inline,
.mn-ico .ico-inline {
  width: 26px;
  height: 26px;
  color: var(--brand);
}
.mn-ico .ico-inline {
  width: 28px;
  height: 28px;
}
.banner-img-placeholder .ico-inline {
  width: 56px;
  height: 56px;
  color: rgba(209, 57, 23, .45);
  stroke-width: 1.5;
}
.t-time .ico-check {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.stat-num .ico-check {
  width: 38px;
  height: 38px;
  color: var(--brand);
  display: inline-block;
  vertical-align: middle;
}
.hero-note .ico-check {
  width: 16px;
  height: 16px;
  color: var(--accent);
  margin-right: 4px;
}


/* ===== 37. ПРАВКИ v11: доступность, шкала, сетки, мобильный UX ===== */

/* --- 37.0. Шкала: типографика, радиусы, служебные цвета --- */
:root {
  --fs-2xs: .75rem;        /* 12px — теги, бейджи, подписи */
  --fs-xs: .875rem;        /* 14px — мелкий текст */
  --fs-sm: .9375rem;       /* 15px — мелкий основной */
  --fs-base: 1rem;         /* 16px — базовый */
  --fs-md: 1.125rem;       /* 18px — вводный текст / лид */
  --fs-lg: 1.25rem;        /* 20px — названия, подзаголовки */

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 28px;
  --r-pill: 100px;

  --tag-ink: #b8330f;      /* текст тегов и плашек на тёплом тинте (≥ 4.5:1) */
  --zebra: #fbfcff;        /* чётные строки таблиц и поля ввода */
  --switch-off: #d5d8e4;   /* выключенный переключатель настроек cookie */
  --gray-ico: #9aa3c7;     /* служебные иконки и разделители */
}

/* --- 37.1. Контраст акцентного текста на тёмных фонах (hero / CTA / service-hero) --- */
.hero .grad-text,
.hero .ms-num,
.hero .hs-num,
.service-hero__stat b {
  background: linear-gradient(135deg, #ffb37a 0%, #ff9d5c 50%, #f2601a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .btn-outline,
.cta-block .btn-outline {
  color: var(--accent);
  border-color: rgba(255, 157, 92, .5);
}

.hero .btn-outline:hover,
.cta-block .btn-outline:hover {
  background: rgba(255, 157, 92, .14);
  border-color: var(--accent);
  color: #fff;
}

/* --- 37.2. Теги и плашки: цвет проходит AA на тёплом тинте --- */
.sec-tag,
.case-tag,
.pricing-note,
.req-accent,
.cookie-opt__state,
.markirovka-note a,
.services-menu a:hover,
.services-menu a.active,
.services-menu.inline-menu a:hover {
  color: var(--tag-ink);
}

.sec-tag,
.case-tag {
  font-size: var(--fs-2xs);
}

/* --- 37.3. Классы без стилей (на главной были «осиротевшими») --- */
.geo-grid {
  gap: 24px;
}

.geo-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: .25s;
}

.geo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(26,26,46,.10);
  border-color: rgba(209,57,23,.3);
}

.geo-card .dir-title {
  margin-bottom: 10px;
}

.dir-more {
  margin-top: 14px;
}

.dir-more a {
  color: var(--brand);
  font-weight: 600;
  font-size: var(--fs-sm);
}

.dir-more a:hover {
  text-decoration: underline;
}

.pricing-more {
  margin-top: 28px;
  text-align: center;
}

/* --- 37.4. Комфортная длина строки для текстовых блоков --- */
.seo-block,
.partner-note,
.markirovka-note {
  max-width: 900px;
}

/* --- 37.5. Подвал: 4 колонки вместо одной центральной --- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1fr;
  gap: 40px;
  align-items: start;
  text-align: left;
}

footer .footer-grid .logo {
  justify-content: flex-start;
  margin-bottom: 10px;
}

footer .footer-grid .footer-brand p {
  max-width: 300px;
}

footer .footer-grid .footer-col__title,
footer .footer-grid .footer-services h4 {
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 12px;
}

footer .footer-services,
footer .footer-contacts {
  margin-top: 0;
  align-items: flex-start;
  gap: 9px;
}

footer .footer-contacts span {
  font-size: var(--fs-xs);
  line-height: 1.6;
}

footer .footer-company {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
}

footer .footer-company a,
footer .footer-services a {
  font-size: var(--fs-xs);
}

footer .footer-contacts a {
  font-size: var(--fs-sm);
}

footer .footer-company a {
  color: #9aa3c7;
  transition: .2s;
}

footer .footer-company a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }

  .footer-grid .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    gap: 26px 20px;
  }

  .footer-grid .footer-brand {
    text-align: center;
  }

  footer .footer-grid .logo {
    justify-content: center;
  }

  footer .footer-grid .footer-brand p {
    margin: 0 auto;
  }

  .footer-grid .footer-company {
    grid-column: 1 / -1;
  }

  footer .footer-company {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 20px;
  }

  footer .footer-company .footer-col__title {
    width: 100%;
    margin-bottom: 0;
    text-align: center;
  }
}

/* --- 37.6. Мобильный hero: декоративная карточка → компактная строка цифр --- */
@media (max-width: 640px) {
  .hero-card {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-card-head,
  .hero-ticket {
    display: none;
  }

  .mini-stats {
    border-bottom: 0;
    margin-bottom: 0;
    padding: 6px 0 0;
  }
}

/* --- 37.7. Кнопка «наверх»: компактнее и не поверх карточек --- */
@media (max-width: 768px) {
  .to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}

/* --- 37.8. Шапка: кнопка-телефон на узких экранах --- */
.header-tel-ico {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-soft);
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  transition: .2s;
}

.header-tel-ico .icon-svg {
  color: currentColor;
}

.header-tel-ico:hover {
  background: var(--grad);
  color: #fff;
}

@media (max-width: 480px) {
  .header-tel-ico {
    display: inline-flex;
  }

  .header-contacts {
    gap: 14px;
  }
}

/* --- 37.9. Бургер: зона нажатия не меньше 44x44 --- */
.hamburger {
  padding: 12px 8px;
}

/* --- 37.10. Унификация карточек: иконки, отступы, зазоры --- */
.feature-icon {
  width: 56px;
  height: 56px;
}

.dir-card,
.member-card,
.geo-card,
.feature-card,
.review-card,
.price-card {
  padding: 28px 24px;
}

.price-tag {
  left: 24px;
}

.pricing-grid,
.services-cards-grid {
  gap: 24px;
}

/* --- 37.11. Внутренний отступ hero при скруглении 28px --- */
.hero--contained .hero-inner {
  padding-left: 60px;
  padding-right: 60px;
}

@media (max-width: 992px) {
  .hero--contained .hero-inner {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 640px) {
  .hero--contained .hero-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* --- 37.12. Служебные цвета → токены палитры --- */
.dir-list li::before {
  color: var(--brand);
}

.breadcrumbs {
  color: var(--muted);
}

.breadcrumbs .sep,
.card-arrow,
.services-menu a::after {
  color: var(--gray-ico);
}

.services-menu,
.service-card-aspro {
  border-color: var(--line-2);
}

.compare-row:nth-child(odd),
.price-row:nth-child(odd),
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--zebra);
}

.cookie-switch__slider {
  background: var(--switch-off);
}

.client-placeholder {
  color: var(--muted);
}

/* --- 37.13. footer-bottom: раздельное выравнивание на планшете --- */
@media (min-width: 481px) and (max-width: 768px) {
  .footer-bottom {
    justify-content: space-between;
    text-align: left;
  }
}

/* ===== 38. МОБИЛЬНОЕ МЕНЮ (правки v12) ===== */
/* Было: при открытом меню контакты дублировались (в меню и строкой ниже),
   а крестик уезжал в самый низ — nav с width:100% выталкивал соседей. */

@media (max-width: 768px) {
  /* --- 38.1. Порядок элементов шапки: лого + крестик в первой строке --- */
  .header-inner {
    row-gap: 10px;
  }

  .header-inner .logo {
    order: 1;
  }

  .header-inner .header-contacts {
    order: 2;
  }

  .header-inner .hamburger {
    order: 3;
  }

  .header-inner nav {
    order: 4;
  }

  /* --- 38.2. В меню уже есть Telegram, телефон и почта — строку не дублируем --- */
  #main-nav.open ~ .header-contacts {
    display: none;
  }

  /* --- 38.3. Меню: прокрутка на низких экранах --- */
  #main-nav.open {
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  /* --- 38.4. Граница над меню была белой по белому --- */
  nav {
    border-top: 1px solid var(--line-2);
  }

  /* --- 38.5. Пункты меню: тап-зона ~46px (кнопку CTA не трогаем) --- */
  nav.open {
    gap: 10px;
  }

  nav.open a:not(.btn-primary):not(.soc-ico) {
    padding: 8px 6px;
  }

  /* --- 38.6. Кнопка-CTA в меню --- */
  nav .nav-cta {
    margin: 4px 0 2px;
    padding: 14px 20px;
    font-size: var(--fs-base);
  }
}

/* --- 38.7. Узкая шапка (<=480): без переноса строк --- */
@media (max-width: 480px) {
  /* Логотип (28.8px, ~200px) + звонок 44 + бургер 44 = ~312px: в 360px экран
     три элемента с кружком Telegram уже не влезают и бургер уезжал на 2-ю строку.
     Telegram остаётся в меню, в подвале и на странице контактов. */
  .header-contacts .soc-ico {
    display: none;
  }

  .header-inner {
    column-gap: 12px;
  }
}

/* --- 38.7б. 481-560px: телефон в шапке не влезает рядом с логотипом и бургером --- */
@media (max-width: 560px) {
  .header-phone {
    display: none;
  }
}

/* --- 38.8. CTA внутри nav — только для мобильной шапки --- */
@media (min-width: 769px) {
  .nav-cta {
    display: none;
  }
}

/* ===== 39. КАПЧА НА ФОРМАХ (правки v13) ===== */
/* Слот капчи стоит перед кнопкой отправки в каждой форме.
   В невидимом режиме виджет ничего не показывает — отступ не нужен;
   появляется он только если сервис решит задать уточняющий вопрос. */
.cap-slot {
  margin: 0;
}

.cap-slot:not(:empty) {
  margin: 0 0 14px;
}

.cap-slot iframe {
  max-width: 100%;
  border: 0;
}

/* В тёмных формах (CTA на главной и внутренних страницах) */
.cta-block .cap-slot:not(:empty) {
  margin-bottom: 16px;
}

/* ===== 40. МАТЕМАТИЧЕСКАЯ КАПЧА (правки v14) ===== */
/* Пример, поле ответа и кнопка «Другой пример» собираются в js/captcha.js
   внутри .cap-slot. Стили рассчитаны и на светлую форму (страница контактов),
   и на тёмную (CTA на главной и внутренних страницах). */
.cap-box {
  margin: 4px 0 16px;
}

.cap-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.cap-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cap-question {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.cap-input {
  width: 96px;
  padding: 11px 14px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: var(--fs-base);
  font-weight: 600;
  text-align: center;
  background: var(--zebra);
  transition: .2s;
}

.cap-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(209,57,23,.12);
  background: #fff;
}

.cap-input:disabled {
  opacity: .6;
}

.cap-refresh {
  padding: 10px 16px;
  border: 1.5px solid rgba(209,57,23,.4);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--brand);
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}

.cap-refresh:hover {
  background: var(--grad-soft);
  border-color: var(--brand);
}

.cap-refresh:disabled {
  opacity: .5;
  cursor: default;
}

.cap-msg {
  font-size: var(--fs-xs);
  color: var(--tag-ink);
  margin-top: 8px;
}

.cap-msg:empty {
  display: none;
}

/* --- Тёмные формы: CTA на главной и внутренних страницах --- */
.cta-block .cap-label,
.cta-block .cap-question {
  color: #fff;
}

.cta-block .cap-input {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.16);
  color: #fff;
}

.cta-block .cap-input:focus {
  background: rgba(255,255,255,.14);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(209,57,23,.18);
}

.cta-block .cap-refresh {
  color: var(--accent);
  border-color: rgba(255,157,92,.5);
}

.cta-block .cap-refresh:hover {
  background: rgba(255,157,92,.14);
  border-color: var(--accent);
  color: #fff;
}

.cta-block .cap-msg {
  color: #ffb37a;
}

/* --- Мобильные: пример и поле в одну строку, кнопка ниже --- */
@media (max-width: 480px) {
  .cap-row {
    gap: 8px;
  }

  .cap-input {
    width: 80px;
  }

  .cap-refresh {
    width: 100%;
    text-align: center;
  }
}

/* ===== 41. ИКОНКИ В СПИСКЕ «ЧТО ВХОДИТ» (правки v17) ===== */
/* Модификатор --ico ставится только там, где иконки добавлены в разметку.
   Базовый .dash-item остаётся прежним, поэтому такие же списки на других
   страницах (услуги, маркетинг, маркировка, веб-разработка) не меняются. */
.dash-item--ico {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.dash-ico {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  transition: background .2s;
}

.dash-ico .icon-svg {
  width: 22px;
  height: 22px;
  color: var(--icon-light);
  transition: color .2s;
}

/* При наведении иконка окрашивается в фирменный цвет — как в тарифах и услугах */
.dash-item--ico:hover .dash-ico .icon-svg {
  color: var(--brand);
}

.dash-item--ico .dash-body {
  min-width: 0;
}

@media (max-width: 480px) {
  .dash-ico {
    width: 40px;
    height: 40px;
  }

  .dash-ico .icon-svg {
    width: 20px;
    height: 20px;
  }
}

/* ===== 42. HERO: авто-анимация правого блока + индикатор online (правки v23) ===== */
/* Задача: карточка «живёт» сама, без наведения мыши; движение плавное;
   «online» пульсирует зелёным.

   Слои разделены, чтобы не конфликтовать:
     .hero-visual — параллакс от курсора (пишет JS в transform);
     .hero-card   — собственная авто-анимация (keyframes).
   Иначе CSS-анимация перебила бы инлайновый transform от параллакса. */

.hero-visual {
  position: relative;
  min-width: 0;
  will-change: transform;
}

/* --- Лёгкое «дыхание» карточки: движение + микро-поворот --- */
@keyframes heroFloat {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  25% {
    transform: translate3d(4px, -8px, 0) rotate(.35deg);
  }
  50% {
    transform: translate3d(0, -14px, 0) rotate(0deg);
  }
  75% {
    transform: translate3d(-4px, -7px, 0) rotate(-.35deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

/* --- Мягкое «свечение» под карточкой --- */
@keyframes heroCardGlow {
  0%, 100% {
    opacity: .55;
    transform: scale(1);
  }
  50% {
    opacity: .85;
    transform: scale(1.04);
  }
}

.hero-card {
  /* 12 секунд, плавный вход-выход: движение читается, но не отвлекает */
  animation: heroFloat 12s cubic-bezier(.45, .05, .55, .95) infinite;
  will-change: transform;
}

/* Свечение — на обёртке (а не на карточке): так оно видно вокруг неё,
   и не «проваливается» под фон HERO из-за отрицательного z-index. */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 6% 4%;
  border-radius: 32px;
  background: radial-gradient(60% 55% at 70% 25%, rgba(242,96,26,.34), transparent 72%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
  animation: heroCardGlow 12s cubic-bezier(.45, .05, .55, .95) infinite;
}

/* Карточка — над свечением */
.hero-visual .hero-card {
  position: relative;
  z-index: 1;
}

/* --- Индикатор «online»: зелёная пульсирующая точка --- */
@keyframes onlinePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .65);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.hc-online {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hc-online b {
  color: #4ade80;
  font-weight: 600;
}

.hc-dot {
  position: relative;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: onlinePulse 2.2s ease-out infinite;
}

/* Внутренняя яркая точка — чтобы индикатор «горел», а не мигал плоско */
.hc-dot::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #86efac;
}

/* --- Не мешаем тем, кто просил уменьшить движение --- */
@media (prefers-reduced-motion: reduce) {
  .hero-card,
  .hero-visual::before,
  .hc-dot {
    animation: none !important;
  }
}

/* --- Мобильные: карточка превращается в строку цифр — анимация не нужна --- */
@media (max-width: 640px) {
  .hero-card {
    animation: none;
    will-change: auto;
  }

  .hero-visual::before {
    display: none;
  }

  .hero-visual {
    will-change: auto;
  }
}
