/* ==========================================================================
   Netzwerkstudio – Design System
   Light/Dark, mobile-first, no dependencies
   ========================================================================== */

/* ---------- Fonts ------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ------------------------------------------------------ */
:root {
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;

  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #eff2f5;
  --ink: #0e1720;
  --text: #2b3644;
  --muted: #5c6b7c;
  --border: #e4e8ed;
  --border-strong: #cfd7e0;

  --accent: #ef861b;
  --accent-strong: #b94f06;
  --accent-soft: #fdf2e7;
  --accent-contrast: #1c1206;

  --dark: #0d1218;
  --dark-2: #141c25;
  --ok: #15805a;
  --danger: #b42318;

  --shadow-sm: 0 1px 2px rgb(14 23 32 / 0.06);
  --shadow: 0 18px 40px -22px rgb(14 23 32 / 0.28);
  --shadow-lg: 0 30px 70px -34px rgb(14 23 32 / 0.38);

  --radius-sm: 9px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --container: 1220px;
  --header-h: 80px;
  --gutter: clamp(18px, 4vw, 32px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #0b0f14;
  --bg-soft: #0f151c;
  --surface: #131a22;
  --surface-2: #18222c;
  --ink: #f1f5f9;
  --text: #c9d4e0;
  --muted: #93a2b4;
  --border: #222e3b;
  --border-strong: #31404f;

  --accent: #ff9636;
  --accent-strong: #ffb067;
  --accent-soft: #2a1c10;
  --accent-contrast: #1c1206;

  --dark: #06090d;
  --dark-2: #0c1219;
  --ok: #3ecf95;

  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow: 0 18px 40px -22px rgb(0 0 0 / 0.8);
  --shadow-lg: 0 30px 70px -30px rgb(0 0 0 / 0.9);
}

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

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

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

img, svg, video { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; }
a { color: inherit; }
button { font: inherit; }

::selection { background: var(--accent); color: var(--accent-contrast); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utilities --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 900px; }

.icon {
  width: 22px;
  height: 22px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--xs { width: 16px; height: 16px; }
.icon--sm { width: 19px; height: 19px; }
.icon--lg { width: 28px; height: 28px; }

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform 0.2s;
  text-decoration: none;
}
.skip-link:focus { transform: none; }

.muted { color: var(--muted); }
.accent { color: #d3700a; }
[data-theme="dark"] .accent { color: var(--accent); }

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--primary {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 8px 20px -12px color-mix(in srgb, var(--accent) 80%, transparent);
}
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--muted); }

.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark-2); }

