/* ==========================
   ПАЛИТРА И ТОКЕНЫ
   ========================== */
:root {
  /* бренд */
  --brand-blue:        #004FAF;
  --brand-blue-soft:   #2F7BFF;
  --brand-blue-rgb:    0, 79, 175;
  --brand-teal:        #00B7C7;
  --brand-teal-rgb:    0, 183, 199;

  /* базовый белый */
  --white:             #FFFFFF;
  --white-rgb:         255, 255, 255;

  /* фоны */
  --bg-page:           #E4ECF8;
  --bg-header:         #FFFFFF;
  --bg-hero-from:      #F5F8FF;
  --bg-hero-to:        #D9E6FF;
  --bg-section-dark-top:    #0F2748;
  --bg-section-dark-bottom: #0A1C34;
  --bg-footer-top:     #FFFFFF;
  --bg-footer-bottom:  #004FAF;
  --card-bg:           #FFFFFF;

  /* текст */
  --text-main:         #111827;
  --text-muted:        #6A7A8B;
  --text-soft:         #94A3B8;
  --text-light:        #F3F8FF;
  --text-legal:        #8A96AB;
  --text-inverse:      #F9FAFB;

  /* переключатель языка */
  --lang-bg:              #EEF3FB;
  --lang-text:            #94A3B8;
  --lang-pill-shadow-rgb: 15, 23, 42;

  /* hero */
  --hero-chip-bg:        rgba(var(--white-rgb), 0.85);
  --hero-chip-border:    rgba(148, 163, 184, 0.35);
  --hero-kpi-bg:         rgba(var(--white-rgb), 0.92);
  --hero-kpi-border:     rgba(148, 163, 184, 0.28);
  --hero-kpi-text:       var(--text-main);
  --hero-kpi-muted:      var(--text-soft);
  --hero-shadow-soft:    0 22px 55px rgba(var(--brand-blue-rgb), 0.18);

  /* бордеры/тени */
  --border-subtle:     rgba(148, 163, 184, 0.35);
  --border-card:       rgba(15, 23, 42, 0.06);

  --shadow-header:     0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-card:       0 18px 45px rgba(15, 23, 42, 0.14);
  --shadow-chip:       0 4px 12px rgba(15, 23, 42, 0.10);

  /* готовые градиенты */
  --bg-hero-gradient:  linear-gradient(135deg, var(--bg-hero-from) 0%, var(--bg-hero-to) 100%);
  --bg-steps-gradient: linear-gradient(180deg, var(--bg-section-dark-top) 0%, var(--bg-section-dark-bottom) 100%);
  --accent-line:       linear-gradient(90deg, var(--brand-blue), var(--brand-teal));
}


/* ==========================
   БАЗА
   ========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(var(--brand-blue-rgb), 0.16) 0, transparent 52%),
    radial-gradient(circle at bottom right, rgba(var(--brand-teal-rgb), 0.09) 0, transparent 55%),
    var(--bg-page);
  color: var(--text-main);
  overflow-x: hidden;
  scroll-behavior: smooth;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* область между шапкой и футером */
.page-content {
  flex: 1 0 auto;
}


/* ==========================
   ШАПКА
   ========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--brand-blue-soft);
  border-image: linear-gradient(
    90deg,
    rgba(var(--brand-teal-rgb), .6),
    rgba(47, 123, 255, .6),
    rgba(var(--brand-blue-rgb), .6)
  ) 1;
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  position: relative;
}

/* логотип */
.logo a {
  display: inline-block;
}

.logo img {
  height: 70px;
  width: auto;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.logo img:hover {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 6px 14px rgba(var(--brand-blue-rgb), 0.35));
}

.desktop-logo {
  display: block;
}

.mobile-logo {
  display: none;
}

/* меню */
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  margin: 0 20px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding-bottom: 6px;
  position: relative;
  transition: color 0.18s ease, transform 0.18s ease;
}

.nav a:hover {
  color: var(--brand-blue);
  transform: translateY(-1px);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-line);
  transition: width 0.18s ease;
}

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

/* справа: язык + телефон + бургер */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}


/* ==========================
   ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКА
   ========================== */
