/* ==========================================================================
   ИТС — IT-аутсорсинг в Калуге
   Дизайн-система и стили сайта. Без внешних зависимостей.
   ========================================================================== */

:root {
  --ink: #0a1b33;
  --ink-2: #122a4d;
  --body: #43546d;
  --muted: #65768e;
  --line: #e2eaf5;
  --line-2: #d3dfef;
  --surface: #ffffff;
  --bg: #f5f8fc;
  --bg-2: #edf3fb;
  --bg-3: #e6eefa;
  --brand: #1e5eff;
  --brand-dark: #0c3fd6;
  --brand-deep: #0a2fa8;
  --brand-soft: #e9f0ff;
  --cyan: #20c7d9;
  --navy: #071426;
  --navy-2: #0b1e3a;
  --navy-3: #10284b;
  --amber: #ffb648;
  --green: #16a36a;
  --red: #e5484d;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(10, 27, 51, 0.05), 0 6px 16px rgba(10, 27, 51, 0.04);
  --shadow: 0 18px 45px -18px rgba(10, 27, 51, 0.22);
  --shadow-lg: 0 40px 80px -30px rgba(10, 27, 51, 0.3);
  --container: 1200px;
  --header-h: 78px;
  --font: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open { overflow: hidden; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
::selection { background: rgba(30, 94, 255, 0.18); }

:focus-visible {
  outline: 3px solid rgba(30, 94, 255, 0.45);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.15rem, 4.2vw, 3.7rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.015em; }

p { color: var(--body); }

a { transition: color 0.2s ease, opacity 0.2s ease; }

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

.icon { flex: 0 0 auto; }

.muted { color: var(--muted); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Shared ---------- */
.section { padding: 92px 0; position: relative; }
.section--tint { background: var(--bg); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
  opacity: 0.55;
  border-radius: 2px;
}
.eyebrow--light { color: #9cc4ff; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.section-head__text { max-width: 720px; }
.section-head__text p {
  margin-top: 12px;
  max-width: 620px;
  color: var(--muted);
  font-size: 15.5px;
}
.section-head--center {
  justify-content: center;
  text-align: center;
}
.section-head--center .section-head__text { margin: 0 auto; }
.section-head--center .section-head__text p { margin-left: auto; margin-right: auto; }
.section-head--spaced { margin-top: 78px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 600;
  padding-bottom: 3px;
}
.link-arrow .icon { transition: transform 0.2s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, box-shadow 0.2s ease;
}
.btn .icon { transition: transform 0.2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:hover .icon { transform: translateX(2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, #2c6bff 0%, #1246e8 100%);
  border-color: #1b55f0;
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(30, 94, 255, 0.65);
}
.btn--primary:hover {
  box-shadow: 0 16px 34px -12px rgba(30, 94, 255, 0.75);
  filter: brightness(1.03);
}

.btn--outline {
  background: #fff;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn--outline:hover { border-color: rgba(30, 94, 255, 0.45); color: var(--brand); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--outline-light {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); }

.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #eef4ff; }

.btn--lg { min-height: 54px; padding: 0 26px; font-size: 15px; border-radius: 14px; }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 13px; border-radius: 10px; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 38px;
}
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item .icon { color: #7fa9e8; }
.topbar__item--hours { color: rgba(255, 255, 255, 0.52); }
.topbar__item--mail { margin-left: auto; color: rgba(255, 255, 255, 0.7); }
.topbar__item--mail:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 234, 245, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(10, 27, 51, 0.28); background: rgba(255, 255, 255, 0.97); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(145deg, #3272ff 0%, #1040d8 100%);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(30, 94, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.logo__mark svg { width: 100%; height: 100%; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text strong {
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.logo__caption {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.logo--light .logo__text strong { color: #fff; }
.logo--light .logo__caption { color: rgba(255, 255, 255, 0.46); }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav__link:hover { background: var(--bg); color: var(--brand); }
.nav__link.is-active { color: var(--brand); background: var(--brand-soft); }
.nav__chevron { margin-left: 2px; opacity: 0.55; transition: transform 0.2s ease; }
.nav__item--has-menu:hover .nav__chevron,
.nav__item--has-menu.is-open .nav__chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 520px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(10, 27, 51, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}
.dropdown--small { width: 360px; }
.dropdown__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown--small .dropdown__inner { grid-template-columns: 1fr; }
.nav__item--has-menu:hover .dropdown,
.nav__item--has-menu:focus-within .dropdown,
.nav__item--has-menu.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown__link {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px;
  border-radius: 12px;
  transition: background 0.18s ease;
}
.dropdown__link:hover { background: var(--bg); }
.dropdown__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.dropdown__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dropdown__text strong { color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.dropdown__text span { color: var(--muted); font-size: 11px; line-height: 1.4; }

.header__actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header__phone { display: flex; flex-direction: column; line-height: 1.2; }
.header__phone span { color: var(--muted); font-size: 9.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.header__phone strong { margin-top: 3px; color: var(--ink); font-size: 15px; font-weight: 700; white-space: nowrap; }
.header__phone:hover strong { color: var(--brand); }
.header__cta { min-height: 44px; padding: 0 18px; font-size: 13.5px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: #fff;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: #fff;
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0.32s;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}
.mobile-menu__body { padding: 18px 20px 32px; display: flex; flex-direction: column; gap: 26px; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.mobile-menu__link::-webkit-details-marker { display: none; }
.mobile-menu__group[open] .mobile-menu__link .icon { transform: rotate(180deg); }
.mobile-menu__link .icon { transition: transform 0.2s ease; color: var(--muted); }
.mobile-menu__sub { display: flex; flex-direction: column; padding: 6px 0 8px 12px; border-bottom: 1px solid var(--line); }
.mobile-menu__sublink { padding: 9px 0; color: var(--body); font-size: 14px; }
.mobile-menu__sublink:hover { color: var(--brand); }
.mobile-menu__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px;
  border-radius: 16px;
  background: var(--bg);
  color: var(--muted);
  font-size: 13px;
}
.mobile-menu__phone { color: var(--ink); font-size: 20px; font-weight: 800; }
.mobile-menu__phone--small { font-size: 15px; font-weight: 600; }
.mobile-menu__contacts .btn { margin-top: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 42px;
  background:
    radial-gradient(900px 600px at 78% -10%, rgba(36, 99, 255, 0.32), transparent 60%),
    radial-gradient(700px 500px at 8% 20%, rgba(22, 199, 217, 0.13), transparent 60%),
    linear-gradient(180deg, #061224 0%, #081a33 55%, #0a2245 100%);
  color: #fff;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 35%, transparent 78%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero__glow--one { width: 420px; height: 420px; right: -80px; top: -120px; background: rgba(30, 94, 255, 0.28); }
.hero__glow--two { width: 360px; height: 360px; left: -140px; bottom: -120px; background: rgba(32, 199, 217, 0.12); }

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 30px;
  padding-bottom: 58px;
}
.hero__content { max-width: 660px; animation: hero-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35e0a1;
  box-shadow: 0 0 0 4px rgba(53, 224, 161, 0.12);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(53, 224, 161, 0.5);
  animation: pulse 2.4s ease-out infinite;
}
.hero h1 {
  margin: 20px 0 18px;
  color: #fff;
  font-size: clamp(2.35rem, 4.25vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.grad {
  white-space: nowrap;
  background: linear-gradient(100deg, #8fd6ff 0%, #6f9dff 55%, #b6c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16.5px;
  line-height: 1.62;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.hero__trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin-top: 28px;
  max-width: 540px;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12.5px;
}
.hero__trust .icon { color: #56d9c0; }

.hero__visual { display: flex; justify-content: center; animation: hero-in 0.9s 0.12s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-visual {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
}
.hero-visual__ring {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(130, 170, 255, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.hero-visual__ring--1 { width: 36%; height: 36%; border-color: rgba(130, 170, 255, 0.16); }
.hero-visual__ring--2 { width: 66%; height: 66%; border-style: dashed; animation: spin 60s linear infinite; }
.hero-visual__ring--3 { width: 92%; height: 92%; }
.hero-visual__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual__lines line {
  stroke: rgba(125, 170, 255, 0.22);
  stroke-width: 1;
  stroke-dasharray: 4 9;
  animation: dash 22s linear infinite;
}
.hero-visual__lines circle { stroke: rgba(125, 170, 255, 0.12); }

.hero-hub {
  position: absolute;
  top: 50%; left: 50%;
  width: 132px; height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 38px;
  background: linear-gradient(145deg, #2f74ff 0%, #1040d8 100%);
  box-shadow: 0 24px 60px -18px rgba(30, 94, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  color: #fff;
}
.hero-hub::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 46px;
  border: 1px solid rgba(120, 170, 255, 0.2);
}
.hero-hub strong { font-size: 30px; font-weight: 800; letter-spacing: 0.05em; line-height: 1; }
.hero-hub small { margin-top: 5px; font-size: 9px; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.6); }

.hero-node {
  position: absolute;
  top: calc(50% + var(--y));
  left: calc(50% + var(--x));
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(15, 37, 70, 0.72);
  color: #a9c7ff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 25px -14px rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.hero-node:hover { background: var(--brand); color: #fff; transform: translate(-50%, -50%) scale(1.06); }

.hero-float {
  position: absolute;
  left: -8px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: rgba(8, 24, 48, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  animation: float 7s ease-in-out infinite;
}
.hero-float--top {
  left: auto;
  right: -10px;
  top: 38px;
  bottom: auto;
  animation-delay: -3.5s;
}
.hero-float__icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(30, 94, 255, 0.22);
  color: #8fb8ff;
}
.hero-float strong { display: block; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.2; }
.hero-float small { display: block; margin-top: 3px; color: rgba(255, 255, 255, 0.5); font-size: 10px; }
.hero-float__dot {
  width: 8px; height: 8px;
  margin: 0 5px;
  border-radius: 50%;
  background: #35e0a1;
  box-shadow: 0 0 0 5px rgba(53, 224, 161, 0.1);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.stat { padding: 2px 26px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.stat:first-child { border-left: 0; }
.stat strong {
  display: block;
  color: #fff;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat span { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.5); font-size: 11.5px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 94, 255, 0.3);
  box-shadow: var(--shadow);
}
.service-card__num {
  position: absolute;
  top: 22px; right: 24px;
  color: #c3d0e4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.service-card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 22px;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand);
  transition: background 0.25s ease, color 0.25s ease;
}
.service-card h3 { margin-bottom: 8px; font-size: 18.5px; }
.service-card p { flex: 1; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
}
.service-card:hover .service-card__icon { background: var(--brand); color: #fff; }
.service-card:hover .service-card__link .icon { transform: translateX(3px); }

.service-card--featured {
  background: linear-gradient(145deg, #0b1e3a 0%, #123a78 100%);
  border-color: transparent;
  color: #fff;
}
.service-card--featured::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -80px; bottom: -90px;
  border-radius: 50%;
  background: rgba(48, 115, 255, 0.35);
  filter: blur(50px);
  pointer-events: none;
}
.service-card--featured .service-card__num { color: rgba(255, 255, 255, 0.22); }
.service-card--featured .service-card__icon { background: rgba(255, 255, 255, 0.09); color: #9cc4ff; }
.service-card--featured h3 { color: #fff; }
.service-card--featured p { color: rgba(255, 255, 255, 0.64); }
.service-card--featured .service-card__link { color: #9cc4ff; }
.service-card--featured:hover .service-card__icon { background: #fff; color: var(--brand); }

.service-card--cta {
  background: linear-gradient(145deg, #eef4ff 0%, #e2ecff 100%);
  border-color: #d4e2ff;
}
.service-card--cta .service-card__icon { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.service-card--cta h3 { max-width: 280px; }
.service-card--cta p { color: #566a86; }
.service-card--cta .service-card__link { color: var(--brand-deep); }
.service-card--cta:hover { border-color: rgba(30, 94, 255, 0.5); }
.service-card--cta:hover .service-card__icon { background: var(--brand); color: #fff; }

/* ---------- Advantages ---------- */
.advantages { overflow: hidden; }
.advantages::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  right: -260px; top: -300px;
  border-radius: 50%;
  background: rgba(30, 94, 255, 0.13);
  filter: blur(100px);
  pointer-events: none;
}
.advantages__top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
}
.advantages__intro p { color: rgba(255, 255, 255, 0.65); font-size: 15.5px; }
.advantages__intro strong { color: #fff; }
.advantages__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #9cc4ff;
  font-size: 12.5px;
  font-weight: 500;
}
.advantages__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.advantage {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.advantage:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); }
.advantage__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(80, 140, 255, 0.14);
  color: #8fb8ff;
}
.advantage h3 { margin-bottom: 7px; color: #fff; font-size: 17px; }
.advantage p { color: rgba(255, 255, 255, 0.58); font-size: 13.5px; line-height: 1.55; }

/* ---------- Plans ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(30, 94, 255, 0.3); box-shadow: var(--shadow); }
.plan__badge {
  position: absolute;
  top: 18px; right: 18px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--amber);
  color: #3a2603;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.plan__name { margin-bottom: 16px; padding-right: 60px; color: var(--ink); font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price strong { color: var(--ink); font-size: 32px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.plan__price span { color: var(--muted); font-size: 11.5px; }
.plan__meta { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; color: var(--muted); font-size: 12px; }
.plan__list { display: flex; flex-direction: column; gap: 8px; margin: 20px 0 22px; }
.plan__list li { display: flex; align-items: flex-start; gap: 7px; color: var(--body); font-size: 12.5px; line-height: 1.45; }
.plan__list .icon { margin-top: 1px; color: var(--green); }
.plan .btn { margin-top: auto; }

.plan--featured {
  background: linear-gradient(160deg, #0c2244 0%, #123a78 100%);
  border-color: transparent;
  box-shadow: 0 26px 55px -22px rgba(10, 36, 80, 0.55);
}
.plan--featured .plan__name,
.plan--featured .plan__price strong { color: #fff; }
.plan--featured .plan__price span,
.plan--featured .plan__meta { color: rgba(255, 255, 255, 0.55); }
.plan--featured .plan__list li { color: rgba(255, 255, 255, 0.72); }
.plan--featured .plan__list .icon { color: #56d9c0; }
.plans__note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}
.plans__note .icon { color: var(--brand); }

/* ---------- Clients ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.client {
  display: grid;
  place-items: center;
  height: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.client img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.client:hover { border-color: rgba(30, 94, 255, 0.25); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.client:hover img { filter: none; opacity: 1; }

/* ---------- Local SEO / FAQ ---------- */
.local-seo {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: start;
}
.local-seo__text h2 { margin-bottom: 16px; }
.local-seo__text p {
  max-width: 700px;
  margin-bottom: 14px;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.72;
}
.local-seo__links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.local-seo__card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.local-seo__label {
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.local-seo__card h3 { margin: 8px 0 16px; font-size: 18px; }
.city-list { display: flex; flex-wrap: wrap; gap: 6px; }
.city-list li {
  padding: 5px 9px;
  border-radius: 7px;
  background: var(--bg);
  color: var(--body);
  font-size: 11px;
}
.local-seo__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}
.faq { max-width: 840px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.faq__item[open] summary::after { content: "–"; }
.faq__answer { max-width: 720px; padding: 0 0 19px; }
.faq__answer p { color: var(--muted); font-size: 13.5px; line-height: 1.68; }

/* ---------- Videos ---------- */
.videos-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.videos-grid--reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.video-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-sm);
}
.video-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.3s ease;
}
.video-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 12, 25, 0.02) 35%, rgba(4, 12, 25, 0.5) 100%);
  pointer-events: none;
}
.video-card:hover .video-card__media img { transform: scale(1.045); opacity: 0.88; }
.video-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  padding-left: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  z-index: 2;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.video-card:hover .video-card__play { background: var(--brand); color: #fff; transform: translate(-50%, -50%) scale(1.06); }
.video-card__badge {
  position: absolute;
  left: 12px; bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(7, 20, 38, 0.7);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.video-card__badge .icon { color: #ff5b5b; }
.video-card__body { display: flex; flex-direction: column; gap: 3px; }
.video-card__body strong { color: var(--ink); font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.video-card__body span { color: var(--muted); font-size: 12px; line-height: 1.4; }

/* ---------- Promo ---------- */
.promo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.promo__media { min-width: 0; }
.promo__media video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  background: #000;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.promo__text h2 { margin-bottom: 14px; }
.promo__text > p { color: var(--muted); font-size: 15px; max-width: 520px; }
.promo__text .check-list { margin: 20px 0 26px; }

/* ---------- News / posts ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.news-grid--page { margin-top: 0; }
.news-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.news-card:hover { transform: translateY(-3px); border-color: rgba(30, 94, 255, 0.28); box-shadow: var(--shadow); }
.news-card__media { display: block; background: var(--bg-2); overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__body { display: flex; flex-direction: column; gap: 7px; padding: 20px 22px; }
.news-card__date { display: inline-flex; align-items: center; gap: 5px; color: var(--brand); font-size: 10.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.news-card__title { color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.3; }
.news-card__text { color: var(--muted); font-size: 12.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: rgba(30, 94, 255, 0.28); box-shadow: var(--shadow); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--bg-2); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease, opacity 0.4s ease; }
.post-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(30, 94, 255, 0.7) 0%, rgba(11, 30, 58, 0.88) 58%, rgba(7, 20, 38, 0.95) 100%);
  pointer-events: none;
}
.post-card__icon {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
  transition: transform 0.35s ease, background 0.35s ease;
}
.post-card:hover .post-card__icon { transform: translate(-50%, -50%) scale(1.06); background: rgba(255, 255, 255, 0.16); }
.post-card:hover .post-card__media img { transform: scale(1.045); opacity: 0.9; }
.post-card__tag {
  position: absolute;
  left: 12px; top: 12px;
  z-index: 3;
  padding: 5px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-card__title { color: var(--ink); font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.post-card__text {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--brand); font-size: 12px; font-weight: 600; }
.post-card:hover .post-card__more .icon { transform: translateX(3px); }
.post-card--featured { display: grid; grid-template-columns: 1.08fr 0.92fr; }
.post-card--featured .post-card__media { aspect-ratio: auto; min-height: 300px; }
.post-card--featured .post-card__icon { width: 96px; height: 96px; border-radius: 26px; }
.post-card--featured .post-card__body { padding: 36px; justify-content: center; }
.post-card--featured .post-card__title { font-size: 25px; line-height: 1.16; }
.post-card--featured .post-card__text { font-size: 14px; -webkit-line-clamp: 4; }
.article-feature { margin-bottom: 16px; }
#form, #cta, #services, #tariffs, #reviews, #news, #work-format, #clients { scroll-margin-top: 98px; }

/* ---------- CTA ---------- */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background:
    radial-gradient(700px 480px at 18% 0%, rgba(38, 100, 255, 0.28), transparent 60%),
    linear-gradient(150deg, #071426 0%, #0a1e3b 55%, #0d2b57 100%);
  color: #fff;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 80%);
  pointer-events: none;
}
.cta-section__glow {
  position: absolute;
  width: 460px; height: 460px;
  right: -120px; bottom: -220px;
  border-radius: 50%;
  background: rgba(32, 199, 217, 0.13);
  filter: blur(90px);
}
.cta-section__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 60px;
  align-items: center;
}
.cta-section__text h2 { color: #fff; margin-bottom: 14px; }
.cta-section__text > p { max-width: 520px; color: rgba(255, 255, 255, 0.65); font-size: 15px; }
.cta-section__contacts { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.cta-section__contacts a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; font-weight: 600; }
.cta-section__contacts a:hover { color: #9cc4ff; }
.cta-section__contacts .icon { color: #8fb8ff; }
.cta-section__form {
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; margin-bottom: 13px; }
.field__label { margin-bottom: 6px; color: var(--ink); font-size: 12px; font-weight: 600; }
.field__optional { color: var(--muted); font-weight: 400; }
.field__input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #f8fafd;
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field__input::placeholder { color: #9aa9bd; }
.field__input:hover { border-color: #bccbe0; }
.field__input:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 94, 255, 0.1);
}
.field__textarea { min-height: 86px; padding: 11px 13px; resize: vertical; }
.field__error { min-height: 0; margin-top: 3px; color: var(--red); font-size: 11.5px; }
.field.has-error .field__input { border-color: var(--red); background: #fff7f7; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.lead-form .checkbox { margin: 4px 0 12px; }
.checkbox { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 11.5px; line-height: 1.45; cursor: pointer; }
.checkbox input { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; accent-color: var(--brand); }
.checkbox a { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(30, 94, 255, 0.35); text-underline-offset: 2px; }
.checkbox.has-error { color: var(--red); }
.lead-form__note { display: flex; align-items: center; gap: 5px; margin-top: 10px; color: var(--muted); font-size: 10.5px; line-height: 1.4; }
.lead-form__note .icon { color: var(--green); }
.lead-form__status:empty { display: none; }
.lead-form__status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.45;
}
.lead-form__status.is-success { background: #e9f9f1; color: #0e6b46; border: 1px solid #b9ebd3; }
.lead-form__status.is-error { background: #fff1f1; color: #a72a2e; border: 1px solid #ffcdcd; }
.lead-form__status.is-info { background: var(--brand-soft); color: var(--brand-deep); border: 1px solid #cfddff; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Footer ---------- */
.footer { margin-top: 38px; border-radius: 30px 30px 0 0; background: #060f1e; color: rgba(255, 255, 255, 0.66); padding: 64px 0 0; overflow: hidden; }
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer__brand p { max-width: 300px; margin-top: 18px; color: rgba(255, 255, 255, 0.48); font-size: 12.5px; line-height: 1.6; }
.footer__slogan { margin-top: 8px !important; color: #9cc4ff !important; font-size: 11px !important; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.footer__social { display: flex; gap: 8px; margin-top: 20px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.62);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer__social a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.footer__col h3 {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col li a { color: rgba(255, 255, 255, 0.66); font-size: 12.5px; }
.footer__col li a:hover { color: #fff; }
.footer__phone { display: block; color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.footer__phone--small { margin-top: 4px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.6); }
.footer__mail { display: inline-block; margin: 12px 0 16px; color: #9cc4ff; font-size: 13px; }
.footer__col--contacts p { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 8px; color: rgba(255, 255, 255, 0.48); font-size: 11.5px; line-height: 1.5; }
.footer__col--contacts p .icon { margin-top: 2px; color: rgba(255, 255, 255, 0.32); }
.footer__col--contacts .btn { margin-top: 8px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.38);
  font-size: 11px;
}
.footer__legal { display: flex; gap: 18px; }
.footer__legal a { color: rgba(255, 255, 255, 0.42); }
.footer__legal a:hover { color: #fff; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.breadcrumbs li + li::before { content: "/"; color: #c2cfe1; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 52px;
  background: linear-gradient(180deg, #f2f7fe 0%, #f8fbfe 65%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 94, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 94, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 70% 0%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 0%, #000 10%, transparent 75%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .breadcrumbs { margin-bottom: 26px; }
.page-hero__content { max-width: 880px; }
.page-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.page-hero__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.page-hero h1 { max-width: 900px; }
.page-hero__lead { max-width: 760px; margin-top: 16px; color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.page-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; }
.page-hero__facts li { display: inline-flex; align-items: center; gap: 6px; color: var(--body); font-size: 12.5px; }
.page-hero__facts .icon { color: var(--green); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.page-hero--simple { padding-bottom: 40px; }

/* ---------- Page layout / sidebar ---------- */
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 48px;
  padding: 62px 0 90px;
}
.page-content { min-width: 0; }
.sidebar { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 98px; align-self: start; }
.side-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.side-card__title { margin-bottom: 12px; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--body);
  font-size: 12.5px;
  line-height: 1.4;
}
.side-nav a:hover { background: var(--bg); color: var(--brand); }
.side-nav a.is-active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.side-nav__sub { display: flex; flex-direction: column; gap: 1px; margin: 1px 0 4px 10px; padding-left: 8px; border-left: 1px solid var(--line); }
.side-nav__sub a { padding: 6px 8px; font-size: 11.5px; color: var(--muted); }
.side-nav__sub a.is-active { background: transparent; color: var(--brand); font-weight: 600; }

.side-card--cta {
  background: linear-gradient(155deg, #0b1e3a 0%, #123a78 100%);
  border-color: transparent;
  color: #fff;
}
.side-card--cta .side-card__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  color: #9cc4ff;
}
.side-card--cta h3 { margin-bottom: 6px; color: #fff; font-size: 17px; }
.side-card--cta p { margin-bottom: 12px; color: rgba(255, 255, 255, 0.6); font-size: 12px; }
.side-card__phone { display: block; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.3; }
.side-card__phone--small { margin-bottom: 12px; color: rgba(255, 255, 255, 0.65); font-size: 13px; font-weight: 500; }
.side-card--note { background: var(--bg); border-color: transparent; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.side-card--note .icon { margin-bottom: 10px; color: var(--brand); }
.side-card--note strong { color: var(--ink); }
.side-card--note a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.side-links { display: flex; flex-direction: column; gap: 9px; }
.side-links a { color: var(--body); font-size: 12px; line-height: 1.45; }
.side-links a:hover { color: var(--brand); }

/* ---------- Prose ---------- */
.prose { max-width: 830px; color: #35465e; font-size: 15.5px; line-height: 1.75; }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  margin: 42px 0 14px;
  padding-left: 17px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.22;
  position: relative;
}
.prose h2::before {
  content: "";
  position: absolute;
  left: 0; top: 0.16em; bottom: 0.16em;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand), var(--cyan));
}
.prose h3 { margin: 30px 0 10px; color: var(--ink); font-size: 19px; }
.prose p { margin: 0 0 17px; }
.prose a { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(30, 94, 255, 0.32); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--brand); }
.prose ul, .prose ol { margin: 0 0 20px; display: flex; flex-direction: column; gap: 9px; }
.prose li { position: relative; padding-left: 28px; }
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.38em;
  width: 17px; height: 17px;
  border-radius: 6px;
  background: var(--brand-soft);
}
.prose ul > li::after {
  content: "";
  position: absolute;
  left: 5px; top: 0.63em;
  width: 7px; height: 4px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.prose ol { counter-reset: item; }
.prose ol > li { counter-increment: item; padding-left: 34px; }
.prose ol > li::before {
  content: counter(item);
  position: absolute;
  left: 0; top: 0.1em;
  display: grid;
  place-items: center;
  width: 23px; height: 23px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
}
.prose blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: var(--bg);
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 500;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { margin: 20px 0; font-size: 13.5px; }
.prose th { padding: 10px 12px; background: var(--bg); border-bottom: 1px solid var(--line-2); text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.prose td { padding: 11px 12px; border-bottom: 1px solid var(--line); }
.prose img { border-radius: 14px; margin: 8px 0 22px; }

.check-list { display: flex; flex-direction: column; gap: 9px; }
.check-list li { position: relative; padding-left: 26px; color: var(--body); font-size: 13.5px; line-height: 1.5; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.34em;
  width: 17px; height: 17px;
  border-radius: 5px;
  background: rgba(22, 163, 106, 0.1);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: 0.58em;
  width: 7px; height: 4px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.section--dark .check-list li { color: rgba(255, 255, 255, 0.7); }
.section--dark .check-list li::before { background: rgba(86, 217, 192, 0.14); }
.section--dark .check-list li::after { border-color: #56d9c0; }

.inline-list { display: flex; flex-wrap: wrap; gap: 7px; }
.inline-list li {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--body);
  font-size: 11.5px;
}
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0; }
.info-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.info-card__icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
.info-card h3 { margin-bottom: 6px; font-size: 16px; }
.info-card p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.info-card a { color: var(--brand); }
.figure-row { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; margin: 24px 0; align-items: start; }
.figure { margin: 0; }
.figure img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); }
.prose .figure img { width: auto; max-width: 100%; }
.figure-row .figure img { width: 100%; }
.figure figcaption { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.figure--small img { object-fit: cover; }
.product-row { display: grid; grid-template-columns: 240px 1fr; gap: 14px; margin: 24px 0; }
.product-card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); text-align: center; }
.product-card img { width: 100%; height: 230px; object-fit: contain; margin: 0 auto 10px; }
.product-card figcaption strong { display: block; color: var(--ink); font-size: 13px; }
.product-card figcaption span { display: block; margin-top: 3px; color: var(--brand); font-size: 11.5px; font-weight: 600; }
.product-card--wide img { height: 230px; }
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0; }
.feature-strip__item { padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.feature-strip__item strong { display: block; margin-bottom: 6px; color: var(--brand); font-size: 11px; letter-spacing: 0.08em; }
.feature-strip__item span { color: var(--body); font-size: 12px; line-height: 1.4; }
.callout { margin: 26px 0; padding: 20px 22px; border: 1px solid #d7e5ff; border-radius: 14px; background: #f3f8ff; }
.callout strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 14px; }
.callout p { color: var(--body); font-size: 13px; line-height: 1.55; }
.callout p:last-child { margin-bottom: 0; }
.callout--warning { border-color: #ffe2b0; background: #fff8ea; }
.price-highlight { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 24px 0; padding: 20px 24px; border-radius: 14px; background: var(--brand-soft); }
.price-highlight span { color: var(--ink-2); font-size: 13.5px; }
.price-highlight strong { color: var(--brand); font-size: 28px; font-weight: 800; white-space: nowrap; }
.related-block { margin-top: 56px; padding-top: 38px; border-top: 1px solid var(--line); }
.related-block h2 { margin-bottom: 20px; font-size: 24px; }
.mini-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-service { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.mini-service:hover { border-color: rgba(30, 94, 255, 0.3); box-shadow: var(--shadow-sm); }
.mini-service > span { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 9px; background: var(--brand-soft); color: var(--brand); }
.mini-service strong { flex: 1; color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.3; }
.mini-service > .icon { color: var(--muted); }

/* ---------- Tariffs ---------- */
.tariffs-section { padding: 56px 0 0; }
.tariffs-section:last-of-type { padding-bottom: 10px; }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 14px; flex-wrap: wrap; }
.search { position: relative; display: flex; align-items: center; }
.search .icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search input {
  width: 380px;
  height: 44px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30, 94, 255, 0.1); }
.table-toolbar__count { color: var(--muted); font-size: 12px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.price-table { min-width: 680px; }
.price-table th {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-2);
  background: #f4f8fe;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}
.price-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--body); font-size: 13px; vertical-align: top; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover td { background: #f9fbff; }
.price-table td:first-child { color: var(--ink); }
.price-table td.price { color: var(--brand); font-size: 14px; font-weight: 700; white-space: nowrap; text-align: right; }
.price-table th:last-child { text-align: right; }
.price-table--one-time td:first-child { width: 78%; }
.table-empty { padding: 26px; color: var(--muted); text-align: center; font-size: 13px; }

/* ---------- Articles ---------- */
.articles-section { padding: 56px 0 0; }
.posts-grid--articles { padding-bottom: 0; }
.posts-grid--articles .post-card:nth-child(3n + 1) { margin-top: 0; }

.article-hero { padding: 24px 0 44px; background: linear-gradient(180deg, #f2f7fe 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.article-hero .breadcrumbs { margin-bottom: 28px; }
.article-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: center; }
.article-hero__text h1 { max-width: 800px; font-size: clamp(2rem, 3.4vw, 3rem); }
.article-hero__lead { max-width: 720px; margin-top: 14px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.article-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; color: var(--muted); font-size: 11.5px; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-hero__cover { width: 280px; aspect-ratio: 1; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); }
.article-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 50px 0 0; align-items: start; }
.article-body { min-width: 0; }
.article-body .prose { max-width: 100%; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); }
.post-nav__item { padding: 15px 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.post-nav__item:hover { border-color: rgba(30, 94, 255, 0.3); box-shadow: var(--shadow-sm); }
.post-nav__item span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.post-nav__item strong { color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.35; }
.post-nav__item--next { text-align: right; }
.article-body--legal .prose { max-width: 900px; }

/* ---------- Reviews ---------- */
.reviews-section { padding: 56px 0 0; }
.reviews-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.reviews-note > div { display: flex; align-items: center; gap: 14px; }
.reviews-note .icon { color: #ff5b5b; }
.reviews-note strong { display: block; color: var(--ink); font-size: 14px; }
.reviews-note span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }

/* ---------- Certificates ---------- */
.docs-section { padding: 54px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--body);
  font-size: 11.5px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip span { padding: 1px 6px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 10px; }
.chip:hover { border-color: rgba(30, 94, 255, 0.35); color: var(--brand); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-active span { background: rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.75); }
.certs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cert-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cert-card:hover { transform: translateY(-3px); border-color: rgba(30, 94, 255, 0.3); box-shadow: var(--shadow); }
.cert-card.is-hidden { display: none; }
.cert-card__media { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 10px; background: #eef3fa; }
.cert-card__media img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; box-shadow: 0 4px 12px rgba(10, 27, 51, 0.12); }
.cert-card__body { display: flex; flex-direction: column; gap: 5px; padding: 13px 15px 15px; }
.cert-card__cat { color: var(--brand); font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.cert-card__title { color: var(--ink); font-size: 12px; font-weight: 500; line-height: 1.4; }

/* ---------- Documents ---------- */
.doc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.doc-card:hover { transform: translateY(-2px); border-color: rgba(30, 94, 255, 0.3); box-shadow: var(--shadow); }
.doc-card__icon { display: grid; place-items: center; width: 56px; height: 56px; flex: 0 0 auto; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.doc-card__body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.doc-card__body strong { color: var(--ink); font-size: 14px; line-height: 1.3; }
.doc-card__body span { color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.doc-card__body small { color: var(--brand); font-size: 10px; font-weight: 600; letter-spacing: 0.05em; }
.doc-card__download { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px; background: var(--bg); color: var(--brand); }

.req-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.req-card__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px; border-bottom: 1px solid var(--line); background: #f5f9ff; }
.req-card__head h2 { margin-top: 4px; font-size: 21px; }
.req-card__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.req-table { display: flex; flex-direction: column; }
.req-row { display: grid; grid-template-columns: 245px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 15px 26px; border-bottom: 1px solid var(--line); }
.req-row:last-child { border-bottom: 0; }
.req-row__label { color: var(--muted); font-size: 12px; }
.req-row__value { color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.nowrap { white-space: nowrap; }

.req-row__copy { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); font-size: 10px; opacity: 0.55; transition: opacity 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.req-row:hover .req-row__copy { opacity: 1; }
.req-row__copy:hover { color: var(--brand); border-color: rgba(30, 94, 255, 0.35); }
.req-extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }

/* ---------- Contacts ---------- */
.contacts-section { padding: 54px 0 0; }
.contacts-grid { display: grid; grid-template-columns: 1fr 0.95fr; gap: 38px; align-items: start; }
.contacts-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-card { display: flex; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.contact-card__icon { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 auto; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
.contact-card__label { display: block; margin-bottom: 3px; color: var(--muted); font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-card p { color: var(--ink); font-size: 12.5px; line-height: 1.5; }
.contact-card a:hover { color: var(--brand); }
.contact-card .muted { color: var(--muted); font-size: 11px; }
.map-card { position: relative; grid-column: 1 / -1; display: block; height: 218px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.map-card img { width: 100%; height: 100%; object-fit: cover; }
.map-card__overlay { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 30px 16px 13px; background: linear-gradient(180deg, transparent, rgba(4, 12, 25, 0.82)); color: #fff; font-size: 11.5px; line-height: 1.4; }
.map-card__overlay .icon:last-child { margin-left: auto; }
.contacts-form { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); }
.contacts-form h2 { margin-bottom: 8px; font-size: 26px; }
.contacts-form > p { margin-bottom: 18px; color: var(--muted); font-size: 12.5px; }
.contacts-form .lead-form { padding: 18px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }

.cities-section { padding: 64px 0 0; }
.towns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 22px; }
.towns li { position: relative; padding: 9px 12px 9px 26px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--body); font-size: 11.5px; }
.towns li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); transform: translateY(-50%); }
.cities-note { margin-top: 18px; color: var(--muted); font-size: 12.5px; }
.cities-note a { color: var(--brand); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 32px;
  border: 0;
  background: rgba(3, 9, 19, 0.95);
  color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(3, 9, 19, 0.85); }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 92vw; max-height: 88vh; }
.lightbox__figure img { max-width: 92vw; max-height: 78vh; width: auto; height: auto; border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox__figure figcaption { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.lightbox__figure figcaption span { color: #fff; font-size: 13px; }
.lightbox__figure figcaption small { color: rgba(255, 255, 255, 0.5); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.lightbox__close,
.lightbox__nav {
  position: fixed;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(8px);
}
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav--prev { left: 22px; top: 50%; transform: translateY(-50%) rotate(90deg); }
.lightbox__nav--next { right: 22px; top: 50%; transform: translateY(-50%) rotate(-90deg); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, 0.16); }

/* ---------- Modal ---------- */
.modal {
  width: calc(100% - 32px);
  max-width: 500px;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--body);
}
.modal[open] { display: block; }
.modal::backdrop { background: rgba(4, 12, 25, 0.62); backdrop-filter: blur(4px); }
.modal__card { position: relative; padding: 30px; border-radius: 22px; background: #fff; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4); }
.modal__card h2 { margin-bottom: 8px; font-size: 25px; }
.modal__lead { margin-bottom: 20px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.modal__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); }
.modal__close:hover { background: var(--bg); }
.modal--video { max-width: 960px; }
.modal__video-card { position: relative; border-radius: 18px; overflow: hidden; background: #000; }
.modal__video-card .video-embed { aspect-ratio: 16 / 9; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.video-embed__caption { padding: 12px 16px; background: #071426; color: #fff; font-size: 12px; }
.modal__close--light { top: 10px; right: 10px; z-index: 3; background: rgba(7, 20, 38, 0.6); border-color: rgba(255, 255, 255, 0.2); color: #fff; }

/* ---------- Cookie / to-top / mobile bar ---------- */
.cookie {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 440px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.cookie p { color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.cookie a { color: var(--brand); text-decoration: underline; }
.cookie .btn { flex: 0 0 auto; }

.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 100;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.to-top .icon { transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 110;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar__item { display: flex; align-items: center; justify-content: center; gap: 8px; height: 58px; color: var(--ink); font-size: 13px; font-weight: 600; }
.mobile-bar__item--accent { background: var(--brand); color: #fff; }

/* ---------- 404 ---------- */
.notfound { min-height: 62vh; display: flex; align-items: center; padding: 70px 0; background: linear-gradient(180deg, #f4f8fe, #fff); }
.notfound__inner { max-width: 640px; }
.notfound__code {
  display: block;
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.07em;
  background: linear-gradient(120deg, var(--brand), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.notfound h1 { margin: 14px 0 10px; }
.notfound p { color: var(--muted); max-width: 480px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.notfound__links a { color: var(--brand); font-size: 12.5px; }

/* ---------- Reveal ---------- */
.js .reveal { transform: translateY(14px); transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-visible { transform: none; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0% { transform: scale(0.7); opacity: 0.8; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes dash { to { stroke-dashoffset: -260; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header__inner { gap: 18px; }
  .nav__link { padding: 10px 9px; font-size: 12.5px; }
  .header__phone { display: none; }
  .header__cta { padding: 0 14px; font-size: 12.5px; }
  .hero__inner { gap: 16px; }
}

@media (max-width: 1080px) {
  .topbar__item--hours { display: none; }
  .header__phone { display: none; }
  .nav { display: none; }
  .burger { display: block; }
  .header__inner { justify-content: space-between; }
  .section { padding: 78px 0; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan--featured { box-shadow: none; }
  .clients-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__col--contacts { grid-column: 1 / -1; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .footer__col--contacts h3 { grid-column: 1 / -1; margin-bottom: 0; }
  .footer__col--contacts p { margin: 0; }
  .footer__col--contacts .btn { grid-column: 3; grid-row: 2; justify-self: end; margin: 0; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta { display: none; }
  .header__inner { justify-content: space-between; }
  .hero { padding-top: 54px; }
  .hero__inner { grid-template-columns: 1fr; padding-bottom: 38px; }
  .hero__content { max-width: 720px; }
  .hero__visual { margin-top: 4px; }
  .hero-visual { width: min(100%, 440px); }
  .advantages__top { grid-template-columns: 1fr; gap: 18px; }
  .advantages__grid { margin-top: 34px; }
  .promo { grid-template-columns: 1fr; gap: 28px; }
  .page-layout, .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .sidebar { position: static; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .side-card--note { display: none; }
  .article-hero__inner { grid-template-columns: 1fr 220px; }
  .article-hero__cover { width: 220px; }
  .local-seo { grid-template-columns: 1fr; gap: 28px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .cities-section { padding-top: 48px; }
  .cta-section__inner { grid-template-columns: 1fr 420px; gap: 32px; }
}

@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .videos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .videos-grid--reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head--center { align-items: center; }
  .post-card--featured { grid-template-columns: 1fr; }
  .post-card--featured .post-card__media { min-height: 220px; }
  .post-card--featured .post-card__body { padding: 24px; }
  .post-card--featured .post-card__title { font-size: 21px; }
  .cta-section__inner { grid-template-columns: 1fr; gap: 28px; }
  .cta-section__form { max-width: 560px; }
  .article-hero__inner { grid-template-columns: 1fr; }
  .article-hero__cover { display: none; }
  .certs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-list { grid-template-columns: 1fr; }
  .req-extra { grid-template-columns: 1fr; }
  .towns { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col--contacts { grid-column: 1 / -1; grid-template-columns: 1fr; align-items: start; }
  .footer__col--contacts h3 { grid-column: auto; }
  .footer__col--contacts .btn { grid-column: auto; grid-row: auto; justify-self: start; margin-top: 6px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .section { padding: 62px 0; }
  .topbar__inner { min-height: 34px; gap: 14px; }
  .topbar__item--mail { margin-left: auto; }
  .topbar__item span { font-size: 10.5px; }
  .hero { padding-top: 40px; padding-bottom: 30px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.9rem); }
  .hero__lead { font-size: 14.5px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__trust { grid-template-columns: 1fr; gap: 7px; }
  .hero-stats { grid-template-columns: 1fr 1fr; padding: 8px; }
  .stat { padding: 14px 18px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.09); }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.09); }
  .hero-float { transform: scale(0.85); transform-origin: left bottom; }
  .hero-float--top { transform-origin: right top; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .plans { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .clients-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .client { height: 74px; padding: 10px; }
  .videos-grid, .videos-grid--reviews { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 120px minmax(0, 1fr); }
  .news-card__body { padding: 16px 16px 16px 0; }
  .news-card__text { -webkit-line-clamp: 2; }
  .page-hero { padding: 20px 0 40px; }
  .page-hero .breadcrumbs { margin-bottom: 20px; }
  .page-hero__lead { font-size: 14.5px; }
  .page-hero__actions .btn { flex: 1 1 100%; }
  .page-layout { padding: 40px 0 64px; }
  .sidebar { grid-template-columns: 1fr; }
  .side-card--note { display: block; }
  .prose { font-size: 14.8px; }
  .prose h2 { margin-top: 34px; }
  .info-grid { grid-template-columns: 1fr; }
  .figure-row { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: 1fr; }
  .product-card img { height: 190px; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .mini-services { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr 1fr; }
  .cert-card__body { padding: 11px 12px 12px; }
  .cert-card__title { font-size: 11px; }
  .req-card__head { flex-direction: column; align-items: flex-start; padding: 20px; }
  .req-row { grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 20px; }
  .req-row__label { grid-column: 1; }
  .req-row__value { grid-column: 1; }
  .req-row__copy { grid-column: 2; grid-row: 1 / span 2; opacity: 1; }
  .req-row__copy span { display: none; }
  .contacts-info { grid-template-columns: 1fr; }
  .map-card { grid-column: auto; }
  .contacts-form { padding: 20px; }
  .towns { grid-template-columns: 1fr 1fr; }
  .article-hero { padding-bottom: 34px; }
  .article-hero__text h1 { font-size: 1.85rem; }
  .article-layout { padding-top: 34px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__item--next { text-align: left; }
  .faq__item summary { font-size: 14px; padding: 16px 0; }
  .footer { padding-top: 48px; margin-top: 26px; border-radius: 24px 24px 0 0; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer__col--contacts { padding-top: 18px; }
  .footer__bottom { padding-bottom: 76px; }
  .mobile-bar { display: grid; }
  .cookie { left: 12px; right: 12px; bottom: 72px; max-width: none; flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; }
  .cookie p { font-size: 9.5px; line-height: 1.35; }
  .cookie .btn { width: auto; flex: 0 0 auto; min-height: 36px; padding: 0 11px; font-size: 11px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .to-top { display: none; }
  .cta-section { padding: 60px 0; }
  .cta-section__form { padding: 20px; }
  .lead-form__grid { grid-template-columns: 1fr; }
  .article-body .prose { max-width: 100%; }
  .table-toolbar { align-items: stretch; }
  .search { width: 100%; }
  .search input { width: 100%; }
  .price-table { min-width: 560px; }
  .price-table th, .price-table td { padding: 12px 14px; }
  .reviews-note { flex-direction: column; align-items: flex-start; }
  .lightbox { padding: 16px; }
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .modal__card { padding: 24px 20px; }
}

@media (max-width: 520px) {
  .topbar__item:first-child { display: none; }
  .topbar__item--mail { margin-left: 0; }
  .logo__mark { width: 40px; height: 40px; border-radius: 11px; }
  .logo__text strong { font-size: 19px; }
  .logo__caption { display: none; }
  .header { --header-h: 68px; }
  .stat strong { font-size: 1.6rem; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .cert-card__media { aspect-ratio: 16 / 10; }
  .feature-strip { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; }
  .news-card__media { aspect-ratio: 16 / 9; }
  .news-card__body { padding: 16px; }
  .cta-section__text h2 { font-size: 1.7rem; }
  .price-highlight { flex-direction: column; align-items: flex-start; gap: 8px; }
  .article-meta { gap: 10px; }
  .footer__legal { flex-direction: column; gap: 6px; }
}

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

@media print {
  .topbar, .header, .footer, .mobile-menu, .mobile-bar, .to-top, .cookie,
  .cta-section, .sidebar, .breadcrumbs, .modal, .lightbox, .skip-link { display: none !important; }
  body { color: #000; background: #fff; }
  .page-hero, .section, .article-hero { background: #fff !important; padding: 12px 0; }
  .container { max-width: 100%; padding: 0; }
  .prose { max-width: 100%; font-size: 12pt; }
  .req-card, .doc-card, .info-card { box-shadow: none; }
  a { color: #000; text-decoration: none; }
}