.btn--light { background: #fff; color: #10161d; }
.btn--light:hover { background: #f1f3f6; }

.btn--sm { padding: 8px 13px; font-size: 0.85rem; border-radius: 8px; }
.btn--lg { padding: 14px 22px; font-size: 1rem; border-radius: 11px; }
.btn--block { width: 100%; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.18s, background-color 0.18s, color 0.18s;
}
.icon-btn:hover { border-color: var(--border-strong); color: var(--ink); background: var(--surface-2); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-strong);
  text-decoration: none;
}
.link-arrow .icon { transition: transform 0.18s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: block;
  flex: none;
  line-height: 0;
  text-decoration: none;
}
.logo__img {
  display: block;
  width: clamp(180px, 15vw, 210px);
  height: auto;
}
.logo__img--dark { display: none; }
[data-theme="dark"] .logo__img--light { display: none; }
[data-theme="dark"] .logo__img--dark { display: block; }

.nav { margin-inline: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
}
.nav__item { position: static; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 9px 9px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  font-weight: 550;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.nav__link:hover { background: var(--surface-2); color: var(--ink); }
.nav__link.is-active { color: var(--accent-strong); }
.nav__chev { color: var(--muted); transition: transform 0.2s; }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0 var(--gutter) 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.nav__item--mega:hover > .mega,
.nav__item--mega:focus-within > .mega,
.nav__item--mega.is-open > .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mega__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.mega__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.mega__col { padding: 6px; border-radius: 12px; }
.mega__title {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
}
.mega__title:hover { background: var(--surface-2); }
.mega__icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  flex: none;
}
.mega__icon .icon { width: 17px; height: 17px; }
.mega__list {
  list-style: none;
  padding: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.mega__list a {
  display: block;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  transition: background-color 0.12s, color 0.12s;
}
.mega__list a:hover { background: var(--surface-2); color: var(--ink); }
.mega__list a.is-active { color: var(--accent-strong); font-weight: 600; }
.mega__all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 6px 0 0 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-strong);
  text-decoration: none;
}
.mega__all:hover { text-decoration: underline; text-underline-offset: 3px; }
.mega__promo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  padding: 22px;
  border-radius: 14px;
  background: var(--dark);
  color: #dfe7ef;
}
.mega__promo-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.mega__promo-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 650;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}
.mega__promo-text { font-size: 0.83rem; color: #9fadbb; margin: 0 0 4px; }
.mega__promo .btn { align-self: flex-start; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  min-width: 220px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
}
.nav__item--drop { position: relative; }
.nav__item--drop:hover > .dropdown,
.nav__item--drop:focus-within > .dropdown,
.nav__item--drop.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown ul { list-style: none; padding: 0; margin: 0; }
.dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
}
.dropdown a:hover { background: var(--surface-2); color: var(--ink); }
.dropdown a.is-active { color: var(--accent-strong); font-weight: 600; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.header__phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.header__phone .icon { color: var(--accent-strong); }
.header__phone:hover { color: var(--accent-strong); }

.lang-switch {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
}
.lang-switch:hover { border-color: var(--border-strong); color: var(--ink); }

.theme-toggle { position: relative; }
.theme-toggle__sun,
.theme-toggle__moon {
  display: grid;
  place-items: center;
  transition: opacity 0.2s, transform 0.3s;
}
.theme-toggle__moon { position: absolute; inset: 0; opacity: 0; transform: rotate(-40deg) scale(0.7); }
[data-theme="dark"] .theme-toggle__sun { opacity: 0; transform: rotate(40deg) scale(0.7); }
[data-theme="dark"] .theme-toggle__moon { opacity: 1; transform: none; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 4px;
  grid-auto-flow: row;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Mobile nav -------------------------------------------------- */
.mobile-nav { position: fixed; inset: 0; z-index: 120; }
.mobile-nav[hidden] { display: none; }
.mobile-nav__scrim {
  position: absolute;
  inset: 0;
  background: rgb(6 10 14 / 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s;
}
.mobile-nav.is-open .mobile-nav__scrim { opacity: 1; }
.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 94vw);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  box-shadow: -30px 0 60px -30px rgb(0 0 0 / 0.5);
  transform: translateX(100%);
  transition: transform 0.28s var(--ease);
}
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav__body { padding: 8px 20px 24px; overflow-y: auto; flex: 1; }
.mnav { list-style: none; padding: 0; margin: 0; }
.mnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 2px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.02rem;
  font-weight: 550;
  color: var(--ink);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}
.mnav__toggle .icon { color: var(--muted); transition: transform 0.2s; }
.mnav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mnav__panel { padding: 6px 0 10px 4px; }
.mnav__sub { padding: 8px 0; }
.mnav__sub-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--accent-strong);
  text-decoration: none;
}
.mnav__sub ul,
.mnav__sublist { list-style: none; padding: 0 0 0 30px; margin: 0; }
.mnav__sub li a,
.mnav__sublist a {
  display: block;
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}
.mnav__sub li a:hover,
.mnav__sublist a:hover { color: var(--ink); }
.mnav__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.mobile-nav__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}
.mobile-nav__note { font-size: 0.72rem; color: var(--muted); }