.lang-switch {
  position: relative;
  width: 140px;
  height: 44px;
  border-radius: 999px;
  background: var(--lang-bg);
  display: flex;
  align-items: center;
  padding: 4px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(var(--lang-pill-shadow-rgb), 0.10);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.lang-switch:hover {
  background: rgba(var(--brand-blue-rgb), 0.06);
  box-shadow: 0 10px 26px rgba(var(--lang-pill-shadow-rgb), 0.24);
  transform: translateY(-1px);
}

.lang-option {
  position: relative;
  flex: 1;
  text-align: center;
  z-index: 2;
  font-size: 16px;
  font-weight: 600;
  color: var(--lang-text);
  user-select: none;
  text-decoration: none !important;
  transition: color 0.25s ease;
}

.lang-option.ru,
.lang-option.kz {
  padding: 0;
}

.lang-highlight {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: linear-gradient(135deg, #2F7BFF 0%, #004FAF 100%);
  box-shadow: 0 8px 20px rgba(0, 79, 175, 0.28);
  transform: translateX(0);
  transition: transform 0.25s ease;
  z-index: 1;
}


/* KZ активен */
.lang-switch.kz-active .lang-highlight {
  transform: translateX(100%);
}

/* цвета текста */
.lang-switch.ru-active .lang-option.ru,
.lang-switch:not(.kz-active) .lang-option.ru {
  color: var(--text-inverse);
}

.lang-switch.ru-active .lang-option.kz,
.lang-switch:not(.kz-active) .lang-option.kz {
  color: var(--lang-text);
}

.lang-switch.kz-active .lang-option.kz {
  color: var(--text-inverse);
}

.lang-switch.kz-active .lang-option.ru {
  color: var(--lang-text);
}


.phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-main);
  transition: color 0.2s ease, transform 0.15s ease;
}

.phone:hover {
  color: var(--text-legal);
  transform: translateY(-1px);
}

.phone-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(var(--brand-blue-rgb), 0.4));
}

/* бургер */
.burger {
  display: none;
}


/* ==========================
   HERO
   ========================== */
.hero {
  position: relative;
  padding: 96px 0 90px;
  /* добавили мягкие подсветки как на тёмном блоке */
  background:
    radial-gradient(circle at 12% 15%,  rgba(var(--brand-teal-rgb), 0.20) 0, transparent 55%),
    radial-gradient(circle at 85% 0%,   rgba(var(--brand-blue-rgb), 0.20) 0, transparent 55%),
    radial-gradient(circle at -10% 100%, rgba(var(--brand-blue-rgb), 0.08) 0, transparent 60%),
    var(--bg-hero-gradient);
  overflow: hidden;
}

/* фоновые круги */
.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-blue-rgb), 0.10) 0, transparent 60%);
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(var(--brand-teal-rgb), 0.18);
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 72px;
  min-height: 420px;
}

.hero-text {
  max-width: 520px;
}

/* плашка над заголовком */
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--hero-chip-bg);
  border: 1px solid var(--hero-chip-border);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 14px;
  box-shadow: var(--shadow-chip);
}

.hero-chip span {
  color: var(--brand-blue);
}

/* заголовок и текст */
.hero-text h1 {
  font-size: 2.9rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.hero-subtitle,
.hero-text p {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.7;
}

.hero-meta {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 22px;
}


/* кнопки */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

/* primary (левая кнопка) */
.hero-buttons a:first-child {
  background: linear-gradient(135deg, var(--brand-blue-soft), var(--brand-blue));
  color: var(--text-inverse);
  box-shadow: 0 12px 28px rgba(var(--brand-blue-rgb), 0.35);
}

.hero-buttons a:first-child:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(var(--brand-blue-rgb), 0.45);
}

/* secondary – через класс .btn-outline */
.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-chip);
}

.btn-outline:hover {
  border-color: var(--brand-blue-soft);
  color: var(--brand-blue-soft);
}

/* подпись под кнопками */
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-teal);
  box-shadow: 0 0 0 4px rgba(var(--brand-teal-rgb), 0.15);
}

/* ПРАВЫЙ БЛОК С ПРЕИМУЩЕСТВАМИ */
.hero-features {
  width: 320px;
  max-width: 100%;
  padding: 24px 24px 22px;
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--hero-shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-features:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(var(--brand-blue-rgb), 0.35);
}

