/* ==========================================================================
   SIA B.E.S.T. — сайт компании
   Дизайн-система: тёмно-синий + электрик-блю, техническая эстетика
   ========================================================================== */

:root {
  --navy: #0a1b2e;
  --navy-2: #0f2744;
  --navy-3: #14314f;
  --brand: #2776ea;
  --brand-dark: #1b5fcb;
  --brand-soft: #eaf2fe;
  --cyan: #4cc8f0;
  --ink: #101c2b;
  --muted: #5a6d84;
  --muted-light: #a9c0d8;
  --line: #e3e9f2;
  --line-dark: #22405f;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 28, 43, .06);
  --shadow: 0 12px 32px -12px rgba(16, 28, 43, .18);
  --shadow-lg: 0 28px 60px -20px rgba(10, 27, 46, .35);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- reset ------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(39, 118, 234, .18); }

:focus-visible {
  outline: 3px solid rgba(39, 118, 234, .55);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* --- layout ------------------------------------------------------------ */

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

.section { padding-block: clamp(64px, 8vw, 112px); }
.section--soft { background: var(--bg-soft); }
.section--dark {
  background: var(--navy);
  color: #fff;
}
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--cyan); }

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  text-wrap: balance;
}
.section-lead {
  margin-top: 18px;
  max-width: 62ch;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  color: var(--muted);
}
.section--dark .section-lead { color: var(--muted-light); }

.section-head--center .section-lead { margin-inline: auto; }

/* --- buttons ----------------------------------------------------------- */

.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              box-shadow .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: #fff;
  border-color: #c9d5e6;
  box-shadow: var(--shadow-sm);
}