/* ---------- Hero -------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(42px, 6vw, 76px); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.hero__glow--1 {
  width: 560px;
  height: 560px;
  top: -220px;
  right: -80px;
  background: color-mix(in srgb, var(--accent) 26%, transparent);
}
.hero__glow--2 {
  width: 420px;
  height: 420px;
  bottom: -260px;
  left: -140px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding-bottom: clamp(36px, 5vw, 64px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  flex: none;
}
.hero__title {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 18px 0 20px;
  font-weight: 700;
}
.hero__lead {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  color: var(--muted);
  max-width: 53ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.hero__bullets li { display: flex; align-items: center; gap: 7px; }
.hero__bullets .icon { color: var(--ok); }

.hero__visual { position: relative; }
.system-card {
  position: relative;
  padding: 18px;
  background: linear-gradient(165deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.system-card__head,
.system-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.system-card__head { padding: 4px 6px 10px; }
.system-card__title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ok);
  white-space: nowrap;
}
.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent); }
  50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--ok) 4%, transparent); }
}
.constellation use {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.constellation { display: block; width: 100%; height: auto; }
.cn-ring {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 1;
  stroke-dasharray: 3 6;
  opacity: 0.7;
}
.cn-ring--inner { stroke-dasharray: 2 7; opacity: 0.5; }
.cn-lines line {
  stroke: var(--border-strong);
  stroke-width: 1.2;
  stroke-dasharray: 2 5;
}
.cn-node circle {
  fill: var(--surface);
  stroke: var(--border-strong);
  stroke-width: 1;
}
.cn-node use { color: var(--muted); }
.cn-node--center circle { fill: var(--accent); stroke: none; filter: drop-shadow(0 8px 16px color-mix(in srgb, var(--accent) 40%, transparent)); }
.cn-node--center use { color: var(--accent-contrast); stroke-width: 1.7; }
.cn-node { transform-box: fill-box; transform-origin: center; animation: float-node 7s ease-in-out infinite; }
.cn-node:nth-of-type(2) { animation-delay: -1.2s; }
.cn-node:nth-of-type(3) { animation-delay: -2.4s; }
.cn-node:nth-of-type(4) { animation-delay: -3.6s; }
.cn-node:nth-of-type(5) { animation-delay: -4.8s; }
.cn-node:nth-of-type(6) { animation-delay: -6s; }
@keyframes float-node {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.system-card__foot {
  padding: 12px 8px 4px;
  font-size: 0.76rem;
  color: var(--muted);
}
.system-card__foot span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.system-card__badge {
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 650;
  font-size: 0.7rem;
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 0.76rem;
  line-height: 1.25;
}
.float-card .icon { color: var(--accent-strong); }
.float-card strong { display: block; font-size: 0.82rem; color: var(--ink); }
.float-card span { color: var(--muted); }
.float-card--top { top: 86px; right: -26px; z-index: 2; animation: float 6s ease-in-out infinite; }
.float-card--bottom { bottom: 64px; left: -26px; z-index: 2; animation: float 6s ease-in-out infinite reverse; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---------- Stats band -------------------------------------------------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 22px 0;
  margin: 0;
  border-top: 1px solid var(--border);
}
.stat-band li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-left: clamp(14px, 2vw, 26px);
  border-left: 1px solid var(--border);
}
.stat-band li:first-child { border-left: 0; padding-left: 0; }
.stat-band strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}
.stat-band span { font-size: 0.79rem; color: var(--muted); }

/* ---------- Sections ---------------------------------------------------- */
.section { padding: clamp(56px, 7vw, 100px) 0; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.section--tight + .section { padding-top: clamp(28px, 4vw, 48px); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: #dbe4ee; }
.section--dark .section-title { color: #fff; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  max-width: 760px;
  margin-inline: auto;
}
.section-head__text { max-width: 46ch; margin: 0; color: var(--muted); }
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}
.kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.kicker--light { color: var(--accent); }

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.block-stack { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 64px); }

/* ---------- Category cards ---------------------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
  grid-column: span 2;
}
.cat-card:nth-child(1),
.cat-card:nth-child(2) { grid-column: span 3; }
.cat-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: var(--shadow);
}
.cat-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  margin-bottom: 4px;
}
.cat-card__icon .icon { width: 24px; height: 24px; }
.cat-card__title { font-size: 1.2rem; margin: 0; }
.cat-card__text { font-size: 0.9rem; color: var(--muted); margin: 0; }
.cat-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}
.cat-card__list li {
  padding: 3px 9px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.72rem;
  color: var(--muted);
}
.cat-card__more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--accent-strong);
}
.cat-card__more .icon { transition: transform 0.2s; }
.cat-card:hover .cat-card__more .icon { transform: translateX(3px); }

/* ---------- Cards / features -------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card--lift { transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s; }
.card--lift:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.card--link { color: inherit; text-decoration: none; }
.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.card__icon .icon { width: 22px; height: 22px; }
.card__title { font-size: 1.12rem; margin: 2px 0 0; }
.card__text { font-size: 0.92rem; color: var(--muted); margin: 0; }
.card__more { margin-top: auto; display: flex; justify-content: flex-end; color: var(--accent-strong); }
.card .link-arrow { margin-top: auto; }
.card .checklist { margin-bottom: 6px; }

.feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.feature__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.feature__icon .icon { width: 21px; height: 21px; }
.feature h3 { font-size: 1.05rem; margin: 2px 0 0; }
.feature p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- Checklists -------------------------------------------------- */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  font-size: 0.9rem;
}
.checklist li { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); }
.checklist .icon { color: var(--ok); margin-top: 3px; }
.checklist--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; }
.checklist-box {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.checklist-box h3 { font-size: 1.1rem; margin: 0 0 6px; }

/* ---------- Split ------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__body > * + * { margin-top: 14px; }
.split__body p { color: var(--muted); }
.split__image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 430px;
  margin-inline: auto;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: contain;
}
.split--block { align-items: start; }
.layout__main .split { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(24px, 3.4vw, 44px); }
.layout__main .split--reverse { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }

.stack-visual {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.stack-visual__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--border);
}
.stack-visual__row:last-of-type { border-bottom: 0; }
.stack-visual__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  flex: none;
}
.stack-visual__row > div { display: flex; flex-direction: column; line-height: 1.3; }
.stack-visual__row strong { font-size: 0.87rem; color: var(--ink); }
.stack-visual__row span { font-size: 0.76rem; color: var(--muted); }
.stack-visual__row .tag { margin-left: auto; }
.stack-visual__note {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 8px 4px;
  font-size: 0.76rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.tag {
  display: inline-block;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 650;
  color: var(--muted);
  white-space: nowrap;
}
.tag--ok {
  color: var(--ok);
  border-color: color-mix(in srgb, var(--ok) 30%, transparent);
  background: color-mix(in srgb, var(--ok) 8%, transparent);
}

/* ---------- Emergency band ---------------------------------------------- */
.emergency {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 54px) 0;
  background: var(--dark);
  color: #e6edf4;
}
.emergency::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: -260px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  filter: blur(90px);
  pointer-events: none;
}
.emergency__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 28px);
}
.emergency__icon {
  width: 62px;
  height: 62px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
}
.emergency__icon .icon { width: 30px; height: 30px; }
.emergency__kicker {
  margin: 0 0 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.emergency__title { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.95rem); margin: 0 0 6px; }
