/* =========================================================
   ООО «МираМед» — premium clinical research landing
   Static HTML/CSS/JS, no external dependencies
   ========================================================= */

:root {
  --night: #071824;
  --ink: #10202b;
  --graphite: #24313a;
  --body: #536574;
  --muted: #758696;
  --line: #dbe6ee;
  --line-strong: #c2d4df;
  --surface: #ffffff;
  --surface-soft: #f4f9fb;
  --surface-mint: #edf9f5;
  --aqua: #2ed8d0;
  --cyan: #49c7ff;
  --green: #8be56f;
  --blue: #1767cf;
  --blue-dark: #0b3472;
  --logo-navy: #071827;
  --logo-navy-alt: #0B1F33;
  --logo-cyan: #23D3C3;
  --logo-cyan-alt: #19C7D4;
  --logo-blue: #1D6FD6;
  --logo-white: #ffffff;
  --logo-green: #4ED6A3;
  --logo-glow: rgba(35, 211, 195, .52);
  --amber: #ffd166;
  --danger: #ff6b6b;
  --shadow: 0 18px 42px rgba(10, 31, 46, .12);
  --shadow-soft: 0 10px 24px rgba(10, 31, 46, .08);
  --shadow-dark: 0 26px 80px rgba(0, 0, 0, .36);
  --radius: 8px;
  --container: 1240px;
  --pad: 24px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", Roboto, Arial, "Noto Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--body);
  background:
    linear-gradient(90deg, rgba(23, 103, 207, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 103, 207, .045) 1px, transparent 1px),
    linear-gradient(180deg, #f8fcfd 0%, #edf5f8 52%, #f8fcfd 100%);
  background-size: 48px 48px, 48px 48px, auto;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.14;
  font-weight: 760;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  color: #ffffff;
  font-size: 2.85rem;
}

h2 {
  font-size: 2.6rem;
}

h3 {
  font-size: 1.15rem;
}

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

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

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

ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.skip-link {
  position: absolute;
  top: 0;
  left: -999px;
  z-index: 500;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid rgba(73, 199, 255, .72);
  outline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .95rem;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}

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

.btn-primary {
  color: #051722;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  box-shadow: 0 14px 30px rgba(33, 230, 193, .28);
}

.btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .28);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  border-color: rgba(73, 199, 255, .78);
  box-shadow: 0 16px 34px rgba(73, 199, 255, .18);
}

.btn-ghost {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.btn-ghost:hover {
  border-color: var(--cyan);
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(7, 24, 36, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px) saturate(150%);
  transition: background .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.site-header.scrolled {
  background: rgba(7, 24, 36, .94);
  border-bottom-color: rgba(73, 199, 255, .18);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 184px;
  margin-right: auto;
  color: #ffffff;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  filter: drop-shadow(0 12px 22px rgba(35, 211, 195, .2));
}

.brand-logo-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-logo-field {
  fill: var(--logo-navy);
  stroke: rgba(255, 255, 255, .14);
  stroke-width: 1;
}

.brand-logo-m,
.brand-logo-pulse {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: filter .28s ease, opacity .28s ease, stroke .28s ease;
}

.brand-logo-m {
  stroke: url("#brandPulseGradient");
  stroke-width: 7;
}

.footer-logo-m {
  stroke: url("#footerPulseGradient");
}

.brand-logo-pulse {
  stroke: var(--logo-white);
  stroke-width: 3.4;
}

.brand-logo-sample {
  fill: var(--logo-green);
}

.brand-logo-sample-ring {
  fill: none;
  stroke: var(--logo-green);
  stroke-width: 3;
  opacity: .26;
  transform-origin: 63px 64px;
  transition: opacity .28s ease, transform .28s ease;
}

.brand:hover .brand-logo-m,
.footer-logo:hover .brand-logo-m {
  filter: drop-shadow(0 0 8px var(--logo-glow));
}

.brand:hover .brand-logo-pulse,
.footer-logo:hover .brand-logo-pulse {
  animation: logoPulseGlow 1.8s ease-in-out infinite;
}

.brand:hover .brand-logo-sample-ring,
.footer-logo:hover .brand-logo-sample-ring {
  opacity: .58;
  transform: scale(1.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.06rem;
  font-weight: 820;
}

.brand-sub {
  color: rgba(226, 245, 247, .72);
  font-size: .78rem;
  font-weight: 620;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  position: relative;
  padding: 9px 9px;
  color: rgba(242, 250, 252, .86);
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 660;
  transition: color .2s ease, background .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
}

.main-nav a::after {
  position: absolute;
  right: 9px;
  bottom: 5px;
  left: 9px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--aqua), var(--green));
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(.25);
  transform-origin: left center;
  transition: opacity .2s ease, transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta {
  min-height: 42px;
  padding-inline: 14px;
  font-size: .84rem;
}

.burger {
  position: relative;
  display: none;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.burger span {
  position: absolute;
  right: 12px;
  left: 12px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: top .2s ease, transform .2s ease, opacity .16s ease;
}

.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  padding: 0 var(--pad) 22px;
  background: rgba(7, 24, 36, .98);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  display: grid;
  gap: 2px;
  padding-block: 12px;
}

.mobile-menu a {
  color: #ffffff;
}

.mobile-menu nav a {
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-weight: 660;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: 640px;
  overflow: hidden;
  color: #ffffff;
  background: var(--night);
}

.hero-media-bg,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-media-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 15, 24, .94) 0%, rgba(7, 24, 36, .84) 42%, rgba(7, 24, 36, .36) 100%),
    linear-gradient(180deg, rgba(7, 24, 36, .25) 0%, rgba(7, 24, 36, .82) 100%);
}

