/* ==========================================================================
   Elvo — тёмная технологичная тема
   Фон #0E1014 · Карточки #171A21 · Рамки #262B36
   Текст #F2F4F7 / #9AA3B2 · Акцент #2EE6A8 (hover #6FF0C4) · Фиолетовый #8B7CFF
   Заголовки: Unbounded · Текст: Golos Text
   ========================================================================== */

:root {
  --bg: #0E1014;
  --card: #171A21;
  --card-2: #1E232D;
  --border: #262B36;
  --text: #F2F4F7;
  --muted: #9AA3B2;
  --accent: #2EE6A8;
  --accent-hover: #6FF0C4;
  --violet: #8B7CFF;
  --radius: 18px;
  --radius-sm: 12px;
  --font-head: 'Unbounded', 'Golos Text', system-ui, sans-serif;
  --font-body: 'Golos Text', system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

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

/* атрибут hidden всегда сильнее любых display-правил */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

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

.icon {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Кнопки-«таблетки» ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px; font-weight: 600;
  line-height: 1.2;
  border: 1.5px solid transparent;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease, box-shadow .25s ease;
}
.btn:active { transform: translateY(1px); }

.btn--accent {
  background: var(--accent);
  color: #06251A;
}
.btn--accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 28px rgba(46, 230, 168, .25);
}

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

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
}
.btn--ghost:hover { color: var(--text); }

.btn--sm { padding: 10px 22px; font-size: 14.5px; }

/* ---------- Секции ---------- */
.section { padding: 96px 0; position: relative; }

.section__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}
.section__title--left { text-align: left; }

.section__lead {
  color: var(--muted);
  max-width: 560px;
  margin: -28px 0 36px;
}

/* ==========================================================================
   1. Шапка — закреплена, орнамент фоном
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(14, 16, 20, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.header.is-scrolled { border-bottom-color: var(--border); background: rgba(14, 16, 20, .95); }

/* тонкий кыргызский орнамент «кочкор мүйүз» фоном шапки */
.header::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../assets/pattern-ornament.svg") repeat-x center 65%;
  opacity: .35;
  pointer-events: none;
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.header__logo { display: inline-flex; align-items: center; gap: 12px; }
.header__logo-mark { border-radius: 9px; }
.header__logo-word { color: var(--text); }

.header__menu { display: flex; gap: 28px; }
.header__menu a {
  font-size: 15px; font-weight: 500;
  color: var(--muted);
  transition: color .2s ease;
  position: relative;
}
.header__menu a:hover { color: var(--text); }
.header__menu a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 2px; border-radius: 2px;
  background: var(--accent);
  transition: right .25s ease;
}
.header__menu a:hover::after { right: 0; }

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

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(23, 26, 33, .6);
}
.lang-switch__btn {
  border: 0; background: transparent;
  color: var(--muted);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .04em;
  padding: 6px 12px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.lang-switch__btn:hover { color: var(--text); }
.lang-switch__btn.is-active { background: var(--accent); color: #06251A; }

.header__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  align-items: center; justify-content: center;
}
.header__burger .icon--close { display: none; }
.header__burger.is-open .icon--close { display: block; }
.header__burger.is-open .icon:not(.icon--close) { display: none; }

/* ==========================================================================
   2–3. Первый экран + строка счётчиков
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 110px;
  overflow: clip;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }

/* анимированная сетка */
.hero__grid {
  position: absolute; inset: -60px;
  background-image:
    linear-gradient(rgba(46, 230, 168, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 230, 168, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 35%, transparent 78%);
  animation: grid-move 26s linear infinite;
}
@keyframes grid-move {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(56px, 56px, 0); }
}

.hero__glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .32; }
.hero__glow--mint { width: 560px; height: 560px; right: -140px; top: -180px; background: var(--accent); }
.hero__glow--violet { width: 520px; height: 520px; left: -160px; bottom: -220px; background: var(--violet); }

