:root {
  --brand: #0066b3;
  --brand-dark: #004e8c;
  --cyan: #00aeef;
  --sky: #e8f6fc;
  --ink: #12324d;
  --muted: #5b7388;
  --line: #d7e4ee;
  --white: #ffffff;
  --map: #d1d5db;
  --shadow: 0 14px 40px rgba(0, 102, 179, .10);
  --radius: 18px;
  --header-h: 76px;
  --font: "Inter", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.container { width: min(1320px, calc(100% - 32px)); margin: 0 auto; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}
.header .brand-text {
  font-size: 12px;
  line-height: 1.25;
  gap: 1px;
}
.brand-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--brand);
  margin: 3px 0;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.nav a, .nav-more-btn {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 7px 9px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav a:hover, .nav-more-btn:hover, .nav-more.open .nav-more-btn {
  color: var(--brand); background: var(--sky);
}
.nav a.active { color: #fff; background: var(--brand); }
.nav-more { position: relative; }
.nav-more-btn {
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav-drop {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 30;
}
.nav-more:hover .nav-drop,
.nav-more.open .nav-drop {
  display: flex;
  flex-direction: column;
}
.nav-drop a { display: block; padding: 10px 12px; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang { display: flex; gap: 4px; color: #9aafc0; font-size: 12px; font-weight: 700; }
.lang button {
  background: none; border: 0; color: inherit; cursor: pointer; padding: 4px;
}
.lang button.active { color: var(--brand); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 700; letter-spacing: .02em;
  padding: 13px 24px; border: 2px solid transparent; cursor: pointer;
  transition: .2s ease; text-align: center; font-size: 14px;
}
.btn-gold,
.btn-navy {
  background: linear-gradient(180deg, #1a8ad8, var(--brand));
  color: #fff;
  box-shadow: 0 8px 18px rgba(0,102,179,.22);
}
.btn-gold:hover,
.btn-navy:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}
.btn-outline,
.btn-outline-gold {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover,
.btn-outline-gold:hover {
  background: var(--brand);
  color: #fff;
}
.header .btn-gold {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 102, 179, .16);
  letter-spacing: .02em;
  white-space: nowrap;
}
.header .btn-gold:hover { transform: none; }
.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer;
}
.burger span { display: block; height: 2px; margin: 6px 10px; background: var(--brand); }

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  background:
    radial-gradient(ellipse at 12% 10%, rgba(0,174,239,.28), transparent 46%),
    radial-gradient(ellipse at 90% 80%, rgba(0,102,179,.16), transparent 42%),
    linear-gradient(165deg, #ffffff 0%, #eef8ff 48%, #d7f1fb 100%);
  overflow: hidden; color: var(--ink);
}
.hero::before { display: none; }
.hero-ornament {
  position: absolute; top: 28px; left: 40px; width: 180px; opacity: .35;
  filter: hue-rotate(180deg);
}
.hero > .container { position: relative; z-index: 2; padding: 48px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  align-items: center;
}
.hero-map { position: relative; }
.kz-host svg { width: 100%; height: auto; display: block; }
.kz-land { fill: #0b4a7a; }
.kz-marker { cursor: pointer; }
.kz-marker .dot {
  fill: #fff;
  stroke: #0b4a7a;
  stroke-width: 3;
}
.kz-marker .halo {
  fill: #00aeef;
  opacity: .22;
}
.kz-marker text {
  font-size: 15px;
  font-weight: 700;
  fill: #12324d;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 4px;
  pointer-events: none;
}
.kz-marker.is-on .dot { fill: #00aeef; stroke: #0066b3; }
.kz-marker.is-on text { fill: #0066b3; }
.city-panel-mini { margin-top: 12px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--brand); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--cyan); }
h1, .h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.12; font-weight: 800; letter-spacing: -.02em;
  max-width: 18ch; color: var(--ink);
}
.slogan {
  margin: 18px 0 14px;
  color: var(--brand);
  font-size: clamp(16px, 2.1vw, 22px);
  font-weight: 700; letter-spacing: .04em;
}
.lead { max-width: 640px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  margin-top: 64px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stats div strong { display: block; color: var(--brand); font-size: 28px; }
.hero-stats div span { color: var(--muted); font-size: 13px; }

section { padding: 88px 0; }
.section-kicker {
  color: var(--brand); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2;
  margin: 8px 0 14px; max-width: 18ch;
}
.section-head { margin-bottom: 40px; display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.muted { color: var(--muted); }

.audience { background: linear-gradient(180deg, #f4fbff, #ffffff); }
.grid-4, .grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--cyan); }
.card .num { color: var(--brand); font-weight: 800; letter-spacing: .08em; }
.card h3 { margin: 10px 0 8px; font-size: 20px; }
.path-card {
  min-height: 210px;
  background: linear-gradient(180deg, #ffffff, #eef8ff);
  color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--line);
}
.path-card span { color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.path-card h3 { font-size: 22px; margin: 12px 0; }
.path-card p { color: var(--muted); font-size: 14px; }

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc {
  padding: 26px 22px; border: 1px solid var(--line);
  border-radius: 16px; background: #fff; min-height: 210px;
}
.svc-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--cyan); color: var(--brand); margin-bottom: 16px;
  font-size: 20px; background: var(--sky);
}
.svc h3 { font-size: 16px; margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 14px; }

.project-card {
  position: relative; overflow: hidden; min-height: 380px;
  border-radius: 22px; color: #fff; padding: 36px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.project-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,102,179,.15), rgba(0,78,140,.88));
}
.project-card > * { position: relative; z-index: 1; }
.p1 { background: linear-gradient(145deg, #00aeef, #0066b3); }
.p2 { background: linear-gradient(145deg, #3db8e8, #0b6aa8); }
.project-card h3 { font-size: 28px; margin: 10px 0 12px; }
.badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.18); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
}

.stats-bar {
  background: linear-gradient(90deg, #00aeef, #0066b3);
  color: #fff; padding: 36px 0;
}
.stats-bar .grid-5 {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; text-align: center;
}
.stats-bar strong { display: block; color: #fff; font-size: 32px; }
.stats-bar span { font-size: 13px; color: rgba(255,255,255,.85); }

.media-card { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: center; }
.thumb {
  height: 96px; border-radius: 12px;
  background: linear-gradient(135deg, #00aeef, #0066b3);
}
.date { color: var(--brand); font-size: 12px; font-weight: 700; }
.list-card { padding: 0; overflow: hidden; }
.list-item { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }

.map-section {
  background: linear-gradient(180deg, #f3fbff, #e6f5fc);
  color: var(--ink);
}
.map-wrap { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: center; }
.kz-svg { width: 100%; height: auto; }
.pin {
  fill: var(--brand); stroke: #fff; stroke-width: 2; cursor: pointer;
}
.pin:hover { fill: var(--cyan); }
.city-panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 24px; box-shadow: var(--shadow);
}
.city-panel h3 { color: var(--brand); margin-bottom: 8px; }
.city-panel ul { padding-left: 18px; color: var(--muted); }

.footer {
  background: linear-gradient(180deg, #0077c8, #005ea6);
  color: rgba(255,255,255,.86); padding: 56px 0 20px;
}
.footer h4 { color: #fff; margin-bottom: 14px; }
.footer a:hover { color: #fff; }
.footer .brand { gap: 12px; }
.footer .brand img { width: 56px; height: 56px; }
.footer .brand-text { color: #fff; font-size: 11px; }
.footer .brand-line { background: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 28px; }
.socials { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.socials a {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.1);
  display: grid; place-items: center; color: #fff;
  transition: .2s ease;
}
.socials a:hover { background: #fff; color: var(--brand); border-color: #fff; }
.socials svg { width: 16px; height: 16px; display: block; fill: currentColor; }
.copy {
  margin-top: 36px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 13px; display: flex; justify-content: space-between; gap: 12px;
}

.page-hero {
  background: linear-gradient(165deg, #ffffff, #e7f6fd);
  color: var(--ink); padding: 72px 0 56px;
}
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { color: var(--muted); }

.form { display: grid; gap: 14px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
}
.form textarea { min-height: 120px; resize: vertical; }
.success {
  display: none; padding: 16px; border-radius: 12px;
  background: #eef8ef; color: #1c5a2a; font-weight: 600;
}

.modal {
  position: fixed; inset: 0; background: rgba(18,50,77,.45);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.modal.open { display: flex; }
.modal-card { width: min(520px, 100%); background: #fff; border-radius: 20px; padding: 28px; }

.mobile-bar {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 8px;
  grid-template-columns: 1fr 1fr 1fr; gap: 6px;
  box-shadow: var(--shadow);
}
.mobile-bar a {
  color: var(--ink); text-align: center; font-size: 12px; font-weight: 700; padding: 10px 6px; border-radius: 12px;
}
.mobile-bar a.wa { background: #1f6f43; color: #fff; }
.mobile-bar a.cta { background: var(--brand); color: #fff; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 28px; }
.tabs a, .tabs button {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; font-weight: 600; font-size: 13px;
}
.tabs .on, .tabs a.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.article { max-width: 760px; }
.article p { margin-bottom: 14px; }
.quote {
  border-left: 3px solid var(--cyan); padding: 8px 0 8px 18px;
  font-size: 18px; color: var(--brand-dark); margin: 24px 0;
}

@media (max-width: 1280px) {
  .nav, .header-actions .lang { display: none; }
  .burger { display: block; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; padding: 16px 20px 24px; border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-more-btn { display: none; }
  .nav.open .nav-drop {
    position: static; display: flex; flex-direction: column;
    min-width: 0; box-shadow: none; border: 0; padding: 0; background: transparent;
  }
  .header-actions .lang.open { display: flex; }
  .grid-4, .svc-grid, .hero-stats, .stats-bar .grid-5, .footer-grid, .map-wrap {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .grid-4, .grid-3, .grid-2, .svc-grid, .hero-stats, .stats-bar .grid-5, .footer-grid, .map-wrap, .media-card {
    grid-template-columns: 1fr;
  }
  .hero-actions { flex-wrap: wrap; }
  .header-inner { flex-wrap: nowrap; gap: 8px; }
  .brand { min-width: 0; flex: 1; }
  .brand img { width: 40px; height: 40px; }
  .header .brand-text {
    display: flex;
    font-size: 10px;
    line-height: 1.2;
    white-space: normal;
    max-width: 100%;
  }
  .header .btn-gold { padding: 7px 10px; font-size: 11px; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 78px; }
}