.hero-grid {
  opacity: .5;
  background-image:
    linear-gradient(90deg, rgba(73, 199, 255, .12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(73, 199, 255, .1) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, #000 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 28px;
}

.hero-copy {
  max-width: 920px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--aqua);
  font-size: .85rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow {
  padding: 7px 10px;
  color: #c8fbf3;
  text-transform: none;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.hero-lead {
  max-width: 820px;
  margin-top: 22px;
  color: rgba(237, 248, 250, .86);
  font-size: 1.16rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 880px;
  margin-top: 28px;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: rgba(239, 251, 252, .86);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  font-size: .92rem;
}

.hero-proof strong {
  margin-right: 5px;
  color: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.command-center {
  align-self: end;
  min-width: 0;
  padding: 22px;
  color: #ffffff;
  background: rgba(8, 26, 39, .72);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(18px) saturate(140%);
}

.panel-kicker {
  color: rgba(210, 246, 249, .72);
  font-size: .78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.signal-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
  font-size: .95rem;
  font-weight: 760;
}

.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(139, 229, 111, .72);
  animation: signalPulse 2.2s infinite;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.dashboard-metrics div {
  padding: 13px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
}

.dashboard-metrics dt {
  color: rgba(226, 246, 249, .72);
  font-size: .74rem;
}

.dashboard-metrics dd {
  margin: 4px 0 0;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 820;
}

.mini-pk {
  width: 100%;
  margin-top: 18px;
  overflow: visible;
}

.mini-pk .axis,
.pk-chart .axis {
  fill: none;
  stroke: rgba(226, 246, 249, .32);
  stroke-width: 2;
  stroke-linecap: round;
}

.mini-pk .draw-path {
  fill: none;
  stroke: var(--aqua);
  stroke-width: 5;
  stroke-linecap: round;
}

.mini-pk circle {
  fill: var(--green);
  filter: drop-shadow(0 0 8px rgba(139, 229, 111, .9));
}

.floating-chips {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.data-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: #061821;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  font-size: .86rem;
  font-weight: 820;
  animation: floatChip 6s ease-in-out infinite;
}

.chip-one { top: 158px; right: 470px; }
.chip-two { top: 220px; right: 40px; animation-delay: -.7s; }
.chip-three { bottom: 168px; right: 430px; animation-delay: -1.4s; }
.chip-four { bottom: 96px; right: 140px; animation-delay: -2.1s; }
.chip-five { top: 340px; right: 330px; animation-delay: -2.8s; }
.chip-six { top: 118px; right: 190px; animation-delay: -3.5s; }

.hero-ecg {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 118px;
  opacity: .84;
  pointer-events: none;
}

.ecg-line,
.ecg-glow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ecg-glow {
  stroke: rgba(73, 199, 255, .28);
  stroke-width: 12;
  filter: blur(7px);
}

.ecg-line {
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-dasharray: 1220;
  stroke-dashoffset: 1220;
  animation: ecgDraw 4.5s ease-in-out infinite;
}

/* Sections */
.section {
  position: relative;
  padding: 86px 0;
}

.intro-band,
.services-section,
.usability-section,
.special-handling-section,
.experience-section,
.requisites-section {
  background: rgba(255, 255, 255, .72);
}

.why-section,
.process-section,
.quality-section,
.gallery-section {
  background: linear-gradient(180deg, rgba(238, 247, 249, .92), rgba(247, 252, 252, .92));
}

.be-section {
  color: #dceff3;
  background:
    linear-gradient(90deg, rgba(46, 216, 208, .12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(46, 216, 208, .1) 1px, transparent 1px),
    radial-gradient(circle at 18% 20%, rgba(73, 199, 255, .16), transparent 30%),
    linear-gradient(135deg, #061821 0%, #0b2637 52%, #063d42 100%);
  background-size: 56px 56px, 56px 56px, auto, auto;
}

.section-head {
  max-width: 810px;
  margin-bottom: 36px;
}

.section-head p,
.section-copy p {
  margin-top: 14px;
}

.section-head > p:not(.kicker) {
  color: var(--body);
  font-size: 1.08rem;
}

.section-copy {
  min-width: 0;
}

.lead {
  color: var(--graphite);
  font-size: 1.12rem;
  font-weight: 620;
}

.be-section h2,
.be-section .lead {
  color: #ffffff;
}

.be-section .section-copy p:not(.kicker) {
  color: rgba(226, 246, 249, .82);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: start;
}

.about-facts,
.service-grid,
.advantage-grid,
.infra-grid,
.handling-grid,
.quality-dashboard,
.team-cards {
  display: grid;
  gap: 16px;
}

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

.about-facts article,
.advantage,
.service-card,
.metric,
.infra-card,
.quality-dashboard article,
.person-card,
.requisites-list,
.pk-panel,
.experience-visual,
.region-map,
.final-cta {
  border-radius: var(--radius);
}

.about-facts article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.about-facts article span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #061821;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  border-radius: var(--radius);
  font-weight: 820;
}

.about-facts article h3 {
  margin-bottom: 6px;
}

/* Why */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric {
  min-height: 156px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(237, 249, 245, .9));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.metric-number {
  display: block;
  color: var(--ink);
  font-size: 2.7rem;
  font-weight: 840;
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 12px;
  color: var(--body);
  font-size: .94rem;
}

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

.advantage {
  min-height: 188px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.advantage:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 216, 208, .6);
  box-shadow: var(--shadow);
}

.advantage h3 {
  margin-bottom: 10px;
}

/* Services */
.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  min-height: 310px;
  padding: 24px;
  overflow: hidden;
  color: var(--body);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(46, 216, 208, .14), transparent 40%),
    linear-gradient(315deg, rgba(73, 199, 255, .12), transparent 44%);
  opacity: 0;
  transition: opacity .22s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(73, 199, 255, .52);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  position: relative;
  display: grid;
  width: 54px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  color: #061821;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 840;
}

.service-card h3,
.service-card p {
  position: relative;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.service-card p {
  font-size: .96rem;
}

/* Bioequivalence */
.be-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: center;
}

.pk-panel {
  padding: 22px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(18px);
}

.pk-title-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: rgba(226, 246, 249, .75);
  font-size: .9rem;
}

.pk-title-row strong {
  color: #ffffff;
}

.pk-chart {
  width: 100%;
  min-height: 250px;
}

.chart-grid {
  fill: none;
  stroke: rgba(226, 246, 249, .12);
  stroke-width: 1;
}

.pk-line {
  fill: none;
  stroke: url("#pkGradient");
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 14px rgba(46, 216, 208, .54));
}

.pk-points circle {
  fill: #ffffff;
  stroke: var(--green);
  stroke-width: 3;
}

.pk-chart text {
  fill: rgba(226, 246, 249, .72);
  font-size: 15px;
  font-weight: 700;
}

.pk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pk-tags li {
  padding: 7px 10px;
  color: #061821;
  background: rgba(255, 255, 255, .86);
  border-radius: var(--radius);
  font-size: .86rem;
  font-weight: 790;
}

/* Special handling */
.handling-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.handling-grid article {
  min-height: 220px;
  padding: 24px;
  color: var(--body);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .076), rgba(255, 255, 255, .038)),
    linear-gradient(180deg, rgba(35, 211, 195, .045), rgba(29, 111, 214, .02));
  border: 1px solid rgba(120, 220, 255, .18);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .18);
}

.handling-grid span {
  display: inline-grid;
  width: 44px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  color: #06131d;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  border-radius: 9px;
  font-size: .82rem;
  font-weight: 820;
}

.handling-grid h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.handling-grid p {
  color: var(--body);
  font-size: .95rem;
}

.be-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(9, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 38px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-color: rgba(73, 199, 255, .6) rgba(255, 255, 255, .12);
}

.be-flow::before {
  position: absolute;
  top: 31px;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--aqua), var(--cyan), var(--green));
  opacity: .6;
}

.workflow-node {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 112px;
  padding: 0 10px 14px;
  color: rgba(226, 246, 249, .78);
  font-size: .9rem;
  font-weight: 700;
}

.workflow-node span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #061821;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
  transition: transform .22s ease, background .22s ease;
}

.workflow-node.is-active span {
  background: linear-gradient(135deg, var(--aqua), var(--green));
  transform: translateY(-4px);
}

/* Process */
.process-rail {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(135deg, #071824, #0c2c3e);
  border: 1px solid rgba(73, 199, 255, .18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.process-pulse {
  position: absolute;
  top: 44px;
  right: 28px;
  left: 28px;
  width: calc(100% - 56px);
  height: 150px;
  opacity: .6;
  pointer-events: none;
}

.process-pulse .draw-path {
  fill: none;
  stroke: var(--aqua);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(46, 216, 208, .42));
}

.process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.process-card {
  min-height: 208px;
  padding: 20px;
  color: rgba(226, 246, 249, .82);
  background: rgba(255, 255, 255, .065);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.process-card.is-active,
.process-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .11);
  border-color: rgba(46, 216, 208, .64);
}

.process-index {
  display: inline-grid;
  width: 42px;
  height: 34px;
  place-items: center;
  margin-bottom: 16px;
  color: #061821;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  border-radius: var(--radius);
  font-weight: 840;
}

.process-card h3 {
  margin-bottom: 9px;
  color: #ffffff;
}

.time-dots {
  display: flex;
  gap: 7px;
  margin-top: 16px;
}

.time-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 0 rgba(255, 107, 107, .5);
  animation: bloodDot 1.8s infinite;
}

