:root {
  --blue: #2f6bff;
  --blue-dark: #1f4fd6;
  --blue-soft: #eaf0ff;
  --navy: #0d1b3d;
  --ink: #121826;
  --muted: #5b6475;
  --line: #e6ebf2;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --wa: #d0ebd9;
  --tg: #cce5f5;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(15, 35, 80, 0.08);
  --container: 1180px;
  --font: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.page-about {
  background: var(--bg-soft);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(13, 27, 61, 0.05);
}

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

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

.logo__img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.is-active {
  color: var(--blue);
}

.nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}

.header__cta {
  margin-left: 8px;
}

.header-consult {
  display: none;
}

@media (min-width: 981px) {
  .nav .header__cta {
    margin-left: calc(8px - 26px);
  }
}

.burger {
  display: none;
  -webkit-appearance: none;
  appearance: none;
  width: 42px;
  height: 42px;
  min-width: 42px;
  flex-shrink: 0;
  border: 0;
  margin: 0;
  background: transparent;
  padding: 11px 8px;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 60;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  min-height: 2px;
  background: #121826;
  border-radius: 2px;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.28);
}

.btn--primary:hover {
  background: var(--blue-dark);
}

.btn__arrow {
  width: 14px;
  height: 14px;
  margin-left: 2px;
}

.btn__arrow--down {
  margin-left: 4px;
}

.btn--light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.btn--light:hover {
  background: #f3f6fb;
}

.btn--light svg {
  width: 18px;
  height: 18px;
}

.btn--block {
  width: 100%;
}

.page-home {
  background: var(--bg-soft);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-home > main {
  flex: 1 0 auto;
}

.page-home > .footer {
  margin-top: auto;
  flex-shrink: 0;
}

.page-home .home-cta-wrap {
  padding: 28px 0 48px;
}

.home-hero {
  padding: 48px 0 20px;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 28px;
  align-items: center;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 34rem;
  line-height: 1.35;
}

.home-eyebrow__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: grid;
}

.home-eyebrow__icon svg,
.home-eyebrow__icon img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.home-hero__content h1 {
  margin: 0 0 18px;
  font-size: clamp(2.05rem, 4.1vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
}

.home-hero__hl {
  color: var(--blue);
}

.home-hero__hl--mobi {
  display: none;
}

.home-hero__lead {
  margin: 0 0 28px;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.home-hero__lead--mobi {
  display: none;
}

.home-hero__visual {
  animation: float 5.5s ease-in-out infinite;
}

.home-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
}

.home-stats {
  padding: 12px 0 8px;
}

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

.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 8px 28px rgba(15, 35, 80, 0.04);
}

.stat-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, white);
}

.stat-card__icon svg {
  width: 22px;
  height: 22px;
}

.stat-card__icon--img {
  background: transparent;
  padding: 0;
  overflow: visible;
}

.stat-card__icon--img img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.stat-card strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.25;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}

.stat-card .stat-card__num,
.stat-card .stat-card__label {
  display: inline;
  color: inherit;
  font-size: inherit;
  margin: 0;
}

.stat-card .stat-card__more {
  display: none;
}

.home-trust {
  padding: 28px 0 8px;
  text-align: center;
}

.home-trust__label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.home-trust__marquee {
  min-width: 0;
}

.home-trust__track {
  display: flex;
  justify-content: center;
}

.home-trust__track > .home-trust__logos:last-child {
  display: none;
}

.home-trust__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 8px;
}