.hero-features h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-main);
  text-align: left;
}

.hero-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-features li {
  position: relative;
  padding-left: 22px;
  text-align: left;
}

.hero-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-teal);
}

.hero-feature-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-feature-text {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* убираем старую иллюстрацию, если где-то осталась */
.hero-visual {
  display: none;
}


/* ==========================
   КАК ОФОРМИТЬ ЗАЙМ
   ========================== */
.steps {
  position: relative;
  background: var(--bg-steps-gradient);
  padding: 80px 0 12px;
  text-align: center;
  overflow: hidden;
}

/* мягкие круги на фоне */
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.25;
  pointer-events: none;
}

.steps::before {
  width: 280px;
  height: 280px;
  left: -120px;
  top: -60px;
  background: radial-gradient(circle, rgba(var(--brand-teal-rgb), 0.6) 0, transparent 65%);
}

.steps::after {
  width: 320px;
  height: 320px;
  right: -140px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(var(--brand-blue-rgb), 0.55) 0, transparent 70%);
}

.steps .container {
  max-width: 1040px;
  position: relative;
  z-index: 1;
}

.steps h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--text-light);
}

/* сетка карточек */
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

/* карточка шага */
.step {
  background: var(--card-bg);
  border-radius: 20px;
  width: 320px;
  padding: 32px 28px 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-card);
  text-align: center;
  animation: fade-up 0.6s ease-out;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.step:nth-child(2) {
  animation-delay: 0.05s;
}

.step:nth-child(3) {
  animation-delay: 0.1s;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.22);
  border-color: rgba(var(--brand-blue-rgb), 0.25);
}

/* иконка по центру */
.step .icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--brand-blue-rgb), 0.06);
  box-shadow:
    0 0 0 0 rgba(var(--brand-blue-rgb), 0.25),
    0 10px 26px rgba(15, 23, 42, 0.18);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.step .icon img {
  height: 40px;
  width: auto;
}

.step:hover .icon {
  box-shadow:
    0 0 0 6px rgba(var(--brand-blue-rgb), 0.18),
    0 0 26px rgba(var(--brand-teal-rgb), 0.35);
  transform: translateY(-2px);
}

.step strong,
.step h3 {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}


/* ==========================
   ТРЕБОВАНИЯ К ЗАЁМЩИКУ
   ========================== */
.requirements {
  position: relative;
  background: var(--bg-section-dark-bottom);
  padding: 70px 0 90px;
  text-align: center;
  overflow: hidden;
}

/* мягкий подсвет снизу */
.requirements::after {
  content: "";
  position: absolute;
  inset: auto -40%;
  bottom: -260px;
  height: 420px;
  background: radial-gradient(circle, rgba(var(--brand-teal-rgb), 0.32) 0, transparent 65%);
  opacity: 0.4;
  pointer-events: none;
}

.requirements .container {
  max-width: 1040px;
  position: relative;
  z-index: 1;
}

.requirements h2 {
  font-size: 2rem;
  margin-bottom: 32px;
  color: var(--text-light);
}

/* одна чистая карточка */
.requirements-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 30px 40px 28px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-card);
  text-align: left;
  animation: fade-up 0.6s ease-out;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.requirements-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--brand-teal-rgb), 0.4);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.22);
}

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

.requirements li {
  position: relative;
  padding-left: 26px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 0.96rem;
  color: var(--text-main);
}

.requirements li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--brand-teal);
  font-size: 0.9rem;
}


/* ==========================
   FOOTER
   ========================== */
.footer {
  background: var(--bg-footer-top);
  padding: 42px 0 50px;
  color: var(--text-main);
  position: relative;
}

/* нижняя цветная полоса */
.footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--accent-line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-left {
  flex: 1;
  min-width: 260px;
  max-width: 520px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 12px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* лёгкая анимация логотипа в футере */
.footer-logo:hover {
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 10px 28px rgba(var(--brand-blue-rgb), 0.45));
}

.legal-text {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-legal);
}

.legal-text p {
  margin-bottom: 4px;
}

.footer-right {
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* контакты */
.contacts a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.contacts img {
  height: 18px;
}

.contacts p {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--text-legal);
}