.emergency__text { margin: 0; font-size: 0.92rem; color: #a4b2c0; max-width: 56ch; }
.emergency__actions {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  flex: none;
}
.emergency__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}
.emergency__phone .icon { color: var(--accent); }
.emergency__phone:hover { color: var(--accent); }

/* ---------- Testimonials ------------------------------------------------ */
.testimonials { overflow: hidden; }
.slider-nav { display: flex; gap: 8px; flex: none; }
.slider { margin-top: 4px; }
.slider__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
  scroll-behavior: smooth;
}
.slider__track::-webkit-scrollbar { display: none; }
.quote-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 0 min(560px, 84vw);
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  scroll-snap-align: start;
}
.quote-card__mark { color: var(--accent); opacity: 0.85; }
.quote-card__mark .icon { width: 26px; height: 26px; }
.quote-card blockquote {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--text);
}
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding-top: 4px;
}
.quote-card__avatar {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.9rem;
}
.quote-card figcaption strong { display: block; font-size: 0.86rem; color: var(--ink); line-height: 1.3; }
.quote-card figcaption span span { display: block; font-size: 0.76rem; color: var(--muted); }
.quote-card--inline { flex: none; max-width: none; }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 20px;
}
.slider-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: width 0.2s, background-color 0.2s;
}
.slider-dots button.is-active { width: 20px; border-radius: 4px; background: var(--accent); }