.home-trust__sep {
  width: 1px;
  height: 22px;
  background: var(--line);
  margin: 0 10px;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.partner-logo--forte {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.partner-logo--forte img {
  display: block;
  width: auto;
  object-fit: contain;
}

.partner-logo--bee {
  border-radius: 50%;
}

.home-cta-wrap {
  padding: 28px 0 20px;
}

.home-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  background:
    url("assets/cta-network.png") right center / auto 115% no-repeat,
    linear-gradient(110deg, #071433 0%, #0d1b3d 55%, #0a1840 100%);
  color: #fff;
  border-radius: 22px;
  padding: 28px 32px;
  overflow: hidden;
  position: relative;
}

.home-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #071433 38%, rgba(7, 20, 51, 0.55) 62%, transparent 82%);
  pointer-events: none;
  z-index: 0;
}

.home-cta > * {
  position: relative;
  z-index: 1;
}

.home-cta__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.home-cta__icon svg {
  width: 26px;
  height: 26px;
}

.home-cta__icon--img {
  background: transparent;
  width: 56px;
  height: 56px;
}

.home-cta__icon--img img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.btn__icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.btn--light .btn__icon {
  /* chat icon is dark navy — keep as is on white button */
  filter: none;
}

.home-cta__text h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.home-cta__text p {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.home-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow--with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.about-hero {
  padding: 48px 0 20px;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: center;
}

.about-hero__content h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.about-hero__content h1 span {
  color: var(--blue);
}

.about-hero__lead {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-hero__lead strong {
  font-weight: inherit;
}

.trust-card__extra {
  display: none;
}

.about-panel {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  background: #0d1b3d;
  box-shadow: var(--shadow);
}

.about-panel__img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-panel__overlay {
  position: absolute;
  left: 24px;
  top: 24px;
  right: 24px;
  color: #fff;
  max-width: 320px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.about-panel__overlay h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.about-panel__overlay p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.about-panel__traits {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 16px 18px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: linear-gradient(180deg, transparent, rgba(6, 14, 34, 0.72));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.about-panel__traits li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.about-panel__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.about-panel__icon svg {
  width: 20px;
  height: 20px;
}

.about-values-wrap {
  padding-top: 28px;
}

.card-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: 0 10px 40px rgba(15, 35, 80, 0.04);
}

.values-card {
  display: grid;
  grid-template-columns: 0.7fr 1.8fr;
  gap: 28px;
  margin-bottom: 18px;
}

.values-card__intro h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.values-card__intro p {
  margin: 0;
  color: var(--muted);
  max-width: 16rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.values-grid h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

.values-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (min-width: 981px) {
  .values-card {
    gap: 0;
    align-items: stretch;
  }

  .values-card__intro {
    padding-right: 28px;
  }

  .values-grid {
    gap: 0;
    border-left: 1px solid var(--line);
  }

  .values-grid article {
    padding: 0 18px;
    border-right: 1px solid var(--line);
  }

  .values-grid article:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, white);
}

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

.trust-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 28px;
}

.trust-card h2 {
  margin: 0;
  font-size: 1.35rem;
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px 28px;
  width: 100%;
}

.trust-card__marquee {
  flex: 1;
  min-width: 0;
}

.page-solutions {
  background: var(--bg-soft);
}

.solutions-hero {
  padding: 40px 0 64px;
}

.solutions-hero__top {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(220px, 1fr) minmax(220px, 0.95fr);
  gap: 28px 36px;
  align-items: center;
  margin-bottom: 36px;
}

.solutions-hero__title .eyebrow {
  margin-bottom: 12px;
}

.solutions-hero__top h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 14ch;
}

.solutions-hero__lead {
  margin: 0;
  color: #4b5b76;
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 28rem;
}

.solutions-hero__visual {
  width: 100%;
  max-width: 380px;
  justify-self: end;
}

.solutions-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.solution-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(230, 235, 242, 0.9);
  box-shadow: 0 10px 30px rgba(15, 35, 80, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.solution-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, white);
}

.solution-card__icon svg {
  width: 22px;
  height: 22px;
}

.solution-card__icon--img {
  width: 56px;
  height: 56px;
  background: transparent;
  padding: 0;
  border-radius: 14px;
}

.solution-card__icon--img img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.solution-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.solution-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.solutions-footer-bar {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 1.35fr);
  gap: 0;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 28px 36px;
  border: 1px solid var(--line);
}

.solutions-exp {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid var(--line);
}

.solutions-exp__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: transparent;
  flex-shrink: 0;
  overflow: hidden;
}

.solutions-exp__icon svg {
  width: 24px;
  height: 24px;
}

.solutions-exp__icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.solutions-exp strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--ink);
}

.solutions-exp p {
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 28ch;
}

.solutions-tech {
  min-width: 0;
}

.solutions-tech p {
  margin: 0 0 14px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
}

.solutions-tech__logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.tech-logo {
  display: block;
  width: auto;
  height: 30px;
  max-width: 56px;
  object-fit: contain;
  flex: 0 0 auto;
}

.tech-logo[alt=".NET"] {
  height: 22px;
  max-width: 64px;
}

.page-projects {
  background: var(--bg-soft);
}

.cases-hero {
  padding: 40px 0 12px;
}

.cases-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.cases-hero__content h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.cases-hero__content h1 span {
  color: var(--blue);
}

.cases-hero__lead {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.02rem;
}

.cases-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cases-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(15, 35, 80, 0.04);
}

.cases-stat strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.1;
}

.cases-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 2px;
}

.cases-list {
  padding: 28px 0 8px;
}

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

.case-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 22px 0;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 35, 80, 0.04);
}

.case-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.case-card--gov .case-badge {
  background: #eaf0ff;
  color: #2f6bff;
}

.case-card--fin .case-badge {
  background: #e9fbf3;
  color: #12b76a;
}

.case-card--api .case-badge {
  background: #f3eaff;
  color: #7a5af8;
}

.case-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.3;
}

.case-card > p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.case-checks {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.case-checks li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9rem;
  font-weight: 600;
}

.case-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 18px;
  height: 18px;
  background: url("assets/icons/check-blue.png") center / contain no-repeat;
}

.case-card--gov .case-checks li::before {
  background-image: url("assets/icons/check-blue.png");
}

.case-card--fin .case-checks li::before {
  background-image: url("assets/icons/check-green.png");
}

.case-card--api .case-checks li::before {
  background-image: url("assets/icons/check-purple.png");
}

.case-card__visual {
  margin-top: auto;
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 8px 0 12px;
  background: transparent;
  border-radius: 12px;
}

.case-card__visual img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  object-fit: contain;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px 12px;
  margin: 0 -22px;
}

.case-card--gov .case-metrics {
  background: #eaf0ff;
}

.case-card--fin .case-metrics {
  background: #e9fbf3;
}

.case-card--api .case-metrics {
  background: #f3eaff;
}

.case-metrics strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.case-metrics span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.25;
}

.cases-trust {
  padding: 24px 0 8px;
  text-align: left;
}

.cases-trust__row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px 36px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 28px;
  border: 1px solid var(--line);
}