/* соцсети */
.social {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.social a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-legal);
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.15s ease;
}

.social a:hover {
  color: var(--brand-blue);
  transform: translateY(-1px);
}

.social img {
  height: 20px;
}

/* Подложка под мобильное меню */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 850; /* ниже хедера и меню */
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===== Анимация появления пункта меню (мобилка) ===== */
@keyframes navItemFadeUp {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================
   АДАПТИВ
   ========================== */

/* планшеты – поджимаем отступы, уменьшаем картинку */
@media (max-width: 1200px) {
  .hero-inner {
    gap: 48px;
  }

  .hero-visual img {
    width: 340px;
  }

  .step {
    width: 300px;
  }
}

/* ближе к планшетам/мал. ноутбукам */
@media (max-width: 1024px) {
  .nav a {
    margin: 0 14px;
  }

  .hero-kpi {
    flex: 1 1 45%;
  }

  .steps .container,
  .requirements .container {
    max-width: 90%;
  }
}

/* вертикальная мобилка / узкие планшеты */
@media (max-width: 900px) {
  .hero {
    padding: 70px 0 70px;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 36px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-kpis {
    justify-content: center;
  }

  .hero-kpi {
    max-width: 260px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual img {
    width: 280px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* телефоны */
@media (max-width: 768px) {
  /* Полностью прячем номер телефона в шапке на мобилках */
  .header-call {
    display: none !important;
  }


  .logo img {
    height: 52px;
  }

  .desktop-logo {
    display: none;
  }

  .mobile-logo {
    display: block;
  }

 /* ===== Мобильное меню ===== */
  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 12px;
    right: 12px;

    display: flex;
    flex-direction: column;

    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,0.28);
    box-shadow: 0 10px 40px rgba(16, 24, 40, 0.22);
    padding: 6px 0;

    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top;
    transition:
      max-height .28s ease,
      opacity .22s ease,
      transform .22s ease;

    z-index: 900;
  }

  .nav.active {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  /* ПУНКТЫ МЕНЮ — базовое состояние (скрытые, для анимации) */
  .nav a {
    padding: 12px 18px;
    font-size: 1rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;

    display: flex;
    align-items: center;
    position: relative;

    opacity: 0;
    transform: translateY(8px);
  }

  /* Разделители между пунктами */
  .nav a:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: rgba(148,163,184,0.28);
  }

  /* При открытии меню — анимация по очереди */
  .nav.active a {
    animation: navItemFadeUp .24s ease forwards;
  }

  .nav.active a:nth-child(1) { animation-delay: .05s; }
  .nav.active a:nth-child(2) { animation-delay: .010s; }
  .nav.active a:nth-child(3) { animation-delay: .15s; }
  .nav.active a:nth-child(4) { animation-delay: .20s; }
  .nav.active a:nth-child(5) { animation-delay: .25s; }

  /* Hover — фон + градиентная полоска слева */
  .nav a:hover {
    background: rgba(var(--brand-blue-rgb), 0.06);
    color: var(--brand-blue);
  }

  .nav a:hover::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--brand-blue), var(--brand-teal));
  }

  /* бургер */
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 26px;
    height: 20px;
    gap: 4px;
    cursor: pointer;
  }

  .burger span {
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: var(--brand-blue);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-inner {
    padding: 10px 0;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .footer-inner {
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    align-items: center;
  }

  .contacts a {
    justify-content: center;
  }

  .social a {
    justify-content: center;
  }
}

/* совсем маленькие телефоны */
@media (max-width: 480px) {
  .hero {
    padding: 64px 0 56px;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-kpi {
    max-width: 100%;
  }

  .requirements-card {
    padding: 22px 18px 20px;
  }

  .step {
    width: 100%;
    padding: 24px 20px 22px;
  }
}


/* ==========================
   Телефон В ШАПКЕ (отдельный класс)
   ========================== */
.header-call,
.header-call:link,
.header-call:visited {
  color: var(--brand-blue) !important;
  font-weight: 700;
  text-decoration: none !important;
}

/* hover именно для телефона в шапке */
.header-call:hover {
  color: var(--brand-blue-soft) !important;
  transform: translateY(-1px);
}



/* ==========================
   АНИМАЦИИ
   ========================== */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
