/* ============================================================
   ПАРТНЕР ГРУПП — Corporate Navy / Electric Blue
   Референс: тёмно-синяя подложка, секции-«листы» со скруглениями,
   электрик-синий акцент, контурные мега-заголовки
   Шрифт: Manrope (кириллица, 400–800)
   ============================================================ */

:root {
  --navy:       #0B1524;   /* подложка страницы */
  --navy-2:     #101D33;   /* карточки на тёмном */
  --ink:        #0F1B2D;   /* текст на светлом */
  --blue:       #2B4BEF;   /* акцент */
  --blue-dark:  #1F3BD4;
  --mist:       #E4E9F3;   /* светло-голубой лист */
  --white:      #FFFFFF;
  --muted:      #5B6880;   /* вторичный текст на светлом */
  --muted-dark: #93A0B6;   /* вторичный текст на тёмном */
  --line:       rgba(15, 27, 45, 0.12);
  --line-dark:  rgba(255, 255, 255, 0.14);

  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r-sheet: 28px;
  --r-card: 18px;
  --container: 1240px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: clamp(84px, 12vh, 116px); }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding: clamp(10px, 1.5vw, 18px);
}

::selection { background: var(--blue); color: var(--white); }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

/* ---------- Листы ---------- */
.sheet {
  border-radius: var(--r-sheet);
  overflow: hidden;
}
.sheet + .sheet,
.sheet + .principles,
.principles + .sheet { margin-top: 10px; }

/* Лёгкий градиент: белёсая подсветка по центру, едва голубой тон сверху,
   чуть глубже к низу — на этом фоне «всходит» глобус */
.sheet--hero {
  position: relative;
  background:
    radial-gradient(80% 90% at 50% 18%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(70% 80% at 50% 2%, rgba(43, 75, 239, 0.08) 0%, rgba(43, 75, 239, 0) 60%),
    linear-gradient(178deg, #F2F4FB 0%, var(--mist) 55%, #DBE2F0 100%);
}
.sheet--white {
  background: var(--white);
  padding-block: clamp(70px, 9vw, 130px);
}
.sheet--contact {
  background: var(--mist);
  padding-block: clamp(70px, 9vw, 120px);
}

/* ---------- Типографика ---------- */
.h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.mega {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.mega__blue { color: var(--blue); }
.mega--dark { color: var(--ink); }
.mega--ondark { color: var(--white); }

.stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(15, 27, 45, 0.28);
}
.stroke--light { -webkit-text-stroke-color: rgba(255, 255, 255, 0.32); }
@supports not (-webkit-text-stroke: 1px black) {
  .stroke { color: rgba(15, 27, 45, 0.28); }
  .stroke--light { color: rgba(255, 255, 255, 0.32); }
}

.mega__arrow {
  display: inline-block;
  width: 0.62em; height: 0.62em;
  color: var(--blue);
  vertical-align: baseline;
  margin-left: 0.1em;
}
.mega__arrow--lead { margin-left: 0; margin-right: 0.08em; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 15px 28px;
  white-space: nowrap;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
/* Подъём + тень при наведении, лёгкое «нажатие» при клике */
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.98); }
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active { transform: none; }
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
}
.btn--blue:hover {
  background: var(--blue-dark);
  box-shadow: 0 14px 30px -12px rgba(43, 75, 239, 0.65);
}

.btn--outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.45);
}

