/* ============================================================
   Технопарк · IP-телефония — главная страница
   ============================================================ */

/* ---------- База ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--sky-2);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--brand-700);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Раскладка ---------- */
.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  padding: 48px 0 96px;
}

section[id] {
  scroll-margin-top: 88px;
}

.section--tint {
  background: var(--sky-3);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}

.section-head h2 {
  max-width: 760px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.1vw, 40px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-head__aside {
  max-width: 390px;
  padding-bottom: 4px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.section-head__aside .btn {
  margin-top: 18px;
}

.nowrap {
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

/* ---------- Кнопки и ссылки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), color var(--dur) var(--ease),
    transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--primary {
  background: var(--brand-700);
  color: #fff;
  box-shadow: 0 1px 2px rgba(3, 80, 111, 0.2),
    0 10px 24px -14px rgba(3, 80, 111, 0.55);
}

.btn--primary:hover {
  background: var(--brand-800);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(3, 80, 111, 0.2),
    0 16px 30px -14px rgba(3, 80, 111, 0.55);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: var(--surface);
  border-color: var(--line-2);
  color: var(--ink);
}

.btn--secondary:hover {
  border-color: var(--brand);
  color: var(--brand-700);
  transform: translateY(-1px);
}

.btn--ghost {
  min-height: 44px;
  padding: 0 18px;
  border-color: var(--line-2);
  background: transparent;
  font-size: 14px;
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-700);
  background: var(--surface);
}

.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  border-radius: 10px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-700);
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease);
}

.link-arrow:hover svg {
  transform: translate(2px, -2px);
}

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.logo__mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.logo__sub {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 10px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.nav a:hover {
  color: var(--brand-700);
  background: var(--sky);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.header__cabinet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}

.header__cabinet svg {
  width: 17px;
  height: 17px;
}

.header__cabinet:hover {
  color: var(--brand-700);
}

.header__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: right;
}

.header__phone-label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.header__phone-num {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.header__phone:hover .header__phone-num {
  color: var(--brand-700);
}

.header__icon-call {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
  color: var(--brand-700);
}

.header__icon-call svg {
  width: 20px;
  height: 20px;
}

.header__icon-call:hover {
  border-color: var(--brand);
  background: var(--sky);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: 8px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.menu-toggle .icon-close {
  display: none;
}

body.menu-open .menu-toggle .icon-menu {
  display: none;
}

body.menu-open .menu-toggle .icon-close {
  display: block;
}

.mobile-menu {
  display: none;
}

/* ---------- Первый экран ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      900px 560px at 86% 6%,
      #ddf1fb 0%,
      rgba(221, 241, 251, 0) 64%
    ),
    linear-gradient(180deg, #f2fafe 0%, #fbfdfe 66%, #ffffff 100%);
}

.hero__arcs {
  position: absolute;
  top: -240px;
  right: -210px;
  width: 820px;
  height: 820px;
  color: var(--brand);
  opacity: 0.16;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding: 66px 0 78px;
}

.hero__copy {
  max-width: 620px;
}

.hero h1 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.45vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero h1 .accent {
  color: var(--brand-700);
}

.hero__lead {
  max-width: 540px;
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.62;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.hero__call {
  display: block;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}

.hero__call-group {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  max-width: 100%;
  white-space: nowrap;
}

.hero__call-note {
  font-size: 13px;
  color: var(--muted);
}

.hero__call a {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--line-2);
  transition: color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.hero__call a:hover {
  color: var(--brand-700);
  border-color: var(--brand);
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
}

.hero__point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

.hero__point svg {
  width: 17px;
  height: 17px;
  color: var(--brand-700);
}

/* Панель звонков */
.hero__visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 470px;
}

.callcard {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid #d3e6f0;
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  animation: rise 560ms var(--ease) both;
}

.callcard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfdff;
}

.callcard__live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(23, 138, 99, 0.13);
}

.callcard__num {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 6px;
  background: var(--sky);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-700);
  white-space: nowrap;
}

.callcard__body {
  padding: 22px 22px 16px;
}

.kpi {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.kpi__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.kpi__value {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.kpi__unit {
  margin-left: 6px;
  font-family: var(--font-text);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--success-soft);
  font-size: 11px;
  font-weight: 600;
  color: #12704f;
  white-space: nowrap;
}

.delta svg {
  width: 12px;
  height: 12px;
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 92px;
  margin-top: 20px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
}

.bar {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #93d8ef 0%, #34b0d9 100%);
  transform-origin: bottom;
  animation: barGrow 700ms var(--ease) both;
  animation-delay: var(--d, 0ms);
}

.bar--peak {
  background: linear-gradient(180deg, #0799cd 0%, #046b94 100%);
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-size: 10px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.queue {
  margin-top: 16px;
}

.queue__head {
  display: flex;
  justify-content: space-between;
  padding: 8px 0 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.call-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #eef5f9;
}

.call-row:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--sky);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-700);
}