.cases-trust__label {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.cases-trust .home-trust__logos {
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px 16px;
  min-width: 0;
}

.cases-trust .home-trust__sep {
  display: none;
}

.cases-trust .partner-logo {
  flex: 0 1 auto;
  max-width: 120px;
  height: 28px;
  object-fit: contain;
}

.cases-trust .partner-logo--bee {
  height: 26px;
}

.home-cta--simple {
  grid-template-columns: 1fr auto;
}

.cases-hero__lead--mobi,
.cases-cta__icon,
.cases-cta__cases,
.cases-cta__lead--mobi,
.contacts-cta__icon,
.contacts-cta__title--mobi,
.contacts-cta__lead--mobi,
.contacts-cta__btn--mobi {
  display: none;
}

.cases-trust__marquee {
  min-width: 0;
}

.page-contacts {
  background: var(--bg-soft);
}

.contacts-hero {
  padding: 40px 0 8px;
}

.contacts-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.contacts-hero h1 span {
  color: var(--blue);
}

.contacts-hero__lead {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.contacts-main {
  padding: 28px 0 8px;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contacts-direct {
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.contacts-direct h2,
.contacts-form-wrap h2 {
  margin: 0 0 18px;
  font-size: 1.25rem;
}

.messenger-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 0 26px 0 30px;
  border-radius: 16px;
  margin-bottom: 14px;
  color: #fff;
  overflow: hidden;
  transition: transform 0.2s ease;
  gap: 16px;
}

.messenger-card:hover {
  transform: translateY(-2px);
}

.messenger-card__title {
  font-size: clamp(1.75rem, 2.7vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  paint-order: stroke fill;
}

.messenger-card--wa .messenger-card__title {
  -webkit-text-stroke: 1.5px #34943f;
}

.messenger-card--tg .messenger-card__title {
  -webkit-text-stroke: 1.5px #146087;
}

.messenger-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.messenger-card__icon svg,
.messenger-card__icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
}

.messenger-card--wa {
  background: #d0ebd9;
}

.messenger-card--tg {
  background: #cce5f5;
}

.messenger-card--phone {
  background: #d5d5d5;
  color: var(--ink);
}

.messenger-card__phone-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.messenger-card__phone-label {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.messenger-card__phone-value {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  color: #3a4558;
  word-break: break-word;
}

.contact-detail.is-temporarily-hidden {
  display: none !important;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-detail:hover {
  border-color: #c9d5ee;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 35, 80, 0.06);
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-detail__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.contact-detail__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.contact-detail__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.contact-detail__value {
  font-size: 0.95rem;
  font-weight: 500;
  color: #3a4558;
  line-height: 1.35;
  word-break: break-word;
}

.contacts-form {
  display: grid;
  gap: 14px;
}

.contacts-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contacts-form label {
  display: grid;
  gap: 6px;
}

.contacts-form label > span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.contacts-form input,
.contacts-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  background: #fbfcfe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contacts-form input:focus,
.contacts-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12);
}

.contacts-form__message {
  position: relative;
}

.contacts-form__counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.contacts-form__check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  grid-template-columns: none;
}

.contacts-form__check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.contacts-form__check span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

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

.contacts-form__actions {
  display: flex;
  justify-content: flex-end;
}

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

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero__title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero__lead {
  margin: 0 0 28px;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.hero__messengers {
  display: flex;
  gap: 10px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
}

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

.icon-btn--tg {
  background: var(--tg);
}

.icon-btn--wa {
  background: var(--wa);
}

.hero__visual {
  animation: float 5.5s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.clients {
  margin-top: 48px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 28px;
}

.clients__label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.clients__track {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  color: #8a93a5;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.lead-banner {
  background: linear-gradient(115deg, #0d1b3d 0%, #152a5c 45%, #1f4fd6 100%);
  color: #fff;
  margin: 28px 0 8px;
}

.lead-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0;
}

.lead-banner h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.lead-banner p {
  margin: 0;
  opacity: 0.8;
}

.lead-banner__form {
  display: flex;
  gap: 10px;
  width: min(420px, 100%);
}

.lead-banner__form input {
  flex: 1;
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  min-height: 48px;
  outline: none;
}

.section {
  padding: 88px 0;
}

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

.section__head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section__head h2,
.about__text h2,
.contact__aside h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section__head p,
.about__text p,
.contact__aside p {
  margin: 0;
  color: var(--muted);
}

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

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--c) 14%, white);
  color: var(--c);
  margin-bottom: 16px;
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tech {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech span {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 36px;
}

.about__text h2 span {
  color: var(--blue);
}

.about__list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.about__list li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 5px var(--blue);
}

.about__media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.stats article {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--line);
}

.stats__icon {
  width: 40px;
  height: 40px;
  color: var(--blue);
  margin-bottom: 12px;
}

.stats__icon svg {
  width: 28px;
  height: 28px;
}

.stats h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.stats p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.filter.is-active,
.filter:hover {
  background: var(--blue-soft);
  border-color: transparent;
  color: var(--blue);
}

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

.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-card.is-hidden {
  display: none;
}

.project-card__visual {
  background: #fff;
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 18px;
}

.project-card__visual img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  object-fit: contain;
}

.project-card__body {
  padding: 20px;
}

.tag {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
}

.project-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.section--contact {
  padding-bottom: 100px;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact__messengers {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.messenger {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 20px;
  border-radius: 14px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.05rem;
}

.messenger svg,
.messenger img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.messenger--wa {
  background: var(--wa);
}

.messenger--tg {
  background: var(--tg);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  background: #fbfcfe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12);
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer {
  background: #fff;
  color: #6b7280;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px 32px;
  align-items: center;
}

.footer .logo__img {
  height: 48px;
  width: auto;
}

.footer__copy {
  margin: 0;
  justify-self: center;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0;
  font-weight: 500;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.footer__social a:hover {
  color: var(--ink);
}

.footer__social-label {
  white-space: nowrap;
}

.footer__social svg,
.footer__social-icon {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.footer__social-sep {
  width: 1px;
  height: 20px;
  background: #d7dde7;
  margin: 0 14px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 36, 0.5);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  max-height: calc(100vh - 48px);
  background: #fff;
  padding: 28px 28px 22px;
  overflow: auto;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(8, 16, 36, 0.22);
  animation: modalIn 0.28s ease;
}

@keyframes modalIn {
  from {
    transform: translateY(12px) scale(0.98);
    opacity: 0.4;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: var(--bg-soft);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  color: var(--muted);
}

.modal__panel h2 {
  margin: 0 36px 8px 0;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.modal__lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.modal-form {
  display: grid;
  gap: 12px;
}

.modal-form label {
  display: grid;
  gap: 6px;
}

.modal-form label > span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.modal-form label > span em {
  color: var(--blue);
  font-style: normal;
}

.modal-form input,
.modal-form textarea,
.modal-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  background: #fbfcfe;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235b6475' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.12);
}

.modal-form__file {
  cursor: pointer;
}

.modal-form__file input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.modal-form__file-ui {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
}

.modal-form__file-ui svg {
  width: 18px;
  height: 18px;
}

.modal-form__check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  grid-template-columns: none;
}

.modal-form__check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--blue);
}

.modal-form__check span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
}

.modal-form__check a {
  color: var(--blue);
}

.modal-form__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.modal-form__secure svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none !important;
  place-items: center;
  padding: 24px;
}

.success-modal.is-open {
  display: grid !important;
}

.success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 27, 61, 0.35);
  backdrop-filter: blur(2px);
}