.time-dots i:nth-child(2) { animation-delay: .15s; }
.time-dots i:nth-child(3) { animation-delay: .3s; }
.time-dots i:nth-child(4) { animation-delay: .45s; }
.time-dots i:nth-child(5) { animation-delay: .6s; }

/* Usability */
.usability-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 42px;
  align-items: start;
}

.usability-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.usability-cards article {
  padding: 20px;
  background: linear-gradient(135deg, #ffffff, var(--surface-mint));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.usability-cards h3 {
  margin-bottom: 8px;
}

/* Infrastructure */
.capacity-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.capacity-board div {
  padding: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #0b2637, #0a4c5a);
  border: 1px solid rgba(46, 216, 208, .22);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.capacity-board strong,
.capacity-board span {
  display: block;
}

.capacity-board strong {
  font-size: 1.7rem;
  line-height: 1;
}

.capacity-board span {
  margin-top: 8px;
  color: rgba(226, 246, 249, .75);
  font-size: .82rem;
  font-weight: 700;
}

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

.infra-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.infra-card:hover {
  transform: translateY(-5px);
  border-color: rgba(46, 216, 208, .62);
  box-shadow: var(--shadow);
}

.infra-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.infra-card div {
  padding: 18px;
}

.infra-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 8px;
  color: var(--blue-dark);
  background: #e8f6ff;
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 820;
}

.infra-card h3 {
  margin-bottom: 8px;
}

.infra-card p {
  font-size: .94rem;
}

/* Region */
.region-section {
  background: #ffffff;
}

.region-layout,
.experience-layout,
.team-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.region-map {
  position: relative;
  min-height: 420px;
  padding: 26px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(23, 103, 207, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 103, 207, .08) 1px, transparent 1px),
    linear-gradient(135deg, #edf8fb, #ffffff);
  background-size: 34px 34px, 34px 34px, auto;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.region-map svg {
  width: 100%;
  height: 300px;
}

.map-shape {
  fill: rgba(23, 103, 207, .08);
  stroke: rgba(23, 103, 207, .5);
  stroke-width: 3;
}

.map-line {
  fill: none;
  stroke: rgba(46, 216, 208, .65);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 12 14;
}

.map-ping {
  fill: rgba(46, 216, 208, .25);
  stroke: var(--aqua);
  stroke-width: 2;
  transform-origin: 246px 218px;
  animation: mapPulse 2.4s infinite;
}

.map-core {
  fill: var(--blue-dark);
}

.map-caption {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.map-caption strong {
  color: var(--ink);
}

.map-caption span {
  color: var(--body);
  font-size: .92rem;
}

/* Experience */
.experience-visual {
  min-height: 360px;
  padding: 26px;
  color: #ffffff;
  background: linear-gradient(135deg, #071824, #0d4050);
  border: 1px solid rgba(46, 216, 208, .24);
  box-shadow: var(--shadow);
}

.experience-count {
  display: grid;
  gap: 4px;
}

.experience-count span {
  font-size: 5rem;
  font-weight: 860;
  line-height: .9;
}

.experience-count small {
  color: rgba(226, 246, 249, .74);
  font-size: 1rem;
  font-weight: 780;
}

.mini-bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 12px;
  height: 170px;
  margin-top: 28px;
}

.mini-bars span {
  height: var(--h);
  min-height: 24px;
  background: linear-gradient(180deg, var(--green), var(--aqua));
  border-radius: var(--radius) var(--radius) 0 0;
  transform-origin: bottom;
  animation: barGrow 1.1s ease both;
}

.mini-bars span:nth-child(2) { animation-delay: .08s; }
.mini-bars span:nth-child(3) { animation-delay: .16s; }
.mini-bars span:nth-child(4) { animation-delay: .24s; }
.mini-bars span:nth-child(5) { animation-delay: .32s; }

.progress-line {
  height: 6px;
  margin-top: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
}

.progress-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--aqua), var(--cyan), var(--green));
  transform-origin: left;
  animation: lineGrow 1.3s ease both;
}

/* Quality */
.quality-dashboard {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quality-dashboard article {
  position: relative;
  padding: 22px 22px 22px 56px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.quality-dashboard article span {
  position: absolute;
  top: 23px;
  left: 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aqua), var(--green));
}

.quality-dashboard article span::after {
  position: absolute;
  top: 5px;
  left: 8px;
  width: 6px;
  height: 10px;
  content: "";
  border: solid #061821;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.quality-dashboard h3 {
  margin-bottom: 7px;
}

/* Gallery */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-btn {
  min-height: 40px;
  padding: 0 13px;
  color: var(--graphite);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 720;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: #061821;
  background: linear-gradient(135deg, rgba(46, 216, 208, .32), rgba(139, 229, 111, .28));
  border-color: rgba(46, 216, 208, .64);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.gallery-item:hover img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 42px 15px 14px;
  color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(5, 15, 24, .84));
  font-size: .9rem;
  font-weight: 760;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}

.gallery-item:hover figcaption,
.gallery-item:focus-visible figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item.is-hidden {
  display: none;
}

/* Team */
.team-section {
  background: #ffffff;
}

.person-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.avatar {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  color: #061821;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 840;
}

.person-content p {
  margin-top: 5px;
  color: var(--blue-dark);
  font-weight: 760;
}

.person-content > span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .92rem;
}

.person-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

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

/* Requisites */
.requisites-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.requisites-list div {
  min-width: 0;
  padding: 18px;
  background: var(--surface);
}

.requisites-list .wide {
  grid-column: 1 / -1;
}

.requisites-list dt {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 740;
  text-transform: uppercase;
}

.requisites-list dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-weight: 720;
}

/* Contacts */
.contacts-section {
  padding-top: 64px;
  background: linear-gradient(180deg, #ffffff, #edf6f8);
}

.final-cta {
  padding: 42px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(46, 216, 208, .12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(46, 216, 208, .1) 1px, transparent 1px),
    linear-gradient(135deg, #071824, #0b3946);
  background-size: 44px 44px, 44px 44px, auto;
  border: 1px solid rgba(46, 216, 208, .24);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  max-width: 740px;
  color: #ffffff;
}

.final-cta p:not(.kicker) {
  max-width: 820px;
  margin-top: 14px;
  color: rgba(226, 246, 249, .82);
  font-size: 1.08rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

/* Footer */
.site-footer {
  padding: 44px 0 28px;
  color: rgba(226, 246, 249, .72);
  background: #071824;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 26px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-mark {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  filter: drop-shadow(0 12px 22px rgba(35, 211, 195, .18));
}

.footer-name {
  display: block;
  margin-bottom: 3px;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 820;
  line-height: 1;
}

.footer-sub {
  display: block;
  color: rgba(226, 245, 247, .68);
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.2;
}

.site-footer nav,
.footer-contacts {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer a {
  color: #ffffff;
  font-weight: 680;
}

.site-footer a:hover {
  color: var(--aqua);
}

.footer-contacts span {
  color: rgba(226, 246, 249, .62);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom p {
  color: rgba(226, 246, 249, .58);
  font-size: .88rem;
}

/* Floating controls and lightbox */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 160;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #061821;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease;
}

.to-top:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 4vw;
  background: rgba(5, 15, 24, .94);
  opacity: 0;
  transition: opacity .22s ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.show {
  opacity: 1;
}

.lb-figure {
  display: grid;
  gap: 12px;
  justify-items: center;
  max-width: min(1100px, 92vw);
  margin: 0;
}

.lb-figure img {
  max-height: 78vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
}

.lb-figure figcaption {
  color: #ffffff;
  text-align: center;
  font-weight: 650;
}

.lb-close,
.lb-nav {
  position: absolute;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  cursor: pointer;
}

.lb-close {
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
}

.lb-nav {
  top: 50%;
  width: 54px;
  height: 54px;
  font-size: 2.2rem;
  transform: translateY(-50%);
}

.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-close:hover,
.lb-nav:hover {
  background: rgba(255, 255, 255, .2);
}

/* Scroll reveal and draw paths */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .68s cubic-bezier(.2, .7, .2, 1), transform .68s cubic-bezier(.2, .7, .2, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.draw-path {
  stroke-dasharray: var(--path-length, 1000);
  stroke-dashoffset: var(--path-length, 1000);
  transition: stroke-dashoffset 1.6s cubic-bezier(.2, .7, .2, 1);
}

.is-visible .draw-path,
.hero .draw-path {
  stroke-dashoffset: 0;
}

/* Animations */
@keyframes signalPulse {
  0% { box-shadow: 0 0 0 0 rgba(139, 229, 111, .72); }
  70% { box-shadow: 0 0 0 10px rgba(139, 229, 111, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 229, 111, 0); }
}

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

@keyframes ecgDraw {
  0% { stroke-dashoffset: 1220; opacity: .28; }
  42% { stroke-dashoffset: 0; opacity: 1; }
  78% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -1220; opacity: .28; }
}

@keyframes logoPulseGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(35, 211, 195, 0)); }
  50% { filter: drop-shadow(0 0 8px rgba(35, 211, 195, .8)); }
}

@keyframes bloodDot {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, .55); transform: scale(1); }
  70% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); transform: scale(1.08); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); transform: scale(1); }
}