.avatar--mint {
  background: var(--success-soft);
  color: #12704f;
}

.avatar--sand {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.call-row__main {
  min-width: 0;
}

.call-row__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.call-row__meta {
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}

.pill {
  flex: none;
  margin-left: auto;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.pill--talk {
  background: var(--success-soft);
  color: #12704f;
}

.pill--wait {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.pill--ivr {
  background: var(--sky);
  color: var(--brand-700);
}

.call-row__time {
  flex: none;
  width: 38px;
  text-align: right;
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.callcard__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 18px;
  border-top: 1px solid var(--line);
  background: #fbfdff;
  font-size: 11px;
  color: var(--muted);
}

.callcard__bottom strong {
  font-weight: 600;
  color: var(--ink-2);
}

.callcard__bottom span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.callcard__bottom svg {
  width: 13px;
  height: 13px;
  color: var(--success);
}


/* ---------- Полоса фактов ---------- */
.facts {
  border-block: 1px solid #e3f1f8;
  background: var(--sky-3);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 22px 0;
}

.fact {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 2px 26px;
  border-left: 1px solid #d9eaf4;
}

.fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: 1px;
  border: 1px solid #d7eaf4;
  border-radius: 10px;
  background: var(--surface);
  color: var(--brand-700);
}

.fact__icon svg {
  width: 18px;
  height: 18px;
}

.fact__value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}

.fact__value em {
  font-style: normal;
  color: var(--brand-700);
}

.fact__label {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.fact__label a {
  color: var(--brand-700);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--dur) var(--ease);
}

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

/* ---------- Услуги ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 44px;
}

.service {
  position: relative;
  padding: 24px 38px 28px 0;
  border-top: 1px solid var(--line);
}

.service__num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-700);
  font-variant-numeric: tabular-nums;
  transition: color var(--dur) var(--ease);
}

.service h3 {
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.service h3 a {
  transition: color var(--dur) var(--ease);
}

.service h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
}

.service p {
  max-width: 32ch;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.service__arrow {
  position: absolute;
  pointer-events: none;
  top: 26px;
  right: 12px;
  width: 18px;
  height: 18px;
  color: var(--brand-700);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.service:hover .service__arrow,
.service:focus-within .service__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.service:hover h3 a,
.service:focus-within h3 a {
  color: var(--brand-700);
}

.service:hover .service__num {
  color: var(--brand-700);
}

.services__note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  padding: 22px 24px;
  border: 1px solid #cfe7f3;
  border-radius: 16px;
  background: linear-gradient(180deg, #f5fbfe 0%, #eaf6fc 100%);
}

.services__note-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid #d7eaf4;
  border-radius: 12px;
  background: var(--surface);
  color: var(--brand-700);
}

.services__note-icon svg {
  width: 22px;
  height: 22px;
}

.services__note-text {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}

.services__note-text strong {
  font-weight: 600;
  color: var(--ink);
}

.services__note .btn {
  flex: none;
  margin-left: auto;
}

/* ---------- Оборудование ---------- */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.equip {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.equip:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
}

.equip__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 9px;
  background: #f6fbfe;
}

.equip__media img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 300ms var(--ease);
}

.equip:hover .equip__media img {
  transform: scale(1.04);
}

.equip h3 {
  margin-top: 12px;
  font-family: var(--font-text);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.equip:hover h3 {
  color: var(--brand-700);
}

/* ---------- Клиенты ---------- */
.clients {
  background: var(--sky-3);
  border-block: 1px solid #e3f1f8;
}

.clients .section-head {
  margin-bottom: 36px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px 12px;
}

.logo-cell {
  display: grid;
  place-items: center;
  height: 108px;
  padding: 12px;
}

.logo-cell img {
  max-width: 148px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(0.92);
  opacity: 0.78;
  mix-blend-mode: multiply;
  transition: filter var(--dur) var(--ease),
    opacity var(--dur) var(--ease);
}

.logo-cell:hover img {
  filter: none;
  opacity: 1;
}

.clients__note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Преимущества ---------- */
.advantages__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.advantages__intro {
  position: sticky;
  top: 104px;
}

.advantages__intro h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.1vw, 40px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.advantages__intro > p {
  max-width: 430px;
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--muted);
}

.adv-stat {
  max-width: 360px;
  margin-top: 30px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--sky);
}

.adv-stat__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.adv-stat__value {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--brand-700);
}