.btn--ghost-dark {
  border: 1.5px solid rgba(15, 27, 45, 0.2);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.btn--ghost-dark:hover {
  border-color: var(--ink);
  box-shadow: 0 16px 30px -16px rgba(11, 21, 36, 0.4);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s var(--ease) var(--d, 0s),
    transform 0.8s var(--ease) var(--d, 0s);
}
/* финальное состояние без transform: элемент сходит с GPU-слоя,
   поэтому над шейдером не остаётся тонкой рамки-шва по краю */
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   НАВИГАЦИЯ
   ============================================================ */
.nav {
  position: fixed;
  z-index: 100;
  top: clamp(14px, 2vw, 24px);
  left: clamp(16px, 3vw, 48px);
  right: clamp(16px, 3vw, 48px);
  max-width: calc(var(--container) + 40px);
  margin-inline: auto;
  /* бренд слева, действия справа (space-between); меню — абсолютно по центру
     и вне потока, поэтому смена языка (разная ширина текста) не двигает
     телефон и тумблер: они всегда прижаты к правому краю. */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 20px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 14px 34px -18px rgba(11, 21, 36, 0.35);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.nav__mark {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}
.nav__mark--light { background: var(--white); color: var(--navy); }
.nav__logo { height: 34px; width: auto; display: block; }
.footer__logo { height: 30px; width: auto; display: block; }
.nav__name { white-space: nowrap; }

.nav__links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
}
.nav__links a {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.35s var(--ease);
}
.nav__links a:hover { color: var(--blue); }

.nav__phone {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  white-space: nowrap;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.nav__phone:hover { background: var(--blue); color: var(--white); }
.nav__phone:active { transform: scale(0.97); }

/* Переключатель языка RU/EN */
/* Тумблер языка RU/EN — сегменты + скользящий бегунок */
.lang-switch {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.lang-switch:hover { border-color: rgba(43, 75, 239, 0.5); }
.lang-switch__opt {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  padding: 5px 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.4s var(--ease);
}
.lang-switch__thumb {
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 4px;
  width: 32px;
  height: calc(100% - 8px);
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 6px 14px -7px rgba(43, 75, 239, 0.75);
}
/* анимацию бегунка включаем после загрузки — чтобы не «ехал» при старте */
.lang-switch.ready .lang-switch__thumb { transition: transform 0.42s var(--ease); }
/* активный язык: белая подпись + бегунок под ним */
html[lang="ru"] .lang-switch__opt[data-lang="ru"],
html[lang="en"] .lang-switch__opt[data-lang="en"] { color: var(--white); }
html[lang="en"] .lang-switch__thumb { transform: translateX(32px); }
@media (prefers-reduced-motion: reduce) {
  .lang-switch.ready .lang-switch__thumb { transition: none; }
}

.nav__burger {
  display: none;
  position: relative;
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--navy);
}
.nav__burger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.5s var(--ease);
}
.nav__burger span:nth-child(1) { transform: translate(-50%, calc(-50% - 3.5px)); }
.nav__burger span:nth-child(2) { transform: translate(-50%, calc(-50% + 3.5px)); }
body.menu-open .nav__burger span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- Мобильное меню ---------- */
.menu {
  position: fixed; inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(28px, 8vw, 60px);
  background: rgba(11, 21, 36, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}
body.menu-open .menu { opacity: 1; visibility: visible; }

.menu__links { display: flex; flex-direction: column; gap: 10px; }
.menu__links a {
  font-size: clamp(2rem, 8.5vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--white);
}
.menu__links a,
.menu__foot {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
body.menu-open .menu__links a,
body.menu-open .menu__foot {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.08s + var(--i) * 0.07s);
}
.menu__foot {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--muted-dark);
}
.menu__foot a { color: var(--blue); font-weight: 700; }

/* ============================================================
   HERO — текст слева на полноэкранном шейдерном фоне (Paper Design)
   ============================================================ */

/* Слой 1: WebGL-шейдеры (React-остров монтируется в #hero-shader) */
.hero__shader {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__shader > div,
.hero__shader canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
/* пока шейдер грузится — мягкий световой подмалёвок остаётся фоном (.sheet--hero) */

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(560px, 90vh, 960px);
  max-width: calc(var(--container) + 40px);
  margin-inline: auto;
  padding: clamp(104px, 14vh, 150px) clamp(16px, 3vw, 48px) clamp(48px, 6vw, 80px);
}
.hero__text { max-width: none; }

.hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.026em;
}
.hero__title-accent { color: var(--blue); }