.hero__inner { position: relative; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  font-size: 14px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  padding: 9px 18px;
  border: 1px solid rgba(46, 230, 168, .35);
  border-radius: 999px;
  background: rgba(46, 230, 168, .07);
  margin-bottom: 32px;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 5.4vw, 62px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  max-width: 1080px;
  margin-bottom: 26px;
}
.hero__title .grad {
  background: linear-gradient(92deg, var(--accent) 5%, var(--violet) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  max-width: 680px;
  margin-bottom: 40px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 72px; }

/* цифры — строка счётчиков */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat__label { color: var(--muted); font-size: 15.5px; }

/* ==========================================================================
   4. Что мы делаем
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
}
.about__lead {
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.6;
  color: var(--text);
}
.about__cycle { display: flex; flex-wrap: wrap; gap: 12px; }
.about__cycle li {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  font-size: 15px; font-weight: 500;
  color: var(--muted);
  transition: border-color .25s ease, color .25s ease;
}
.about__cycle li:hover { border-color: var(--accent); color: var(--text); }

/* ==========================================================================
   5. Что получает бизнес — 5 карточек
   ========================================================================== */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color .25s ease, transform .25s ease;
}
.benefit:hover { border-color: rgba(46, 230, 168, .5); transform: translateY(-3px); }
.benefit:nth-child(4), .benefit:nth-child(5) { grid-column: span 1; }
.benefits__grid .benefit:last-child { grid-column: 2 / 3; }

.benefit__icon, .ind__icon, .why__icon, .team__icon, .acc__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(46, 230, 168, .14), rgba(139, 124, 255, .14));
  border: 1px solid rgba(46, 230, 168, .25);
  color: var(--accent);
  margin-bottom: 20px;
}
.benefit h3, .ind h3, .why__item h3 {
  font-family: var(--font-head);
  font-size: 17px; font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}
.benefit p, .ind p, .why__item p { color: var(--muted); font-size: 15.5px; }

/* ==========================================================================
   6. Услуги — крупные строки-аккордеоны
   ========================================================================== */
.acc__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .25s ease;
}
.acc__item.is-open { border-color: rgba(46, 230, 168, .45); }

.acc__head {
  width: 100%;
  display: flex; align-items: center; gap: 20px;
  background: transparent; border: 0;
  color: var(--text);
  padding: 26px 28px;
  text-align: left;
}
.acc__title {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 600;
  flex: 1;
}
.acc__chevron { color: var(--muted); transition: transform .3s ease, color .3s ease; }
.acc__item.is-open .acc__chevron { transform: rotate(180deg); color: var(--accent); }

.acc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.acc__content { overflow: hidden; }
.acc__item.is-open .acc__content { padding: 0 28px 28px; }

.acc__list { margin-bottom: 22px; }
.acc__list li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: var(--muted);
  font-size: 16px;
}
.acc__list li::before {
  content: "";
  position: absolute; left: 4px; top: 17px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  border-radius: 2px;
}

/* ==========================================================================
   7. Процесс — горизонтальная лента с линией прогресса
   ========================================================================== */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  counter-reset: step;
}
/* базовая линия */
.steps::before {
  content: "";
  position: absolute;
  top: 27px; left: 12px; right: 12px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
}
/* линия прогресса */
.steps::after {
  content: "";
  position: absolute;
  top: 27px; left: 12px;
  width: var(--progress, 0%);
  max-width: calc(100% - 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  border-radius: 2px;
  transition: width 1.4s cubic-bezier(.22, .8, .3, 1);
}
.step { position: relative; padding-top: 66px; }
.step__num {
  position: absolute; top: 0; left: 0;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
  font-family: var(--font-head);
  font-size: 15px; font-weight: 600;
  color: var(--muted);
  transition: border-color .4s ease, color .4s ease, box-shadow .4s ease;
}
.step.is-passed .step__num {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 6px rgba(46, 230, 168, .08);
}
.step__title {
  font-family: var(--font-head);
  font-size: 15.5px; font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}
.step__text { color: var(--muted); font-size: 14.5px; }

/* ==========================================================================
   8. Кто мы
   ========================================================================== */
.team__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: start;
}
.team__icon { margin-bottom: 0; width: 64px; height: 64px; border-radius: 19px; }
.team__icon .icon { width: 30px; height: 30px; }
.team__text p { color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.7; }
.team__text p + p { margin-top: 18px; }
.team__text p:first-child { color: var(--text); }

/* ==========================================================================
   9. Кейсы — большие карточки с обложкой
   ========================================================================== */
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.case {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .25s ease, transform .25s ease;
}
.case:hover { border-color: rgba(139, 124, 255, .45); transform: translateY(-3px); }