.adv-stat__cap {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

.benefits {
  display: flex;
  flex-direction: column;
}

.benefit {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.benefit:first-child {
  padding-top: 0;
  border-top: 0;
}

.benefit__num {
  padding-top: 2px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-700);
  font-variant-numeric: tabular-nums;
}

.benefit__title {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.008em;
  color: var(--ink);
}

.benefit__text {
  max-width: 560px;
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--muted);
}

.adv-note {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 6vw, 88px);
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.adv-note p {
  grid-column: 2;
  max-width: 620px;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--ink-2);
}

/* ---------- Подключение / форма ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf7fd 0%, #ddf1fb 100%);
}

.cta__arcs {
  position: absolute;
  left: -260px;
  bottom: -320px;
  width: 720px;
  height: 720px;
  color: var(--brand);
  opacity: 0.14;
  pointer-events: none;
}

.cta__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
  padding: 39px 0 78px;
}

.cta h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.cta__lead {
  max-width: 480px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-ink);
}

.promo-badge svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.cta__checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.cta__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.cta__check svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  color: var(--brand-700);
}

.cta__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #cbe5f2;
}

.cta__contact-label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.cta__contact-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.cta__contact-value svg {
  width: 15px;
  height: 15px;
  color: var(--brand-700);
}

a.cta__contact-value:hover {
  color: var(--brand-700);
}

/* Форма */
.form-card {
  padding: 28px;
  border: 1px solid #d3e6f0;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-2);
}

.form-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.form-card__sub {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

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

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

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fbfdff;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field input:hover,
.field textarea:hover {
  border-color: #a9c5d4;
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #b42318;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(7, 153, 205, 0.16);
}

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

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.consent input {
  width: 16px;
  height: 16px;
  flex: none;
  margin: 2px 0 0;
  accent-color: var(--brand-700);
}

.consent a {
  color: var(--brand-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form .btn {
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
}

.form__note {
  margin-top: 2px;
  font-size: 11.5px;
  text-align: center;
  color: var(--muted);
}

.form-success {
  display: none;
  padding: 22px 4px;
  text-align: center;
}

.form-card.is-sent .form,
.form-card.is-sent .form-card__sub {
  display: none;
}

.form-card.is-sent .form-success {
  display: block;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
}

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

.form-success__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.form-success p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Подвал ---------- */
.footer {
  background: #0a1e2c;
  color: var(--on-dark);
}

.footer__main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.05fr 1.15fr;
  gap: 32px;
  padding: 60px 0 44px;
}

.footer__brand .logo__mark {
  width: 42px;
  height: 42px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer__brand .logo__name {
  color: #fff;
}

.footer__brand .logo__sub {
  color: var(--on-dark-muted);
}

.footer__desc {
  max-width: 260px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--on-dark-muted);
}

.footer__phone {
  display: block;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.footer__phone:hover {
  color: #9ed9ef;
}

.footer__phone-label {
  margin-top: 2px;
  font-size: 11px;
  color: var(--on-dark-muted);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__contact > a,
.footer__contact > span {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--on-dark);
  transition: color var(--dur) var(--ease);
}

.footer__contact > a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__contact svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
  color: #7fc4e0;
}

.footer h4,
.footer .footer__heading {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fb3c8;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--on-dark);
  transition: color var(--dur) var(--ease);
}

.footer__links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 12px;
  color: var(--on-dark-muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer__legal a {
  transition: color var(--dur) var(--ease);
}

.footer__legal a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Анимации ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes barGrow {
  from {
    transform: scaleY(0.12);
    opacity: 0.4;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) {
  .header__cabinet {
    display: none;
  }

  .header__inner {
    gap: 18px;
  }

  .nav {
    margin-left: 0;
  }

  .nav a {
    padding: 8px 9px;
    font-size: 13.5px;
  }
}

@media (max-width: 1120px) {
  :root {
    --gutter: 24px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(38px, 4.8vw, 50px);
  }


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

  .equip__media img {
    width: 74%;
    height: 74%;
  }

  .equip h3 {
    font-size: 15.5px;
  }

  .logo-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .nav,
  .header__phone,
  .header__cabinet {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header__actions {
    gap: 10px;
  }

  .mobile-menu {
    position: fixed;
    inset: 77px 0 0;
    z-index: 70;
    display: block;
    padding: 24px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--surface);
    border-top: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease),
      transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
  }

  body.menu-open .mobile-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu__nav a {
    padding: 15px 0;
    border-top: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  .mobile-menu__nav a:first-child {
    border-top: 0;
  }

  .mobile-menu__phone {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 24px;
  }

  .mobile-menu__phone span {
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .mobile-menu__phone a {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .mobile-menu .btn {
    width: 100%;
    margin-top: 18px;
  }

  .mobile-menu__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 24px;
    font-size: 12px;
    color: var(--muted);
  }
}

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

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    padding: 52px 0 64px;
  }

  .hero__copy {
    max-width: 640px;
  }

  .hero h1 {
    font-size: clamp(38px, 6.4vw, 54px);
  }

  .hero__visual {
    justify-self: start;
    max-width: 520px;
  }


  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 36px;
  }

  .section-head__aside {
    max-width: 560px;
  }

  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
  }

  .advantages__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .advantages__intro {
    position: static;
  }

  .advantages__intro > p {
    max-width: 620px;
  }

  .adv-stat {
    max-width: 420px;
  }

  .adv-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 36px;
  }

  .adv-note p {
    grid-column: auto;
  }

  .cta__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: 32px 0 64px;
  }

  .form-card {
    max-width: 520px;
  }

  .footer__main {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px 28px;
    padding: 48px 0 36px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .facts__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
    padding: 22px 0;
  }

  .fact {
    padding: 2px 20px;
  }

  .fact:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .fact__value {
    font-size: 28px;
  }

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

  .equip__media img {
    width: 82%;
    height: 82%;
  }

  .logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .logo-cell {
    height: 84px;
  }

  .logo-cell img {
    max-width: 110px;
    max-height: 40px;
  }
}

