:root {
  --blue: #185fa5;
  --blue-d: #12508c;
  --green: #1d9e75;
  --gold: #ba7517;
  --bg: #f6f7fa;
  --hero: #f0f5fb;
  --surface: #fff;
  --surface-1: #f0f5fb;
  --chip: #eff1f6;
  --border: #e6e8ee;
  --border2: #cbd0d9;
  --text: #111520;
  --muted: #576070;
  --faint: #98a0ad;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  color-scheme: light;
  background: var(--bg);
}
body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
/* explicit light surface: keeps the page readable even if a viewer overrides body/html background */
.page {
  background: #f6f7fa !important;
  color: #111520;
  min-height: 100vh;
  isolation: isolate;
}
.page .sec-head h2,
.page .hero h1,
.page h1,
.page h2,
.page h3 {
  color: #111520;
}
.page .sec-head p,
.page .lead,
.page .card-sub,
.page .tile p,
.page .step p,
.page .about-text p {
  color: #576070;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 1136px;
  margin: 0 auto;
  padding: 0 24px;
}
.ic {
  width: 22px;
  height: 22px;
}
.ic-sm {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-d);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border2);
}
.btn-ghost:hover {
  background: var(--surface-1);
}

/* header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
}
.logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
}
.nav-links {
  display: flex;
  gap: 26px;
  font-size: 15px;
  color: var(--muted);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang {
  font-size: 14px;
  color: var(--faint);
}
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
}

/* hero */
.hero {
  background: var(--hero);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 64px 0 56px;
}
.badge {
  display: inline-block;
  background: #e6f1fb;
  color: #0c447c;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.12;
  max-width: 820px;
  margin: 0 auto 18px;
}
.hero .lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 26px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 34px;
}
.stat b {
  display: block;
  font-size: 30px;
  font-weight: 800;
}
.stat span {
  font-size: 14px;
  color: var(--faint);
}