/* ---------- Partners ---------------------------------------------------- */
.partners { padding-bottom: 26px; }
.partners__title {
  margin: 0 0 26px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 60px);
  width: max-content;
  animation: marquee 55s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: grid;
  place-items: center;
  height: 56px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.marquee__item img {
  height: 30px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.2s, opacity 0.2s;
}
.marquee__item:hover img { filter: none; opacity: 1; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
}
.logo-grid__item {
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.logo-grid__item img { height: 34px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- FAQ / accordion --------------------------------------------- */
.accordion {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  border-top: 1px solid var(--border);
}
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.accordion__sign { color: var(--muted); transition: transform 0.22s; flex: none; }
.accordion__btn[aria-expanded="true"] .accordion__sign { transform: rotate(45deg); color: var(--accent-strong); }
.accordion__panel { padding: 0 0 18px; }
.accordion__panel p { margin: 0; font-size: 0.92rem; color: var(--muted); max-width: 68ch; }

.faq-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.faq-aside__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.faq-aside__icon .icon { width: 26px; height: 26px; }
.faq-aside h3 { font-size: 1.15rem; margin: 0; }
.faq-aside p { font-size: 0.9rem; color: var(--muted); margin: 0 0 6px; }
.faq-aside__phone { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--accent-strong); text-decoration: none; }

/* ---------- CTA final --------------------------------------------------- */
.cta-final {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 86px) 0;
  background: var(--dark);
  color: #e6edf4;
}
.cta-final::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -180px;
  bottom: -420px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 26%, transparent);
  filter: blur(100px);
}
.cta-final__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-final__title {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.cta-final__text { margin: 0; color: #a4b2c0; max-width: 56ch; }
.cta-final__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; flex: none; }
.cta-final__phone { display: flex; align-items: center; gap: 8px; color: #dbe4ee; text-decoration: none; font-weight: 600; }
.cta-final__phone .icon { color: var(--accent); }
.cta-final__phone:hover { color: #fff; }

/* ---------- Footer ------------------------------------------------------ */
.site-footer {
  padding-top: clamp(44px, 6vw, 64px);
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 44px;
}
.logo--footer { margin-bottom: 16px; width: fit-content; }
.logo--footer .logo__img { width: 204px; }
.logo--compact .logo__img { width: 188px; }
.footer__text { font-size: 0.88rem; color: var(--muted); max-width: 34ch; margin: 0 0 14px; }
.footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.footer__phone .icon { color: var(--accent-strong); }
.footer__hint { font-size: 0.74rem; color: var(--muted); margin: 6px 0 0; }
.footer__title {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.footer__list a {
  display: inline-block;
  padding: 3px 0;
  font-size: 0.89rem;
  color: var(--text);
  text-decoration: none;
}
.footer__list a:hover { color: var(--accent-strong); }
.footer__more { display: inline-flex !important; align-items: center; gap: 4px; margin-top: 6px; color: var(--accent-strong) !important; font-weight: 600; }
.footer__contact address { font-style: normal; font-size: 0.89rem; color: var(--muted); line-height: 1.6; }
.footer__contact-list { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-direction: column; gap: 4px; }
.footer__contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
}
.footer__contact-list a:hover { color: var(--accent-strong); }
.footer__contact-list .icon { color: var(--muted); }
.footer__map { display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; font-weight: 600; color: var(--accent-strong); text-decoration: none; }
.footer__map:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; }
.footer__legal a { color: var(--muted); text-decoration: none; }
.footer__legal a:hover { color: var(--ink); }

/* ---------- Page hero --------------------------------------------------- */
.page-hero {
  padding: clamp(28px, 4vw, 48px) 0 clamp(26px, 3.4vw, 40px);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}
.page-hero__inner { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
.page-hero--with-image .page-hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.page-title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 10px 0 14px;
}
.page-lead { font-size: clamp(1rem, 1.3vw, 1.13rem); color: var(--muted); max-width: 62ch; margin: 0; }
.page-hero__media img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.breadcrumb { margin-bottom: 16px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: 0.45; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-strong); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- Service grid ------------------------------------------------ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(24px, 3vw, 36px);
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.service-card__top { display: flex; align-items: center; justify-content: space-between; }
.service-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.service-card__icon .icon { width: 22px; height: 22px; }
.service-card__num { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.service-card__title { font-size: 1.08rem; margin: 2px 0 0; }
.service-card__text { font-size: 0.9rem; color: var(--muted); margin: 0; }
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-strong);
}
.service-card__more .icon { transition: transform 0.2s; }
.service-card:hover .service-card__more .icon { transform: translateX(3px); }

.intro { max-width: 74ch; font-size: 1.02rem; }

/* ---------- Article layout ---------------------------------------------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}
.layout__main > * + * { margin-top: clamp(26px, 3vw, 38px); }
.layout__aside {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: #dbe4ee;
}
.contact-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.08);
  color: var(--accent);
}
.contact-card h2 { font-size: 1.1rem; color: #fff; margin: 0; }
.contact-card p { font-size: 0.87rem; color: #a4b2c0; margin: 0; }
.contact-card__phone { display: flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.94rem; }
.contact-card__phone .icon { color: var(--accent); }
.contact-card__hours { display: flex; align-items: center; gap: 6px; font-size: 0.74rem !important; }
.aside-box {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.aside-box--soft { background: var(--bg-soft); }
.aside-box__title { margin: 0 0 8px; font-size: 0.95rem; }
.aside-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.aside-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.87rem;
  color: var(--text);
  text-decoration: none;
}
.aside-list li:last-child a { border-bottom: 0; }
.aside-list a:hover { color: var(--accent-strong); }
.aside-box .link-arrow { margin-top: 10px; }

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(26px, 3vw, 38px);
}
.fact-row li { display: flex; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.fact-row li > span {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.fact-row div { display: flex; flex-direction: column; line-height: 1.35; }
.fact-row strong { font-size: 0.85rem; color: var(--ink); }
.fact-row span { font-size: 0.77rem; color: var(--muted); }

/* ---------- Prose ------------------------------------------------------- */
.prose {
  max-width: 76ch;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.72;
}
.prose > * + * { margin-top: 1em; }
.prose h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin: 1.7em 0 0.45em;
  letter-spacing: -0.02em;
}
.prose h3 { font-size: 1.15rem; margin: 1.5em 0 0.4em; }
.prose h4, .prose h5 { font-size: 1rem; margin: 1.3em 0 0.3em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose p { margin: 0; color: var(--text); }
.prose a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.25em; display: flex; flex-direction: column; gap: 0.35em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.prose blockquote {
  margin: 1.3em 0;
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-size: 1.02rem;
}
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); color: var(--ink); font-size: 0.82rem; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.prose code { font-size: 0.88em; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }

/* ---------- Legal ------------------------------------------------------- */
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 0.86rem; }
.legal-toc__title { margin: 0 0 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.legal-toc nav { display: flex; flex-direction: column; max-height: 60vh; overflow-y: auto; }
.legal-toc nav a {
  padding: 5px 0 5px 11px;
  border-left: 2px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  line-height: 1.35;
}
.legal-toc nav a:hover, .legal-toc nav a.is-active { color: var(--accent-strong); border-left-color: var(--accent); }
.legal-toc nav a.toc-h3 { padding-left: 22px; font-size: 0.8rem; }
.legal-toc__note { margin-top: 16px; font-size: 0.74rem; color: var(--muted); }
.prose--legal { max-width: 80ch; font-size: 0.94rem; }
.prose--legal h2 { font-size: 1.3rem; padding-top: 0.35em; }
.prose--legal h3 { font-size: 1.04rem; }
.prose--legal h4 { font-size: 0.96rem; }

/* ---------- Forms ------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.info-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.info-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  margin-bottom: 12px;
}
.info-card h2 { font-size: 1.02rem; margin: 0 0 7px; }
.info-card address { font-style: normal; color: var(--muted); line-height: 1.6; font-size: 0.92rem; }
.info-card__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 3px; }
.info-card a { color: var(--text); text-decoration: none; }
.info-card a:hover { color: var(--accent-strong); }
.info-card .link-arrow { margin-top: 10px; }
.info-card p { font-size: 0.92rem; color: var(--muted); margin: 0 0 4px; }
.info-card p strong { color: var(--ink); }
.info-card--accent {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 32%, transparent);
}
.contact-form-wrap {
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.form { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: 0.93rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 140px; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.checkbox input { width: 17px; height: 17px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.form__note { display: flex; align-items: flex-start; gap: 6px; margin: 0; font-size: 0.74rem; color: var(--muted); }
.form__status { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-strong); font-size: 0.84rem; }
.form__status.is-error { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }

/* ---------- Tables / downloads / steps ---------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 0.91rem; background: var(--surface); }
.table th {
  padding: 12px 16px;
  text-align: left;
  background: var(--surface-2);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.table td { padding: 12px 16px; border-top: 1px solid var(--border); vertical-align: top; }

.downloads { display: flex; flex-direction: column; gap: 12px; }
.download {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s, transform 0.18s;
}
.download:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.download__icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.download__body { display: flex; flex-direction: column; gap: 2px; font-size: 0.88rem; }
.download__body strong { font-size: 0.94rem; }
.download__body span { color: var(--muted); font-size: 0.82rem; }
.download__meta { margin-left: auto; font-size: 0.72rem; font-weight: 650; color: var(--muted); white-space: nowrap; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.steps__item { padding-top: 14px; border-top: 2px solid var(--border); }
.steps__num { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-strong); }
.steps__item h3 { font-size: 1.02rem; margin: 8px 0 4px; }
.steps__item p { font-size: 0.88rem; color: var(--muted); margin: 0; }

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding: 26px 30px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: var(--radius-lg);
}
.callout h3 { font-size: 1.1rem; margin: 0 0 4px; }
.callout p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* ---------- Tabs -------------------------------------------------------- */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.tabs__btn {
  padding: 10px 14px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.tabs__btn:hover { color: var(--ink); }
.tabs__btn.is-active { color: var(--accent-strong); border-bottom-color: var(--accent); }
.tabs__panel[hidden] { display: none; }

/* ---------- 404 / misc -------------------------------------------------- */
.notfound { display: grid; place-items: center; min-height: 60vh; text-align: center; }
.notfound__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 640px; }
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--accent);
  margin: 0;
  opacity: 0.9;
}
.notfound h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 10px 0; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; font-size: 0.86rem; }
.notfound__links a { color: var(--muted); text-decoration: none; }
.notfound__links a:hover { color: var(--accent-strong); }

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Reveal ------------------------------------------------------ */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Page rhythm -------------------------------------------------- */
.page-category .page-hero + .section,
.page-service .page-hero + .section,
.page-services_index .page-hero + .section,
.page-contact .page-hero + .section,
.page-legal .page-hero + .section {
  padding-top: clamp(28px, 4vw, 48px);
}

/* ---------- Category hero aside ----------------------------------------- */
.page-hero--with-aside .page-hero__inner {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
}
.area-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: #dbe4ee;
  box-shadow: var(--shadow);
}
.area-card__kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.area-card__num {
  margin: 8px 0 16px;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}