@keyframes mapPulse {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.75); opacity: .22; }
}

@keyframes barGrow {
  from { transform: scaleY(.1); opacity: .35; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes lineGrow {
  from { transform: scaleX(.08); }
  to { transform: scaleX(1); }
}

/* Responsive */
@media (min-width: 1400px) {
  h1 {
    font-size: 4rem;
  }
}

@media (max-width: 1300px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .burger {
    display: block;
  }
}

@media (max-width: 1180px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .command-center {
    max-width: 520px;
    align-self: auto;
  }

  .floating-chips {
    display: none;
  }

  .metrics-strip,
  .infra-grid,
  .capacity-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  h1 { font-size: 2.65rem; }
  h2 { font-size: 2.15rem; }

  .section {
    padding: 70px 0;
  }

  .two-column,
  .be-layout,
  .usability-layout,
  .region-layout,
  .experience-layout,
  .team-layout {
    grid-template-columns: 1fr;
  }

  .advantage-grid,
  .service-grid,
  .process-grid,
  .quality-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 18px;
  }

  html {
    scroll-padding-top: 72px;
  }

  body {
    font-size: 16px;
  }

  h1 { font-size: 2.42rem; }
  h2 { font-size: 1.86rem; }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: .95rem;
  }

  .brand-sub {
    font-size: .72rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 42px;
    padding-bottom: 28px;
  }

  .hero-lead {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero-proof {
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 16px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hero-proof::-webkit-scrollbar {
    display: none;
  }

  .hero-proof li {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 10px;
    font-size: .86rem;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-actions .btn {
    min-height: 42px;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .command-center {
    display: none;
  }

  .process-rail,
  .final-cta {
    padding: 18px;
  }

  .dashboard-metrics,
  .metrics-strip,
  .advantage-grid,
  .service-grid,
  .process-grid,
  .usability-cards,
  .capacity-board,
  .infra-grid,
  .quality-dashboard,
  .gallery-grid,
  .requisites-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 230px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-item figcaption {
    opacity: 1;
    transform: none;
  }

  .process-pulse {
    display: none;
  }

  .process-card {
    min-height: auto;
  }

  .region-map {
    min-height: 360px;
  }

  .person-card {
    grid-template-columns: 60px minmax(0, 1fr);
    padding: 18px;
  }

  .avatar {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }

  .person-actions .btn {
    flex: 1 1 140px;
  }

  .requisites-list .wide {
    grid-column: auto;
  }

  .lb-nav {
    width: 42px;
    height: 42px;
  }

  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

@media (max-width: 430px) {
  h1 { font-size: 2.02rem; }
  h2 { font-size: 1.58rem; }

  .brand-sub {
    display: none;
  }

  .hero-proof li {
    align-items: center;
    flex-direction: row;
    min-height: 36px;
  }

  .metric-number {
    font-size: 2.2rem;
  }

  .experience-count span {
    font-size: 4rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .draw-path,
  .ecg-line {
    stroke-dashoffset: 0 !important;
  }

  .brand:hover .brand-logo-pulse,
  .footer-logo:hover .brand-logo-pulse {
    animation: none !important;
    filter: drop-shadow(0 0 5px rgba(35, 211, 195, .5));
  }
}

/* =========================================================
   2026 visual redesign: premium medical biotech system
   ========================================================= */
:root {
  --night: #06131d;
  --ink: #f3f7fa;
  --graphite: #dbe8ef;
  --body: #b8c7d2;
  --muted: #8fa3b1;
  --line: rgba(120, 220, 255, .18);
  --line-strong: rgba(120, 220, 255, .34);
  --surface: rgba(255, 255, 255, .065);
  --surface-soft: rgba(255, 255, 255, .045);
  --surface-mint: rgba(35, 211, 195, .08);
  --aqua: #23d3c3;
  --cyan: #19c7d4;
  --green: #6eeb83;
  --blue: #1d6fd6;
  --blue-dark: #0b1f33;
  --shadow: 0 22px 60px rgba(0, 0, 0, .28);
  --shadow-soft: 0 16px 38px rgba(0, 0, 0, .2);
  --radius: 10px;
  --font: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", Roboto, Arial, "Noto Sans", sans-serif;
}

body {
  color: var(--body);
  background:
    linear-gradient(90deg, rgba(35, 211, 195, .035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(35, 211, 195, .03) 1px, transparent 1px),
    linear-gradient(180deg, #06131d 0%, #071827 38%, #0b1f33 68%, #06131d 100%);
  background-size: 56px 56px, 56px 56px, auto;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 760;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.65rem, 4.4vw, 4.55rem);
  line-height: 1.02;
}

h2 {
  max-width: 900px;
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 1.06;
}

h3 {
  font-size: 1.12rem;
}

p {
  max-width: 900px;
}

.lead,
.hero-lead,
.section-head > p:not(.kicker),
.section-copy p {
  color: var(--body);
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  font-weight: 560;
}

.section {
  padding: 92px 0;
}

.intro-band,
.services-section,
.usability-section,
.experience-section,
.requisites-section,
.region-section,
.team-section,
.contacts-section,
.why-section,
.process-section,
.quality-section,
.gallery-section,
.infrastructure-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .018), rgba(255, 255, 255, .006)),
    transparent;
}

.be-section {
  background:
    linear-gradient(90deg, rgba(35, 211, 195, .05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(35, 211, 195, .045) 1px, transparent 1px),
    linear-gradient(135deg, #06131d 0%, #092235 50%, #06131d 100%);
  background-size: 54px 54px, 54px 54px, auto;
}

.kicker,
.eyebrow {
  color: #9bf5ec;
  font-weight: 760;
}

.kicker::before,
.eyebrow::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--aqua);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(35, 211, 195, .72);
}

.eyebrow {
  color: #d7fbf7;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(120, 220, 255, .22);
}

.btn {
  min-height: 46px;
  border-radius: 9px;
  font-weight: 760;
}

.btn-primary {
  color: #031117;
  background: linear-gradient(135deg, #23d3c3, #6eeb83);
  box-shadow: 0 16px 34px rgba(35, 211, 195, .24);
}

.btn-secondary {
  color: #e9fbff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(120, 220, 255, .24);
}

.btn-ghost {
  color: #f3f7fa;
  background: rgba(255, 255, 255, .055);
  border-color: rgba(120, 220, 255, .18);
  box-shadow: none;
}

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

.site-header {
  background: rgba(6, 19, 29, .74);
  border-bottom: 1px solid rgba(120, 220, 255, .13);
  backdrop-filter: blur(22px) saturate(160%);
}

.site-header.scrolled {
  background: rgba(6, 19, 29, .92);
  border-bottom-color: rgba(35, 211, 195, .22);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

.header-inner {
  gap: 12px;
  min-height: 72px;
}

.brand {
  min-width: 176px;
}

.brand-mark {
  width: 44px;
  height: 44px;
}

.brand-name {
  font-size: 1.04rem;
  letter-spacing: 0;
}

.brand-sub {
  color: rgba(226, 245, 247, .68);
  font-size: .72rem;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  gap: 4px;
}

.main-nav a {
  white-space: nowrap;
  padding: 9px 7px;
  color: rgba(236, 247, 250, .76);
  background: transparent;
  font-size: clamp(.72rem, .72vw, .84rem);
  font-weight: 650;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
  background: rgba(35, 211, 195, .06);
}

.main-nav a::after {
  right: 8px;
  left: 8px;
  bottom: 3px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aqua), transparent);
}

.header-cta {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 40px;
  padding-inline: 13px;
  font-size: .78rem;
}

.burger,
.mobile-menu {
  border-color: rgba(120, 220, 255, .2);
  background: rgba(255, 255, 255, .07);
}

.burger {
  display: none;
}

.mobile-menu {
  background: rgba(6, 19, 29, .98);
}

/* Abstract hero scene */
.hero {
  min-height: 720px;
  background: #06131d;
}

.hero-research-bg,
.hero-gradient,
.hero-grid,
.hero-particles,
.hero-data-panel {
  position: absolute;
  inset: 0;
}

.hero-research-bg {
  overflow: hidden;
  pointer-events: none;
}

.hero-gradient {
  background:
    linear-gradient(120deg, rgba(6, 19, 29, .98) 0%, rgba(7, 24, 39, .92) 45%, rgba(11, 31, 51, .7) 100%),
    linear-gradient(180deg, rgba(29, 111, 214, .12), rgba(35, 211, 195, .05) 46%, rgba(6, 19, 29, .92) 100%);
}

.hero-grid {
  opacity: .6;
  background-image:
    linear-gradient(90deg, rgba(120, 220, 255, .1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 220, 255, .08) 1px, transparent 1px);
  background-size: 66px 66px;
  animation: researchGrid 22s linear infinite;
  mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
}

.hero-data-panel {
  left: auto;
  width: min(70vw, 980px);
  opacity: .82;
  transform: translateX(8%);
}

.panel-grid-line,
.panel-axis {
  fill: none;
  stroke: rgba(184, 199, 210, .14);
  stroke-width: 1.4;
}

.panel-axis {
  stroke: rgba(184, 199, 210, .3);
  stroke-width: 2;
}

.panel-line,
.panel-pk {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel-line-soft {
  stroke: rgba(35, 211, 195, .2);
  stroke-width: 18;
  filter: blur(8px);
}

.panel-line-main {
  stroke: #19c7d4;
  stroke-width: 4;
  stroke-dasharray: 940;
  stroke-dashoffset: 940;
  animation: ecgDraw 5.2s ease-in-out infinite;
}

.panel-pk {
  stroke: #6eeb83;
  stroke-width: 4;
  stroke-dasharray: 780;
  stroke-dashoffset: 780;
  animation: pkTrace 6.4s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(110, 235, 131, .35));
}

.panel-samples circle {
  fill: #ffffff;
  stroke: var(--aqua);
  stroke-width: 3;
  animation: sampleBlink 3.4s ease-in-out infinite;
}

.panel-samples circle:nth-child(2) { animation-delay: .35s; }
.panel-samples circle:nth-child(3) { animation-delay: .7s; }
.panel-samples circle:nth-child(4) { animation-delay: 1.05s; }

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(155, 245, 236, .82);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(35, 211, 195, .65);
  animation: dataFloat 9s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { top: 18%; left: 54%; }
.hero-particles span:nth-child(2) { top: 28%; left: 76%; animation-delay: -1s; }
.hero-particles span:nth-child(3) { top: 42%; left: 63%; animation-delay: -2s; }
.hero-particles span:nth-child(4) { top: 58%; left: 82%; animation-delay: -3s; }
.hero-particles span:nth-child(5) { top: 70%; left: 56%; animation-delay: -4s; }
.hero-particles span:nth-child(6) { top: 18%; left: 88%; animation-delay: -5s; }
.hero-particles span:nth-child(7) { top: 78%; left: 72%; animation-delay: -6s; }
.hero-particles span:nth-child(8) { top: 34%; left: 48%; animation-delay: -7s; }
.hero-particles span:nth-child(9) { top: 50%; left: 92%; animation-delay: -8s; }
.hero-particles span:nth-child(10) { top: 66%; left: 67%; animation-delay: -2.5s; }
.hero-particles span:nth-child(11) { top: 12%; left: 69%; animation-delay: -4.5s; }
.hero-particles span:nth-child(12) { top: 82%; left: 90%; animation-delay: -6.5s; }

.hero-content {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 410px);
  gap: 48px;
  padding-top: 74px;
  padding-bottom: 54px;
}

.hero-lead {
  max-width: 800px;
  font-size: 1.12rem;
}

.hero-proof {
  max-width: 760px;
}

.hero-proof li {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(120, 220, 255, .18);
}

.command-center,
.pk-panel,
.process-rail,
.experience-visual,
.region-map,
.final-cta {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035)),
    linear-gradient(180deg, rgba(35, 211, 195, .07), rgba(29, 111, 214, .035));
  border: 1px solid rgba(120, 220, 255, .2);
  box-shadow: var(--shadow);
}

.command-center {
  align-self: center;
}

.panel-kicker {
  color: rgba(216, 248, 252, .68);
}

.dashboard-metrics div,
.data-chip,
.pk-tags li,
.workflow-node span {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(120, 220, 255, .18);
}

.dashboard-metrics dt {
  color: rgba(216, 248, 252, .66);
}

.dashboard-metrics dd,
.pk-title-row strong {
  color: #ffffff;
}

.mini-pk .axis,
.pk-chart .axis {
  stroke: rgba(184, 199, 210, .25);
}

.floating-chips {
  z-index: 0;
}

.data-chip {
  color: #e9fbff;
  background: rgba(6, 19, 29, .72);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .18);
  animation: floatChip 8s ease-in-out infinite;
}