.hero__lead {
  margin-top: clamp(26px, 3vw, 40px);
  max-width: 60ch;
  padding-left: clamp(18px, 1.6vw, 26px);
  border-left: 3px solid var(--blue);
  font-size: clamp(1.08rem, 1.55vw, 1.34rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}
.hero__lead strong { color: var(--ink); font-weight: 800; }

.hero__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Полоса доверия: три факта из практики ---------- */
.hero__facts {
  margin-top: clamp(28px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.fchip {
  border: 1px solid rgba(15, 27, 45, 0.16);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.45);
}
.fchip__t {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.fchip__s {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}

/* ============================================================
   О КОМПАНИИ
   ============================================================ */
.about__head { margin-bottom: clamp(26px, 3.6vw, 50px); }
.about__title { line-height: 0.95; }
.about__body { max-width: none; }
.about__body p {
  font-size: clamp(1.04rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  color: var(--muted);
}
.about__body p + p { margin-top: clamp(16px, 1.8vw, 24px); }
.about__body p:first-child {
  color: var(--ink);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.9vw, 1.58rem);
  line-height: 1.5;
  margin-bottom: clamp(18px, 2vw, 28px);
}

/* ============================================================
   ПРОБЛЕМЫ
   ============================================================ */
.problems__title {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.pcard {
  border: 1.5px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(24px, 2.6vw, 34px);
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pcard:hover {
  border-color: rgba(43, 75, 239, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -28px rgba(11, 21, 36, 0.35);
}
.pcard__num {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 5px 9px;
  margin-bottom: 20px;
}
.pcard__title {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.pcard p { font-size: 15.5px; color: var(--muted); }

/* ============================================================
   УСЛУГИ
   ============================================================ */
.services { margin-top: clamp(80px, 11vw, 150px); }
.services .mega { margin-bottom: clamp(32px, 4.4vw, 52px); }

.dark-panel {
  background: var(--navy);
  border-radius: 24px;
  overflow: hidden;
  color: var(--white);
  padding-block: 8px;
}

.srow { border-bottom: 1px solid var(--line-dark); }
.srow:last-child { border-bottom: none; }

.srow__head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  width: 100%;
  text-align: left;
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 44px);
  color: var(--white);
}
.srow__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--line-dark);
  color: var(--white);
  /* поворот вешаем на сам кружок (HTML-элемент) — Chrome выносит его
     на отдельный GPU-слой, поэтому стрелка крутится плавно и не зависит
     от пересчёта высоты панели. Круг симметричный — вращение незаметно. */
  transform: translateZ(0);
  will-change: transform;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease),
              color 0.45s var(--ease), transform 0.5s cubic-bezier(0.45, 0, 0.2, 1);
}
.srow__icon svg { width: 15px; height: 15px; }
.srow__title {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.srow__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-dark);
}

.srow__head:hover .srow__icon { border-color: var(--blue); color: var(--blue); }
.srow.is-open .srow__icon {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: rotate(45deg) translateZ(0);
}

.srow__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}
.srow.is-open .srow__body { grid-template-rows: 1fr; }
.srow__body > .srow__list { overflow: hidden; }

.srow__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 36px;
  padding: 0 clamp(20px, 3vw, 44px) 0 calc(64px + clamp(20px, 3vw, 44px) + clamp(16px, 2.4vw, 36px));
}
.srow.is-open .srow__list { padding-bottom: clamp(26px, 3vw, 38px); }
.srow__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted-dark);
}
.srow__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