.area-card__num span {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #9fadbb;
}
.area-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
}
.area-card__list a {
  display: flex;
  padding: 7px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.09);
  font-size: 0.87rem;
  color: #dbe4ee;
  text-decoration: none;
}
.area-card__list li:last-child a { border-bottom: 0; }
.area-card__list a:hover { color: var(--accent); }
[data-theme="dark"] .area-card {
  background: var(--surface);
  border: 1px solid var(--border);
}

/* ---------- SVG illustrations ------------------------------------------ */
.illus { display: block; width: 100%; height: auto; max-height: 440px; }
.illus__panel { fill: var(--surface); stroke: var(--border); stroke-width: 1; }
.illus__dots circle { fill: var(--border-strong); opacity: 0.55; }
.illus__glow { fill: var(--accent); opacity: 0.07; }
.illus__lines path { fill: none; stroke: var(--border-strong); stroke-width: 1.2; stroke-dasharray: 3 6; }
.illus use {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.illus__chip { color: var(--accent-strong); }
.illus__chip rect { fill: var(--surface); stroke: var(--border-strong); }
.illus__center-card,
.illus__center-ring {
  fill: var(--accent-soft);
  stroke: color-mix(in srgb, var(--accent) 35%, transparent);
}
.illus__bigicon { color: var(--accent-strong); }
.illus__mini-dots circle { fill: var(--accent); opacity: 0.55; }
.illus__device rect,
.illus__screen rect,
.illus__paper rect,
.illus__sheet rect,
.illus__phone rect { fill: var(--surface); stroke: var(--border-strong); }
.illus__soft { fill: var(--surface-2); stroke: none; }
.illus__bar { fill: var(--border-strong); }
.illus__bar--soft { fill: var(--border); }
.illus__accent { fill: var(--accent); }
.illus__check { fill: none; stroke: var(--accent-contrast); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.illus__bubble rect,
.illus__bubble path {
  fill: var(--accent-soft);
  stroke: color-mix(in srgb, var(--accent) 30%, transparent);
}
.illus__badge circle { fill: var(--accent); stroke: none; }
.illus__badge use { color: var(--accent-contrast); stroke-width: 2; }
.illus__folder { fill: var(--accent-soft); stroke: color-mix(in srgb, var(--accent) 30%, transparent); }
.illus__card rect { fill: var(--surface); stroke: var(--border-strong); }
.illus__envelope rect { fill: var(--surface); stroke: var(--border-strong); }
.illus__flap { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.illus__stepdot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.illus__num { font-family: var(--font-sans); font-size: 11px; font-weight: 700; fill: var(--accent-contrast); text-anchor: middle; }
.illus__sheet--back rect { fill: var(--surface-2); }
.illus__phone .illus__button { fill: var(--border-strong); }
.illus__cursor { color: var(--accent-strong); }
.illus__arrow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 5 6; }

.page-hero--with-illus .page-hero__inner { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); }
.page-hero__media--illus { max-width: 480px; width: 100%; justify-self: end; }
.split__media .illus { max-width: 460px; margin-inline: auto; }

/* ---------- Local AI ---------------------------------------------------- */
.ai-section {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: #d7e0ea;
}
.ai-section::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -200px;
  top: -320px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 24%, transparent);
  filter: blur(110px);
  pointer-events: none;
}
.ai-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.ai-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.ai-title {
  color: #fff;
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 18px 0 14px;
}
.ai-text { color: #a7b5c4; max-width: 56ch; margin: 0; }
.ai-benefits {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}
.ai-benefits li { display: flex; align-items: flex-start; gap: 11px; }
.ai-benefits__icon {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}
.ai-benefits__icon .icon { width: 18px; height: 18px; }
.ai-benefits strong { display: block; color: #fff; font-size: 0.88rem; line-height: 1.3; }
.ai-benefits span { display: block; margin-top: 2px; font-size: 0.78rem; line-height: 1.45; color: #93a3b4; }
.ai-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.ai-link {
  color: #c9d4e0;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgb(255 255 255 / 0.25);
  padding-bottom: 2px;
}
.ai-link:hover { color: #fff; border-color: var(--accent); }
.ai-visual { position: relative; min-width: 0; }

.ai-card {
  background: linear-gradient(165deg, #151e29, #0b1016);
  border: 1px solid #273445;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 40px 80px -40px #000;
}
.ai-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 14px;
  border-bottom: 1px solid #223040;
}
.ai-card__title {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8fa0b2;
}
.ai-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ok);
  white-space: nowrap;
}
.ai-card__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent);
}
.ai-card__chat { display: flex; flex-direction: column; gap: 10px; padding: 16px 4px; }
.ai-bubble {
  margin: 0;
  padding: 10px 13px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.ai-bubble--user {
  align-self: flex-end;
  max-width: 86%;
  background: var(--accent);
  color: var(--accent-contrast);
  border-bottom-right-radius: 3px;
  font-weight: 550;
}
.ai-bubble--bot {
  max-width: 94%;
  background: #1a2431;
  border: 1px solid #28374a;
  color: #dbe4ee;
  border-bottom-left-radius: 3px;
}
.ai-bubble__label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
}
.ai-bubble--bot p { margin: 0; }
.ai-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding: 3px 7px;
  border: 1px solid #2e3f52;
  border-radius: 6px;
  font-size: 0.68rem;
  color: #9fb0c1;
}
.ai-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px 2px;
  border-top: 1px solid #223040;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  color: #7f91a3;
}