.chip-one { top: 112px; right: 470px; }
.chip-two { top: 172px; right: 78px; }
.chip-three { bottom: 176px; right: 450px; }
.chip-four { bottom: 126px; right: 146px; }
.chip-five { top: 304px; right: 354px; }
.chip-six { top: 106px; right: 210px; }

.hero-ecg {
  opacity: .38;
}

/* Unified cards and grids */
.about-facts,
.service-grid,
.advantage-grid,
.infrastructure-system,
.quality-dashboard,
.team-cards,
.usability-cards {
  gap: 16px;
}

.two-column {
  grid-template-columns: minmax(0, .96fr) minmax(420px, 1.04fr);
  align-items: center;
}

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

.about-facts article,
.advantage,
.service-card,
.metric,
.system-card,
.quality-dashboard article,
.person-card,
.requisites-list,
.usability-cards article,
.gallery-item {
  color: var(--body);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .076), rgba(255, 255, 255, .038)),
    linear-gradient(180deg, rgba(35, 211, 195, .045), rgba(29, 111, 214, .02));
  border: 1px solid rgba(120, 220, 255, .18);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .18);
}

.about-facts article {
  grid-template-columns: 64px minmax(0, 1fr);
  min-height: 170px;
  padding: 22px;
}

.about-facts article span,
.service-icon,
.process-index,
.system-icon,
.avatar,
.metric-number,
.workflow-node span {
  color: #06131d;
  background: linear-gradient(135deg, var(--aqua), var(--green));
}