.btn--on-dark {
  --btn-bg: rgba(255, 255, 255, .06);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .22);
}
.btn--on-dark:hover { background: rgba(255, 255, 255, .12); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--light:hover { background: #eef4fd; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--brand);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- header ------------------------------------------------------------ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(16, 28, 43, .25); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .04em;
}
.brand__tag {
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: block;
  padding: 9px 12px;
  white-space: nowrap;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #34455a;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav__link:hover { background: var(--bg-soft); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }

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

.lang {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.lang__item {
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.lang__item:hover { color: var(--ink); }
.lang__item[aria-current="true"] { background: var(--navy); color: #fff; }

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.header__phone svg { width: 16px; height: 16px; color: var(--brand); }
.header__phone:hover { color: var(--brand); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  place-items: center;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { padding: 8px 24px 20px; }
.mobile-nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 500;
}
.mobile-nav a[aria-current="page"] { color: var(--brand); }
.mobile-nav__cta { margin-top: 18px; }
.mobile-nav__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 24px 24px;
}

/* --- hero -------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(39, 118, 234, .32), transparent 62%),
    linear-gradient(180deg, var(--navy) 0%, #0b2038 100%);
  color: #fff;
  padding-block: clamp(56px, 7vw, 92px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1000px 520px at 30% 20%, #000 25%, transparent 78%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #cfe0f6;
}
.hero__eyebrow .dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(76, 200, 240, .6);
  animation: pulse 2.6s infinite;
}

.hero__title {
  margin-top: 26px;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  letter-spacing: -.035em;
  line-height: 1.06;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--cyan);
}

.hero__lead {
  margin-top: 22px;
  max-width: 54ch;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: #b9cce4;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  font-size: 13.5px;
  color: #a3bcd8;
}
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points svg { width: 15px; height: 15px; color: var(--cyan); flex: none; }

.hero__art { position: relative; }
.hero__art { position: relative; }
.hero__art .panel-art {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
}

/* --- SVG-иллюстрация шкафа --------------------------------------------- */

.panel-art .case { fill: #0e2440; stroke: #4f729b; stroke-width: 1.6; }
.panel-art .divider { stroke: #2c4c72; stroke-width: 1.2; }
.panel-art .rail { fill: #3a5b82; }
.panel-art .mod { fill: #16324f; stroke: #3e6089; stroke-width: 1; }
.panel-art .mod-line { stroke: #2b4a6b; stroke-width: 1; }
.panel-art .led { fill: #4cd2f5; animation: led 3.4s ease-in-out infinite; }
.panel-art .led:nth-of-type(2n) { animation-delay: .8s; }
.panel-art .led:nth-of-type(3n) { animation-delay: 1.7s; }
.panel-art .term { fill: #12293f; stroke: #3e6089; stroke-width: 1; }
.panel-art .screen { fill: #0a2237; stroke: #3e6089; stroke-width: 1; }
.panel-art .chart {
  fill: none;
  stroke: #2776ea;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: draw 2.6s var(--ease) .4s forwards;
}
.panel-art .dot { fill: #24405c; }
.panel-art .bar { fill: #2776ea; opacity: .85; }
.panel-art .bar--dim { fill: #24405c; }
.panel-art .btn { fill: none; stroke: #4f729b; stroke-width: 1.4; }
.panel-art .plate { fill: #0f2744; stroke: #3e6089; stroke-width: 1; }
.panel-art .plate-text {
  fill: #8fb0d4;
  font: 600 11px var(--font);
  letter-spacing: .08em;
}
.panel-art .duct { stroke: #1e3a5c; stroke-width: 2; stroke-dasharray: 4 6; }
.panel-art .bar-base { stroke: #3e6089; stroke-width: 1; }
.panel-art .wire { fill: none; stroke: #3e6089; stroke-width: 1.6; }
.panel-art .wire--accent { stroke: #2776ea; }
.panel-art .motor { fill: #0e2440; stroke: #4f729b; stroke-width: 1.6; }
.panel-art .motor-text { fill: #cfe0f4; font: 600 26px var(--font); }
.panel-art .io { fill: #0e2440; stroke: #3e6089; stroke-width: 1; }
.panel-art .io-line { stroke: #2b4a6b; stroke-width: 1; }
.panel-art .tag { fill: #5c7fa6; font: 11px var(--font); letter-spacing: .1em; }

@keyframes led {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 200, 240, .55); }
  70% { box-shadow: 0 0 0 8px rgba(76, 200, 240, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 200, 240, 0); }
}

/* --- лого-полоса / факты ------------------------------------------------ */

.factbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.factbar__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.factbar__item {
  padding: 26px 8px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.factbar__item:first-child { border-left: 0; }
.factbar__value {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
}
.factbar__label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* --- карточки услуг ----------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 4vw, 56px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: #cfdcf0;
  box-shadow: var(--shadow);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.card__icon svg { width: 22px; height: 22px; }
.card__title { font-size: 1.15rem; letter-spacing: -.015em; }
.card__text { margin-top: 10px; font-size: 15px; color: var(--muted); }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}
.card__link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.card__link:hover svg { transform: translateX(3px); }

/* --- преимущества (тёмный блок) ----------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 56px;
  margin-top: clamp(36px, 4vw, 52px);
}
.feature {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(39, 118, 234, .16);
  color: var(--cyan);
}
.feature__icon svg { width: 20px; height: 20px; }
.feature__title { font-size: 1.05rem; letter-spacing: -.01em; color: #fff; }
.feature__text { margin-top: 8px; font-size: 14.5px; color: var(--muted-light); }

/* --- процесс ------------------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: clamp(36px, 4vw, 56px);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 22px 26px 0;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--brand);
}
.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--line);
}
.step:first-child::after { background: var(--brand); }
.step__title { font-size: 1rem; }
.step__text { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* --- CTA-полоса --------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 340px at 85% 20%, rgba(39, 118, 234, .38), transparent 70%),
    var(--navy);
  color: #fff;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: clamp(44px, 5vw, 64px);
}
.cta-band h2 {
  max-width: 22ch;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  letter-spacing: -.03em;
  text-wrap: balance;
}
.cta-band p { margin-top: 12px; max-width: 46ch; color: var(--muted-light); font-size: 15.5px; }
.cta-band .btn-row { margin-top: 0; flex: none; }

/* --- внутренние страницы ------------------------------------------------ */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 84px) clamp(48px, 6vw, 72px);
  background:
    radial-gradient(900px 460px at 82% -20%, rgba(39, 118, 234, .3), transparent 66%),
    linear-gradient(180deg, var(--navy) 0%, #0b2038 100%);
  color: #fff;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(800px 420px at 20% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 780px; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -.035em;
  line-height: 1.08;
  text-wrap: balance;
}
.page-hero p {
  margin-top: 20px;
  max-width: 62ch;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  color: #b9cce4;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: #7f9cbd;
}
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-hidden] { opacity: .5; }

/* --- контентные блоки --------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.split--reverse > :first-child { order: 2; }

.service-block + .service-block { margin-top: clamp(48px, 6vw, 80px); }

.service-block__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--brand);
}
.service-block h2 {
  margin-top: 12px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -.025em;
}
.service-block p { margin-top: 14px; color: var(--muted); }

.ticks { margin-top: 22px; display: grid; gap: 10px; }
.ticks li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 15px;
  color: #33465c;
}
.ticks svg { width: 18px; height: 18px; margin-top: 3px; color: var(--brand); }

.panel-box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.panel-box h3 { font-size: 1rem; letter-spacing: 0; }
.panel-box dl { margin: 16px 0 0; display: grid; gap: 12px; }
.panel-box dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel-box dd { margin: 2px 0 0; font-size: 15px; font-weight: 500; }

/* --- карточки проектов -------------------------------------------------- */

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: clamp(36px, 4vw, 52px);
}
.project {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project__art {
  position: relative;
  display: grid;
  place-items: center;
  height: 208px;
  background-color: var(--navy);
  background-image:
    radial-gradient(360px 200px at 72% 8%, rgba(39, 118, 234, .34), transparent 72%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  color: #cfe0f4;
}
.project__art::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 8px;
  pointer-events: none;
}
.project__art svg { width: 96px; height: 96px; opacity: .92; position: relative; z-index: 1; }
.project__body { padding: 26px 26px 30px; }
.project__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.chip--muted { background: #eef1f6; color: #5a6d84; }
.project h2, .project h3 { font-size: 1.2rem; letter-spacing: -.015em; }
.project p { margin-top: 10px; font-size: 15px; color: var(--muted); }

.note {
  margin-top: 34px;
  padding: 18px 22px;
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  background: var(--bg-soft);
  font-size: 14.5px;
  color: var(--muted);
}

/* --- о компании --------------------------------------------------------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: clamp(32px, 4vw, 48px);
}
.value {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.value h3 { font-size: 1.05rem; }
.value p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

.person {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.person__avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
}
.person__name { font-weight: 700; font-size: 1.05rem; }
.person__role { font-size: 14px; color: var(--muted); }
.person__contacts { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.person__contacts a { color: var(--brand); }

/* --- контакты ----------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.contact-list { display: grid; gap: 4px; }
.contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:first-child { padding-top: 0; }
.contact-item__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.contact-item__icon svg { width: 19px; height: 19px; }
.contact-item__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-item__value { margin-top: 3px; font-size: 16px; font-weight: 500; }
.contact-item__value a:hover { color: var(--brand); }
.contact-item__hint { margin-top: 3px; font-size: 13.5px; color: var(--muted); }

.form {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.form h2 { font-size: 1.3rem; }
.form p.form__hint { margin-top: 8px; font-size: 14px; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-top: 16px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #34455a;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(39, 118, 234, .15);
}
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}
.form__note { font-size: 12.5px; color: var(--muted); max-width: 34ch; }
.form__status {
  margin-top: 14px;
  font-size: 14px;
  color: var(--brand-dark);
  min-height: 1.2em;
}

/* --- реквизиты ---------------------------------------------------------- */

.req {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
  margin-top: 26px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.req dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.req dd { margin: 3px 0 0; font-size: 15px; font-weight: 500; }

/* --- подвал ------------------------------------------------------------- */

.footer {
  background: var(--navy);
  color: #93aac5;
  font-size: 14.5px;
}
.footer__main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: clamp(48px, 6vw, 72px);
}
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__brand img { width: 76px; height: 76px; }
.footer__brand p { max-width: 34ch; line-height: 1.6; }
.footer h3 {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__contact li { display: grid; gap: 2px; }
.footer__contact strong { color: #fff; font-weight: 600; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  color: #7f96b3;
}
.footer__bottom ul { display: flex; gap: 20px; }

/* --- анимации появления ------------------------------------------------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}

/* --- адаптив ------------------------------------------------------------ */

@media (max-width: 1260px) {
  .header__phone span { display: none; }
}

@media (max-width: 1080px) {
  .nav__link { padding: 9px 9px; font-size: 14.5px; }
  .features { gap: 8px 32px; }
  .footer__main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav, .header__phone { display: none; }
  .burger { display: grid; }
  .header__actions { margin-left: auto; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: 0; max-width: 420px; margin: 28px auto 0; }
  .header { background: #fff; }
  .header::after { content: none; }
  .hero__title { font-size: clamp(1.9rem, 6vw, 2.6rem); }

  .factbar__list { grid-template-columns: repeat(2, 1fr); }
  .factbar__item:nth-child(3), .factbar__item:nth-child(4) { border-top: 1px solid var(--line); }
  .factbar__item:nth-child(3) { border-left: 0; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { width: calc(100% - 22px); }

  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }

  .projects { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer__main { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .cards, .features, .value-grid, .compliance, .req { grid-template-columns: 1fr; }
  .facts, .steps { grid-template-columns: 1fr; }
  .step { padding: 20px 0; }
  .step::after { width: 100%; }
  .btn-row .btn { flex: 1 1 auto; }
  .form__row { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .brand__tag { display: none; }
}

/* --- дополнения: чипы технологий, компактная CTA в шапке ---------------- */

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

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(28px, 3vw, 40px);
}
.chips .chip {
  padding: 9px 16px;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: none;
  font-weight: 600;
}
.section--dark .chips .chip {
  background: rgba(255, 255, 255, .07);
  color: #cfe0f4;
  border: 1px solid rgba(255, 255, 255, .12);
}

.header__cta { padding: 11px 18px; font-size: 14px; }

@media (max-width: 1160px) {
  .header__cta { display: none; }
}