.page-hero--with-ai .page-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.page-hero__ai { min-width: 0; }

.footer__list .badge-new {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 1px;
}

.block-head { margin-bottom: clamp(22px, 3vw, 30px); max-width: 70ch; }
.block-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.025em; margin: 0 0 8px; }
.block-head p { margin: 0; color: var(--muted); }
.block-head .kicker { margin: 0 0 8px; }

/* ---------- Services index ---------------------------------------------- */
.service-group { margin-top: clamp(34px, 4.5vw, 56px); }
.service-group:first-of-type { margin-top: clamp(24px, 3vw, 36px); }
.service-group__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.service-group__icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.service-group__head h2 { font-size: 1.35rem; margin: 0; }
.service-group__head p { margin: 4px 0 0; font-size: 0.9rem; color: var(--muted); max-width: 72ch; }
.service-group__head .link-arrow { margin-left: auto; white-space: nowrap; padding-top: 6px; }
.service-grid--compact { margin-top: 0; }

.logo-grid__item { background: #fff; }
.logo-grid__item img { filter: grayscale(1); opacity: 0.75; transition: filter 0.2s, opacity 0.2s; }
.logo-grid__item:hover img { filter: none; opacity: 1; }

.prose h2, .prose h3 { scroll-margin-top: 110px; }

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 1180px) {
  .header__phone { display: none; }
  .mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega__inner { grid-template-columns: 1fr; }
  .mega__promo { display: none; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-card:nth-child(n) { grid-column: span 1; }
}

@media (max-width: 1020px) {
  .nav { display: none; }
  .header__cta { display: none; }
  .burger { display: grid; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout { grid-template-columns: 1fr; }
  .layout__aside { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .emergency__inner { flex-wrap: wrap; }
  .emergency__actions { margin-left: 0; }
  .cta-final__inner { flex-direction: column; align-items: flex-start; }
  .page-hero--with-image .page-hero__inner,
  .page-hero--with-aside .page-hero__inner { grid-template-columns: 1fr; }
  .area-card { max-width: 480px; }
  .stat-band { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .stat-band li:nth-child(3) { border-left: 0; padding-left: 0; }
  .ai-grid { grid-template-columns: 1fr; }
  .ai-visual { max-width: 520px; }
  .page-hero--with-ai .page-hero__inner,
  .page-hero--with-illus .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__media--illus { max-width: 480px; justify-self: start; }
}

@media (max-width: 720px) {
  :root { --header-h: 70px; }
  body { font-size: 16px; }
  .logo__img { width: 184px; }
  .logo--footer .logo__img { width: 190px; }
  .header__inner { gap: 12px; }
  .header__actions { gap: 8px; }
  .hero__title { letter-spacing: -0.03em; }
  .hero__actions .btn { flex: 1 1 auto; }
  .float-card { display: none; }
  .cat-grid, .grid--2, .grid--3, .grid--4, .service-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .stat-band { padding: 18px 0; }
  .stat-band li { padding-left: 14px; }
  .stat-band li:nth-child(2) { border-left: 1px solid var(--border); }
  .stat-band li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .checklist--two { grid-template-columns: 1fr; }
  .layout__aside { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .download { flex-wrap: wrap; }
  .download__meta { margin-left: 56px; }
  .callout { padding: 22px; }
  .emergency__icon { width: 50px; height: 50px; }
  .quote-card { flex-basis: 88vw; }
  .page-hero { padding-top: 20px; }
  .to-top { right: 12px; bottom: 12px; }
  .ai-benefits { grid-template-columns: 1fr; }
  .ai-card__foot { flex-direction: column; gap: 4px; }
}

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

/* ---------- Print ------------------------------------------------------- */
@media print {
  .site-header, .mobile-nav, .to-top, .cta-final, .emergency, .marquee, .slider-nav { display: none !important; }
  body { color: #000; background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