.about-facts article span {
  width: 54px;
  height: 54px;
  font-size: .9rem;
}

.metrics-strip {
  gap: 16px;
}

.metric {
  min-height: 168px;
}

.metric-label,
.service-card p,
.advantage p,
.system-card p,
.infra-card p,
.quality-dashboard p,
.person-content > span,
.map-caption span,
.footer-bottom p {
  color: var(--body);
}

.advantage,
.service-card,
.system-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
}

.advantage::after,
.service-card::after,
.system-card::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(35, 211, 195, .8));
}

.advantage:hover,
.service-card:hover,
.system-card:hover,
.gallery-item:hover,
.person-card:hover {
  transform: translateY(-4px);
  border-color: rgba(35, 211, 195, .48);
  box-shadow: 0 22px 62px rgba(0, 0, 0, .28), 0 0 28px rgba(35, 211, 195, .08);
}

.service-card::before {
  background:
    linear-gradient(135deg, rgba(35, 211, 195, .16), transparent 42%),
    linear-gradient(315deg, rgba(29, 111, 214, .14), transparent 46%);
}

.service-icon {
  width: 50px;
  height: 40px;
  font-size: .86rem;
}

.pk-panel {
  color: #ffffff;
}

.pk-title-row {
  color: rgba(216, 248, 252, .72);
}

.pk-tags li {
  color: #e9fbff;
}

.be-flow {
  gap: 12px;
}

.be-flow::before {
  top: 33px;
  background: linear-gradient(90deg, rgba(35, 211, 195, .16), var(--aqua), var(--green), rgba(35, 211, 195, .16));
}

.workflow-node {
  color: rgba(233, 251, 255, .78);
}

.workflow-node span {
  border-color: transparent;
}

.process-rail {
  background:
    linear-gradient(90deg, rgba(35, 211, 195, .05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(35, 211, 195, .04) 1px, transparent 1px),
    linear-gradient(135deg, rgba(8, 28, 43, .94), rgba(8, 47, 56, .8));
  background-size: 42px 42px, 42px 42px, auto;
}

.process-card {
  color: var(--body);
  background: rgba(255, 255, 255, .065);
  border-color: rgba(120, 220, 255, .16);
}

.process-card h3 {
  color: #ffffff;
}

.infrastructure-section {
  position: relative;
}

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

.system-card {
  min-height: 235px;
  padding: 24px;
  border-radius: var(--radius);
}

.system-icon {
  display: inline-grid;
  width: 44px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 9px;
  font-size: .82rem;
  font-weight: 820;
}

.capacity-board {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.capacity-board div {
  background:
    linear-gradient(135deg, rgba(35, 211, 195, .16), rgba(29, 111, 214, .1)),
    rgba(255, 255, 255, .055);
  border-color: rgba(120, 220, 255, .2);
}

.capacity-board span {
  color: rgba(233, 251, 255, .72);
}

.region-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(35, 211, 195, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(35, 211, 195, .055) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035));
  background-size: 36px 36px, 36px 36px, auto;
}

.map-caption {
  grid-column: 1 / -1;
  background: rgba(6, 19, 29, .72);
  border-color: rgba(120, 220, 255, .16);
}

.map-caption strong {
  color: #ffffff;
}

.region-map svg {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.region-visual {
  position: relative;
  min-height: 336px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(35, 211, 195, .13), transparent 36%),
    rgba(255, 255, 255, .035);
  border: 1px solid rgba(120, 220, 255, .14);
  border-radius: var(--radius);
}

.map-zone {
  fill: rgba(29, 111, 214, .12);
  stroke: rgba(29, 111, 214, .66);
  stroke-width: 3;
}

.map-zone-inner {
  fill: rgba(35, 211, 195, .08);
  stroke: rgba(35, 211, 195, .36);
  stroke-width: 2;
}

.map-route,
.map-route-secondary {
  fill: none;
  stroke: rgba(35, 211, 195, .78);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 13 14;
}

.map-route-secondary {
  stroke: rgba(110, 235, 131, .5);
  stroke-width: 2.6;
}

.map-point {
  fill: #06131d;
  stroke: rgba(35, 211, 195, .82);
  stroke-width: 3;
}

.region-pin {
  position: absolute;
  left: 50%;
  top: 52%;
  display: grid;
  gap: 2px;
  min-width: 170px;
  padding: 12px 14px;
  color: #ffffff;
  background: rgba(6, 19, 29, .78);
  border: 1px solid rgba(35, 211, 195, .36);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .24), 0 0 28px rgba(35, 211, 195, .14);
  transform: translate(-42%, -50%);
}

.region-pin strong {
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
}

.region-pin span {
  color: rgba(216, 248, 252, .75);
  font-size: .82rem;
  font-weight: 680;
}

.russia-visual {
  min-height: 360px;
}

.russia-visual svg {
  min-height: 340px;
}

.federal-map {
  filter: drop-shadow(0 18px 38px rgba(29, 111, 214, .16));
}