@media (max-width: 560px) {
  .section-head h2,
  .advantages__intro h2,
  .cta h2 {
    font-size: clamp(27px, 7.1vw, 34px);
  }

  section[id] {
    scroll-margin-top: 80px;
  }

  :root {
    --gutter: 16px;
  }

  .section {
    padding: 28px 0 56px;
  }

  .header__inner {
    height: 68px;
  }

  .logo__mark {
    width: 34px;
    height: 34px;
  }

  .logo__name {
    font-size: 15.5px;
  }

  .logo__sub {
    font-size: 9px;
  }

  .header__actions .btn {
    display: none;
  }

  .header__icon-call {
    display: inline-flex;
  }

  .mobile-menu {
    inset: 69px 0 0;
  }

  .hero__inner {
    padding: 40px 0 52px;
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(31px, 8.2vw, 40px);
    margin-top: 16px;
  }

  .hero__lead {
    font-size: 15.5px;
    margin-top: 16px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__points {
    gap: 8px 16px;
  }

  .hero__point {
    font-size: 12.5px;
  }

  .callcard__body {
    padding: 18px 16px 14px;
  }

  .kpi__value {
    font-size: 40px;
  }

  .chart {
    height: 78px;
    margin-top: 16px;
  }


  .service {
    padding-right: 30px;
  }

  .service__arrow {
    right: 0;
  }

  .services__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service h3 {
    font-size: 18px;
  }

  .services__note {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
  }

  .services__note-icon {
    width: 38px;
    height: 38px;
  }

  .services__note-icon svg {
    width: 19px;
    height: 19px;
  }

  .services__note-text {
    flex: 1;
    min-width: calc(100% - 50px);
    font-size: 15.5px;
  }

  .services__note .btn {
    width: 100%;
    margin-left: 0;
  }

  .cta__grid {
    padding: 26px 0 52px;
  }

  .form-card {
    padding: 20px;
  }

  .footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__main > div:nth-child(4),
  .footer__main > div:nth-child(5) {
    grid-column: 1 / -1;
  }

  .footer__main > div:nth-child(4) .footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
  }

  .footer__contact {
    gap: 7px;
  }

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

@media (max-width: 420px) {
  .logo-cell {
    height: 92px;
    padding: 8px;
  }

  .logo-cell img {
    max-width: 94px;
    max-height: 32px;
  }

  .callcard__num {
    display: none;
  }

  .fact {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 9px;
    padding: 2px 12px;
  }

  .fact__icon {
    width: 32px;
    height: 32px;
  }

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

  .fact__value {
    font-size: 25px;
  }

  .fact__label {
    font-size: 11.5px;
  }

  .cta__contacts {
    flex-direction: column;
    gap: 14px;
  }
}

/* ---------- Уменьшенное движение ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Согласие на cookie и рекомендательные технологии ---------- */
.cookie-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid #cfe7f3;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 50px -18px rgba(3, 35, 51, 0.42);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
}

.cookie-consent p {
  flex: 1;
  margin: 0;
}

.cookie-consent a {
  color: var(--brand-700);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent .btn {
  flex: none;
}

.cookie-consent.is-hidden,
html[data-cookie-consent="accepted"] .cookie-consent {
  display: none !important;
}

@media (max-width: 560px) {
  .cookie-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
    font-size: 12.5px;
  }

  .cookie-consent .btn {
    width: 100%;
  }
}

.form-error {
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px solid #f0c9c9;
  border-radius: 8px;
  background: #fff7f7;
  font-size: 12.5px;
  line-height: 1.5;
  color: #9b2c2c;
}

.form-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