/* CTA-полоса */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  background: var(--blue);
  padding: clamp(22px, 2.8vw, 30px) clamp(20px, 3vw, 44px);
}
.cta-band__title {
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.cta-band__right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cta-band__note {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   ПОДХОД
   ============================================================ */
.approach {
  margin-top: clamp(80px, 11vw, 150px);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.approach__head { position: sticky; top: 32px; }
.approach__lead {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.approach__lead strong { color: var(--blue); font-weight: 700; }
.approach__body > p:not(.approach__lead) {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 62ch;
}

/* ============================================================
   ПРИНЦИПЫ (на тёмной подложке)
   ============================================================ */
.principles { padding-block: clamp(80px, 11vw, 150px); }
.principles .mega { margin-bottom: clamp(36px, 5vw, 60px); }

.principles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.prcard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 38px;
  min-height: 280px;
  border-radius: var(--r-card);
  border: 1px solid var(--line-dark);
  background: var(--navy-2);
  padding: clamp(26px, 2.8vw, 36px);
  color: var(--white);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.prcard:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.3); }
.prcard--blue {
  background: var(--blue);
  border-color: var(--blue);
}
.prcard--blue:hover { border-color: var(--blue); }
.prcard__text {
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}
.prcard__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.prcard--blue .prcard__tag { color: rgba(255, 255, 255, 0.75); }

/* ============================================================
   КОНТАКТЫ
   ============================================================ */
.contacts .mega { margin-bottom: clamp(8px, 1vw, 16px); }
.contacts .contact__rows { max-width: 560px; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.contact__lead {
  margin-top: 22px;
  max-width: 48ch;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--muted);
}

.contact__rows {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
}
.contact__rows li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16.5px;
  font-weight: 600;
}
.contact__rows li:first-child { border-top: 1px solid var(--line); }
.contact__rows a { transition: color 0.35s var(--ease); }
.contact__rows a:hover { color: var(--blue); }
.contact__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  flex-shrink: 0;
}
.contact__icon svg { width: 17px; height: 17px; }

.contact__card {
  background: var(--white);
  border-radius: 22px;
  padding: clamp(28px, 3.4vw, 44px);
  box-shadow: 0 30px 60px -38px rgba(11, 21, 36, 0.45);
}
.contact__card-title {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.contact__card-text {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--muted);
}
.contact__form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact__form input {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.35s var(--ease);
}
.contact__form input:focus { border-color: var(--blue); }
.contact__form .btn { width: 100%; }

/* форма: сообщение об успехе */
.form-ok {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
}

/* ============================================================
   ФУТЕР
   ============================================================ */
.footer { padding: clamp(28px, 4vw, 44px) 0 clamp(18px, 3vw, 30px); }
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-dark);
  font-size: 13.5px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1080px) {
  .srow__head { grid-template-columns: 52px minmax(0, 1fr); }
  .srow__desc { grid-column: 2; }
  .srow__list {
    grid-template-columns: 1fr;
    padding-left: calc(52px + clamp(20px, 3vw, 44px) + clamp(16px, 2.4vw, 36px));
  }
}

@media (max-width: 960px) {
  .problems__grid,
  .principles__grid { grid-template-columns: 1fr; }
  .prcard { min-height: 0; gap: 26px; }
  .approach { grid-template-columns: 1fr; }
  .approach__head { position: static; }
  .about__body { columns: 1; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: block; }
}

@media (max-width: 760px) {
  .hero {
    min-height: 72vh;
    padding-top: 100px;
    padding-bottom: 48px;
  }
  .hero__eyebrow { margin-bottom: 22px; }
  .hero__lead { margin-top: 26px; }
  .hero__actions { margin-top: 38px; }
  .hero__actions .btn { flex: 1; }
  .hero__facts {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 40px;
  }
  .fchip { padding: 16px 18px; }

  /* больше воздуха на телефоне: шире боковые поля и просторнее секции */
  .container { padding-inline: 24px; }
  .sheet--white { padding-block: 92px; }
  .sheet--contact { padding-block: 88px; }
  .principles { padding-block: 96px; }
  .services, .approach { margin-top: 100px; }

  .srow__head { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .srow__icon { width: 38px; height: 38px; }
  .srow__head { padding-block: 28px; }
  .srow__list { padding-left: clamp(20px, 3vw, 44px); }

  /* «Бесплатная консультация» — по центру на телефоне */
  .cta-band {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding-block: 40px;
  }
  .cta-band__title { text-align: center; width: 100%; }
  .cta-band__right {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .cta-band__note { text-align: center; width: 100%; }

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