.district {
  fill: rgba(29, 111, 214, .08);
  stroke: rgba(120, 220, 255, .34);
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.district-nw,
.district-central {
  fill: rgba(35, 211, 195, .08);
}

.district-volga,
.district-ural {
  fill: rgba(78, 214, 163, .07);
}

.district-siberia {
  fill: rgba(25, 199, 212, .08);
}

.district-far-east {
  fill: rgba(29, 111, 214, .1);
}

.district-north-caucasus {
  fill: rgba(120, 220, 255, .07);
}

.district-island {
  fill: rgba(29, 111, 214, .055);
  stroke: rgba(120, 220, 255, .26);
}

.russia-outline {
  fill: none;
  stroke: rgba(120, 220, 255, .46);
  stroke-width: 2.4;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.district-south {
  fill: rgba(35, 211, 195, .22);
  stroke: rgba(110, 235, 131, .72);
}

.sfo-shape {
  fill: rgba(35, 211, 195, .33);
  stroke: rgba(110, 235, 131, .95);
  stroke-width: 3;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.sfo-glow {
  fill: none;
  stroke: rgba(35, 211, 195, .5);
  stroke-width: 16;
  stroke-linejoin: round;
  filter: blur(8px);
}

.center-line {
  fill: none;
  stroke: rgba(35, 211, 195, .46);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 9 12;
}

.center-arrow {
  fill: none;
  stroke: rgba(35, 211, 195, .9);
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(35, 211, 195, .38));
}

.center-ping {
  fill: rgba(35, 211, 195, .18);
  stroke: rgba(35, 211, 195, .72);
  stroke-width: 2;
  animation: mapPulse 2.4s infinite;
}

.center-core {
  fill: #ffffff;
  stroke: var(--aqua);
  stroke-width: 3;
}

.map-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  color: rgba(233, 251, 255, .82);
  background: rgba(6, 19, 29, .68);
  border: 1px solid rgba(120, 220, 255, .16);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 820;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.map-label-russia {
  top: 24px;
  left: 24px;
}

.map-label-sfo {
  left: 20%;
  bottom: 74px;
  color: #06131d;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  border-color: transparent;
}

.russia-visual .region-pin {
  left: 31%;
  top: 61%;
  min-width: 245px;
  transform: translate(0, -50%);
}

.region-insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.region-insights article {
  min-width: 0;
  padding: 16px;
  background: rgba(6, 19, 29, .62);
  border: 1px solid rgba(120, 220, 255, .16);
  border-radius: var(--radius);
}

.region-insights span {
  display: block;
  margin-bottom: 5px;
  color: var(--aqua);
  font-size: .74rem;
  font-weight: 820;
  text-transform: uppercase;
}

.region-insights strong {
  display: block;
  color: #ffffff;
  font-size: 1.06rem;
  line-height: 1.15;
}

.region-insights p {
  margin-top: 7px;
  color: rgba(216, 248, 252, .68);
  font-size: .86rem;
  line-height: 1.45;
}

.experience-count span {
  color: #ffffff;
}

.experience-count small {
  color: rgba(216, 248, 252, .78);
}

.quality-dashboard article {
  padding: 24px 24px 24px 58px;
}

.quality-dashboard article span {
  background: linear-gradient(135deg, var(--aqua), var(--green));
}

.gallery-filters {
  gap: 10px;
}

.filter-btn {
  color: rgba(233, 251, 255, .78);
  background: rgba(255, 255, 255, .055);
  border-color: rgba(120, 220, 255, .18);
}

.filter-btn:hover,
.filter-btn.active {
  color: #06131d;
  background: linear-gradient(135deg, var(--aqua), var(--green));
  border-color: transparent;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
}

.gallery-item {
  background: rgba(255, 255, 255, .045);
}

.gallery-item img {
  object-fit: cover;
  filter: saturate(.95) contrast(1.02);
}

.gallery-item:hover img {
  filter: saturate(1.05) contrast(1.05);
}

.person-content p {
  color: #9bf5ec;
}

.person-actions .btn-secondary {
  color: #f3f7fa;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(120, 220, 255, .18);
}

.person-phone {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: #d8f8fc;
  font-size: .98rem;
  font-weight: 760;
  white-space: nowrap;
}

.person-phone:hover {
  color: var(--aqua);
}

.person-card .person-actions {
  align-items: center;
}

.person-card .person-actions .btn {
  flex: 0 0 auto;
}

.requisites-list {
  background: rgba(120, 220, 255, .14);
  border-color: rgba(120, 220, 255, .18);
}

.requisites-list div {
  background: rgba(255, 255, 255, .055);
}

.requisites-list dt {
  color: rgba(216, 248, 252, .64);
}

.requisites-list dd {
  color: #f3f7fa;
}

.final-cta {
  background:
    linear-gradient(90deg, rgba(35, 211, 195, .055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(35, 211, 195, .045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(8, 28, 43, .96), rgba(8, 50, 60, .84));
  background-size: 42px 42px, 42px 42px, auto;
}

.site-footer {
  background: #06131d;
  border-top: 1px solid rgba(120, 220, 255, .14);
}

.lightbox {
  background: rgba(3, 12, 18, .95);
}

.to-top {
  color: #06131d;
}

@keyframes researchGrid {
  from { background-position: 0 0; }
  to { background-position: 132px 66px; }
}

@keyframes pkTrace {
  0% { stroke-dashoffset: 780; opacity: .28; }
  42% { stroke-dashoffset: 0; opacity: 1; }
  78% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -780; opacity: .34; }
}

@keyframes sampleBlink {
  0%, 100% { opacity: .54; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.16); }
}

@keyframes dataFloat {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .42; }
  50% { transform: translate3d(18px, -18px, 0); opacity: .9; }
}

@media (min-width: 1181px) and (max-width: 1320px) {
  .header-inner {
    gap: 8px;
  }

  .brand {
    min-width: 140px;
    gap: 9px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-sub {
    display: none;
  }

  .main-nav {
    gap: 1px;
  }

  .main-nav a {
    padding-inline: 5px;
    font-size: .68rem;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 10px;
    font-size: .72rem;
  }
}

@media (max-width: 1180px) {
  .main-nav,
  .header-cta {
    display: none;
  }

  .burger {
    display: block;
  }

  .hero-content,
  .two-column,
  .be-layout,
  .usability-layout,
  .region-layout,
  .experience-layout,
  .team-layout {
    grid-template-columns: 1fr;
  }

  .command-center {
    max-width: 560px;
  }

  .floating-chips {
    display: none;
  }

  .infrastructure-system,
  .advantage-grid,
  .handling-grid,
  .service-grid,
  .process-grid,
  .quality-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .header-inner {
    min-height: 66px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: auto;
  }

  .hero-data-panel {
    width: 120vw;
    opacity: .32;
    transform: translateX(18%);
  }

  .hero-content {
    gap: 28px;
    padding-top: 44px;
    padding-bottom: 36px;
  }

  .hero-proof {
    flex-wrap: wrap;
    overflow: visible;
  }

  .hero-proof li {
    flex: 1 1 145px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .contact-actions .btn,
  .person-actions .btn {
    white-space: normal;
    line-height: 1.2;
  }

  .command-center {
    display: grid;
    padding: 18px;
  }

  .mini-pk {
    display: none;
  }

  .about-facts,
  .metrics-strip,
  .infrastructure-system,
  .advantage-grid,
  .handling-grid,
  .service-grid,
  .process-grid,
  .quality-dashboard,
  .capacity-board,
  .usability-cards,
  .gallery-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .about-facts article {
    min-height: auto;
  }

  .gallery-grid {
    grid-auto-rows: 240px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .process-rail,
  .final-cta {
    padding: 20px;
  }

  .be-flow {
    grid-template-columns: repeat(9, minmax(128px, 1fr));
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 1.96rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .brand {
    gap: 9px;
  }

  .brand-name {
    font-size: .98rem;
  }

  .hero-content {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .hero-lead {
    font-size: .96rem;
  }

  .hero-proof {
    gap: 7px;
    margin-top: 14px;
  }

  .hero-proof li {
    flex-basis: 132px;
    min-height: 34px;
    font-size: .82rem;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-actions .btn {
    min-height: 42px;
  }

  .hero-actions .btn-ghost {
    display: none;
  }

  .command-center {
    display: none;
  }
}

@media (max-width: 900px) {
  .region-map {
    grid-template-columns: 1fr;
  }

  .region-visual {
    min-height: 300px;
  }

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

@media (max-width: 560px) {
  .region-visual {
    min-height: 260px;
  }

  .region-insights {
    grid-template-columns: 1fr;
  }

  .region-pin {
    left: 50%;
    min-width: 150px;
    padding: 10px 12px;
    transform: translate(-34%, -50%);
  }

  .russia-visual .region-pin {
    left: 31%;
    top: 62%;
    min-width: 176px;
    transform: translate(0, -50%);
  }

  .map-label-russia {
    top: 16px;
    left: 16px;
  }

  .map-label-sfo {
    left: 8%;
    bottom: 56px;
  }

  .region-pin strong {
    font-size: 1rem;
  }

  .region-pin span {
    font-size: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-grid,
  .panel-line-main,
  .panel-pk,
  .panel-samples circle,
  .hero-particles span {
    animation: none !important;
  }

  .panel-line-main,
  .panel-pk {
    stroke-dashoffset: 0 !important;
  }
}

/* =========================================================
   FINAL VISUAL REFINEMENT
   Stable header · lighter hero · readable cards · ЮФО copy
   ========================================================= */

/* ---------- Global typography rhythm ---------- */
:root {
  --body: #c7d4dc;            /* lighter secondary text, less muddy */
  --muted: #9fb1bd;
}

body {
  line-height: 1.62;
}

h2,
h3 {
  font-weight: 720;           /* calmer headings */
}

h1 {
  font-weight: 780;           /* hero stays strong, not heavy */
}

p {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.lead {
  font-size: clamp(1.02rem, 1.25vw, 1.14rem);
  font-weight: 540;
  line-height: 1.6;
}

.section-copy p {
  line-height: 1.65;
}

/* ---------- Header: stable on every width ---------- */
.brand {
  min-width: 0;               /* slimmer logo block */
}

.main-nav a {
  padding: 9px 11px;
  font-size: .9rem;           /* readable, no micro text */
  font-weight: 650;
}

.header-cta {
  min-height: 40px;
  padding-inline: 16px;
  font-size: .82rem;
}

/* ---------- Hero: lighter, calmer, fully contained ---------- */
.hero {
  min-height: 680px;
}

.hero-content {
  grid-template-columns: minmax(0, 760px) minmax(340px, 400px);
  justify-content: space-between;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: 64px;
  padding-bottom: 48px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero h1,
#hero-title {
  max-width: 820px;
  font-size: clamp(2.55rem, 3.8vw, 3.85rem);
  line-height: 1.04;
}

.hero-lead {
  max-width: 720px;
  margin-top: 20px;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.65;
  color: var(--body);
}

.hero-proof {
  gap: 8px;
  margin-top: 22px;
  max-width: 720px;
}

.hero-proof li {
  min-height: 36px;
  padding: 7px 11px;
  font-size: .86rem;
}

.hero-actions {
  gap: 10px;
  margin-top: 26px;
}

.hero-actions .btn {
  min-height: 44px;
  padding-inline: 17px;
  font-size: .9rem;
}

/* dim the background research graph so it stops fighting the panel */
.hero-data-panel {
  opacity: .5;
}

.hero-grid {
  opacity: .42;
}

.panel-line-soft {
  stroke: rgba(35, 211, 195, .14);
}

.panel-line-main {
  stroke: rgba(25, 199, 212, .5);
  stroke-width: 3;
}

.panel-pk {
  stroke: rgba(110, 235, 131, .55);
  filter: drop-shadow(0 0 8px rgba(110, 235, 131, .25));
}

/* ---------- Hero dashboard (исследовательская панель): compact, fully visible ---------- */
.command-center {
  z-index: 2;
  align-self: center;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(10, 28, 42, .84), rgba(8, 22, 34, .74)),
    linear-gradient(180deg, rgba(35, 211, 195, .06), rgba(29, 111, 214, .03));
}

.signal-row {
  margin-top: 8px;
  font-size: .9rem;
}

.dashboard-metrics {
  gap: 10px;
  margin-top: 16px;
}

.dashboard-metrics div {
  padding: 12px 13px;
}

.dashboard-metrics dt {
  font-size: .72rem;
}

.dashboard-metrics dd {
  font-size: 1.28rem;
}

.mini-pk {
  margin-top: 14px;
}

/* ---------- Floating chips: 4 max, behind the panel, off the cards ---------- */
.floating-chips {
  z-index: 1;                 /* below hero-copy & command-center (z-index 2) */
  pointer-events: none;
}

.data-chip {
  animation-duration: 9s;
}

.chip-one   { top: 36px;    right: 62px;  bottom: auto; left: auto; }
.chip-two   { top: 62px;    right: 252px; bottom: auto; left: auto; }
.chip-three { bottom: 40px; right: 74px;  top: auto;    left: auto; }
.chip-four  { bottom: 38px; right: 252px; top: auto;    left: auto; }

/* ---------- About block: balanced 45 / 55, roomy cards ---------- */
.two-column {
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: clamp(30px, 4vw, 54px);
  align-items: start;
}

.about-facts {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.about-facts article {
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 6px;
  align-content: start;
  min-width: 0;
  min-height: 0;
  padding: 22px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* keep the badge in column 1 spanning both rows so the text never
   falls into the narrow icon column (was wrapping one word per line) */
.about-facts article span {
  grid-row: 1 / 3;
  align-self: start;
}

.about-facts article h3 {
  grid-column: 2;
  align-self: center;
  margin-bottom: 0;
  font-size: 1.16rem;
  font-weight: 700;
}

.about-facts article p {
  grid-column: 2;
  min-width: 0;
  font-size: .96rem;
  line-height: 1.6;
  color: var(--body);
}

/* ---------- Unified card text rhythm ---------- */
.service-card h3,
.advantage h3,
.system-card h3,
.process-card h3,
.usability-cards article h3,
.quality-dashboard article h3 {
  font-size: 1.18rem;
  font-weight: 700;
}

.service-card p,
.advantage p,
.system-card p,
.process-card p,
.usability-cards article p,
.quality-dashboard article p {
  max-width: 44ch;
  font-size: .97rem;
  line-height: 1.6;
  color: var(--body);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* softer borders, calmer glow on glass cards */
.about-facts article,
.advantage,
.service-card,
.system-card,
.usability-cards article,
.quality-dashboard article,
.metric,
.person-card,
.process-card {
  border-color: rgba(150, 205, 225, .15);
}

/* special-handling follows the dark research-console theme */
.special-handling-section {
  color: #e9fbff;
  background:
    linear-gradient(90deg, rgba(35, 211, 195, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(35, 211, 195, .055) 1px, transparent 1px),
    radial-gradient(circle at 20% 22%, rgba(35, 211, 195, .12), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(29, 111, 214, .18), transparent 30%),
    linear-gradient(135deg, #061821 0%, #0a2638 54%, #073a42 100%);
  background-size: 52px 52px, 52px 52px, auto, auto, auto;
}

.special-handling-section .section-head h2,
.special-handling-section .handling-grid h3 {
  color: #ffffff;
}

.special-handling-section .section-head > p:not(.kicker),
.special-handling-section .handling-grid p {
  color: rgba(226, 246, 249, .78);
}

.special-handling-section .handling-grid article {
  color: #e9fbff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .035)),
    linear-gradient(180deg, rgba(35, 211, 195, .06), rgba(29, 111, 214, .03));
  border-color: rgba(120, 220, 255, .18);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .22);
}

/* ---------- Responsive re-assertions (after the redesign breakpoints) ---------- */
@media (max-width: 1280px) {
  .floating-chips {
    display: none;
  }
}

@media (min-width: 1181px) and (max-width: 1320px) {
  .main-nav {
    gap: 3px;
  }

  .main-nav a {
    padding-inline: 9px;
  }
}

@media (max-width: 1180px) {
  .hero-content,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-content {
    align-items: stretch;
    padding-top: 56px;
    padding-bottom: 44px;
  }

  .command-center {
    align-self: auto;
  }
}

@media (max-width: 720px) {
  .hero-content {
    padding-top: 44px;
    padding-bottom: 36px;
  }

  .hero h1,
  #hero-title {
    font-size: clamp(2rem, 6.6vw, 2.5rem);
  }

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