.case__cover { padding: 14px 14px 0; background: linear-gradient(180deg, var(--card-2), var(--card)); }
.case__mock { width: 100%; height: auto; border-radius: 10px; }

.case__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.case__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet);
  border: 1px solid rgba(139, 124, 255, .4);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.case__title {
  font-family: var(--font-head);
  font-size: 17px; font-weight: 600;
  line-height: 1.4;
  margin-bottom: 16px;
}

.case__toggle {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  background: transparent; border: 0;
  color: var(--accent);
  font-size: 15px; font-weight: 600;
  padding: 4px 0;
  margin-top: auto;
}
.case__toggle .icon { transition: transform .3s ease; }
.case__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.case__details {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .4s ease;
}
.case__toggle[aria-expanded="true"] ~ .case__details { grid-template-rows: 1fr; }
.case__details-inner {
  overflow: hidden; min-height: 0;
  display: grid; gap: 16px; padding-top: 0;
  transition: padding-top .4s ease;
}
.case__toggle[aria-expanded="true"] ~ .case__details .case__details-inner { padding-top: 18px; }
.case__col h4 {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.case__col p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ==========================================================================
   10. Индустрии
   ========================================================================== */
.ind__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .25s ease, transform .25s ease;
}
.ind:hover { border-color: rgba(46, 230, 168, .5); transform: translateY(-3px); }

/* ==========================================================================
   11. Почему с нами
   ========================================================================== */
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  align-items: start;
  transition: border-color .25s ease;
}
.why__item:hover { border-color: rgba(46, 230, 168, .5); }
.why__item .why__icon { margin-bottom: 0; }

/* ==========================================================================
   12. Технологии — бегущая лента
   ========================================================================== */
.section--tech { padding-bottom: 80px; }
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.chip {
  font-family: var(--font-head);
  font-size: 17px; font-weight: 500;
  color: var(--muted);
  padding: 16px 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  white-space: nowrap;
  transition: color .25s ease, border-color .25s ease;
}
.chip:hover { color: var(--accent); border-color: rgba(46, 230, 168, .5); }

/* ==========================================================================
   13. Карьера
   ========================================================================== */