.success-modal__card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 22px;
  padding: 36px 28px 28px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 35, 80, 0.18);
  animation: success-pop 0.28s ease-out;
}

@keyframes success-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.success-modal__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
}

.success-modal__icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.success-modal__card h2 {
  margin: 0 0 10px;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.success-modal__title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.success-modal__text {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.success-modal__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8b95a8;
  font-size: 0.82rem;
}

.success-modal__meta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--blue);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  z-index: 120;
  box-shadow: var(--shadow);
}

.toast[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .hero__grid,
  .about,
  .contact,
  .about-hero__grid,
  .values-card,
  .home-hero__grid,
  .home-cta,
  .solutions-hero__top,
  .solutions-footer-bar,
  .cases-hero__grid,
  .home-cta--simple,
  .contacts-layout,
  .contacts-form__row {
    grid-template-columns: 1fr;
  }

  .services,
  .projects,
  .solutions-grid,
  .cases-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats,
  .values-grid,
  .home-stats__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .trust-card,
  .home-cta__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .solutions-exp {
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .solutions-tech__logos {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px 20px;
  }

  .solutions-footer-bar {
    padding: 24px 22px;
  }

  .solutions-hero__visual {
    justify-self: start;
  }

  .page-solutions .solutions-hero {
    padding: 16px 0 40px;
  }

  .page-about .about-hero {
    padding: 16px 0 12px;
  }

  .page-projects .cases-hero {
    padding: 16px 0 8px;
  }

  .page-contacts .contacts-hero {
    padding: 16px 0 8px;
  }

  .cases-trust__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cases-trust__label {
    padding-right: 0;
    padding-bottom: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cases-trust .home-trust__logos {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px 22px;
  }

  .contacts-direct {
    border-right: 0;
    padding-right: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .contacts-form__actions {
    justify-content: stretch;
  }

  .contacts-form__actions .btn {
    width: 100%;
  }

  .home-cta__actions {
    width: 100%;
  }

  .home-cta__actions .btn {
    width: 100%;
  }

  .trust-logos {
    justify-content: flex-start;
  }

  .home-trust__sep {
    display: none;
  }

  .home-trust {
    overflow: hidden;
  }

  .home-trust__marquee {
    overflow: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
  }

  .home-trust__track {
    display: flex;
    justify-content: flex-start;
    width: max-content;
    animation: trust-marquee 22s linear infinite;
    will-change: transform;
  }

  .home-trust__track > .home-trust__logos {
    flex-wrap: nowrap;
    flex-shrink: 0;
    justify-content: flex-start;
    align-items: center;
    gap: 0 36px;
    padding-right: 36px;
  }

  .home-trust__track > .home-trust__logos:last-child {
    display: flex;
  }

  .cases-trust .home-trust__marquee {
    width: auto;
    max-width: none;
    margin-left: 0;
  }

  .page-about .trust-card {
    overflow: hidden;
  }

  .page-about .trust-card__marquee {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  }

  .page-about .trust-logos {
    width: auto;
  }

  .lead-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    display: none;
  }

  .burger {
    display: -webkit-flex;
    display: flex;
    margin-left: 2px;
  }

  .header-consult {
    display: block;
    position: relative;
    margin-left: auto;
    flex-shrink: 0;
  }

  .header-consult__btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }

  .header-consult__btn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  .header-consult__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .header-consult__menu[hidden] {
    display: none;
  }

  .header-consult__menu a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
  }

  .header-consult__menu img {
    width: 36px;
    height: 36px;
    object-fit: contain;
  }

  .header__cta {
    display: none;
  }

  .header__inner {
    min-height: 56px;
  }

  .logo__img {
    height: 34px;
  }

  .home-cta {
    padding: 24px 20px;
    gap: 16px;
    background:
      url("assets/cta-network.png") right -24px top -12px / 260px auto no-repeat,
      linear-gradient(165deg, #071433 0%, #0d1b3d 58%, #0a1840 100%);
  }

  .home-cta::before {
    background: linear-gradient(180deg, rgba(7, 20, 51, 0.15) 0%, rgba(7, 20, 51, 0.72) 48%, #071433 100%);
  }

  .page-home .home-cta {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon text"
      "actions actions";
    align-items: start;
    gap: 16px 12px;
    padding: 20px 16px;
    background:
      url("assets/cta-plexus.png") center center / cover no-repeat,
      #071433;
  }

  .page-home .home-cta::before {
    display: block;
    background: linear-gradient(
      180deg,
      rgba(7, 20, 51, 0.28) 0%,
      rgba(7, 20, 51, 0.12) 42%,
      rgba(7, 20, 51, 0.38) 100%
    );
  }

  .page-home .home-cta__icon,
  .page-home .home-cta__icon--img,
  .page-home .home-cta__icon--img img {
    grid-area: icon;
    width: 44px;
    height: 44px;
    align-self: start;
  }

  .page-home .home-cta__text {
    grid-area: text;
  }

  .page-home .home-cta__text h2 {
    font-size: calc(1.05rem - 2pt);
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .page-home .home-cta__text p {
    font-size: calc(0.78rem - 2pt);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.78);
  }

  .page-home .home-cta__actions {
    grid-area: actions;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    gap: 10px;
  }

  .page-home .home-cta__actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .page-home .home-cta__actions .btn--primary {
    order: -1;
  }

  .page-home .home-cta__actions .btn--light {
    flex-direction: row-reverse;
  }

  .page-home .home-cta__actions .btn__icon {
    width: 16px;
    height: 16px;
  }

  .page-home .home-hero__hl--desk {
    display: none;
  }

  .page-home .home-hero__hl--mobi {
    display: inline;
    color: inherit;
  }

  .page-home .home-hero__lead--desk {
    display: none;
  }

  .page-home .home-hero__lead--mobi {
    display: block;
  }

  .page-home .home-hero__lead--mobi strong {
    color: var(--ink);
    font-weight: 800;
  }

  .page-home .home-hero__content .btn__arrow--down {
    width: 22px;
    height: 22px;
    padding: 3px;
    border: 1.6px solid currentColor;
    border-radius: 50%;
    box-sizing: border-box;
  }

  .page-home .stat-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 10px;
    row-gap: 0;
  }

  .page-home .stat-card__icon,
  .page-home .stat-card__icon--img {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    overflow: hidden;
    border-radius: 12px;
    padding: 0;
  }

  .page-home .stat-card__icon--img img {
    width: 44px;
    height: 44px;
    max-width: none;
    object-fit: cover;
    display: block;
  }

  .page-home .home-stats__grid .stat-card:nth-child(2) .stat-card__icon--img img {
    transform: scale(1.06);
  }

  .page-home .home-stats__grid .stat-card:nth-child(3) .stat-card__icon--img img,
  .page-home .home-stats__grid .stat-card:nth-child(4) .stat-card__icon--img img {
    transform: scale(1.11);
  }

  .page-home .stat-card > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }

  .page-home .stat-card strong {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    line-height: 1;
  }

  .page-home .stat-card .stat-card__num {
    display: block;
    font-weight: 800;
    line-height: 1.05;
    font-size: calc(0.84rem - 2pt + 4pt);
  }

  .page-home .stat-card .stat-card__label {
    display: block;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.1;
    font-size: calc(0.72rem - 2pt + 3pt);
    margin: 0;
  }

  .page-home .stat-card .stat-card__more {
    display: inline;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
  }

  .page-home .stat-card__extra {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .header {
    background: #fff;
    border-color: var(--line);
  }

  body.nav-open .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .burger span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  body.nav-open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(13, 27, 61, 0.12);
    gap: 0;
    max-height: calc(100dvh - 56px);
    overflow: auto;
  }

  body.nav-open .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
    color: var(--ink);
  }

  body.nav-open .nav a.is-active {
    color: var(--blue);
    text-underline-offset: 6px;
  }

  body.nav-open .header__cta {
    display: inline-flex;
    width: 100%;
    margin: 16px 0 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .services,
  .projects,
  .stats,
  .values-grid,
  .solutions-grid,
  .cases-grid,
  .cases-stats {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 14px;
  }

  .home-stats__grid {
    grid-template-columns: 1fr 1fr;
    justify-items: stretch;
    text-align: left;
    gap: 10px;
  }

  .stat-card {
    padding: 14px 12px;
    gap: 10px;
    border-radius: 14px;
    align-items: flex-start;
  }

  .stat-card__icon,
  .stat-card__icon--img,
  .stat-card__icon--img img {
    width: 36px;
    height: 36px;
  }

  .page-home .stat-card__icon,
  .page-home .stat-card__icon--img,
  .page-home .stat-card__icon--img img {
    width: 44px;
    height: 44px;
  }

  .stat-card strong {
    font-size: 0.84rem;
  }

  .stat-card span {
    font-size: 0.72rem;
  }

  .footer {
    padding: 12px 0 16px;
  }

  .footer__inner {
    grid-template-columns: auto 1fr auto;
    gap: 8px 10px;
    align-items: center;
  }

  .footer .logo {
    justify-self: start;
  }

  .footer .logo__img {
    height: 22px;
  }

  .footer__copy {
    justify-self: center;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(0.58rem, 2.7vw, 0.72rem);
    letter-spacing: 0;
    order: 0;
    min-width: 0;
  }

  .footer__social {
    justify-self: end;
    gap: 16px;
  }

  .footer__social-label,
  .footer__social-sep {
    display: none;
  }

  .footer__social a {
    gap: 0;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
  }

  .footer__social-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  .header__inner {
    min-height: 52px;
    gap: 12px;
  }

  .page-home .home-hero {
    padding: 8px 0 4px;
  }

  .page-home .home-hero__grid {
    gap: 10px;
  }

  .page-home .home-eyebrow {
    margin-bottom: 8px;
  }

  .page-home .home-hero__content h1 {
    margin-bottom: 8px;
  }

  .page-home .home-hero__lead {
    margin-bottom: 14px;
  }

  .page-home .home-stats {
    padding: 4px 0 0;
  }

  .home-eyebrow {
    font-size: calc(0.64rem - 2pt);
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    max-width: none;
  }

  .home-hero__content h1 {
    font-size: calc(1.7rem - 2pt);
    margin-bottom: 12px;
  }

  .home-hero__lead {
    font-size: calc(0.95rem - 2pt);
    margin-bottom: 20px;
    max-width: none;
  }

  .home-hero__visual {
    animation: none;
  }

  .home-stats {
    padding: 8px 0 4px;
  }

  .home-trust {
    padding: 22px 0 4px;
  }

  .home-trust__label {
    font-size: 0.82rem;
    margin-bottom: 14px;
  }

  .home-trust__track > .home-trust__logos {
    gap: 0 28px;
    padding-right: 28px;
  }

  .partner-logo {
    height: 24px;
    max-width: 110px;
  }

  .page-home .home-cta-wrap {
    padding: 20px 0 28px;
  }

  .home-cta--simple .home-cta__text h2 {
    font-size: 1.15rem;
  }

  .home-cta--simple .home-cta__text p {
    font-size: 0.88rem;
    max-width: none;
  }

  .section {
    padding: 64px 0;
  }

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

  .card-panel {
    padding: 24px;
  }

  .modal {
    padding: 12px;
    align-items: end;
  }

  .modal__panel {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 22px 18px 18px;
    border-radius: 20px 20px 16px 16px;
  }

  .modal__panel h2 {
    font-size: 1.45rem;
  }

  .about-hero__content h1,
  .contacts-hero h1,
  .solutions-hero__title h1,
  .cases-hero__content h1 {
    font-size: 1.75rem;
  }

  .page-solutions .solutions-hero {
    padding: 8px 0 28px;
  }

  .page-solutions .solutions-hero__top {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 8px;
    align-items: start;
    margin-bottom: 16px;
  }

  .page-solutions .solutions-hero__title {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 2;
  }

  .page-solutions .solutions-hero__title .eyebrow {
    margin-bottom: 6px;
  }

  .page-solutions .solutions-hero__top h1,
  .page-solutions .solutions-hero__title h1 {
    max-width: none;
    font-size: calc(1.38rem - 2pt);
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  .page-solutions .solutions-hero__lead {
    grid-column: 1;
    grid-row: 2;
    position: relative;
    z-index: 2;
    max-width: 22em;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .page-services .solutions-hero__lead {
    color: #1b295a;
  }

  .page-solutions .solutions-hero__visual {
    grid-column: 1;
    grid-row: 1 / 3;
    justify-self: end;
    align-self: center;
    z-index: 1;
    width: 58%;
    max-width: 220px;
    pointer-events: none;
  }

  .page-solutions .solutions-grid {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: left;
    gap: 10px;
    margin-bottom: 12px;
  }

  .page-solutions .solution-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon title"
      "text text";
    column-gap: 8px;
    row-gap: 6px;
    padding: 16px;
    border-radius: 16px;
    align-items: center;
  }

  .page-solutions .solution-card:hover {
    transform: none;
  }

  .page-solutions .solution-card__icon,
  .page-solutions .solution-card__icon--img {
    grid-area: icon;
    margin-bottom: 0;
    width: 44px;
    height: 44px;
  }

  .page-solutions .solution-card__icon--img img {
    width: 44px;
    height: 44px;
  }

  .page-solutions .solution-card h3 {
    grid-area: title;
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.25;
    align-self: center;
  }

  .page-solutions .solution-card p {
    grid-area: text;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #1a2b49;
  }

  .page-solutions .solutions-footer-bar {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    padding: 14px 12px;
    gap: 0;
    align-items: start;
    border-radius: 14px;
  }

  .page-solutions .solutions-exp {
    border-right: 1px solid var(--line);
    border-bottom: 0;
    padding-right: 12px;
    margin-right: 12px;
    padding-bottom: 0;
    gap: 8px;
    align-items: flex-start;
  }

  .page-solutions .solutions-exp__icon,
  .page-solutions .solutions-exp__icon img {
    width: 36px;
    height: 36px;
  }

  .page-solutions .solutions-exp strong {
    font-size: 0.82rem;
    margin-bottom: 2px;
  }

  .page-solutions .solutions-exp p {
    font-size: 0.68rem;
    line-height: 1.35;
    max-width: none;
  }

  .page-solutions .solutions-tech p {
    margin-bottom: 8px;
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .page-solutions .solutions-tech__logos {
    gap: 8px 10px;
  }

  .page-solutions .tech-logo {
    height: 22px;
    max-width: 36px;
  }

  .page-solutions .tech-logo[alt=".NET"] {
    height: 16px;
    max-width: 42px;
  }

  .page-about .about-hero {
    padding: 8px 0 12px;
  }

  .page-about .about-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(118px, 40%);
    grid-template-areas:
      "eyebrow eyebrow"
      "heading heading"
      "lead visual";
    column-gap: 0;
    row-gap: 6px;
    align-items: start;
  }

  .page-about .about-hero__content {
    display: contents;
  }

  .page-about .about-hero__content .eyebrow {
    grid-area: eyebrow;
    margin-bottom: 0;
  }

  .page-about .about-hero__content h1 {
    grid-area: heading;
    margin-bottom: 0;
    font-size: calc(1.5rem - 2pt);
    line-height: 1.18;
  }

  .page-about .about-hero__lead {
    grid-area: lead;
    max-width: none;
    padding-right: 8px;
    font-size: 0.84rem;
    line-height: 1.45;
    z-index: 1;
  }

  .page-about .about-hero__lead strong {
    font-weight: 800;
    color: var(--ink);
  }

  .page-about .about-panel {
    grid-area: visual;
    justify-self: end;
    align-self: start;
    z-index: 2;
    width: 100%;
    max-width: 168px;
    min-height: 0;
    margin: 0 0 0 -28px;
    border-radius: 14px;
    box-shadow: none;
    background: transparent;
    overflow: hidden;
  }

  .page-about .about-panel__img {
    min-height: 0;
    max-height: none;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .page-about .about-values-wrap.section {
    padding: 8px 0 24px;
  }

  .page-about .values-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 16px;
    margin-bottom: 12px;
  }

  .page-about .values-card__intro {
    text-align: center;
  }

  .page-about .values-card__intro h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 6px;
    font-size: 1.22rem;
  }

  .page-about .values-card__intro p {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .page-about .values-grid {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: left;
    gap: 0;
  }

  .page-about .values-grid article {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .page-about .values-grid article:first-child {
    padding-top: 4px;
  }

  .page-about .values-grid article:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .page-about .value-icon {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .page-about .value-icon svg {
    width: 18px;
    height: 18px;
  }

  .page-about .value-copy {
    min-width: 0;
    text-align: left;
  }

  .page-about .values-grid h3,
  .page-about .values-grid p {
    text-align: left;
  }

  .page-about .values-grid h3 {
    margin: 0 0 2px;
    font-size: 0.92rem;
    line-height: 1.25;
  }

  .page-about .values-grid p {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .page-about .trust-card {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px 14px;
    text-align: center;
  }

  .page-about .trust-card h2 {
    white-space: nowrap;
    font-size: 1.15rem;
    line-height: 1.3;
    color: #1b295a;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
  }

  .page-about .trust-card__extra {
    display: none;
  }

  .page-about .trust-card {
    overflow: hidden;
  }

  .page-about .trust-card__marquee {
    width: 100%;
  }

  .page-about .trust-logos {
    width: auto;
  }

  .page-projects .cases-hero {
    padding: 8px 0 12px;
  }

  .page-projects .cases-hero__content h1 {
    margin-bottom: 10px;
    font-size: calc(1.5rem - 2pt);
    line-height: 1.18;
  }

  .page-projects .cases-hero__lead--desk {
    display: none;
  }

  .page-projects .cases-hero__lead--mobi {
    display: block;
    max-width: none;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #1b295a;
  }

  .page-projects .cases-stats {
    grid-template-columns: 1fr 1fr;
    justify-items: stretch;
    text-align: left;
    gap: 8px;
  }

  .page-projects .cases-stat:nth-child(1) {
    order: 2;
  }

  .page-projects .cases-stat:nth-child(2) {
    order: 1;
  }

  .page-projects .cases-stat {
    padding: 12px;
    gap: 8px;
    border-radius: 14px;
  }

  .page-projects .cases-stat .stat-card__icon,
  .page-projects .cases-stat .stat-card__icon--img,
  .page-projects .cases-stat .stat-card__icon--img img {
    width: 36px;
    height: 36px;
  }

  .page-projects .cases-stat strong {
    font-size: 0.98rem;
  }

  .page-projects .cases-stat span {
    font-size: 0.72rem;
  }

  .page-projects .cases-list {
    padding: 12px 0 4px;
  }

  .page-projects .cases-grid {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: left;
    gap: 12px;
  }

  .page-projects .case-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(96px, 36%);
    grid-template-areas:
      "badge badge"
      "title visual"
      "desc visual"
      "checks visual"
      "metrics metrics";
    column-gap: 8px;
    row-gap: 8px;
    padding: 16px 16px 0;
    border-radius: 16px;
    align-items: start;
  }

  .page-projects .case-badge {
    grid-area: badge;
    font-size: 0.68rem;
    margin-bottom: 0;
  }

  .page-projects .case-card h3 {
    grid-area: title;
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.25;
  }

  .page-projects .case-card > p {
    grid-area: desc;
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .page-projects .case-checks {
    grid-area: checks;
    margin: 0;
    gap: 6px;
  }

  .page-projects .case-checks li {
    font-size: 0.78rem;
    padding-left: 22px;
  }

  .page-projects .case-checks li::before {
    width: 16px;
    height: 16px;
  }

  .page-projects .case-card__visual {
    grid-area: visual;
    margin: 0;
    min-height: 0;
    padding: 0;
    align-self: center;
    justify-self: end;
    width: 100%;
  }

  .page-projects .case-card__visual img {
    max-width: 100%;
  }

  .page-projects .case-metrics {
    grid-area: metrics;
    margin: 0 -16px;
    padding: 12px 10px;
    gap: 4px;
  }

  .page-projects .case-metrics strong {
    font-size: 0.88rem;
  }

  .page-projects .case-metrics span {
    font-size: 0.62rem;
  }

  .page-projects .cases-trust {
    padding: 12px 0 4px;
  }

  .page-projects .cases-trust__row {
    padding: 16px 0 12px;
    overflow: hidden;
    border: 0;
    background: transparent;
  }

  .page-projects .cases-trust__label {
    color: #1b295a;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    padding: 0 0 10px;
    border: 0;
    white-space: normal;
  }

  .page-projects .cases-trust__marquee {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  }

  .page-projects .cases-trust .home-trust__logos {
    width: auto;
  }

  .page-projects .home-cta-wrap {
    padding: 16px 0 24px;
  }

  .page-projects .home-cta--simple {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon text"
      "actions actions";
    align-items: start;
    gap: 12px 10px;
    padding: 20px 16px;
    background:
      url("assets/cta-plexus.png") center center / cover no-repeat,
      #1b295a;
  }

  .page-projects .cases-cta__icon,
  .page-projects .cases-cta__icon img {
    display: grid;
    grid-area: icon;
    width: 48px;
    height: 48px;
  }

  .page-projects .home-cta__text {
    grid-area: text;
  }

  .page-projects .home-cta--simple .home-cta__text h2 {
    font-size: 1.05rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .page-projects .cases-cta__lead--desk {
    display: none;
  }

  .page-projects .cases-cta__lead--mobi {
    display: block;
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
  }

  .page-projects .home-cta__actions {
    grid-area: actions;
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .page-projects .cases-cta__cases {
    display: none;
  }

  .page-projects .home-cta__actions .btn {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    font-size: 0.92rem;
    justify-content: center;
  }

  .page-projects .home-cta__actions .btn--light {
    flex-direction: row-reverse;
    background: #fff;
    color: #1b295a;
  }

  .page-projects .home-cta__actions .btn__icon {
    width: 18px;
    height: 18px;
  }

  .page-contacts .contacts-hero {
    padding: 8px 0 10px;
  }

  .page-contacts .contacts-hero h1 {
    margin-bottom: 10px;
    font-size: calc(1.5rem - 2pt);
    line-height: 1.18;
  }

  .page-contacts .contacts-hero__lead {
    max-width: none;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .page-contacts .contacts-main {
    padding: 8px 0 4px;
  }

  .page-contacts .contacts-direct {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 0;
  }

  .page-contacts .contacts-direct h2,
  .page-contacts .contacts-form-wrap h2 {
    margin-bottom: 12px;
    font-size: 1.12rem;
  }

  .page-contacts .messenger-card {
    min-height: 72px;
    padding: 0 18px 0 20px;
    margin-bottom: 10px;
    border-radius: 14px;
  }

  .page-contacts .messenger-card:hover {
    transform: none;
  }

  .page-contacts .messenger-card__title {
    font-size: 1.55rem;
  }

  .page-contacts .messenger-card__icon,
  .page-contacts .messenger-card__icon img {
    width: 44px;
    height: 44px;
  }

  .page-contacts .messenger-card--phone {
    min-height: 72px;
    padding: 0 18px 0 20px;
    margin-bottom: 0;
  }

  .page-contacts .contacts-form {
    gap: 12px;
  }

  .page-contacts .contacts-form input,
  .page-contacts .contacts-form textarea {
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
  }

  .page-contacts .contacts-form__actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .page-contacts .home-cta-wrap {
    padding: 16px 0 24px;
  }

  .page-contacts .home-cta--simple {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon text"
      "actions actions";
    align-items: start;
    gap: 12px 10px;
    padding: 20px 16px;
    background:
      url("assets/cta-plexus.png") center center / cover no-repeat,
      #1b295a;
  }

  .page-contacts .contacts-cta__icon,
  .page-contacts .contacts-cta__icon img {
    display: grid;
    grid-area: icon;
    width: 48px;
    height: 48px;
  }

  .page-contacts .home-cta__text {
    grid-area: text;
  }

  .page-contacts .home-cta--simple .home-cta__text h2 {
    font-size: 1.05rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .page-contacts .contacts-cta__title--desk,
  .page-contacts .contacts-cta__lead--desk,
  .page-contacts .contacts-cta__btn--desk {
    display: none;
  }

  .page-contacts .contacts-cta__title--mobi,
  .page-contacts .contacts-cta__btn--mobi {
    display: inline;
  }

  .page-contacts .contacts-cta__lead--mobi {
    display: block;
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
  }

  .page-contacts .home-cta__actions {
    grid-area: actions;
    width: 100%;
  }

  .page-contacts .home-cta__actions .btn {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    font-size: 0.92rem;
    justify-content: center;
  }

  .page-contacts .home-cta__actions .btn--light {
    flex-direction: row-reverse;
    background: #fff;
    color: #1b295a;
  }

  .page-contacts .home-cta__actions .btn__icon {
    width: 18px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__visual,
  .service-card,
  .project-card,
  .btn {
    animation: none;
    transition: none;
  }

  .home-trust__track {
    animation: none;
    width: auto;
    justify-content: center;
    flex-wrap: wrap;
  }

  .home-trust__track > .home-trust__logos {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    gap: 16px 18px;
  }

  .home-trust__track > .home-trust__logos:last-child {
    display: none;
  }

  .home-trust__marquee {
    width: auto;
    margin-left: 0;
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
  }
}

@keyframes trust-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