/* generic section */
section.block {
  padding: 64px 0;
}
.sec-head {
  text-align: center;
  margin-bottom: 44px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.sec-head h2 {
  font-size: clamp(24px, 4vw, 32px);
}
.sec-head p {
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
  margin: 10px auto 0;
}

/* products */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.15s,
    transform 0.15s;
  overflow: hidden;
}
.card-media {
  position: relative;
  margin: -24px -24px 18px;
  line-height: 0;
}
.card-media img {
  width: 100%;
  height: 186px;
  object-fit: cover;
  display: block;
}
.card-media .card-ic {
  position: absolute;
  left: 16px;
  bottom: -22px;
  margin: 0;
  box-shadow: 0 4px 12px rgba(17, 21, 32, 0.14);
}
.card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}
.card-ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.p-blue .card-ic {
  background: #e6f1fb;
  color: var(--blue);
}
.p-green .card-ic {
  background: #ecebfb;
  color: #5850c4;
}
.p-gold .card-ic {
  background: #faeeda;
  color: var(--gold);
}
.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 14px 0 8px;
}
.card p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 14px;
}
.p-blue .card-link {
  color: var(--blue);
}
.p-green .card-link {
  color: #5850c4;
}
.p-gold .card-link {
  color: var(--gold);
}
.card-link {
  font-size: 14.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 14px;
}
.card-bul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-bul li {
  display: flex;
  gap: 9px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.45;
}
.card-bul .ic-b {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--blue);
  margin-top: 2px;
}
.card-foot {
  margin-top: auto;
}
.card-video {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 14px;
}
.card-video:hover {
  text-decoration: underline;
}
.ic-pl {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.card-actions .btn {
  padding: 10px 18px;
  font-size: 14px;
}

/* features */
.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.tile-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e6f1fb;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.tile h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 6px;
}
.tile p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* steps */
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.step p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* distributors + map */
.kz-shell {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.kz-mapcol {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 20px;
}
#kzmapwrap {
  position: relative;
}
#kzmap {
  width: 100%;
  height: auto;
  display: block;
}
.kz-region {
  fill: #cfe0f2;
  stroke: #fff;
  stroke-width: 1.1;
  cursor: pointer;
  transition: fill 0.12s;
}
.kz-region:hover {
  fill: #85b7eb;
}
.kz-region.is-active {
  fill: var(--blue);
}
circle.kz-region {
  fill: var(--gold);
  stroke: #fff;
  stroke-width: 2;
}
circle.kz-region.is-active {
  fill: #8a5410;
}
.kz-city-label {
  font-size: 12px;
  font-weight: 600;
  fill: var(--muted);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 3px;
}
#kztip {
  position: absolute;
  pointer-events: none;
  background: var(--text);
  color: #fff;
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 12.5px;
  opacity: 0;
  transition: opacity 0.1s;
  white-space: nowrap;
  z-index: 5;
}
.kz-select-wrap {
  margin-top: 12px;
}
#kzselect {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: var(--surface);
  color: var(--text);
}
.kz-panel {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 24px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.kz-empty {
  text-align: center;
  padding: 32px 8px;
  color: var(--muted);
}
.kz-empty-ic {
  font-size: 34px;
  color: var(--blue);
  margin-bottom: 8px;
}
.kz-empty-t {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.kz-empty-s {
  font-size: 13.5px;
  line-height: 1.5;
}
.kz-region-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}
.kz-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.kz-card + .kz-card {
  margin-top: 12px;
}
.kz-partner-note {
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 12px;
}
.kz-card-org {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}
.kz-card-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin: 7px 0;
}
.kz-card-row a {
  color: var(--blue);
}
.kz-cic {
  display: inline-block;
  width: 16px;
  text-align: center;
  color: var(--faint);
}
.kz-btn {
  margin-top: 16px;
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.kz-btn:hover {
  background: var(--blue-d);
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.about-text p {
  font-size: 15.5px;
  color: var(--muted);
  margin: 0 0 14px;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tl-item {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.tl-year {
  flex: 0 0 auto;
  min-width: 70px;
  font-weight: 800;
  color: var(--blue);
  font-size: 16px;
}
.tl-item b {
  font-size: 15px;
}
.tl-item p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 4px 0 0;
}

/* cta */
.cta {
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(16, 74, 131, 0.88), rgba(16, 74, 131, 0.88)),
    url(../img/bg-4.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  padding: 64px 24px;
}
.cta h2 {
  font-size: clamp(24px, 4vw, 30px);
  color: #fff;
}
.cta p {
  font-size: 17px;
  opacity: 0.9;
  margin: 10px 0 22px;
}
.cta .btn {
  background: #fff;
  color: var(--blue);
}

/* footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  background: var(--surface);
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 48px 0 28px;
}
.foot .about p {
  font-size: 14px;
  color: var(--muted);
  max-width: 280px;
  margin: 12px 0 0;
}
.foot-logo {
  max-height: 50px;
  width: auto;
  display: block;
}
/* off-screen Yandex Metrika <noscript> tracking pixel */
.ym-pixel {
  position: absolute;
  left: -9999px;
}
.foot h4 {
  font-size: 14.5px;
  font-weight: 600;
  margin: 0 0 14px;
}
.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.foot li {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0;
}
.socials {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition:
    color 0.15s,
    border-color 0.15s,
    background 0.15s;
}
.socials a:hover {
  color: var(--blue);
  border-color: var(--border2);
  background: #e6f1fb;
}
.ic-br {
  width: 17px;
  height: 17px;
  display: block;
}
.foot-bottom {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0;
  font-size: 13px;
  color: var(--faint);
}

@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .kz-shell {
    grid-template-columns: 1fr;
  }
  .kz-mapcol {
    padding-bottom: 0;
  }
  .kz-panel {
    min-height: 0;
    padding-top: 16px;
  }
  .foot {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .burger {
    display: block;
  }
  header.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 14px 24px;
    gap: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 28px;
    flex-wrap: wrap;
  }
  section.block {
    padding: 48px 0;
  }
  .foot {
    grid-template-columns: 1fr 1fr;
  }
}

.pt0 {
  padding-top: 0;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.lang a {
  color: var(--faint);
  text-decoration: none;
}
.lang a:hover {
  color: var(--text);
}
.lang a.is-active {
  color: var(--text);
  font-weight: 600;
}

/* order form modal */
.of-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(17, 21, 32, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.of-overlay[hidden] {
  display: none;
}
.of-modal {
  background: var(--surface);
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  padding: 28px 24px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  overflow: auto;
}
.of-x {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.of-modal h3 {
  font-size: 20px;
  margin: 0 0 16px;
  padding-right: 24px;
}
.of-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.of-form[hidden] {
  display: none;
}
.of-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
  color: var(--muted);
}
.of-field input,
.of-field select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  background: var(--surface);
  color: var(--text);
  width: 100%;
}
.of-area-val {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  background: var(--bg, var(--surface));
  color: var(--text);
  font-weight: 600;
}
.of-submit {
  margin-top: 6px;
}
.of-submit[disabled] {
  opacity: 0.6;
  cursor: default;
}
.of-status {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.of-status--ok {
  color: var(--green);
}
.of-status--err {
  color: #c0392b;
}