.career__card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(139, 124, 255, .12) 0%, transparent 55%),
    radial-gradient(120% 160% at 0% 100%, rgba(46, 230, 168, .1) 0%, transparent 55%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 48px;
}
.career__info .section__title { margin-bottom: 24px; }
.career__info > p { color: var(--muted); max-width: 640px; font-size: 17.5px; }
.career__format { margin-top: 10px; color: var(--text) !important; font-weight: 500; }
.career__roles { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.role {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(14, 16, 20, .5);
  font-size: 14.5px;
  font-style: normal;
  color: var(--muted);
}
.role .icon { width: 17px; height: 17px; color: var(--accent); }

/* ==========================================================================
   14–15. FAQ + контакты + форма
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact__info { margin-bottom: 36px; }
.contact__email-label, .contact__addr-label {
  font-size: 13px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact__email-img {
  display: inline-block;
  color: var(--text);
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}
.contact__email-img:hover { border-bottom-color: var(--accent); }
.contact__addr-img { display: inline-block; color: var(--muted); margin-bottom: 20px; }

.contact__hours {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted);
  margin-top: 14px;
  font-size: 15.5px;
}
.contact__hours .icon { width: 19px; height: 19px; color: var(--accent); }

/* FAQ аккордеон */
.faq__title {
  font-family: var(--font-head);
  font-size: 21px; font-weight: 600;
  margin-bottom: 18px;
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color .25s ease;
}
.faq__item.is-open { border-color: rgba(46, 230, 168, .45); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  background: transparent; border: 0;
  color: var(--text);
  text-align: left;
  font-size: 16px; font-weight: 500;
  padding: 18px 20px;
}
.faq__q span { flex: 1; }
.faq__q .icon { color: var(--muted); transition: transform .3s ease, color .3s ease; }
.faq__item.is-open .faq__q .icon { transform: rotate(180deg); color: var(--accent); }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > p { overflow: hidden; color: var(--muted); font-size: 15px; padding: 0 20px; }
.faq__item.is-open .faq__a > p { padding: 0 20px 18px; }

/* Форма — светлая карточка */
.form {
  background: #F2F4F7;
  color: #1B212E;
  border-radius: 22px;
  padding: 36px 34px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.form__title {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 600;
  color: #141925;
  margin-bottom: 24px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { margin-bottom: 16px; display: flex; flex-direction: column; }
.form__field label { font-size: 13.5px; font-weight: 600; color: #3D4759; margin-bottom: 7px; }
.form__hint { font-weight: 400; color: #8B94A6; }

.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%;
  border: 1.5px solid #D6DCE6;
  border-radius: 13px;
  background: #FFFFFF;
  color: #141925;
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: #2EE6A8;
  box-shadow: 0 0 0 3px rgba(46, 230, 168, .25);
}
.form textarea { resize: vertical; min-height: 92px; }

.form__phone { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.form__phone select { padding-left: 8px; }

.form__file {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px dashed #C2CAD8;
  border-radius: 13px;
  padding: 13px 14px;
  cursor: pointer;
  color: #525D70;
  font-size: 14.5px;
  transition: border-color .2s ease, color .2s ease;
}
.form__file:hover { border-color: #2EE6A8; color: #141925; }
.form__file .icon { width: 19px; height: 19px; color: #12B583; }
.form__file input { display: none; }

.form__hp {
  position: absolute !important;
  left: -9999px; top: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__field--consent { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.form__check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #3D4759; cursor: pointer; }
.form__check input { width: 19px; height: 19px; accent-color: #12B583; cursor: pointer; }
.form__policy { font-size: 14px; color: #12B583; font-weight: 600; }
.form__policy:hover { text-decoration: underline; }

.form__error { color: #C0392B; font-size: 14px; margin: -6px 0 14px; }
.form__file-error { color: #C0392B; font-size: 13.5px; margin-top: 7px; }

.form__submit { width: 100%; margin-top: 8px; background: #0E1014; color: #F2F4F7; }
.form__submit:hover { background: #1D222D; box-shadow: 0 10px 26px rgba(14, 16, 20, .3); }

.form__success {
  margin-top: 20px;
  display: flex; align-items: center; gap: 12px;
  background: #DCF7EC;
  border: 1px solid #9BEBCC;
  color: #0B5A3C;
  border-radius: 13px;
  padding: 16px 18px;
  font-weight: 500;
}
.form__success .icon { color: #12B583; }

/* ==========================================================================
   16. Футер
   ========================================================================== */
.footer {
  position: relative;
  border-top: 1px solid var(--border);
  background: #0B0D10;
  padding: 72px 0 36px;
  overflow: clip;
}
.footer__ornament {
  position: absolute; inset: 0;
  background: url("../assets/pattern-ornament.svg") repeat center top;
  opacity: .22;
  pointer-events: none;
}
.footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer__logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer__logo img:first-child { border-radius: 8px; }
.footer__logo .header__logo-word, .footer__logo img[aria-hidden] { color: var(--text); }
.footer__tagline { color: var(--muted); font-size: 15px; max-width: 320px; margin-bottom: 18px; }
.footer__email { color: var(--text); border-bottom: 2px solid transparent; transition: border-color .2s ease; }
.footer__email:hover { border-bottom-color: var(--accent); }

.footer__col h4 {
  font-family: var(--font-head);
  font-size: 14px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul a { color: var(--muted); font-size: 15px; transition: color .2s ease; }
.footer__col ul a:hover { color: var(--accent); }

.footer__reqs { display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.footer__reqs img { height: auto; }

.footer__bottom {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
}
.footer__copy { display: inline-flex; align-items: baseline; gap: 10px; color: var(--muted); font-size: 14.5px; }
.footer__copy-logo { color: var(--text); align-self: center; }
.footer__policy { color: var(--muted); font-size: 14.5px; transition: color .2s ease; }
.footer__policy:hover { color: var(--accent); }

/* ==========================================================================
   Плавающая кнопка + cookie
   ========================================================================== */
.fab {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--card);
  border: 1px solid rgba(46, 230, 168, .4);
  color: var(--accent);
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
  transition: background .25s ease, color .25s ease, transform .2s ease, opacity .3s ease, visibility .3s;
  opacity: 0; visibility: hidden;
}
.fab.is-visible { opacity: 1; visibility: visible; }
.fab:hover { background: var(--accent); color: #06251A; }
.fab .icon { width: 19px; height: 19px; }

.cookie {
  position: fixed;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  z-index: 95;
  width: min(680px, calc(100vw - 32px));
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.cookie__inner {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 24px;
}
.cookie__inner > .icon { color: var(--accent); width: 30px; height: 30px; }
.cookie__inner p { color: var(--muted); font-size: 14.5px; flex: 1; }
.cookie__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ==========================================================================
   Адаптив 320–1920
   ========================================================================== */
@media (max-width: 1080px) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits__grid .benefit:last-child { grid-column: auto; }
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
  .cases__grid .case:last-child { grid-column: 1 / -1; }
  .ind__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }

  .header__nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(11, 13, 16, .98);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
  }
  .header__nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .header__menu { flex-direction: column; gap: 6px; }
  .header__menu a { display: block; font-size: 17px; padding: 12px 8px; }
  .header__menu a::after { display: none; }
  .header__burger { display: inline-flex; }
  .header__actions .btn--sm { display: none; }

  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .team__grid { grid-template-columns: 1fr; gap: 24px; }

  /* процесс — вертикально на телефоне */
  .steps { grid-template-columns: 1fr; gap: 8px; padding-left: 28px; }
  .steps::before, .steps::after {
    top: 12px; bottom: 12px; left: 27px; right: auto;
    width: 2px; height: auto;
    max-width: none;
  }
  .steps::after { max-height: none; height: var(--progress, 0%); width: 2px; }
  .step { padding: 0 0 28px 40px; }
  .step__num { width: 44px; height: 44px; font-size: 13px; }

  .cases__grid { grid-template-columns: 1fr; }
  .cases__grid .case:last-child { grid-column: auto; }
  .career__card { grid-template-columns: 1fr; padding: 34px 26px; }
  .why__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .hero { padding-top: calc(var(--header-h) + 56px); }
  .hero__cta { flex-direction: column; align-items: stretch; margin-bottom: 56px; }
  .hero__cta .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .benefits__grid, .ind__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 28px 22px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__reqs img { max-width: 100%; }
  .fab { right: 16px; bottom: 16px; padding: 12px 18px; }
  .fab span { display: none; }
  .fab .icon { width: 24px; height: 24px; }
  .cookie__inner { flex-direction: column; align-items: flex-start; }
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1; }
  .lang-switch__btn { padding: 6px 9px; font-size: 11.5px; }
}

@media (min-width: 1600px) {
  :root { --container: 1360px; }
}

/* ---------- Уважение к «уменьшить движение» ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .hero__grid { animation: none; }
}

/* ==========================================================================
   Страница политики конфиденциальности
   ========================================================================== */
.page-privacy main { padding-top: calc(var(--header-h) + 48px); }
.privacy__container { max-width: 860px; }
.privacy__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 8px;
}
.privacy__updated { color: var(--muted); font-size: 14.5px; margin-bottom: 40px; }
.privacy__block { margin-bottom: 36px; }
.privacy__block h2 {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 600;
  margin-bottom: 14px;
  color: var(--accent);
}
.privacy__block p { color: var(--muted); margin-bottom: 12px; }
.privacy__block p:first-child { color: var(--text); }
.privacy__list { margin: 0 0 12px 4px; list-style: none; }
.privacy__list li {
  position: relative;
  padding: 5px 0 5px 26px;
  color: var(--muted);
}
.privacy__list li::before {
  content: "";
  position: absolute; left: 4px; top: 14px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  border-radius: 2px;
}
.privacy__operator {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-start;
  margin: 14px 0 18px;
  color: var(--text);
}
.privacy__operator img { max-width: 100%; height: auto; }
.privacy__contact { margin: 6px 0 0; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.privacy__email-img { display: inline-flex; color: var(--text); border-bottom: 2px solid transparent; }
.privacy__email-img:hover { border-bottom-color: var(--accent); }
.privacy__note { font-size: 14.5px; color: var(--muted); font-style: italic; }
.privacy__footer-nav { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 48px; }

@media (max-width: 640px) {
  .page-privacy main { padding-top: calc(var(--header-h) + 24px); }
  .privacy__operator { padding: 18px; }
}

/* ---------- Печать ---------- */
@media print {
  .header, .fab, .cookie { display: none !important; }
  body { background: #fff; color: #111; }
}
